aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorYen-Ting-Shen <frank.shen@senao.com>2019-11-01 15:47:28 +0800
committerChristian Lamparter <chunkeey@gmail.com>2020-06-13 14:38:03 +0200
commit3f61e5e1b97eed335bdd2f6befcc633f5d1dde07 (patch)
tree2229a55feef103dcd30bd971b813274472e0ab46 /target/linux/ipq40xx/base-files/etc/board.d
parent678569505623e50bbbbc344c7e820fb315b79ede (diff)
downloadupstream-3f61e5e1b97eed335bdd2f6befcc633f5d1dde07.tar.gz
upstream-3f61e5e1b97eed335bdd2f6befcc633f5d1dde07.tar.bz2
upstream-3f61e5e1b97eed335bdd2f6befcc633f5d1dde07.zip
ipq40xx: add support for EnGenius EMR3500
SOC: IPQ4018 / QCA Dakota CPU: Quad-Core ARMv7 Processor rev 5 (v7l) Cortex-A7 DRAM: 256 MiB NOR: 32 MiB ETH: Qualcomm Atheros QCA8072 (2 ports) USB: 1 x 2.0 (Host controller in the SoC) WLAN1: Qualcomm Atheros QCA4018 2.4GHz 802.11bgn 2:2x2 WLAN2: Qualcomm Atheros QCA4018 5GHz 802.11a/n/ac 2:2x2 INPUT: RESET Button LEDS: White, Blue, Red, Orange Flash instruction: From EnGenius firmware to OpenWrt firmware: In Firmware Upgrade page, upgrade your openwrt-ipq40xx-generic-engenius_emr3500-squashfs-factory.bin directly. From OpenWrt firmware to EnGenius firmware: 1. Setup a TFTP server on your computer and configure static IP to 192.168.99.8 Put the EnGenius firmware in the TFTP server directory on your computer. 2. Power up EMR3500. Press 4 and then press any key to enter u-boot. 3. Download EnGenius firmware (IPQ40xx) # tftpboot 0x84000000 openwrt-ipq40xx-emr3500-nor-fw-s.img 4. Flash the firmware (IPQ40xx) # imgaddr=0x84000000 && source 0x84000000:script 5. Reboot (IPQ40xx) # reset Signed-off-by: Yen-Ting-Shen <frank.shen@senao.com> [squashed update patch, updated to 5.4, dropped BOARD_NAME, migrated to SOC] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ipq40xx/base-files/etc/board.d/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index 85f9c174ad..77a2241283 100755
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -15,6 +15,7 @@ ipq40xx_setup_interfaces()
8dev,habanero-dvk|\
8dev,jalapeno|\
alfa-network,ap120c-ac|\
+ engenius,emr3500|\
engenius,ens620ext)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
@@ -130,6 +131,11 @@ ipq40xx_setup_macs()
lan_mac=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr)
label_mac=$lan_mac
;;
+ engenius,emr3500)
+ wan_mac=$(mtd_get_mac_ascii 0:APPSBLENV wanaddr)
+ lan_mac=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr)
+ label_mac=$wan_mac
+ ;;
engenius,ens620ext)
wan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
lan_mac=$(macaddr_add "$wan_mac" 1)