Paweł Owoc
70fd815e57
qualcommax: ipq807x: add support for Linksys MX5300
Hardware specification:
========
SoC: Qualcomm IPQ8072A
Flash: 512MB (Winbond W29N04GZBIBA)
RAM: 1GB (2x Nanya DDR3L NT5CC256M16ER-EK)
Ethernet: 5x 10/100/1000Mbps (Qualcomm QCA8075)
WiFi1: 5GHz ac 4x4 (Qualcomm QCA9984 + Skyworks SKY85746-11) - channels 100-169
WiFi2: 5GHz ax 4x4 (Qualcomm QCN5054 + Skyworks SKY85755-11) - channels 36-64
WiFi3: 2.4GHz ax 4x4 (Qualcomm QCN5024 + Skyworks SKY8340-11)
IoT: Bluetooth 5, Zigbee and Thread (Qualcomm QCA4024 + Skyworks SE2433T-R)
IoT Flash: 4MB (Macronix MX25R3235F)
RTC: ST M41T00S
LED: 1x RGB status (NXP PCA9633)
USB: 1x USB 3.0
Button: WPS, Reset
Flash instructions:
========
1. Manually upgrade firmware using openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin image.
More details can be found here: https://www.linksys.com/hk/support-article?articleNum=274497
After first boot check actual partition:
- fw_printenv -n boot_part
and install firmware on second partition using command in case of 2:
- mtd -r -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel
and in case of 1:
- mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel
2. Installation using serial connection from OEM firmware (default login: root, password: admin):
- fw_printenv -n boot_part
In case of 2:
- flash_erase /dev/mtd21 0 0
nandwrite -p /dev/mtd21 openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin
or in case of 1:
- flash_erase /dev/mtd23 0 0
nandwrite -p /dev/mtd23 openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin
After first boot install firmware on second partition:
- mtd -r -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel
or:
- mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel
3. Installation from initramfs image using USB FAT32 formatted drive:
Stop u-boot and run:
- usb start && fatload usb 0:1 $loadaddr openwrt-qualcommax-ipq807x-linksys_mx5300-initramfs-uImage.itb && bootm $loadaddr
Write firmware to the flash from initramfs:
- mtd -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel
and:
- mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel
4. Back to the OEM firmware:
- mtd -e kernel -n write FW_MX5300_1.1.9.200251_prod.img kernel
and:
- mtd -r -e alt_kernel -n write FW_MX5300_1.1.9.200251_prod.img alt_kernel
5. USB recovery:
- fw_setenv usbimage 'openwrt-qualcommax-ipq807x-linksys_mx5300-initramfs-uImage.itb'
fw_setenv bootusb 'usb start && fatload usb 0:1 $loadaddr $usbimage && bootm $loadaddr'
fw_setenv bootcmd 'run bootusb; aq_load_fw && if test $auto_recovery = no; then bootipq; elif test $boot_part = 1; then run bootpart1; else run bootpart2; fi'
Notes:
========
IoT device is accesible over spi. Not yet supported.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
2024-02-23 13:34:59 +01:00
..
2023-08-09 22:06:24 +02:00
2023-11-25 22:50:32 +01:00
2024-01-19 21:24:44 +01:00
2023-08-09 22:06:24 +02:00
2024-02-19 16:51:39 +01:00
2024-02-18 11:20:27 +00:00
2024-01-06 10:53:39 +01:00
2024-02-15 19:06:36 +00:00
2024-02-07 14:48:35 +01:00
2023-10-27 19:43:06 +01:00
2024-02-08 09:45:26 +01:00
2024-01-06 12:52:49 +01:00
2024-02-21 02:34:32 +01:00
2024-02-18 11:23:19 +00:00
2024-02-15 19:06:36 +00:00
2024-02-08 00:01:22 +01:00
2023-12-09 14:45:50 +01:00
2024-02-18 11:20:27 +00:00
2024-02-08 00:01:22 +01:00
2024-02-15 19:06:36 +00:00
2024-02-03 04:35:25 +00:00
2024-02-20 12:42:28 +01:00
2024-02-07 14:48:40 +01:00
2024-02-18 11:20:27 +00:00
2024-02-07 14:48:41 +01:00
2024-02-01 21:36:00 +01:00
2024-02-13 19:05:48 +01:00
2024-01-01 02:34:48 +01:00
2023-10-31 17:33:28 +01:00
2023-12-02 14:06:56 +02:00
2024-02-23 13:34:59 +01:00
2024-02-22 22:53:30 +01:00
2024-02-18 09:56:45 +01:00
2024-02-22 17:30:05 +01:00
2023-11-19 16:46:24 +01:00
2023-12-19 16:02:05 +01:00
2023-09-23 13:10:28 +02:00
2023-12-23 07:52:05 +00:00
2024-02-08 23:04:55 +01:00