From: Mathias Kresin Date: Thu, 26 May 2016 21:08:24 +0000 (+0200) Subject: lantiq: VGV7519 - fix brn partition layout X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a9f7586ad2ffb377f3cdf429af71bc7b886797d2;p=openwrt%2Fstaging%2Fyousong.git lantiq: VGV7519 - fix brn partition layout 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 --- diff --git a/target/linux/lantiq/dts/VGV7519BRN.dts b/target/linux/lantiq/dts/VGV7519BRN.dts index cc365ecfe1..b225acf57d 100644 --- a/target/linux/lantiq/dts/VGV7519BRN.dts +++ b/target/linux/lantiq/dts/VGV7519BRN.dts @@ -8,14 +8,60 @@ localbus@0 { nor-boot@0 { partitions { + partition@0 { + label = "Boot"; + reg = <0x00000 0x40000>; + read-only; + }; + + partition@50000 { + label = "Certificate"; + reg = <0x50000 0x10000>; + read-only; + }; + partition@60000 { + label = "Special_Area"; + reg = <0x60000 0x10000>; + read-only; + }; + + partition@70000 { + label = " Reserve_0"; + reg = <0x70000 0x10000>; + read-only; + }; + partition@80000 { - label = "firmware"; + label = "Code_Image_0"; reg = <0x80000 0x780000>; + brnboot,root-id = <0x00>; read-only; }; - partition@880000 { - label = "rootfs_data"; - reg = <0x880000 0x780000>; + + partition@4000000 { + compatible = "brnboot,root-selector"; + label = "Primary_Setting"; + reg = <0x4000000 0x10000>; + read-only; + }; + + partition@4010000 { + label = "Configuration"; + reg = <0x4010000 0x60000>; + read-only; + }; + + partition@4070000 { + label = " Reserve_1"; + reg = <0x4070000 0x10000>; + read-only; + }; + + partition@4080000 { + label = "Code_Image_1"; + reg = <0x4080000 0x780000>; + brnboot,root-id = <0x01>; + read-only; }; }; };