mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
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@gmail.com>
This commit is contained in:
parent
1c4cd71109
commit
4f8da19572
@ -13,6 +13,9 @@ touch /etc/config/ubootenv
|
|||||||
board=$(board_name)
|
board=$(board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
|
buffalo,ls421de)
|
||||||
|
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000"
|
||||||
|
;;
|
||||||
cznic,turris-omnia)
|
cznic,turris-omnia)
|
||||||
if grep -q 'U-Boot 2015.10-rc2' /dev/mtd0; then
|
if grep -q 'U-Boot 2015.10-rc2' /dev/mtd0; then
|
||||||
ubootenv_add_uci_config "/dev/mtd0" "0xc0000" "0x10000" "0x40000"
|
ubootenv_add_uci_config "/dev/mtd0" "0xc0000" "0x10000" "0x40000"
|
||||||
|
Loading…
Reference in New Issue
Block a user