openwrt/package/boot
David Bauer 95b0c07a61 ipq40xx: add support for FritzBox 7530
Hardware
--------
CPU:   Qualcomm IPQ4019
RAM:   256M
FLASH: 128M NAND
ETH:   QCA8075
VDSL:  Intel/Lantiq VRX518 PCIe attached
       currently not supported
DECT:  Dialog SC14448
       currently not supported
WiFi2: IPQ4019 2T2R 2SS b/g/n
WiFi5: IPQ4019 2T2R 2SS n/ac
LED:    - Power/DSL green
        - WLAN green
        - FON/DECT green
        - Connect/WPS green
        - Info green
        - Info red
BTN:    - WLAN
        - FON
        - WPS/Connect
UART:  115200n8 3.3V (located under the Dialog chip)
       VCC - RX - TX - GND (Square is VCC)

Installation
------------
1. Grab the uboot for the Device from the 'u-boot-fritz7530'
   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-fritz7530.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 'FRITZ7530.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-fritz7530.bin uboot0
   > mtd write /path/to/uboot-fritz7530.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>
[removed pcie-dts range node, refreshed on top of AP120-AC/E2600AC]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2019-02-28 11:32:55 +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: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
fconfig fconfig: Remove dead URLs 2018-08-22 11:22:04 +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: bump version to 2.0.16 2018-02-11 16:10:51 +01: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
uboot-ar71xx uboot-ar71xx: fix musl host build 2019-01-22 13:29:46 +01:00
uboot-at91 at91: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
uboot-envtools uboot-envtools: add support for ALFA Network AP120C-AC 2019-02-26 00:16:22 +01:00
uboot-fritz4040 ipq40xx: add support for FritzBox 7530 2019-02-28 11:32:55 +01:00
uboot-imx6 uboot-imx6: Bump to 2019.01 2019-01-26 21:46:32 +01: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: add LS1021AIOT board support 2018-12-18 20:17:23 +01:00
uboot-layerscape-armv8_32b layerscape: add ls1012afrwy support and drop ls1012afrdm 2018-09-22 21:20:57 +02:00
uboot-mvebu uboot-mvebu: fix build on hosts lacking pkg-config 2018-05-23 09:05:55 +02:00
uboot-mxs uboot-mxs: bump to v2019.01 2019-01-26 21:46:32 +01:00
uboot-omap uboot-omap: add 'rootwait' to the kernel cmdline 2019-01-31 14:07:00 +01:00
uboot-oxnas uboot-oxnas: fix typo accidentally committed during oxnas reboot 2018-06-18 18:55:19 +02:00
uboot-sunxi sunxi: add support for Orange Pi One 2019-02-26 23:20:04 +01:00
uboot-xburst treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
uboot-zynq uboot-zynq: use a file to modify the default environment 2018-09-10 08:54:41 +02:00
yamonenv yamonenv: Remove dead URLs 2018-08-22 11:22:17 +02:00