From 712620869ee73192f102c25f092242680d4a1abb Mon Sep 17 00:00:00 2001 From: Fredrik Olofsson Date: Tue, 10 Sep 2019 11:25:53 +0200 Subject: [PATCH] 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 [added WRGG Variables to DEVICE_VARS, squashed spi pinconf/mux, added emd1's gmac0 config,fix dtc warnings] Signed-off-by: Christian Lamparter --- board-dlink_dap2610.qca4019 | Bin 0 -> 24316 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 board-dlink_dap2610.qca4019 diff --git a/board-dlink_dap2610.qca4019 b/board-dlink_dap2610.qca4019 new file mode 100644 index 0000000000000000000000000000000000000000..08ed731a4cf020b1f79e12649a9cf89153ec0b50 GIT binary patch literal 24316 zcmeHPTToL;8g7uAipojCEeVH^gj^Vi5Lk$S0s)x-5gFDCM8`!$B>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