I installed OpenWRT/LEDE 18.06.1 with the ftp method.
WLAN and LAN1 (the one with gigabit speed) does work, the second LAN Port (LAN2) does not.
I know that Telephony won't work as this is very special but the two LAN Ports are really needed.
WIFI works fine, even Client-mode and AP-mode work together.
WAN is on dsl0
there is no eth1 as with avm firmware.
The config below is just after flashing openwrt-18.06.1-lantiq-xway-avm_fritz7320-squashfs-sysupgrade.bin and reboot. No changes - only set password for ssh access.
root@OpenWrt:~# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
link/ether 08:96:d7:XX:XX:XX brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 08:96:d7:XX:XX:XX brd ff:ff:ff:ff:ff:ff
4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 08:96:d7:XX:XX:XX brd ff:ff:ff:ff:ff:ff
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdc6:baXX:XXXX::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
config dsl 'dsl'
option annex 'b'
option firmware '/lib/firmware/adsl.bin'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'dsl0'
option proto 'pppoe'
option username 'username'
option password 'password'
option ipv6 '1'
config device 'wan_dev'
option name 'dsl0'
option macaddr '08:96:d7:XX:XX:XX'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
eth1 does not show up in default setup (just booted after flashing - nothing changed, only set password to be able to access via ssh).
There is a simmilar problem to be found with google with the avm 7312 and the 10/100 phy - maybe the same problem?
i don't think that it's a configuration error as i'm using default configuration and there is no (official) place to tell openwrt that there is a second phy on the NIC.
This 7330 is not my first embedded device i'm analyzing and yes i know that LAN2 is NOT supported by the kernel at the moment. It's no configuration error as the kernel doesn't even see the second LAN Port. So my edit in the WIKI is correct for the moment.
I don't think installing a kmod will help as the driver is loaded but it seems that it does not recognize the second phy. But nevertheless i am asking here if anyone can help me with the necessary changes for enabling. I'm new in openwrt development so that i don't know where i can change the parameters needed to enable the second phy.
With AVM Firmware and Kernel:
[ 0.300000] [avmnet] [avmnet_cfg_init] Driver version: 6.137.1.1 -
Revision 1496:3362 - Mi 8. M\xffffffc3\xffffffa4r 12:37:40 CET 2017
[ 1.360000] {avmnet_cfg_netinit}
[ 1.370000] [avmnet] No config found for HWRev 179, HWSubRev 2,
Profile-ID 0, trying base config for HWSubRev
[ 1.380000] [avmnet] No config found for HWRev 179, HWSubRev 2,
trying base config for HWRev
[ 1.380000] {avmnet_mac_ar9_init} Init on module mac_ar9_0 called.
[ 1.400000] {avmnet_mac_ar9_init} Init on module mac_ar9_1 called.
[ 1.420000] [avmnet] [avmnet_mac_ar9_setup] IFX_AR9_ETH_CTL(0): 0x424001
[ 1.420000] [avmnet] [avmnet_mac_ar9_setup] mac_nr: 0, vlan_reg:
0x4070001
[ 1.550000] [avmnet] [avmnet_mac_ar9_setup] IFX_AR9_ETH_CTL(1): 0x424001
[ 1.550000] [avmnet] [avmnet_mac_ar9_setup] mac_nr: 1, vlan_reg:
0x4070001
[ 1.700000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth0):
08:96:d7:XX:XX:8a
[ 1.710000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth1):
08:96:d7:XX:XX:8b
There are several other things not working: Only USB on the backside is recognized, the one at the side only has power. The second serial Port is not recognized (not bad because not populated on the board at all).
OEM_EVA_AVM bootlog:
..
Atheros 8035 detected
Atheros 8030 detected
Unknown SPI device: 0xFF 0xFF 0xFF
ifx_spi_flash_init: Found no serial flash device
IFX SWITCH API, Version 1.1.8.5
SWAPI: Registered character device [switch_api] with major no [81]
[avmnet] No config found for HWRev 188, HWSubRev 2, Profile-ID 0, trying base config for HWSubRev
[avmnet] No config found for HWRev 188, HWSubRev 2, trying base config for HWRev
{avmnet_mac_ar9_init} Init on module mac_ar9_0 called.
{avmnet_mac_ar9_init} Init on module mac_ar9_1 called.
[avmnet] [avmnet_mac_ar9_setup] IFX_AR9_ETH_CTL(0): 0x424001
[avmnet] [avmnet_mac_ar9_setup] mac_nr: 0, vlan_reg: 0x4070001
[avmnet] [avmnet_mac_ar9_setup] IFX_AR9_ETH_CTL(1): 0x424001
[avmnet] [avmnet_mac_ar9_setup] mac_nr: 1, vlan_reg: 0x4070001
[avmnet_set_macaddr] Setup Mac Addr for Device(eth0): 24:65:11:bd:fc:27
[avmnet_set_macaddr] Setup Mac Addr for Device(eth1): 24:65:11:bd:fc:28
eth: port 0 force normal CON t0
[avm_power] eth: port 1 force throttle CON t0
[avm_power] eth: port 2 force throttle CON t0
[avmnet] [avmnet_power_config] tried to set mode for port 2
[avm_power] : ethernet switch failed
[avm_power] eth: port 3 force throttle CON t0
[avmnet] [avmnet_power_config] tried to set mode for port 3
[avm_power] : ethernet switch failed
..
OpenWrt patches:
Dont know if its already upstream: This patch Atheros phy AR8035-A switch support (Philippe DUCHEIN, 4 years ago)
It there any news about the support of Atheros AR8030-A to activate the second LAN Port?
Without that support, i have to throw the router away
I don't know about kernal changes or something else