From: Daniel González Cabanelas Date: Sat, 10 Apr 2021 16:42:42 +0000 (+0200) Subject: uboot-envtools: mvebu: add Buffalo LS421DE X-Git-Tag: v21.02.0-rc1~28 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=f2b7e6675988e2eb2bddb4e506a686c5283263a5;ds=sidebyside uboot-envtools: mvebu: add Buffalo LS421DE The Buffalo Linkstation LS421DE NAS lacks an uboot env config file. Create it via scripts. Signed-off-by: Daniel González Cabanelas (cherry picked from commit 4f8da19572cf1adc480dca42251a4cded0cb3c7c) --- diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu index afa058a39f..92b144330f 100644 --- a/package/boot/uboot-envtools/files/mvebu +++ b/package/boot/uboot-envtools/files/mvebu @@ -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"