mediatek: filogic: convert Netcore N60 to fitblk
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
d657ca6760
commit
ca4f5b0def
2 changed files with 10 additions and 4 deletions
|
@ -21,6 +21,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
bootargs-append = " root=/dev/fit0 rootwait";
|
||||||
|
rootdisk = <&ubi_rootdisk>;
|
||||||
stdout-path = "serial0:115200n8";
|
stdout-path = "serial0:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -206,6 +208,13 @@
|
||||||
partition@580000 {
|
partition@580000 {
|
||||||
label = "ubi";
|
label = "ubi";
|
||||||
reg = <0x0580000 0x7280000>;
|
reg = <0x0580000 0x7280000>;
|
||||||
|
compatible = "linux,ubi";
|
||||||
|
|
||||||
|
volumes {
|
||||||
|
ubi_rootdisk: ubi-volume-fit {
|
||||||
|
volname = "fit";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -77,6 +77,7 @@ platform_do_upgrade() {
|
||||||
mediatek,mt7988a-rfb|\
|
mediatek,mt7988a-rfb|\
|
||||||
nokia,ea0326gmp|\
|
nokia,ea0326gmp|\
|
||||||
openwrt,one|\
|
openwrt,one|\
|
||||||
|
netcore,n60|\
|
||||||
qihoo,360t7|\
|
qihoo,360t7|\
|
||||||
tplink,tl-xdr4288|\
|
tplink,tl-xdr4288|\
|
||||||
tplink,tl-xdr6086|\
|
tplink,tl-xdr6086|\
|
||||||
|
@ -118,10 +119,6 @@ platform_do_upgrade() {
|
||||||
CI_ROOTPART="rootfs"
|
CI_ROOTPART="rootfs"
|
||||||
emmc_do_upgrade "$1"
|
emmc_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
netcore,n60)
|
|
||||||
CI_KERNPART="fit"
|
|
||||||
nand_do_upgrade "$1"
|
|
||||||
;;
|
|
||||||
mercusys,mr90x-v1|\
|
mercusys,mr90x-v1|\
|
||||||
tplink,re6000xd)
|
tplink,re6000xd)
|
||||||
CI_UBIPART="ubi0"
|
CI_UBIPART="ubi0"
|
||||||
|
|
Loading…
Reference in a new issue