[OpenWrt-Devel] [PATCH 05/11] ath79: MikroTik WAP G-5HacT2HnD routerboot partitions

Thibaut VARÈNE hacks at slashdirt.org
Sat Mar 28 10:20:26 EDT 2020


Tested-by: Roger Pueyo Centelles <roger.pueyo at guifi.net>
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
 .../qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
index 5fd4623726..ebb2465e15 100644
--- a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
+++ b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
@@ -84,37 +84,35 @@
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
 				read-only;
-				compatible = "fixed-partitions";
+				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-				partition at 0 {
+				partition1 at 0 {
 					label = "bootloader1";
-					reg = <0x0 0xe000>;
+					reg = <0x0 0x0>;
 					read-only;
 				};
 
-				hard_config: partition at e000 {
+				hard_config: partition2 {
 					label = "hard_config";
-					reg = <0xe000 0x1000>;
 					read-only;
 				};
 
-				partition at f000 {
+				partition3 {
 					label = "bios";
-					reg = <0xf000 0x1000>;
+					size = <0x1000>;
 					read-only;
 				};
 
-				partition at 10000 {
+				partition4 at 10000 {
 					label = "bootloader2";
-					reg = <0x10000 0xf000>;
+					reg = <0x10000 0x0>;
 					read-only;
 				};
 
-				partition at 1f000 {
+				partition5 {
 					label = "soft_config";
-					reg = <0x1f000 0x1000>;
 				};
 			};
 
-- 
2.11.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list