From 18cf2383b6e5f574607bebfdc68d86a5cc7bc839 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Gonz=C3=A1lez=20Cabanelas?= Date: Mon, 15 Jun 2020 19:51:28 +0200 Subject: [PATCH] bcm63xx: a226m-fwb: fix linux partition offset MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The Pirelli A226M-FWB has a wrong linux partition offset, caused by a copy-paste error. As of result of this, OpenWrt is currently broken in this unit. Fix it. While at it, also use generic node names and fix the addresses there as well. Fixes: a27d59bb4274 ("brcm63xx: switch to new partition layout specification") Signed-off-by: Daniel González Cabanelas [also fix/update node names, extend commit message] Signed-off-by: Adrian Schmutzler (cherry picked from commit d64d5ed1425f4397d093c8777ca03f70ff1ee90c) --- target/linux/brcm63xx/dts/a226m-fwb.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/brcm63xx/dts/a226m-fwb.dts b/target/linux/brcm63xx/dts/a226m-fwb.dts index bb1cd29359..db416654a7 100644 --- a/target/linux/brcm63xx/dts/a226m-fwb.dts +++ b/target/linux/brcm63xx/dts/a226m-fwb.dts @@ -101,19 +101,19 @@ #address-cells = <1>; #size-cells = <1>; - cfe@0 { + partition@0 { label = "CFE"; reg = <0x000000 0x020000>; read-only; }; - linux@10000 { + partition@20000 { label = "linux"; - reg = <0x010000 0xfc0000>; + reg = <0x020000 0xfc0000>; compatible = "brcm,bcm963xx-imagetag"; }; - nvram@7f0000 { + partition@fe0000 { label = "nvram"; reg = <0xfe0000 0x020000>; }; -- 2.25.1