mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
d657ca6760
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
29 lines
534 B
Plaintext
29 lines
534 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
#include "mt7981b-xiaomi-mi-router-wr30u.dtsi"
|
|
|
|
/ {
|
|
model = "Xiaomi Mi Router WR30U (OpenWrt U-Boot layout)";
|
|
compatible = "xiaomi,mi-router-wr30u-ubootmod", "mediatek,mt7981";
|
|
|
|
chosen {
|
|
bootargs-append = " root=/dev/fit0 rootwait";
|
|
rootdisk = <&ubi_rootdisk>;
|
|
};
|
|
};
|
|
|
|
&partitions {
|
|
partition@600000 {
|
|
label = "ubi";
|
|
reg = <0x600000 0x7000000>;
|
|
compatible = "linux,ubi";
|
|
|
|
volumes {
|
|
ubi_rootdisk: ubi-volume-fit {
|
|
volname = "fit";
|
|
};
|
|
};
|
|
};
|
|
};
|