aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-08-29 14:30:01 +0200
committerDavid Bauer <mail@david-bauer.net>2022-09-06 02:55:05 +0200
commite16a0e7e8876df0a92ec4779fe766de1a943307a (patch)
tree16b19514d5cb16150e889747e78649059553f799 /target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
parent02f81494bb5c05ffc16025198792f99bdeac8a77 (diff)
downloadupstream-e16a0e7e8876df0a92ec4779fe766de1a943307a.tar.gz
upstream-e16a0e7e8876df0a92ec4779fe766de1a943307a.tar.bz2
upstream-e16a0e7e8876df0a92ec4779fe766de1a943307a.zip
ipq40xx: add support for Extreme Networks WS-AP3915i
Hardware -------- Qualcomm IPQ4029 WiSoC 2T2R 802.11 abgn 2T2R 802.11 nac Macronix MX25L25635E SPI-NOR (32M) 512M DDR3 RAM 1x Gigabit LAN 1x Cisco RJ-45 Console port Settings: 115200 8N1 Installation ------------ 1. Attach to the Console port. Power up the device and press the s key to interrupt autoboot. 2. The default username / password to the bootloader is admin / new2day 3. Update the bootcommand to allow loading OpenWrt. $ setenv ramboot_openwrt "setenv serverip 192.168.1.66; setenv ipaddr 192.168.1.1; tftpboot 0x86000000 openwrt-3915.bin; bootm" $ setenv boot_openwrt "sf probe; sf read 0x88000000 0x280000 0xc00000; bootm 0x88000000" $ setenv bootcmd "run boot_openwrt" $ saveenv 4. Download the OpenWrt initramfs image. Serve it using a TFTP server as "openwrt-3915.bin" at 192.1681.66. 5. Download & boot the OpenWrt initramfs image on the access point. $ run ramboot_openwrt 6. Wait for OpenWrt to start. 7. Download and transfer the sysupgrade image to the device using e.g. SCP. 8. Install OpenWrt to the device using "sysupgrade" $ sysupgrade -n /path/to/openwrt.bin Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh')
-rw-r--r--target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh b/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
index ba1c196398..940af0528d 100644
--- a/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
+++ b/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
@@ -15,6 +15,9 @@ preinit_set_mac_address() {
base_mac=$(cat /sys/class/net/eth0/address)
ip link set dev eth1 address $(macaddr_add "$base_mac" 1)
;;
+ extreme-networks,ws-ap3915i)
+ ip link set dev eth0 address $(mtd_get_mac_ascii CFG1 ethaddr)
+ ;;
linksys,ea8300|\
linksys,mr8300)
base_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)