bmips: fix NETGEAR DGND3700v2 boot loop
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 14 Jun 2023 21:23:14 +0000 (23:23 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 15 Jun 2023 09:55:58 +0000 (11:55 +0200)
commit1a5e7d3f1cd3f571f270dcfdb0b8c596b8dc363d
treea82bb1f82588922a2e7832a66f71bec1f04b4e31
parente908856c43c77efa2c3fce1978a4e92b9c32cf37
bmips: 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@gmail.com>
(cherry picked from commit 915e914cfaa243ea36f8c7a4f0f045ec890304fa)
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts