ipq40xx: try to fixes booting issue

No testing since there is no board.
This commit is contained in:
aiamadeus 2023-07-13 23:19:21 +08:00
parent 45107fc446
commit ad98915e76
2 changed files with 10 additions and 6 deletions

View File

@ -16,6 +16,10 @@
led-upgrade = &led_sys; led-upgrade = &led_sys;
}; };
chosen {
bootargs-append = " ubi.block=0,1 root=/dev/ubiblock0_1";
};
soc { soc {
rng@22000 { rng@22000 {
status = "okay"; status = "okay";
@ -306,7 +310,7 @@
}; };
partition@b80000 { partition@b80000 {
label = "ubi"; label = "rootfs";
reg = <0xb80000 0x7480000>; reg = <0xb80000 0x7480000>;
}; };
}; };

View File

@ -7,10 +7,6 @@
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
/ { / {
chosen {
bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
};
aliases { aliases {
led-boot = &led_sys; led-boot = &led_sys;
led-failsafe = &led_sys; led-failsafe = &led_sys;
@ -19,6 +15,10 @@
label-mac-device = &gmac0; label-mac-device = &gmac0;
}; };
chosen {
bootargs-append = " root=/dev/ubiblock0_1";
};
soc { soc {
rng@22000 { rng@22000 {
status = "okay"; status = "okay";
@ -212,7 +212,7 @@
#size-cells = <1>; #size-cells = <1>;
nand_rootfs: partition@0 { nand_rootfs: partition@0 {
label = "ubi"; label = "rootfs";
/* reg defined in 64M/128M variant dts. */ /* reg defined in 64M/128M variant dts. */
}; };
}; };