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>
2019-11-22 22:32:58 +01:00
..
apex apex: Remove dead URL. 2018-08-22 11:21:53 +02:00
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Replace with official ARM version 2019-01-13 17:35:14 +01:00
at91bootstrap at91: Merge SAMA5 subtargets 2019-05-30 12:12:37 +02:00
fconfig fconfig: cleanup Makefile 2019-04-06 19:14:06 +02:00
grub2 build: remove leftovers from previous x86 commits 2019-02-17 18:22:40 +01:00
imx-bootlets treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
kexec-tools kexec-tools: change kdump.init STOP index 2019-09-04 13:20:43 +02:00
kobs-ng kobs-ng: add header for integer definitions 2017-11-16 22:56:54 +01:00
rbcfg rbcfg: Implement CPU frequency control 2017-10-07 15:00:26 +02:00
tfa-layerscape build: include BUILD_VARIANT in PKG_BUILD_DIR 2019-09-04 13:35:17 +02:00
uboot-ar71xx uboot-ar71xx: fix musl host build 2019-01-22 13:29:46 +01:00
uboot-at91 at91:renaming subtraget legacy to sam9x 2019-05-30 12:12:57 +02:00
uboot-envtools ath79: update uboot-envtools for Netgear WNR routers 2019-11-12 16:23:45 +01:00
uboot-fritz4040 ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-11-22 22:32:58 +01:00
uboot-imx6 uboot-imx6: bump to 2019.04 and refresh patches 2019-05-20 21:19:48 +02:00
uboot-kirkwood uboot-kirkwood: update to 2019.01 2019-02-17 19:22:39 +01:00
uboot-lantiq uboot-lantiq: fix compile with modern host dtc 2018-10-07 02:12:06 +02:00
uboot-layerscape layerscape: fix u-boot bootcmd 2019-06-06 15:40:09 +02:00
uboot-mvebu mvebu: align device names to vendor_device format 2019-05-11 23:11:04 +02:00
uboot-mxs uboot-mxs: bump to v2019.01 2019-01-26 21:46:32 +01:00
uboot-omap package/uboot-omap: backport patches to fix build 2019-03-28 02:10:12 +01:00
uboot-oxnas uboot-oxnas: fix typo accidentally committed during oxnas reboot 2018-06-18 18:55:19 +02:00
uboot-sunxi uboot-sunxi: add fix for A20-OLinuXino-Lime2-eMMC rev. K boards 2019-03-13 22:43:13 +01:00
uboot-tegra tegra: add vendor string to device name 2019-05-15 13:34:23 +02:00
uboot-zynq uboot-zynq: use a file to modify the default environment 2018-09-10 08:54:41 +02:00