diff options
author | David Bauer <mail@david-bauer.net> | 2020-05-19 22:49:35 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-05-22 21:54:30 +0200 |
commit | ebddc5f984a240980303aed68524eb615484eef8 (patch) | |
tree | f8eacc7f4ea3b557fa3163119e9c5bedcbdcf795 /target/linux/ath79/generic/base-files/etc/board.d | |
parent | a9f75101508f64306710590bf45a326d4c2a1970 (diff) | |
download | upstream-ebddc5f984a240980303aed68524eb615484eef8.tar.gz upstream-ebddc5f984a240980303aed68524eb615484eef8.tar.bz2 upstream-ebddc5f984a240980303aed68524eb615484eef8.zip |
ath79: add support for Enterasys WS-AP3705i
Hardware
--------
SoC: Atheros AR9344
RAM: 128M DDR2
FLASH: 2x Macronix MX25L12845EM
2x 16MiB SPI-NOR
WLAN2: Atheros AR9344 2x2 2T2R
WLAN5: Atheros AR9580 2x2 2T2R
SERIAL: Cisco-RJ45 on the back (115200 8n1)
Installation
------------
The U-Boot CLI is password protected (using the same credentials as the
OS). Default is admin/new2day.
1. Download the OpenWrt initramfs-image. Place it into a TFTP server
root directory and rename it to 1401A8C0.img. Configure the TFTP
server to listen at 192.168.1.66/24.
2. Connect the TFTP server to the access point.
3. Connect to the serial console of the access point. Attach power and
interrupt the boot procedure when prompted (bootdelay is 1 second).
4. Configure the U-Boot environment for booting OpenWrt from Ram and
flash:
$ setenv boot_openwrt 'setenv bootargs; bootm 0xbf230000'
$ setenv ramboot_openwrt 'setenv serverip 192.168.1.66;
tftpboot 0x85000000; bootm'
$ setenv bootcmd 'run boot_openwrt'
$ saveenv
5. Load OpenWrt into memory:
$ run ramboot_openwrt
Wait for the image to boot.
6. Transfer the OpenWrt sysupgrade image to the device. Write the image
to flash using sysupgrade:
$ sysupgrade -n /path/to/openwrt-sysuograde.bin
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/02_network | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index a3c5b3f988..4774d5daf2 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -95,7 +95,8 @@ comfast,cf-ew72) ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:wan" "eth1" ;; comfast,cf-wr752ac-v1|\ -engenius,ecb1750) +engenius,ecb1750|\ +enterasys,ws-ap3705i) ucidef_set_led_netdev "lan" "LAN" "$boardname:blue:lan" "eth0" ;; devolo,magic-2-wifi) diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 0b05868baf..a99d5f6532 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -22,6 +22,7 @@ ath79_setup_interfaces() devolo,dvl1750x|\ dlink,dir-505|\ engenius,ecb1750|\ + enterasys,ws-ap3705i|\ glinet,gl-ar300m-lite|\ netgear,ex6400|\ netgear,ex7300|\ @@ -400,6 +401,9 @@ ath79_setup_macs() ucidef_set_interface "eth0" ifname "eth0" protocol "none" macaddr "$lan_mac" ucidef_set_interface "eth1" ifname "eth1" protocol "none" macaddr "$eth1_mac" ;; + enterasys,ws-ap3705i) + label_mac=$(mtd_get_mac_ascii u-boot-env0 ethaddr) + ;; iodata,etg3-r) lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(macaddr_add "$lan_mac" -1) |