diff mbox series

[OpenWrt-Devel,11/11] ramips: MikroTik RBM33G routerboot partitions

Message ID 20200328142032.37734-12-hacks@slashdirt.org
State Superseded
Delegated to: Koen Vandeputte
Headers show
Series MTD parser for RouterBoot partitions | expand

Commit Message

Thibaut March 28, 2020, 2:20 p.m. UTC
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
---
 target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Comments

Thibaut April 8, 2020, 9:46 a.m. UTC | #1
I received a successful test report from Tobias Schramm (CC’d) on ramips MikroTik RBM33G, who agreed to have his Tested-by applied. Dmesg attached.
> Le 28 mars 2020 à 15:20, Thibaut VARÈNE <hacks@slashdirt.org> a écrit :
> 
> Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
> ---
> target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
> 
> diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
> index 2500ae29da..9895bb70d5 100644
> --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
> +++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
> @@ -104,19 +104,17 @@
> 				label = "RouterBoot";
> 				reg = <0x0 0x40000>;
> 				read-only;
> -				compatible = "fixed-partitions";
> +				compatible = "mikrotik,routerboot-partitions";
> 				#address-cells = <1>;
> 				#size-cells = <1>;
> 
> 				partition@0 {
> 					label = "bootloader1";
> -					reg = <0x0 0xf000>;
> +					reg = <0x0 0x0>;
> 					read-only;
> 				};
> 
> -				hard_config: partition@f000 {
> -					label = "hard_config";
> -					reg = <0xf000 0x1000>;
> +				hard_config: hard_config {
> 					read-only;
> 				};
> 
> @@ -126,9 +124,7 @@
> 					read-only;
> 				};
> 
> -				partition@20000 {
> -					label = "soft_config";
> -					reg = <0x20000 0x1000>;
> +				soft_config {
> 				};
> 
> 				partition@30000 {
> -- 
> 2.11.0
>
diff mbox series

Patch

diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
index 2500ae29da..9895bb70d5 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
@@ -104,19 +104,17 @@ 
 				label = "RouterBoot";
 				reg = <0x0 0x40000>;
 				read-only;
-				compatible = "fixed-partitions";
+				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
 
 				partition@0 {
 					label = "bootloader1";
-					reg = <0x0 0xf000>;
+					reg = <0x0 0x0>;
 					read-only;
 				};
 
-				hard_config: partition@f000 {
-					label = "hard_config";
-					reg = <0xf000 0x1000>;
+				hard_config: hard_config {
 					read-only;
 				};
 
@@ -126,9 +124,7 @@ 
 					read-only;
 				};
 
-				partition@20000 {
-					label = "soft_config";
-					reg = <0x20000 0x1000>;
+				soft_config {
 				};
 
 				partition@30000 {