From 51f30359783938a1be7ffbd08e508c1b6c9c449f Mon Sep 17 00:00:00 2001 From: Yen-Ting-Shen Date: Fri, 1 Nov 2019 14:00:40 +0800 Subject: ipq40xx: add support for EnGenius EMD1 SOC: IPQ4018 / QCA Dakota CPU: Quad-Core ARMv7 Processor rev 5 (v7l) Cortex-A7 DRAM: 256 MiB NOR: 32 MiB ETH: Qualcomm Atheros QCA8072 (1 port) 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_emd1-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 EMD1. Press 4 and then press any key to enter u-boot. 3. Download EnGenius firmware (IPQ40xx) # tftpboot 0x84000000 openwrt-ipq40xx-emd1-nor-fw-s.img 4. Flash the firmware (IPQ40xx) # imgaddr=0x84000000 && source 0x84000000:script 5. Reboot (IPQ40xx) # reset Signed-off-by: Yen-Ting-Shen [removed BOARD_NAME] Signed-off-by: Christian Lamparter --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ipq40xx/base-files/etc/board.d/02_network') 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 9cfc43f1f9..4b636fc701 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -49,6 +49,7 @@ ipq40xx_setup_interfaces() avm,fritzrepeater-1200|\ dlink,dap-2610 |\ engenius,eap1300|\ + engenius,emd1|\ meraki,mr33|\ netgear,ex6100v2|\ netgear,ex6150v2|\ @@ -108,6 +109,10 @@ ipq40xx_setup_macs() lan_mac=$(mtd_get_mac_ascii bdcfg lanmac) label_mac=$lan_mac ;; + engenius,emd1) + lan_mac=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr) + label_mac=$lan_mac + ;; engenius,ens620ext) wan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) lan_mac=$(macaddr_add "$wan_mac" 1) -- cgit v1.2.3