aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2021-04-06 11:43:05 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-18 12:06:57 +0200
commit59980f7aaf585e65f87730b2f77d55662c362f22 (patch)
treed88f75c28be91fbb4f14a539f059649845f74bbf /target/linux
parent41a8bea72eb0503d2ded258761bc6334fee4a1c1 (diff)
downloadupstream-59980f7aaf585e65f87730b2f77d55662c362f22.tar.gz
upstream-59980f7aaf585e65f87730b2f77d55662c362f22.tar.bz2
upstream-59980f7aaf585e65f87730b2f77d55662c362f22.zip
realtek: allow writing to "u-boot-env2"
U-Boot uses the "bootpartition" variable stored in "u-boot-env2" to select the active system partition. Allow updates to enable system switching from OpenWrt. Signed-off-by: Bjørn Mork <bjorn@mork.no> (cherry picked from commit 11d24ffe961570533a4fc54a7511d30c17290623)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi1
-rw-r--r--target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi1
-rw-r--r--target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts1
-rw-r--r--target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts1
-rw-r--r--target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi1
5 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
index d31eb74001..0d34ca5dc2 100644
--- a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
+++ b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
@@ -61,7 +61,6 @@
partition@f0000 {
label = "u-boot-env2";
reg = <0x00f0000 0x0010000>;
- read-only;
};
partition@100000 {
diff --git a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi
index c4441ec30e..d61ac3b2b8 100644
--- a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi
+++ b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi
@@ -79,7 +79,6 @@
partition@50000 {
label = "u-boot-env2";
reg = <0x50000 0x10000>;
- read-only;
};
partition@60000 {
label = "jffs";
diff --git a/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts b/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts
index 681d699e8a..fdcc01fdac 100644
--- a/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts
+++ b/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts
@@ -79,7 +79,6 @@
partition@90000 {
label = "u-boot-env2";
reg = <0x90000 0x10000>;
- read-only;
};
partition@a0000 {
diff --git a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts
index a2ebdad11b..e2f5e7a4c0 100644
--- a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts
+++ b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts
@@ -77,7 +77,6 @@
partition@c0000 {
label = "u-boot-env2";
reg = <0x000c0000 0x40000>;
- read-only;
};
partition@280000 {
label = "firmware";
diff --git a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi
index e41c6f9f22..a14738c8a9 100644
--- a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi
+++ b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi
@@ -61,7 +61,6 @@
partition@c0000 {
label = "u-boot-env2";
reg = <0x000c0000 0x40000>;
- read-only;
};
partition@280000 {
label = "firmware";