openwrt/target/linux/ipq40xx/patches-4.19
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
..
070-v4.20-soc-qcom-spm-add-SCM-probe-dependency.patch
071-01-v4.20-ARM-dts-qcom-ipq4019-use-v2-of-the-kpss-bringup-mech.patch
071-02-ipq40xx-Fix-booting-secondary-cores.patch
072-v4.20-ARM-dts-qcom-ipq4019-add-cpu-operating-points-for-cp.patch
073-v4.20-ARM-dts-qcom-ipq4019-fix-cpu0-s-qcom-saw2-reg-value.patch
074-ARM-qcom-Add-IPQ4019-SoC-support.patch
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: fix warning triggered by bad interrupt definition 2018-12-27 14:36:23 +01:00
079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch
080-ARM-dts-qcom-add-gpio-ranges-property.patch
081-clk-fix-apss-cpu-overclocking.patch
082-v4.20-mtd-spinand-winbond-Add-support-for-W25N01GV.patch
083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch ipq40xx: enlarge PCIe BAR size 2019-02-28 11:26:11 +01:00
084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch ipq40xx: fix pcie msi IRQ trigger level 2019-02-28 11:26:11 +01:00
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.19 to 4.19.16 2019-01-17 03:04:13 +02:00
700-net-add-qualcomm-mdio-and-phy.patch
701-dts-ipq4019-add-mdio-node.patch
702-dts-ipq4019-add-PHY-switch-nodes.patch
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch
710-net-add-qualcomm-essedma-ethernet-driver.patch
711-dts-ipq4019-add-ethernet-essedma-node.patch
712-mr33-essedma.patch
713-essedma-alloc-skb-ip-align.patch
850-soc-add-qualcomm-syscon.patch
900-dts-ipq4019-ap-dk01.1.patch
901-arm-boot-add-dts-files.patch ipq40xx: add support for FritzBox 7530 2019-02-28 11:32:55 +01:00
997-device_tree_cmdline.patch