uboot-envtools: mvebu: add Buffalo LS421DE
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Sat, 10 Apr 2021 16:42:42 +0000 (18:42 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 17 Apr 2021 21:44:09 +0000 (22:44 +0100)
The Buffalo Linkstation LS421DE NAS lacks an uboot env config file.

Create it via scripts.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
package/boot/uboot-envtools/files/mvebu

index fb910f4b1bee4e650b1cb7a0e291d8b10c8e8704..25f29599a3aa4a17297d2a02e16f1b3801fbf473 100644 (file)
@@ -13,6 +13,9 @@ touch /etc/config/ubootenv
 board=$(board_name)
 
 case "$board" in
+buffalo,ls421de)
+       ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000"
+       ;;
 cznic,turris-omnia)
        if grep -q 'U-Boot 2015.10-rc2' /dev/mtd0; then
                ubootenv_add_uci_config "/dev/mtd0" "0xc0000" "0x10000" "0x40000"