uboot-envtools: mvebu: add Buffalo LS421DE
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Sat, 10 Apr 2021 16:42:42 +0000 (18:42 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 10:04:24 +0000 (12:04 +0200)
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>
(cherry picked from commit 4f8da19572cf1adc480dca42251a4cded0cb3c7c)

package/boot/uboot-envtools/files/mvebu

index afa058a39f71162cf4ac520363aa19a4340d93ae..92b144330f25933be64443d78902efa2d0850607 100644 (file)
@@ -14,6 +14,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"