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:
Tianling Shen 2025-02-24 18:04:38 +08:00
parent 3e4c72dc09
commit 6d67913ee7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 11 additions and 2 deletions

View File

@ -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;
};

View File

@ -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";