diff options
author | David Bauer <mail@david-bauer.net> | 2020-02-08 12:58:25 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-02-16 15:36:29 +0100 |
commit | d2b8ccb1c04def81224da6f42f644c7d239b9986 (patch) | |
tree | 29ba990cb0f9f2e38ff97484a221ce94a9f511f8 /target/linux/ath79/generic/base-files/lib | |
parent | ae35ff576764fb68b84fcac070e5d2b1ccb4966d (diff) | |
download | upstream-d2b8ccb1c04def81224da6f42f644c7d239b9986.tar.gz upstream-d2b8ccb1c04def81224da6f42f644c7d239b9986.tar.bz2 upstream-d2b8ccb1c04def81224da6f42f644c7d239b9986.zip |
ath79: add support for Siemens WS-AP3610
Hardware
--------
SoC: Atheros AR7161
RAM: Samsung K4H511638D-UCCC
2x 64M DDR1
SPI: Micron M25P128 (16M)
WiFi: Atheros AR9160 bgn
Atheros AR9160 an
ETH: Broadcom BCM5481
LED: Power (Green/Red)
ETH (Green / Blue / Yellow)
(PHY-controlled)
WiFi 5 (Green / Blue)
WiFi 2 (Green / Blue)
BTN: Reset
Serial: Cisco-Style RJ45 - 115200 8N1
Installation
------------
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 0xbf080000'
$ setenv ramboot_openwrt 'setenv serverip 192.168.1.66;
tftpboot; bootm'
$ 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/lib')
-rw-r--r-- | target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh b/target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh new file mode 100644 index 0000000000..a0fb9fc717 --- /dev/null +++ b/target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +. /lib/functions.sh + +preinit_set_mac_address() { + case $(board_name) in + siemens,ws-ap3610) + ip link set dev eth0 address $(mtd_get_mac_ascii cfg1 ethaddr) + ;; + esac +} + +boot_hook_add preinit_main preinit_set_mac_address |