[PATCH] realtek: rename partitions in Netgear DTSI

Stijn Segers foss at volatilesystems.org
Sun Feb 28 16:50:15 EST 2021


Switch the Netgear DTSI for the Realtek target from the OEM partition
naming scheme to accepted OpenWrt naming practices. A quick git grep for
'u-boot-env' e.g. in the OpenWrt tree turns up almost 500 hits whereas
grepping for 'bdinfo' (the OEM equivalent) returns a meagre 14.

Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
 target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
index 2cda3c15a3..d31eb74001 100644
--- a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
+++ b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
@@ -47,31 +47,31 @@
 			#size-cells = <1>;
 
 			partition at 0 {
-				label = "loader";
+				label = "u-boot";
 				reg = <0x0000000 0x00e0000>;
 				read-only;
 			};
 
 			partition at e0000 {
-				label = "bdinfo";
+				label = "u-boot-env";
 				reg = <0x00e0000 0x0010000>;
 				read-only;
 			};
 
 			partition at f0000 {
-				label = "sysinfo";
+				label = "u-boot-env2";
 				reg = <0x00f0000 0x0010000>;
 				read-only;
 			};
 
 			partition at 100000 {
-				label = "jffs2_cfg";
+				label = "jffs";
 				reg = <0x0100000 0x0100000>;
 				read-only;
 			};
 
 			partition at 200000 {
-				label = "jffs2_log";
+				label = "jffs2";
 				reg = <0x0200000 0x0100000>;
 				read-only;
 			};
-- 
2.30.1




More information about the openwrt-devel mailing list