mediatek: filogic: convert JCG Q30 PRO to fitblk
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
52ef01672c
commit
609f29da62
2 changed files with 10 additions and 1 deletions
|
@ -21,6 +21,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
bootargs-append = " root=/dev/fit0 rootwait";
|
||||||
|
rootdisk = <&ubi_rootdisk>;
|
||||||
stdout-path = "serial0:115200n8";
|
stdout-path = "serial0:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -146,6 +148,13 @@
|
||||||
partition@580000 {
|
partition@580000 {
|
||||||
label = "ubi";
|
label = "ubi";
|
||||||
reg = <0x0580000 0x7000000>;
|
reg = <0x0580000 0x7000000>;
|
||||||
|
compatible = "linux,ubi";
|
||||||
|
|
||||||
|
volumes {
|
||||||
|
ubi_rootdisk: ubi-volume-fit {
|
||||||
|
volname = "fit";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -71,6 +71,7 @@ platform_do_upgrade() {
|
||||||
bananapi,bpi-r4-poe|\
|
bananapi,bpi-r4-poe|\
|
||||||
cmcc,rax3000m|\
|
cmcc,rax3000m|\
|
||||||
h3c,magic-nx30-pro|\
|
h3c,magic-nx30-pro|\
|
||||||
|
jcg,q30-pro|\
|
||||||
jdcloud,re-cp-03|\
|
jdcloud,re-cp-03|\
|
||||||
mediatek,mt7981-rfb|\
|
mediatek,mt7981-rfb|\
|
||||||
mediatek,mt7988a-rfb|\
|
mediatek,mt7988a-rfb|\
|
||||||
|
@ -114,7 +115,6 @@ platform_do_upgrade() {
|
||||||
CI_ROOTPART="rootfs"
|
CI_ROOTPART="rootfs"
|
||||||
emmc_do_upgrade "$1"
|
emmc_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
jcg,q30-pro|\
|
|
||||||
netcore,n60|\
|
netcore,n60|\
|
||||||
qihoo,360t7|\
|
qihoo,360t7|\
|
||||||
xiaomi,mi-router-ax3000t-ubootmod|\
|
xiaomi,mi-router-ax3000t-ubootmod|\
|
||||||
|
|
Loading…
Reference in a new issue