openwrt/target/linux/ipq40xx/patches-4.19
Fredrik Olofsson 52b8c7a892 ipq40xx: Add support for D-Link DAP-2610
Specifications
==============
- SOC: IPQ4018
- RAM: DDR3 256MB
- Flash: SPI NOR 16MB
- WiFi:
    - 2.4GHz: IPQ4018, 2x2, front end SKY85303-11
    - 5GHz: IPQ4018, 2x2, front end SKY85717-21
- Ethernet: 1x 10/100/1000Mbps, POE 802.3af
- PHY: QCA8072
- UART: GND, blocked, 3.3V, RX, TX / 115200 8N1
- LED: 1x red / green
- Button: 1x reset / factory default
- U-Boot bootloader with tftp and "emergency web server" accessible
  using serial port.

Installation
============
Flash factory image from D-Link web UI. Constraints in the D-Link web UI
makes the factory image unnecessarily large. Flash again using
sysupgrade from inside OpenWrt to reclaim some flash space.

Return to stock D-Link firmware
===============================
Partition layout is preserved, and it is possible to return to the stock
firmware simply by downloading it from D-Link and writing it to the
firmware partition.

    # mtd -r write dap2610-firmware.bin firmware

Quirks
======
To be flashable from the D-Link http server, the firmware must be larger
then 6MB, and the size in the firmware header must match the actual file
size. Also, the boot loader verifies the checksum of the firmware before
each boot, thus the jffs2 must be after the checksum covered part. This
is solved in the factory image by having the rootfs at the very end of
the image (without pad-rootfs).

The sysupgrade image which does not have to be flashable from the D-Link
web UI may be smaller, and the checksum in the firmware header only
covers the kernel part of the image.

Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
[added WRGG Variables to DEVICE_VARS, squashed spi pinconf/mux,
added emd1's gmac0 config,fix dtc warnings]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-01-26 01:20:45 +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 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
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
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00
700-net-add-qualcomm-mdio.patch kernel: bump 4.19 to 4.19.98 2020-01-24 13:14:33 +01: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 kernel: bump 4.19 to 4.19.98 2020-01-24 13:14:33 +01: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 D-Link DAP-2610 2020-01-26 01:20:45 +01:00
997-device_tree_cmdline.patch