openwrt/target/linux/ipq40xx/patches-4.14
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
..
030-mtd-nand-Use-standard-large-page-OOB-layout-when-usi.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
031-mtd-nand-use-usual-return-values-for-the-erase-hook.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch
050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch kernel: bump kernel 4.14 to version 4.14.63 2018-08-15 22:31:56 +02:00
050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch
070-qcom-spm-fix-probe-order.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
071-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
072-qcom-ipq4019-add-cpu-operating-points-for-cpufreq-su.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
073-qcom-ipq4019-fix-cpu0-s-qcom-saw2-reg-value.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
074-ARM-qcom-Add-IPQ4019-SoC-support.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: fix warning triggered by bad interrupt definition 2018-12-27 14:36:23 +01:00
078-ARM-dts-ipq4019-Add-a-few-peripheral-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
079-ARM-dts-ipq4019-fix-PCI-range.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
080-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch kernel: bump 4.14 to 4.14.102 2019-02-22 10:53:42 +01:00
081-clk-fix-apss-cpu-overclocking.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
082-ARM-dts-ipq4019-Add-TZ-and-SMEM-reserved-regions.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
083-mtd-nand-add-Winbond-manufacturer-and-chip.patch ipq40xx: use patches that were sent upstream 2018-07-25 12:13:18 +02:00
084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
085-mtd-nand-add-macronix-mx35lf1ge4ab.patch ipq40xx: add support for Macronix MX35LF1GE4AB SPI NAND 2019-02-26 00:15:38 +01:00
086-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch ipq40xx: enlarge PCIe BAR size 2019-02-28 11:26:11 +01:00
087-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.14 to 4.14.91 2019-01-07 17:09:06 +01:00
700-net-add-qualcomm-mdio-and-phy.patch
701-dts-ipq4019-add-mdio-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
702-dts-ipq4019-add-PHY-switch-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
710-net-add-qualcomm-essedma-ethernet-driver.patch
711-dts-ipq4019-add-ethernet-essedma-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
712-mr33-essedma.patch ipq40xx: add Cisco Meraki MR33 Support 2018-03-14 19:04:52 +01:00
713-essedma-alloc-skb-ip-align.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
850-soc-add-qualcomm-syscon.patch
900-dts-ipq4019-ap-dk01.1.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
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 kernel: bump 4.14 to 4.14.51 2018-06-26 08:57:21 +02:00