openwrt/target/linux
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
..
airoha kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
apm821xx apm821xx: NETGEAR WNDR4700: Fix compat version 2025-01-27 23:53:29 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
armsr armsr: change image names to 'combined-efi' 2025-01-16 21:07:53 +01:00
at91 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
ath79 kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
bcm27xx kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
bcm53xx kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
bcm4908 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
bmips bmips: shg2500: add missing led controller cells 2025-01-28 08:35:57 +01:00
d1 d1: Use correct module for devices with wifi 2025-01-20 23:01:30 +01:00
gemini kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
generic kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC 2025-03-06 16:55:10 +01:00
imx kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
ipq40xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
ipq806x ipq806x: fix broken WAN on Linksys EAX and Asrock G10 2025-02-03 01:55:01 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-04 19:27:05 +01:00
kirkwood kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
lantiq lantiq: xrx200: fb7430 set correct label-mac 2025-01-21 00:16:40 +01:00
layerscape kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
loongarch64 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
malta kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
mediatek mediatek: add support for CMCC A10 2025-03-15 11:48:57 +01:00
mpc85xx kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
mvebu mvebu: WD Cloud Mirror Gen2: Remove stty dependency 2025-01-16 21:24:52 +01:00
mxs mxs: run kernel_oldconfig 2024-11-28 18:48:55 +00:00
octeon octeon: ubnt-usg: add board name to supported devices 2025-01-27 02:10:46 +01:00
omap kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
pistachio kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qoriq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qualcommax qualcommax: ipq807x: add support for Linksys MX4300 (LN1301) 2025-02-16 13:03:23 +01:00
ramips ramips: mt7621: 02_network optimization 2025-03-13 21:52:51 +01:00
realtek realtek: add PoE enable line to Netgear GS310TP 2025-02-22 12:33:08 +01:00
rockchip kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
siflower kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
starfive kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
stm32 stm32: enable CONFIG_SMSC_PHY 2025-01-27 15:14:50 +01:00
sunxi kernel: bump 6.6 to 6.6.61 2024-11-24 22:46:21 +01:00
tegra kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: Add kmod-drm-i915 as default package 2025-01-31 21:37:05 +01:00
zynq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
Makefile linux: fix missing default packages in profiles.json 2025-01-03 11:14:12 +01:00