[LEDE-DEV] [PATCH 6/9] lantiq: VGV7519 - fix brn partition layout
Mathias Kresin
dev at kresin.me
Thu May 26 14:08:24 PDT 2016
Use the brnboot partition layout as it is listed in the OpenWrt wiki
article for this board.
Configure the brnboot root selector for this device as well.
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/lantiq/dts/VGV7519BRN.dts | 54 +++++++++++++++++++++++++++++++---
1 file changed, 50 insertions(+), 4 deletions(-)
diff --git a/target/linux/lantiq/dts/VGV7519BRN.dts b/target/linux/lantiq/dts/VGV7519BRN.dts
index cc365ec..b225acf 100644
--- a/target/linux/lantiq/dts/VGV7519BRN.dts
+++ b/target/linux/lantiq/dts/VGV7519BRN.dts
@@ -8,14 +8,60 @@
localbus at 0 {
nor-boot at 0 {
partitions {
+ partition at 0 {
+ label = "Boot";
+ reg = <0x00000 0x40000>;
+ read-only;
+ };
+
+ partition at 50000 {
+ label = "Certificate";
+ reg = <0x50000 0x10000>;
+ read-only;
+ };
+ partition at 60000 {
+ label = "Special_Area";
+ reg = <0x60000 0x10000>;
+ read-only;
+ };
+
+ partition at 70000 {
+ label = " Reserve_0";
+ reg = <0x70000 0x10000>;
+ read-only;
+ };
+
partition at 80000 {
- label = "firmware";
+ label = "Code_Image_0";
reg = <0x80000 0x780000>;
+ brnboot,root-id = <0x00>;
read-only;
};
- partition at 880000 {
- label = "rootfs_data";
- reg = <0x880000 0x780000>;
+
+ partition at 4000000 {
+ compatible = "brnboot,root-selector";
+ label = "Primary_Setting";
+ reg = <0x4000000 0x10000>;
+ read-only;
+ };
+
+ partition at 4010000 {
+ label = "Configuration";
+ reg = <0x4010000 0x60000>;
+ read-only;
+ };
+
+ partition at 4070000 {
+ label = " Reserve_1";
+ reg = <0x4070000 0x10000>;
+ read-only;
+ };
+
+ partition at 4080000 {
+ label = "Code_Image_1";
+ reg = <0x4080000 0x780000>;
+ brnboot,root-id = <0x01>;
+ read-only;
};
};
};
--
1.9.1
More information about the Lede-dev
mailing list