mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-17 18:16:02 +04:00
CMCC PZ-L8 is a 2.4/5 GHz band 11ax (Wi-Fi 6) router, based on IPQ5000. Specifications: - SoC : Qualcomm IPQ5000 - RAM : Integrated 256MiB DDR3L - Flash : 128 MiB SPI-NAND (ESMT F50D1G41LB) - WLAN : 2.4/5 GHz 2T2R - 2.4 GHz : Qualcomm IPQ5000 (SoC) - 5 GHz : Qualcomm Atheros QCN6102 - Ethernet : 4x 10/100/1000 Mbps - switch : Qualcomm Atheros QCA8337 - LEDs/Keys (GPIO) : 2x LEDs, 2x Keys - UART : Through-hole on PCB, 4pins in the middle of the black aluminum heat sink - assignment : 3.3V, GND,TX, RX (from left to right) - settings : 115200n8 - Power : 12 VDC, 1 A Flashing Instructions: 1. SSH Method (1) Enable SSH on the stock firmware a. Version 501.8 and 501.9: Log in to http://192.168.10.1 with the password on the sticker Append "/admin/system/admin" to the URL and press Enter Delete "Dropbear instance", click "Add instance", then "Save and Apply" Reboot the router b. Version 501.11 and 501.12: While the router is running the stock firmware, press and hold the reset button for 20-30 seconds Open http://192.168.10.1:56781 and login with username "root" and the password on the sticker Run "vi /etc/config/dropbear" and delete the line "option enable '0'" Reboot the router (2) Upload the factory.ubi file to router's /tmp directory (using scp or wget) and execute the following commands in the router's shell export rootfs=$(cat /proc/mtd | grep rootfs | grep -v _ | cut -d: -f1) ubidetach -f -p /dev/${rootfs} ubiformat /dev/${rootfs} -y -f /tmp/factory.ubi 2. U-Boot Method using UBI Image Place the factory.ubi file on your TFTP server, enter U-Boot CLI and exec these commands tftpboot <your_tftp_server_ip>:factory.ubi flash rootfs reset 3. U-Boot Method using initramfs Image (1) Place the openwrt-*-initramfs-fit-uImage.itb file on your TFTP server and rename it to initramfs.bin (2) Enable serial console, enter to U-Boot CLI and exec these commands tftpboot <your_tftp_server_ip>:initramfs.bin bootm (3) Once boot completed, upload the sysupgrade.bin file to router's /tmp directory (using scp or wget) and execute the following command in openwrt shell sysupgrade -n /tmp/sysupgrade.bin Switching to the Stock Firmware: Please follow the commit https://github.com/openwrt/openwrt/commit/3b7d72bc2ecca2f962319b0a4fb9beb7609a0222 Partition Layout (Stock Firmware): 0x000000000000-0x000000080000 : "0:SBL1" 0x000000080000-0x000000100000 : "0:MIBIB" 0x000000100000-0x000000140000 : "0:BOOTCONFIG" 0x000000140000-0x000000180000 : "0:BOOTCONFIG1" 0x000000180000-0x000000280000 : "0:QSEE" 0x000000280000-0x000000380000 : "0:QSEE_1" 0x000000380000-0x0000003c0000 : "0:DEVCFG" 0x0000003c0000-0x000000400000 : "0:DEVCFG_1" 0x000000400000-0x000000440000 : "0:CDT" 0x000000440000-0x000000480000 : "0:CDT_1" 0x000000480000-0x000000500000 : "0:APPSBLENV" 0x000000500000-0x000000640000 : "0:APPSBL" 0x000000640000-0x000000780000 : "0:APPSBL_1" 0x000000780000-0x000000880000 : "0:ART" 0x000000880000-0x000000900000 : "0:TRAINING" 0x000000900000-0x000004300000 : "rootfs" 0x000004300000-0x000007d00000 : "rootfs_1" Notes: This device is almost the same as ELECOM WRC-X3000GS2, including partition layout and the dual-boot feature. Known Issues: - All Wi-Fi related peripherals are disabled in device tree, since 256 MiB RAM is too few for ath11k. - This device has another version with nand flash FM25SL01, which is not supported at the moment. https://github.com/immortalwrt/immortalwrt/blob/master/target/linux/mediatek/patches-6.12/342-mtd-spinand-Support-fmsh.patch MAC Addresses: Interface MAC Address Location (binary) LAN A4:39:B6:xx:xx:9D (0:ART, 0x00-0x05) WAN A4:39:B6:xx:xx:9E (0:ART, 0x06-0x0B) 2.4 GHz A4:39:B6:xx:xx:9F (0:ART, 0x0C-0x11) 5 GHz A4:39:B6:xx:xx:A0 (0:ART, 0x12-0x17) Signed-off-by: Chang Liu <jssqliuchang@gmail.com>