[PATCH] uboot-tools: add BPi-R4 2g5 to mediatek_filogic
Dan Foster
dan at zem.org.uk
Sun Nov 1 04:16:30 PST 2026
Since the switch to the upstream device tree, the BananaPi BPI-R4
2.5GE (bananapi_bpi-r4-poe) reports its board name as
bananapi,bpi-r4-2g5. The uboot-envtools board list only has
bananapi,bpi-r4-poe, so the first-boot script leaves
/etc/config/ubootenv empty and never creates /etc/fw_env.config.
fw_printenv and fw_setenv then fail with:
Failed to find NVMEM device
99_fwenv-store-ethaddr.sh already lists bananapi,bpi-r4-2g5, but its
fw_setenv calls cannot work either, so eth1addr is never stored and
eth1 gets a randomly generated MAC address.
Add the board name next to the other BPI-R4 variants.
Fixes: 465249f2b3 ("mediatek: filogic: adapt BananaPi-R4 for use with upstream DT")
Signed-off-by: Dan Foster <dan at zem.org.uk>
---
package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic b/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic
index 5fe5752eba..66c3e58d4b 100644
--- a/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic
+++ b/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic
@@ -102,6 +102,7 @@ asus,rt-ax59u)
bananapi,bpi-r3|\
bananapi,bpi-r3-mini|\
bananapi,bpi-r4|\
+bananapi,bpi-r4-2g5|\
bananapi,bpi-r4-lite|\
bananapi,bpi-r4-poe|\
bananapi,bpi-r4-pro-4e|\
More information about the openwrt-devel
mailing list