immortalwrt/target/linux
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>
2020-06-11 19:44:45 +03:00
..
apm821xx apm821xx: move device definitions to subfiles 2020-06-11 01:44:13 +02:00
ar71xx ar71xx: correct button type for TL-MR3020 mode slider 2020-05-31 15:53:01 +02:00
arc770 treewide: provide consistent basic DEVICE_TYPE 2020-06-03 15:41:09 +02:00
archs38 treewide: provide consistent basic DEVICE_TYPE 2020-06-03 15:41:09 +02:00
armvirt kernel: remove non-existant symbols 2020-04-13 22:40:19 +02:00
at91 treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 ath79: add support for D-Link DAP-2695-A1 2020-06-11 19:44:45 +03:00
bcm27xx kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
bcm47xx bcm47xx: fix brcm-wl module loading 2020-06-03 16:49:28 +02:00
bcm53xx kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
bcm63xx bcm63xx: switch to upstream NAND patches 2020-06-11 09:07:04 +02:00
cns3xxx cns3xx: remove support for kernel 4.14 2020-04-12 13:43:52 +02:00
gemini treewide: drop DEVICE_TYPE when used as device variable 2020-06-03 15:41:09 +02:00
generic kernel: rtl8367b: fix external interface modes 2020-06-11 21:50:01 +08:00
imx6 kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
ipq40xx ipq40xx: replace "ok" with "okay" for status in DTS files 2020-05-12 19:16:41 +02:00
ipq806x ipq806x: enable disk-activity LED trigger 2020-06-03 16:49:28 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood treewide: drop DEVICE_TYPE when used as device variable 2020-06-03 15:41:09 +02:00
lantiq lantiq: fritz 7360 v2: remove additional supported devices 2020-05-18 11:59:22 +02:00
layerscape treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
malta malta: add missing symbols for kernel 5.4 2020-06-03 10:50:01 +01:00
mediatek kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
mpc85xx mpc85xx: restructure image receipts 2020-05-18 21:11:39 +02:00
mvebu treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon octeon: set 5.4 as default kernel 2020-05-25 12:04:55 +02:00
octeontx kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
omap omap: remove support for kernel 4.14 2020-04-28 01:10:48 +02:00
oxnas treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips ramips: fix port display for D-Link DIR-810L 2020-06-11 10:21:17 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile