You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/ath79
Stijn Tintel cd09f26660 ath79: add support for D-Link DAP-2695-A1
Hardware:
* SoC: Qualcomm Atheros QCA9558
* RAM: 256MB
* Flash: 16MB SPI NOR
* Ethernet: 2x 10/100/1000 (1x 802.3at PoE-PD)
* WiFi 2.4GHz: Qualcomm Atheros QCA9558
* WiFi 5GHz: Qualcomm Ahteros QCA9880-2R4E
* LEDS: 1x 5GHz, 1x 2.4GHz, 1x LAN1(POE), 1x LAN2, 1x POWER
* Buttons: 1x RESET
* UART: 1x RJ45 RS-232 Console port

Installation via stock firmware:
* Install the factory image via the stock firmware web interface

Installation via bootloader Emergency Web Server:
* Connect your PC to the LAN1(PoE) port
* Configure your PC with IP address 192.168.0.90
* Open a serial console to the Console port (115200,8n1)
* Press "q" within 2s when "press 'q' to stop autoboot" appears
* Open http://192.168.0.50 in a browser
* Upload either the factory or the sysupgrade image
* Once you see "write image into flash...OK,dest addr=0x9f070000" you
  can power-cycle the device. Ignore "checksum bad" messages.

Setting the MAC addresses for the ethernet interfaces via
/etc/board.d/02_network adds the following snippets to
/etc/config/network:

config device 'lan_eth0_1_dev'
        option name 'eth0.1'
        option macaddr 'xx:xx:xx:xx:xx:xx'

config device 'wan_eth1_2_dev'
        option name 'eth1.2'
        option macaddr 'xx:xx:xx:xx:xx:xx'

This would result in the proper MAC addresses being set for the VLAN
subinterfaces, but the parent interfaces would still have a random MAC
address. Using untagged VLANs could solve this, but would still leave
those extra snippets in /etc/config/network, and then the device VLAN
setup would differ from the one used in ar71xx. Therefore, the MAC
addresses of the ethernet interfaces are being set via preinit instead.

The bdcfg partition contains 4 MAC address labels:
 - lanmac
 - wanmac
 - wlanmac
 - wlanmac_a

The first 3 all contain the same MAC address, which is also the one on
the label.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
4 years ago
..
base-files/etc/hotplug.d/ieee80211 ath79: add mikrotik subtarget 4 years ago
dts ath79: add support for D-Link DAP-2695-A1 4 years ago
files ath79: ag71xx: unify version dependent code 4 years ago
generic ath79: add support for D-Link DAP-2695-A1 4 years ago
image ath79: add support for D-Link DAP-2695-A1 4 years ago
mikrotik ath79/mikrotik: add missing kernel config symbol for 5.4 4 years ago
nand ath79/nand: add support for Netgear WNDR4300SW 4 years ago
patches-4.19 ath79: phy-ar7200-usb: do not print error on defered init 4 years ago
patches-5.4 ath79: phy-ar7200-usb: do not print error on defered init 4 years ago
tiny ath79: add support for TP-Link TL-WR802N V1 and V2 4 years ago
Makefile ath79: add mikrotik subtarget 4 years ago
config-4.19 ath79: enable wrgg MTD splitter 4 years ago
config-5.4 ath79: enable wrgg MTD splitter 4 years ago
modules.mk ath79: add new OF only target for QCA MIPS silicon 6 years ago