[OpenWrt-Devel] [PATCH 3/3] lantiq: VGV7510KW22BRN - support dual-image

Mathias Kresin openwrt at kresin.me
Sat Apr 30 08:32:44 EDT 2016


Signed-off-by: Mathias Kresin <openwrt at kresin.me>
---
 target/linux/lantiq/dts/VGV7510KW22BRN.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/lantiq/dts/VGV7510KW22BRN.dts b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
index 5f48323..f93249b 100644
--- a/target/linux/lantiq/dts/VGV7510KW22BRN.dts
+++ b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
@@ -38,20 +38,23 @@
 					};
 
 					partition at c0000 {
+						compatible = "brnboot,root-selector";
 						label = "Primary_Setting";
 						reg = <0xc0000 0x20000>;
 						read-only;
 					};
 
 					partition at e0000 {
-						label = "firmware"; /* "Code Image 0" in OFW */
+						label = "Code_Image_0";
 						reg = <0xe0000 0x780000>;
+						brnboot,root-id = <0x00>;
 						read-only;
 					};
 
 					partition at 860000 {
 						label = "Code_Image_1";
 						reg = <0x860000 0x780000>;
+						brnboot,root-id = <0x01>;
 						read-only;
 					};
 				};
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list