openwrt-6.x/target/linux/mediatek
Tianling Shen 96c6608346 mediatek: add support for CMCC A10
This board is also as known as SuperElectron ZN-M5 and ZN-M8. However,
for ZN-M5 and ZN-M8, there's another version uses ZX279128 as CPU
chip, which is unsupported.
You can check it in "高级设置" > "系统日志" > "内核日志" page from webUI.

Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 4x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, WPS
  Power: DC 12V 1A

Stock layout flash instructions:
Login into webUI and upload sysupgrade firmware in "系统管理" > "升级固件" page.
Remember to unselect "保留配置" ("Keep configurations") first before doing that.

OpenWrt U-Boot layout flash instructions:
1. Flash stock layout firmware first.
2. Connect to the device via SSH, and backup everything,
   especially 'Factory' partition.
3. Unlock MTD partitions:
   apk update && apk add kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
4. Write new BL2 and FIP:
   mtd write openwrt-mediatek-filogic-cmcc_a10-ubootmod-preloader.bin BL2
   mtd write openwrt-mediatek-filogic-cmcc_a10-ubootmod-bl31-uboot.fip FIP
5. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
6. Serve OpenWrt initramfs image using TFTP server.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After OpenWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18121
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-08 15:44:56 +01:00
..
base-files mediatek: remove obsolete base-files scripts 2025-01-17 09:48:27 +01:00
dts mediatek: add support for CMCC A10 2025-03-08 15:44:56 +01:00
files/drivers treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
files-6.6 mediatek: add Airoha AN8855 gigabit switch driver 2025-01-23 15:27:25 +01:00
filogic mediatek: add support for CMCC A10 2025-03-08 15:44:56 +01:00
image mediatek: add support for CMCC A10 2025-03-08 15:44:56 +01:00
mt7622 mediatek: Refresh kernel configuration 2025-03-06 20:26:54 +01:00
mt7623 mediatek: Refresh kernel configuration 2025-03-06 20:26:54 +01:00
mt7629 mediatek: Refresh kernel configuration 2025-03-06 20:26:54 +01:00
patches-6.6 kernel: bump 6.6 to 6.6.79 2025-02-23 12:17:38 +01:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk kernel: kmod-btmtk: Extract btmtk.ko into own package 2025-02-26 23:31:36 +01:00