[openwrt/openwrt] bcm63xx: fix NETGEAR DGND3700v2 boot loop

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 15 03:00:02 PDT 2023


noltari pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/4b44bfe591a4b96f282c9f19e990da4f1e6ff184

commit 4b44bfe591a4b96f282c9f19e990da4f1e6ff184
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Wed Jun 14 23:27:29 2023 +0200

    bcm63xx: fix NETGEAR DGND3700v2 boot loop
    
    The DGND3700v2 renames the cferam bootloader from cferam to cfeXXX, where XXX
    is the number of firmware upgrades performed by the bootloader. Other bcm63xx
    devices rename cferam.000 to cferam.XXX, but this device is special because
    the cferam name isn't changed on the first firmware flashing but it's changed
    on the subsequent ones.
    Therefore, we need to look for "cfe" instead of "cferam" to properly detect
    the cferam partition and fix the bootlop.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
    (cherry picked from commit cdfcac6e246de9f237d1425e498db3f34ddebbaf)
---
 target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts
index 50133265f7..4bef5908e0 100644
--- a/target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts
+++ b/target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts
@@ -167,6 +167,7 @@
 				compatible = "brcm,wfi";
 				label = "wfi";
 				reg = <0x0004000 0x1c7c000>;
+				brcm,cferam = "cfe";
 			};
 
 			partition at 1c80000 {




More information about the lede-commits mailing list