bcm63xx: fix NETGEAR DGND3700v2 boot loop
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 14 Jun 2023 21:27:29 +0000 (23:27 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 15 Jun 2023 09:39:18 +0000 (11:39 +0200)
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@gmail.com>
(cherry picked from commit cdfcac6e246de9f237d1425e498db3f34ddebbaf)

target/linux/bcm63xx/dts/bcm6362-netgear-dgnd3700-v2.dts

index 50133265f7ea72ebf762c0ce8ccb1c553c442c09..4bef5908e0359609b357b5b70ebf06eec9e6d890 100644 (file)
                                compatible = "brcm,wfi";
                                label = "wfi";
                                reg = <0x0004000 0x1c7c000>;
+                               brcm,cferam = "cfe";
                        };
 
                        partition@1c80000 {