openwrt/target/linux/ipq40xx/patches-4.14
David Bauer 7f187229a8 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>
2019-10-23 01:17:28 +02: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: directly define voltage per opp 2019-06-15 19:55:32 +02:00
073-qcom-ipq4019-fix-cpu0-s-qcom-saw2-reg-value.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02: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: directly define voltage per opp 2019-06-15 19:55:32 +02:00
078-ARM-dts-ipq4019-Add-a-few-peripheral-nodes.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
079-ARM-dts-ipq4019-fix-PCI-range.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
080-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02: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: directly define voltage per opp 2019-06-15 19:55:32 +02: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: directly define voltage per opp 2019-06-15 19:55:32 +02:00
087-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
088-0001-i2c-qup-fix-copyrights-and-update-to-SPDX-identifier.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0003-i2c-qup-minor-code-reorganization-for-use_dma.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0004-i2c-qup-remove-redundant-variables-for-BAM-SG-count.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0005-i2c-qup-schedule-EOT-and-FLUSH-tags-at-the-end-of-tr.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0006-i2c-qup-fix-the-transfer-length-for-BAM-RX-EOT-FLUSH.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0007-i2c-qup-proper-error-handling-for-i2c-error-in-BAM-m.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0008-i2c-qup-use-the-complete-transfer-length-to-choose-D.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0009-i2c-qup-change-completion-timeout-according-to-trans.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0010-i2c-qup-fix-buffer-overflow-for-multiple-msg-of-maxi.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0011-i2c-qup-send-NACK-for-last-read-sub-transfers.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0012-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0013-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
090-ipq40xx-fix-high-resolution-timer.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: fix hw-crypto detection of qce driver 2019-09-21 23:41:31 +02: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 ipq40xx: remove redundant PHY_POLL set code 2019-08-02 23:18:26 +02:00
701-dts-ipq4019-add-mdio-node.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
702-dts-ipq4019-add-PHY-switch-nodes.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02: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
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: abort ar40xx probe on missing PHYs 2019-09-25 22:42:03 +02:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: essedma: Fix dead lock 2019-10-20 13:01:43 +02:00
711-dts-ipq4019-add-ethernet-essedma-node.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02: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
714-essedma-add-fix-for-memory-allocation.patch ipq40xx: essedma: Add fix for memory allocation issues 2019-03-24 21:17:41 +01: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 AVM FRITZ!Repeater 1200 2019-10-23 01:17:28 +02:00
997-device_tree_cmdline.patch kernel: bump 4.14 to 4.14.51 2018-06-26 08:57:21 +02:00