mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-21 17:45:13 +04:00
The Wallys DR5018S is an IPQ5018-based tri-band Wi-Fi 6E board. Product specification: https://www.wallystech.com/upload/DR5018S.pdf Hardware: - Qualcomm IPQ5018 SoC - 512 MB DDR3L RAM - 8 MB SPI NOR flash (Macronix MX25U6435F) - 128 MB SPI NAND flash (GigaDevice GD5F1GM7REYIG) - 1 x 1 GbE LAN port using the integrated GEPHY - 1 x 2.5 GbE WAN port using a QCA8081 PHY - 2x2 2.4 GHz Wi-Fi 6 using the integrated radio - 2x2 5 GHz and 2x2 6 GHz Wi-Fi 6E using QCN6122 radios - 1 x USB 2.0 pin-header interface - 1 x reset button - 4 x blue status LEDs - UART: J3 next to the USB header, 115200 8N1 - pin 1: 3.3 V (do not connect) - pin 2: TX - pin 3: RX - pin 4: GND - Power: 12-52 V DC jack, or 802.3at/bt and passive 48 V PoE (the manufacturer does not publish a DC current rating) The SPI NOR contains the boot chain, U-Boot environment and ART partitions. The SPI NAND contains the training area and two 62 MiB rootfs slots. Add the device tree, FIT/UBI image definitions, network defaults, calibration extraction, U-Boot environment access and NAND sysupgrade support. MAC addresses: - LAN: stored in ART at offset 0x0 and read through an NVMEM mac-base cell - WAN: stored in ART at offset 0x6 and read through an NVMEM mac-base cell - 2.4 GHz: stored in the ART calibration block at offset 0x100e - 5 GHz: stored in the ART calibration block at offset 0x2680e - 6 GHz: stored in the ART calibration block at offset 0x4c00e The three Wi-Fi calibration blocks are extracted from ART and retain their stored per-radio MAC addresses; they are not derived from the Ethernet MAC addresses. The sysupgrade handler removes OEM-only UBI volumes before creating the OpenWrt kernel, rootfs and rootfs_data volumes. Installation: 1. Connect to the J3 serial console and interrupt the vendor U-Boot. Copy the generated initramfs-uImage.itb to the TFTP root as initramfs.itb, then configure TFTP and boot it: setenv serverip 192.168.1.10 setenv ipaddr 192.168.1.1 tftpboot 0x44000000 initramfs.itb bootm 0x44000000 2. Transfer the generated squashfs-sysupgrade.bin to the device as /tmp/sysupgrade.bin and install it: sysupgrade -n /tmp/sysupgrade.bin Reverting to the vendor firmware has not been tested. Back up the complete SPI NOR and both SPI NAND rootfs slots before installing OpenWrt. Dependencies: - CMN PLL boot fix: https://github.com/openwrt/openwrt/pull/24653 - Internal radio fix: https://github.com/openwrt/openwrt/pull/24909 - Board data: https://github.com/openwrt/firmware_qca-wireless/pull/149 Tested on a Wallys DR5018S with the dependencies above applied: - initramfs boot from the vendor U-Boot - installation to SPI NAND and subsequent sysupgrade - repeated cold boots - 1 GbE LAN and 2.5 GbE WAN - 2.4 GHz, 5 GHz and 6 GHz AP interfaces - USB 2.0 host-controller registration - four blue status LED outputs Signed-off-by: Alan Gao <1226010136@qq.com> Link: https://github.com/openwrt/openwrt/pull/24910 Signed-off-by: Robert Marko <robimarko@gmail.com>