openwrt/target/linux
Chukun Pan 641e4f2f04 mediatek: add Xiaomi Redmi Router AX6000 support
Hardware specification:
  SoC: MediaTek MT7986A 4x A53
  Flash: ESMT F50L1G41LB 128 MB
  RAM: K4A4G165WF-BCWE 512 MB
  Ethernet: 4x 10/100/1000 Mbps
  WiFi1: MT7976GN 2.4GHz ax 4x4
  WiFi2: MT7976AN 5GHz ax 4x4
  Button: Mesh, Reset

Flash instructions:
  1. Gain ssh and serial port access, see the link below:
     https://openwrt.org/toh/xiaomi/redmi_ax6000#installation
  2. Use ssh or serial port to log in to the router, and
     execute the following command:
     nvram set boot_wait=on
     nvram set flag_boot_rootfs=0
     nvram set flag_boot_success=1
     nvram set flag_last_success=1
     nvram set flag_try_sys1_failed=8
     nvram set flag_try_sys2_failed=8
     nvram commit
  3. Set a static ip on the ethernet interface of your computer
     (e.g. default: ip 192.168.31.100, gateway 192.168.31.1)
  4. Download the initramfs image, rename it to initramfs.bin,
     and host it with the tftp server.
  5. Interrupt U-Boot and run these commands:
     setenv mtdparts nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),112640k(ubi)
     saveenv
     tftpboot initramfs.bin
     bootm
  6. After openwrt boots up, use scp or luci web
     to upload sysupgrade.bin to upgrade.

Revert to stock firmware:
  Restore mtdparts back to default, then use the
  vendor's recovery tool (Windows only).

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2022-10-30 14:30:22 +00:00
..
airoha airoha: fix imagebuilder generation by introducing generic target 2022-10-13 17:38:59 +02:00
apm821xx apm821xx: make 5.15 kernel default 2022-09-24 23:53:53 +02:00
archs38 kernel: remove target specific CONFIG_IKCONFIG lines 2022-10-14 13:15:47 +02:00
armvirt kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
at91 at91: kernel v5.15: use KERNEL_TESTING_PATCHVER:=5.15 2022-10-22 00:51:25 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
ath79 ath79: fix reference clock for RouterBoard 912UAG 2022-10-23 01:45:52 +02:00
bcm27xx kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
bcm47xx kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
bcm53xx bcm53xx: only fixup seama on D-Link DIR-885L 2022-10-21 08:54:34 +02:00
bcm63xx kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
bcm4908 bcm4908: add pending BQL support for bcm4908_enet 2022-10-27 22:34:00 +02:00
bmips kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
gemini kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
generic generic: 5.15: backport smempart parser fixup patch with EPROBE_DEFER error 2022-10-25 01:29:44 +02:00
imx kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
ipq40xx ipq40xx: convert to DSA and enable Netgear Orbi devices 2022-10-25 02:34:46 +02:00
ipq806x ipq806x: disable ea8500 image by default 2022-10-28 01:16:00 +02:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-09-30 12:59:19 +02:00
lantiq lantiq: add 6.1 tag to upstream patch 2022-10-23 01:45:52 +02:00
layerscape kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
malta kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
mediatek mediatek: add Xiaomi Redmi Router AX6000 support 2022-10-30 14:30:22 +00:00
mpc85xx mpc85xx: fix unset kernel symbol 2022-10-14 23:13:02 +02:00
mvebu kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
mxs kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
octeon kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
octeontx kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
omap kernel: remove target specific CONFIG_IKCONFIG lines 2022-10-14 13:15:47 +02:00
oxnas oxnas: shuttle-kd20: fix thermal zone 2022-10-21 20:57:53 +01:00
pistachio kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
qoriq qoriq: fix typo in FEATURES 2022-10-05 14:36:00 +03:00
ramips ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C 2022-10-23 23:33:22 +02:00
realtek realtek: Fix CRC offloading for rtl83xx 2022-10-29 11:18:04 +02:00
rockchip kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
sunxi kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
tegra kernel: Move some IOMMU options to generic 2022-09-24 13:49:47 +02:00
uml kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
x86 x86: switch to 5.15 as default kernel 2022-10-19 21:40:23 +02:00
zynq kernel: remove target specific CONFIG_IKCONFIG lines 2022-10-14 13:15:47 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:41:12 +02:00