openwrt/target/linux/ipq40xx/patches-4.19
Kristian Evensen 6f6c00cfc9 ipq40xx: Add support for Unielec U4019
This commit adds support for the 32MB storage/512MB RAM version of the U4019
IPQ4019-based board from Unielec. The board has the following specifications:

* Qualcomm IPQ4019 (running at 717MHz)
* 512MB DDR3 RAM (optional 256MB/1GB)
* 32MB SPI NOR (optional 8/16MB or NAND)
* Five gigabit ports (Qualcomm QCA8075)
* 1x 2.4 GHz wifi (QCA4019 hw1.0)
* 1x 5 Ghz wifi (QCA4019 hw1.0)
* 1x mini-PCIe slot (only USB-pins connected)
* 1x SIM slot (mini-SIM)
* 1x USB2.0 port
* 1x button
* 1x controllable LED
* 1x micro SD-card reader

Working:
* Ethernet
* Wifi
* USB-port
* mini-PCIe slot + SIM slot
* Button
* Sysupgrade

Not working:
* SD card slot (no upstream support)

Installation instructions:

In order to install OpenWRT on the U4019, you need to go via the
initramfs-image. The installation steps are as follows:

* Connect to board via serial (header exposed and clearly marked).
* Interrupt bootloader by pressing a button.
* Copy the initramfs-image to your tftp folder, call the file C0A80079.img.
* Give the network interface connected to the U4019 the address
192.168.0.156/24.
* Start your tftp-server and run tftpboot on the board.
* Run bootm when the file has been transferred, to boot OpenWRT.
* Once OpenWRT has booted, copy the sysupgrade-image to the device and run
sysupgrade to install OpenWRT on the U4019.

Notes:

- Since IPQ4019 has been moved to 4.19, I have not added support for kernel
4.14.

- There is a bug with hardware encryption on IPQ4019, causing poor performance
with TCP and ipsec (see for example FS#2355). In order to improve performance,
I have disabled hardware encryption in the DTS. We can enable hw. enc. once/if
bug is fixed.

- In order for Ethernet to work, the phy has to be reset by setting gpio 47
low/high. Adding support for phy reset via gpio required patching the
mdio-driver, and the code added comes from the vendor driver. I do not know if
patching the driver is an acceptable approach or not.

v1->v2:
* Do not use wildcard as identifier in the board.d-scripts (thanks
Adrian Schmutzler).

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2019-10-21 12:28:03 +02: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 ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
073-v4.20-ARM-dts-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
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: directly define voltage per opp 2019-06-15 19:55:32 +02:00
080-ARM-dts-qcom-add-gpio-ranges-property.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
081-clk-fix-apss-cpu-overclocking.patch
082-v4.20-mtd-spinand-winbond-Add-support-for-W25N01GV.patch
086-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.19 to 4.19.68 2019-08-28 13:08:20 +02:00
700-net-add-qualcomm-mdio.patch ipq40xx: Add support for Unielec U4019 2019-10-21 12:28:03 +02:00
701-dts-ipq4019-add-mdio-node.patch ipq40xx: extend DT mdio node to be more accessible 2019-08-02 22:46:45 +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
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: decouple mdio-ipq40xx and ar40xx 2019-08-02 23:18:25 +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
713-essedma-alloc-skb-ip-align.patch
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
901-arm-boot-add-dts-files.patch ipq40xx: Add support for Unielec U4019 2019-10-21 12:28:03 +02:00
997-device_tree_cmdline.patch