mediatek: add new layout for Xiaomi Redmi Router AX6000 for OpenWrt U-Boot

This new layout is only bootable with OpenWrt U-Boot. It reuses the
two crash partions and expands the ubi partion to the end of whole flash.

Do not use this layout with stock U-Boot!

Signed-off-by: Furong Xu <xfr@outlook.com>
This commit is contained in:
Furong Xu
2022-12-22 10:40:26 +08:00
committed by Daniel Golle
parent 045baca10b
commit 8bac5dc18a
8 changed files with 92 additions and 20 deletions

View File

@@ -64,6 +64,10 @@ platform_do_upgrade() {
CI_ROOT_UBIPART=ubi
nand_do_upgrade "$1"
;;
xiaomi,redmi-router-ax6000-ubootmod)
CI_KERNPART="fit"
nand_do_upgrade "$1"
;;
*)
nand_do_upgrade "$1"
;;