[openwrt/openwrt] uboot-envtools: mvebu: add Buffalo LS421DE

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 00:48:02 BST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4f8da19572cf1adc480dca42251a4cded0cb3c7c

commit 4f8da19572cf1adc480dca42251a4cded0cb3c7c
Author: Daniel González Cabanelas <dgcbueu at gmail.com>
AuthorDate: Sat Apr 10 18:42:42 2021 +0200

    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 <dgcbueu at gmail.com>
---
 package/boot/uboot-envtools/files/mvebu | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu
index fb910f4b1b..25f29599a3 100644
--- a/package/boot/uboot-envtools/files/mvebu
+++ b/package/boot/uboot-envtools/files/mvebu
@@ -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"



More information about the lede-commits mailing list