openwrt-mirror/package/firmware/ipq-wifi
Dirk Buchwalder 26c095cb4d ipq807x: add Dynalink DL-WRX36
Dynalink DL-WRX36 is a AX WIFI router with 4 1G and 1 2.5G ports.

Specifications:

    •     CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
    •     RAM: 1024MB of DDR3
    •     Storage: 256MB Nand
    •     Ethernet: 4x 1G RJ45 ports (QCA8075) + 1 2.5G Port (QCA8081)
    •     WLAN:
          2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 1174 Mbps PHY rate
          5GHz: Qualcomm QCN5054 4x4 802.11a/b/g/n/ac/ax 2402 PHY rate
    •     1x USB 3.0

    •     1 gpio-controlled dual color led (blue/red)

            • Buttons: 1x soft reset / 1x WPS
            • Power: 12V DC jack

        A poulated serial header is onboard (J1004)
        the connector size is a 4-pin 2.0 mm JST PH.
        RX/TX is working, u-boot bootwait is active, secure boot is enabled.

        Notes:
	- Serial is completely deactivated in the stock firmware image.
	- This commit adds only single partition support, that means
	  sysupgrade is upgrading the current rootfs partition.
	- Installation can be done by serial connection or
	  SSH access on OEM firmware

	Installation Instructions:

	Most part of the installation is performed from an initramfs image
	running OpenWrt, and there are two options to boot it.

	Boot initramfs option 1: Using serial connection (3.3V)
	1. Stop auto boot to get to U-boot shell
	2. Transfer initramfs image to device
	   (openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb)
	   Tested using TFTP and a FAT-formatted USB flash drive.
	3. Boot the initramfs image
	   # bootm

	Boot initramfs option 2: From SSH access on OEM firmware
	1. Copy the initramfs image to a FAT-formatted flash drive
	   (tested on single-partition drive) and connect it to device USB port.
	2. Change boot command so it loads the initramfs image on next boot
	   Fallback to OEM firmware is provided.
	   # fw_setenv bootcmd 'usb start && fatload usb 0:1 0x44000000 openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb && bootm 0x44000000; bootipq'
	3. Reboot the device to boot the initramfs
	   # reboot

	Install OpenWrt from initramfs image:
	1. Use SCP (or other way) to transfer OpenWrt factory image
	2. Connect to device using SSH (on a LAN port)
	3. Check MTD partition table.
	   rootfs and rootfs_1 should be mtd18 and mtd20
	   depending on current OEM slot.
	   # cat /proc/mtd
	4. Do a ubiformat to both rootfs partitions:
	   # ubiformat /dev/mtd18 -y -f /path_to/factory_image
	   # ubiformat /dev/mtd20 -y -f /path_to/factory_image
	5. Set U-boot env variable: mtdids
	   # fw_setenv mtdids 'nand0=nand0'
	6. Get offset of mtd18 to determine current OEM slot
	   - If current OEM slot is 1, offset is 16777216  (0x1000000)
	   - If current OEM slot is 2, offset is 127926272 (0x7a00000)
	   # cat /sys/class/mtd/mtd18/offset
	7. Set U-boot env variable: mtdparts
	   If current OEM slot is 1, run:
	   # fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x1000000(fs),0x6100000@0x7a00000(fs_1)'
	   If current OEM slot is 2, run:
	   # fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x7a00000(fs),0x6100000@0x1000000(fs_1)'
	8. Set U-boot env variable: bootcmd
	   # fw_setenv bootcmd 'setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0'
	9. Reboot the device
	   # reboot

        Note: this PR adds only single partition support, that means sysupgrade is
              upgrading the current rootfs partition

Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
2023-01-16 12:42:23 +01:00
..
board-aruba_ap-365.qca4019 ipq40xx: add Aruba AP-365 specific BDF 2022-06-02 16:50:12 +02:00
board-devolo_magic-2-wifi-next.qca4019 ipq40xx: add support for devolo Magic 2 WiFi next 2020-12-22 20:55:40 +01:00
board-dynalink_dl-wrx36.ipq8074 ipq807x: add Dynalink DL-WRX36 2023-01-16 12:42:23 +01:00
board-edgecore_eap102.ipq8074 ipq807x: add Edgecore EAP102 2023-01-16 12:42:23 +01:00
board-edgecore_ecw5410.qca9984 ipq806x: add Edgecore ECW5410 support 2020-09-17 08:42:17 +02:00
board-edgecore_oap100.qca4019 ipq40xx: add Edgecore OAP-100 support 2020-09-17 08:43:07 +02:00
board-edimax_cax1800.ipq8074 ipq807x: add Edimax CAX1800 2023-01-16 12:42:23 +01:00
board-extreme-networks_ws-ap3915i.qca4019 ipq-wifi: add Extreme Networks WS-AP3915i 2022-09-06 02:54:30 +02:00
board-glinet_gl-a1300.qca4019 ipq40xx: add support for GL.iNet GL-A1300 2022-11-09 23:34:37 +01:00
board-glinet_gl-ap1300.qca4019 ipq40xx: add support for GL.iNet GL-AP1300 2020-12-25 10:38:13 +01:00
board-glinet_gl-s1300.qca4019 ipq40xx: add support for GL.iNet GL-S1300 2020-07-08 16:07:05 +02:00
board-linksys_ea8300.qca4019 ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
board-linksys_ea8300.qca9888 ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
board-linksys_whw03v2.qca4019 ipq40xx: add support for Linksys WHW03 V2 2023-01-15 12:55:38 +01:00
board-linksys_whw03v2.qca9888 ipq40xx: add support for Linksys WHW03 V2 2023-01-15 12:55:38 +01:00
board-p2w_r619ac.qca4019 ipq40xx: R619AC: replace space with - separator in variant string 2022-07-15 15:21:44 +02:00
board-pakedge_wr-1.qca4019 ipq-wifi: add Pakedge WR-1 support 2022-09-07 21:21:38 +02:00
board-qnap_301w.ipq8074 ipq807x: add QNAP 301w 2023-01-16 12:42:23 +01:00
board-qxwlan_e2600ac-c1.qca4019 ipq40xx: update E2600AC c1/c2 board 2022-03-25 18:14:13 +01:00
board-qxwlan_e2600ac-c2.qca4019 ipq40xx: update E2600AC c1/c2 board 2022-03-25 18:14:13 +01:00
board-qxwlan_e2600ac.qca4019 ipq-wifi: drop deprecated .bin support 2020-01-26 01:20:46 +01:00
board-redmi_ax6.ipq8074 ipq807x: add Redmi AX6 2023-01-16 12:42:23 +01:00
board-sony_ncp-hg100-cellular.qca4019 ipq40xx: add support for Sony NCP-HG100/Cellular 2022-09-24 23:53:53 +02:00
board-teltonika_rutx.qca4019 ipq40xx: Add support for Teltonika RUTX10 2021-11-28 18:39:01 +01:00
board-xiaomi_ax3600.ipq8074 ipq807x: add Xiaomi AX3600 2023-01-16 12:42:23 +01:00
board-xiaomi_ax3600.qca9889 ipq807x: add Xiaomi AX3600 2023-01-16 12:42:23 +01:00
board-xiaomi_ax9000.ipq8074 ipq807x: Add Xiaomi AX9000 2023-01-16 12:42:23 +01:00
board-xiaomi_ax9000.qca9889 ipq807x: Add Xiaomi AX9000 2023-01-16 12:42:23 +01:00
board-xiaomi_ax9000.qcn9074 ipq807x: Add Xiaomi AX9000 2023-01-16 12:42:23 +01:00
board-zte_mf18a.qca99x0 ipq40xx: Add support ZTE MF18A 2023-01-14 19:19:36 +01:00
board-zte_mf18a.qca4019 ipq40xx: Add support ZTE MF18A 2023-01-14 19:19:36 +01:00
board-zte_mf289f.qca4019 ipq40xx: Add ZTE MF289F 2022-09-24 23:53:53 +02:00
board-zte_mf289f.qca9984 ipq40xx: Add ZTE MF289F 2022-09-24 23:53:53 +02:00
Makefile ipq807x: add Dynalink DL-WRX36 2023-01-16 12:42:23 +01:00