openwrt/package
Tianling Shen df8679e29f 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:
   opkg update && opkg install 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
(cherry picked from commit 96c6608346)
[sync uboot defconfigs with 24.10 branch, change apk to opkg]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18218
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-15 11:48:57 +01:00
..
base-files base-files: fix offset conversion on caldata_patch_data() 2025-02-13 00:32:30 +01:00
boot mediatek: add support for CMCC A10 2025-03-15 11:48:57 +01:00
devel gdb: Fix description for apk, remove backtick 2024-11-28 18:49:39 +00:00
firmware wireless-regdb: Update to version 2025.02.20 2025-02-25 23:30:54 +01:00
kernel kernel: r8126: update to v10.015.00 2025-02-27 11:58:27 +01:00
libs libpcap: backport support for various DSA tags 2025-03-13 23:07:35 +00:00
network dnsmasq: fix handlers for options filter_rr and cache_rr 2025-03-09 17:28:50 +01:00
system mtd: check the return value of malloc and pread 2025-02-16 13:03:23 +01:00
utils ucode: update to Git HEAD (2025-02-10) 2025-02-10 17:05:55 +01:00
Makefile build: don't include kernel/libc in package index 2024-10-30 14:17:33 +01:00