You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/boot
David Bauer 6160f773fe
ipq40xx: add support for AVM FRITZ!Repeater 1200
Hardware
--------
SoC:   Qualcomm IPQ4019
RAM:   256M DDR3
FLASH: 128M NAND
WiFi:  2T2R IPQ4019 bgn
       2T2R IPQ4019 a/n/ac
ETH:   Atheros AR8033 RGMII PHY
BTN:   1x Connect (WPS)
LED:   Power (green/red/yellow)

Installation
------------

1. Grab the uboot for the Device from the 'u-boot-fritz1200'
   subdirectory. Place it in the same directory as the 'eva_ramboot.py'
   script. It is located in the 'scripts/flashing' subdirectory of the
   OpenWRT tree.

2. Assign yourself the IP address 192.168.178.10/24. Connect your
   Computer to one of the boxes LAN ports.

3. Connect Power to the Box. As soon as the LAN port of your computer
   shows link, load the U-Boot to the box using following command.

   > ./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz1200.bin

4. The U-Boot will now start. Now assign yourself the IP address
   192.168.1.70/24. Copy the OpenWRT initramfs (!) image to a TFTP
   server root directory and rename it to 'FRITZ1200.bin'.

5. The Box will now boot OpenWRT from RAM. This can take up to two
   minutes.

6. Copy the U-Boot and the OpenWRT sysupgrade (!) image to the Box using
   scp. SSH into the Box and first write the Bootloader to both previous
   kernel partitions.

   > mtd write /path/to/uboot-fritz1200.bin uboot0
   > mtd write /path/to/uboot-fritz1200.bin uboot1

7. Remove the AVM filesystem partitions to make room for our kernel +
   rootfs + overlayfs.

   > ubirmvol /dev/ubi0 --name=avm_filesys_0
   > ubirmvol /dev/ubi0 --name=avm_filesys_1

8. Flash OpenWRT peristently using sysupgrade.

   > sysupgrade -n /path/to/openwrt-sysupgrade.bin

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 7f187229a8)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
5 years ago
..
apex apex: Remove dead URL. 6 years ago
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Replace with official ARM version 5 years ago
at91bootstrap at91: Merge SAMA5 subtargets 5 years ago
fconfig fconfig: cleanup Makefile 5 years ago
grub2 build: remove leftovers from previous x86 commits 5 years ago
imx-bootlets treewide: clean up download hashes 8 years ago
kexec-tools kexec-tools: change kdump.init STOP index 5 years ago
kobs-ng kobs-ng: add header for integer definitions 7 years ago
rbcfg rbcfg: Implement CPU frequency control 7 years ago
tfa-layerscape build: include BUILD_VARIANT in PKG_BUILD_DIR 5 years ago
uboot-ar71xx uboot-ar71xx: fix musl host build 5 years ago
uboot-at91 at91:renaming subtraget legacy to sam9x 5 years ago
uboot-envtools ath79: update uboot-envtools for Netgear WNR routers 5 years ago
uboot-fritz4040 ipq40xx: add support for AVM FRITZ!Repeater 1200 5 years ago
uboot-imx6 uboot-imx6: bump to 2019.04 and refresh patches 5 years ago
uboot-kirkwood uboot-kirkwood: update to 2019.01 5 years ago
uboot-lantiq uboot-lantiq: fix compile with modern host dtc 6 years ago
uboot-layerscape layerscape: fix u-boot bootcmd 5 years ago
uboot-mvebu mvebu: align device names to vendor_device format 5 years ago
uboot-mxs uboot-mxs: bump to v2019.01 5 years ago
uboot-omap package/uboot-omap: backport patches to fix build 5 years ago
uboot-oxnas uboot-oxnas: fix typo accidentally committed during oxnas reboot 6 years ago
uboot-sunxi uboot-sunxi: add fix for A20-OLinuXino-Lime2-eMMC rev. K boards 5 years ago
uboot-tegra tegra: add vendor string to device name 5 years ago
uboot-zynq uboot-zynq: use a file to modify the default environment 6 years ago