2nd LAN Port (LAN2) on AVM 7330 (7320) does not work

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.

Maybe it is configured as WAN?
Post here the contents of /etc/config/network

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'

https://openwrt.org/toh/hwdata/avm/avm_fritz_box_7330

Unsupported Functions: DECT, LAN2

I know - this edit is from myself.

You did that edit after you have confirmed that it isn't just a configuration error?

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.

Okay - lets start over.

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

With OpenWrt Kernel:

[    0.591118] libphy: Fixed MDIO Bus: probed
[    0.603190] libphy: ltq_mii: probed
[    0.605570] Generic PHY 1e180000.etop-ffffffff:00: attached PHY
driver [Generic PHY] (mii_bus:phy_addr=1e180000.etop-ffffffff:00, irq=-1)

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).

It seems the buttons are handled within https://openwrt.org/docs/guide-user/hardware/hardware.button#procd_buttons but no configuration with uci initialized.

That Telephony is not working is OK for me as this is a really complex thing which should be looked at seperate.

Did you get the 2nd LAN port to work? I installed v18.06.2 on a Fritz!Box 7320. The second LAN port didn‘t show up.

No - i did not get the 2nd LAN port working. Not on 7330 nor 7320.

But the second USB Port should work if you build your own firmware from GIT Master as there is a patch for it in the repository.

Thanks for the information. I‘ll try it.

You asked for help to enable the LAN2?
I am interessted in enabling the LAN2 at 7230/7330 too.

What can we do to achieve it?