Could you please test the RC4-2 with the DPAA Ethernet as well?
Thanks,
Christian
RC4-2 Tested and broke the DPAA Ethernet functionality. The adapter does not get an IP address. Seems like link negotiation is not working. Reverted back to RC4 and posting this with a working DPAA Ethernet adapter
The IOMMU is breaking the DPAA, I've suspected this for a while. I've looked but there is no easy way to add the required code to fix it.
The fixes we need have been pushed to the U-Boot tree, and the iommu_domain structure in the kernel (needed for IOMMU) has been changed. We need Matthew to get U-Boot updated to the latest version.
The more people who ask the better,.
Regards
Darren
With kernel RC4-2 this seems to happen (see log below), and does not with kernel RC4. RC4 kernel is working fine with DPAA Ethernet and U-boot version Molsen 2018-10-05
Mar 8 10:49:44 X5000LNX kernel: platform ff4200000.qman-portal: Adding to iommu group 0
Mar 8 10:49:44 X5000LNX kernel: platform ff4204000.qman-portal: Adding to iommu group 1
Mar 8 10:49:44 X5000LNX kernel: platform ff4208000.qman-portal: Adding to iommu group 2
Mar 8 10:49:44 X5000LNX kernel: platform ff420c000.qman-portal: Adding to iommu group 3
Mar 8 10:49:44 X5000LNX kernel: platform ff4210000.qman-portal: Adding to iommu group 4
Mar 8 10:49:44 X5000LNX kernel: platform ff4214000.qman-portal: Adding to iommu group 5
Mar 8 10:49:44 X5000LNX kernel: platform ff4218000.qman-portal: Adding to iommu group 6
Mar 8 10:49:44 X5000LNX kernel: platform ff421c000.qman-portal: Adding to iommu group 7
Mar 8 10:49:44 X5000LNX kernel: platform ff4220000.qman-portal: Adding to iommu group 8
Mar 8 10:49:44 X5000LNX kernel: platform ff4224000.qman-portal: Adding to iommu group 9
Mar 8 10:49:44 X5000LNX kernel: platform ffe100300.dma: Adding to iommu group 10
Mar 8 10:49:44 X5000LNX kernel: platform ffe101300.dma: Adding to iommu group 11
Mar 8 10:49:44 X5000LNX kernel: platform ffe114000.sdhc: Adding to iommu group 12
Mar 8 10:49:44 X5000LNX kernel: platform ffe210000.usb: Adding to iommu group 13
Mar 8 10:49:44 X5000LNX kernel: platform ffe211000.usb: Adding to iommu group 14
Mar 8 10:49:44 X5000LNX kernel: platform ffe220000.sata: Adding to iommu group 15
Mar 8 10:49:44 X5000LNX kernel: platform ffe221000.sata: Adding to iommu group 16
Mar 8 10:49:44 X5000LNX kernel: platform ffe318000.qman: Adding to iommu group 17
Mar 8 10:49:44 X5000LNX kernel: platform ffe31a000.bman: Adding to iommu group 18
Mar 8 10:49:44 X5000LNX kernel: fsl-pci ffe200000.pcie: Adding to iommu group 19
Mar 8 10:49:44 X5000LNX kernel: fsl-pci ffe201000.pcie: Adding to iommu group 20
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Had finally an opportunity to test RC4/RC5 with the onboard ethernet... If I start Linux (Fienix or Ubuntu) with the onboard ethernet socket connected to internet (via optical fiber modem), there is no connection created. But if I then unplug and replug the ethernet cable, net connection is created and seems also to work. I wonder what can cause this kind of peculiarity...?
I have seen this behavior before. It takes a moment for the adapter to get his ip address by DHCP.
Can you reboot your X5K and wait a while to see if the adapter gets his IP address automaticly by DHCP?
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Skateman wrote: ↑Tue Mar 10, 2020 9:08 pm
I have seen this behavior before. It takes a moment for the adapter to get his ip address by DHCP.
Can you reboot your X5K and wait a while to see if the adapter gets his IP address automaticly by DHCP?
I let it wait for a half an hour but it did not get connection. My RTL card does not have similar problems, and with AmigaOS both adapters get their address without delays.
Roland wrote: ↑Tue Mar 10, 2020 8:44 pm
Had finally an opportunity to test RC4/RC5 with the onboard ethernet... If I start Linux (Fienix or Ubuntu) with the onboard ethernet socket connected to internet (via optical fiber modem), there is no connection created. But if I then unplug and replug the ethernet cable, net connection is created and seems also to work.