aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/cortexa9
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/cortexa9')
-rw-r--r--target/linux/mvebu/cortexa9/base-files/lib/preinit/06_set_iface_mac4
-rwxr-xr-xtarget/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh3
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/mvebu/cortexa9/base-files/lib/preinit/06_set_iface_mac b/target/linux/mvebu/cortexa9/base-files/lib/preinit/06_set_iface_mac
index fd41836c8d..62ce2653a0 100644
--- a/target/linux/mvebu/cortexa9/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/mvebu/cortexa9/base-files/lib/preinit/06_set_iface_mac
@@ -9,6 +9,10 @@ preinit_set_mac_address() {
. /lib/functions.sh
case $(board_name) in
+ buffalo,ls421de)
+ mac=$(mtd_get_mac_ascii u-boot-env eth1addr)
+ ip link set dev eth0 address $mac 2>/dev/null
+ ;;
linksys,caiman|linksys,cobra|linksys,rango|linksys,shelby|linksys,venom)
# rename interfaces back to the way they were with 4.4
case "$(readlink /sys/class/net/eth0)" in
diff --git a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
index 8baed969a3..63042b1535 100755
--- a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
@@ -22,6 +22,9 @@ platform_check_image() {
platform_do_upgrade() {
case "$(board_name)" in
+ buffalo,ls421de)
+ nand_do_upgrade "$1"
+ ;;
cznic,turris-omnia|\
solidrun,clearfog-base-a1|\
solidrun,clearfog-pro-a1)