Kernel 4.16

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Kernel 4.16

Post by xeno74 »

Hi Everyone,

The merge window is open for the kernel 4.16. A lot of source code has been added for the kernel 4.16 to the Linux git.

Here is the first alpha for the X5000 and X1000.

New:
Download: vmlinux-4.16-alpha1-AmigaOne_X1000_X5000.tar.gz

Please test the first alpha.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.16

Post by xeno74 »

Hi All,

I compiled the second alpha for the X5000 and X1000 today.

New:
Issue:
  • X1000: PA Semi PWRficient Gigabit Ethernet doesn't work anymore. Unfortunately I haven't found the problematic patch yet.
Download: vmlinux-4.16-alpha2-AmigaOne_X1000_X5000.tar.gz

Screenshot of Debian Buster/Sid PPC64 with the kernel 4.16-alpha2:

Image

Please test the second alpha.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.16

Post by Skateman »

Besides the DPAA networking issues, all fine!! :-)

Image
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
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.16

Post by xeno74 »

Skateman wrote:Besides the DPAA networking issues, all fine!! :-)
Hi Skatemen,

Many thanks for testing the alpha2. Unfortunately the internal ethernet doesn't work on the Nemo board too. :-(

Here are some error messages:

Code: Select all

[    0.634241] libphy: pasemi gpio mdio bus: probed
[    0.634749] pasemi gpio mdio bus: Cannot register as MDIO bus, err -38
[    2.311496] pasemi_mac 0000:00:14.0: runtime IRQ mapping not provided by arch
[    2.311554] pasemi_mac 0000:00:14.1: runtime IRQ mapping not provided by arch
[    2.311599] pasemi_mac 0000:00:14.2: runtime IRQ mapping not provided by arch
[    2.311641] pasemi_mac 0000:00:14.3: runtime IRQ mapping not provided by arch
[    2.312276] pasemi_mac 0000:00:15.0: runtime IRQ mapping not provided by arch
[    2.312903] pasemi_mac 0000:00:15.1: runtime IRQ mapping not provided by arch
[    3.817420] i2c-pasemi 0000:00:1c.0: runtime IRQ mapping not provided by arch
[    3.817616] i2c-pasemi 0000:00:1c.1: runtime IRQ mapping not provided by arch
[    3.817809] i2c-pasemi 0000:00:1c.2: runtime IRQ mapping not provided by arch
[    4.299984] pasemi_edac 0000:00:04.0: runtime IRQ mapping not provided by arch
[    4.300281] pasemi_edac 0000:00:05.0: runtime IRQ mapping not provided by arch
[   39.633565] pasemi_mac 0000:00:14.3: PHY init failed: -19.
[   39.633569] pasemi_mac 0000:00:14.3: Defaulting to 1Gbit full duplex
pasemi gpio mdio bus: Cannot register as MDIO bus, err -38
pasemi_mac 0000:00:14.3: PHY init failed: -19.
runtime IRQ mapping not provided by arch

The question is, what have the kernel developers done?

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.16

Post by Skateman »

Well, it does work.. ony it has the regular problems of losing the connection after a while.

The DPAA adapter does work.

[ 4.597586] libphy: Fixed MDIO Bus: probed
[ 4.599432] libphy: Freescale PowerQUICC MII Bus: probed
[ 4.599694] ata3: Signature Update detected @ 0 msecs
[ 4.602187] libphy: Freescale PowerQUICC MII Bus: probed
[ 4.602938] libphy: Freescale PowerQUICC MII Bus: probed
[ 4.603803] libphy: Freescale PowerQUICC MII Bus: probed
[ 4.604660] libphy: Freescale PowerQUICC MII Bus: probed
[ 4.605660] libphy: Freescale XGMAC MDIO Bus: probed
[ 4.610936] fsl_dpaa_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
[ 4.611542] fsl_dpaa_mac ffe4e0000.ethernet: FMan MAC address: 00:50:da:66:95:07
[ 4.611853] fsl_dpaa_mac ffe4e2000.ethernet: of_get_phy_mode() for /soc@ffe000000/fman@400000/ethernet@e2000 failed. Defaulting to SGMII
[ 4.612116] fsl_dpaa_mac ffe4e2000.ethernet: FMan dTSEC version: 0x00000000
[ 4.612503] fsl_dpaa_mac ffe4e2000.ethernet: FMan MAC address: 00:50:da:66:95:08
[ 4.612797] fsl_dpaa_mac ffe4e4000.ethernet: of_get_phy_mode() for /soc@ffe000000/fman@400000/ethernet@e4000 failed. Defaulting to SGMII
[ 4.613059] fsl_dpaa_mac ffe4e4000.ethernet: FMan dTSEC version: 0x00000000
[ 4.613444] fsl_dpaa_mac ffe4e4000.ethernet: FMan MAC address: 00:50:da:66:95:09
[ 4.613760] fsl_dpaa_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101
[ 4.618777] fsl_dpaa_mac ffe4e6000.ethernet: FMan MAC address: 00:04:a3:6b:42:89
[ 4.623662] fsl_dpaa_mac ffe4e8000.ethernet: FMan dTSEC version: 0x08240101
[ 4.629000] fsl_dpaa_mac ffe4e8000.ethernet: FMan MAC address: 00:1e:c0:f7:ce:63
[ 4.633738] fsl_dpaa_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
[ 4.638519] fsl_dpaa_mac: probe of ffe4f0000.ethernet failed with error -22
[ 4.645386] fsl_dpaa_mac ffe4e0000.ethernet eth0: Probed interface eth0
[ 4.652200] fsl_dpaa_mac ffe4e2000.ethernet eth1: Probed interface eth1
[ 4.659001] fsl_dpaa_mac ffe4e4000.ethernet eth2: Probed interface eth2
[ 4.665791] fsl_dpaa_mac ffe4e6000.ethernet eth3: Probed interface eth3
[ 4.672510] fsl_dpaa_mac ffe4e8000.ethernet eth4: Probed interface eth4
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
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.16

Post by xeno74 »

Hi All,

I released the alpha3 of kernel 4.16 for testing today.

New:
Issue:
  • The QorIQ DPAA Ethernet driver works but unfortunately it losts the connection after a while.
Download: vmlinux-4.16-alpha3-AmigaOne_X1000_X5000.tar.gz

Please test the alpha3.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.16

Post by Skateman »

Again, all looking good except for the DPAA ethernet part...(still dies after a short time use )

Image
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
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.16

Post by xeno74 »

Hi Skateman,
Skateman wrote:Again, all looking good except for the DPAA ethernet part...(still dies after a short time use )
Thanks a lot for testing! :-)
Skateman wrote: For those interested... i have recorded a video of my X5000 DPAA Ethernet connected and the issue`s ..
In this Video i am also transfering hundereds of megabytes from my NAS to the X5000..
You will also see pings die... mostly after the 12th packet and giving the no buffer space error..

the link: https://drive.google.com/file/d/18Rhksf ... D0Xim/view
Could you please post the link of your new video on the Linux PowerPC developers'mailing list?

Thanks in advance,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.16

Post by Skateman »

Could you please post the link of your new video on the Linux PowerPC developers'mailing list?

Thanks in advance,
Christian
DONE!!
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
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.16

Post by xeno74 »

Skateman wrote:
Could you please post the link of your new video on the Linux PowerPC developers'mailing list?

Thanks in advance,
Christian
DONE!!
Thank you! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply