mediatek: remove bootargs-append prop from h3c nx30-pro nmbm layout
fit0 node only exists on fitblk format firmware. Fixes: https://github.com/immortalwrt/immortalwrt/issues/1735 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
3e4c72dc09
commit
6d67913ee7
@ -8,6 +8,11 @@
|
||||
compatible = "h3c,magic-nx30-pro-nmbm", "mediatek,mt7981";
|
||||
};
|
||||
|
||||
&chosen {
|
||||
/delete-property/ bootargs-append;
|
||||
/delete-property/ rootdisk;
|
||||
};
|
||||
|
||||
&spi_nand {
|
||||
mediatek,nmbm;
|
||||
mediatek,bmt-max-ratio = <1>;
|
||||
@ -32,3 +37,7 @@
|
||||
bias-pull-down = <MTK_PUPD_SET_R1R0_11>;
|
||||
};
|
||||
};
|
||||
|
||||
&ubi {
|
||||
/delete-node/ volumes;
|
||||
};
|
||||
|
@ -19,7 +19,7 @@
|
||||
led-upgrade = &led_status_red;
|
||||
};
|
||||
|
||||
chosen {
|
||||
chosen: chosen {
|
||||
bootargs-append = " root=/dev/fit0 rootwait";
|
||||
rootdisk = <&ubi_rootdisk>;
|
||||
stdout-path = "serial0:115200n8";
|
||||
@ -140,7 +140,7 @@
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@580000 {
|
||||
ubi: partition@580000 {
|
||||
label = "ubi";
|
||||
reg = <0x0580000 0x4000000>;
|
||||
compatible = "linux,ubi";
|
||||
|
Loading…
x
Reference in New Issue
Block a user