Kernel 5.4
Re: Kernel 5.4
i might, but need to find a cable for the serial output first ?
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
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Re: Kernel 5.4
I use a USB null modem RS-232 serial cable and connect it with the X5000 serial port.Skateman wrote:i might, but need to find a cable for the serial output first ?
Further information: X5000 via null modem RS-232 serial cable
Re: Kernel 5.4
Ben wrote because of the issue with the onboard SD card today:
Anywhere is fine but I think it's easy. Coherent DMA is for historical
reasons a function of the processor generation, and as such a CONFIG
option.
So setting it according to CONFIG_NOT_COHERENT_CACHE will probably work
just fine.
Well at least I think so ... unless I'm missing some broken HW
somewhere I am not aware of.
Cheers,
Ben.
Re: Kernel 5.4
I had to create a patch for the possibility to select "CONFIG_NOT_COHERENT_CACHE" in the kernel config today.
not_coherent_cache.patch:
I will create a kernel with the kernel option "CONFIG_NOT_COHERENT_CACHE" for solving the issue with the onboard SD card.
not_coherent_cache.patch:
Code: Select all
--- a/arch/powerpc/platforms/Kconfig.cputype 2019-10-14 01:37:36.000000000 +0200
+++ b/arch/powerpc/platforms/Kconfig.cputype 2019-10-19 15:20:07.884007876 +0200
@@ -152,6 +152,7 @@ config POWER9_CPU
config E5500_CPU
bool "Freescale e5500"
depends on E500
+ select NOT_COHERENT_CACHE
config E6500_CPU
bool "Freescale e6500"
@@ -458,7 +459,7 @@ config NR_CPUS
config NOT_COHERENT_CACHE
bool
depends on 4xx || PPC_8xx || E200 || PPC_MPC512x || \
- GAMECUBE_COMMON || AMIGAONE
+ GAMECUBE_COMMON || AMIGAONE || E5500_CPU
select ARCH_HAS_DMA_COHERENT_TO_PFN
select ARCH_HAS_DMA_PREP_COHERENT
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Re: Kernel 5.4
Hi All,
I released the RC3-2 of kernel 5.4 for the AmigaOne X5000 today.
New:
Screenshot of ubuntu MATE 16.04.6 LTS on an A-EON AmigaOne X5000/40:

Please test it.
Thanks,
Christian
I released the RC3-2 of kernel 5.4 for the AmigaOne X5000 today.
New:
- X5000/20 and X5000/40: not_coherent_cache patch for the possibility to select "CONFIG_NOT_COHERENT_CACHE" in the kernel config. This option solves the issue with the onboard SD card.
- X5000/40: cyrus_p5040_poweroff.dtb
- Phoronix articles, reviews and news stories covering Linux 5.4
Screenshot of ubuntu MATE 16.04.6 LTS on an A-EON AmigaOne X5000/40:

Please test it.
Thanks,
Christian
Re: Kernel 5.4
RC3-2 of Kernel 5.4 is up and running on my AmigaOne X5000

Big picture: http://www.skateman.nl/wp-content/uploa ... 203428.png
In DMESG i found this IRQ error..
[ 5.041522] ptp_qoriq ffe4fe000.ptp-timer: IRQ index 0 not found
[ 5.046803] ptp_qoriq: irq not in device tree
I also found..but has nothing to do with this specific kernel, a change in the DPAA network driver.
Does not seems to creat a MII interface anymore which results in a non working MII-Tool utility.
This has been an issue for quite a while now and dont know where we lost this.... but i guess before kernel 5.0
skateman@X5000LNX:~$ sudo mii-tool
SIOCGMIIPHY on 'eth0' failed: Invalid argument
SIOCGMIIPHY on 'eth1' failed: Invalid argument
no MII interfaces found

Big picture: http://www.skateman.nl/wp-content/uploa ... 203428.png
In DMESG i found this IRQ error..
[ 5.041522] ptp_qoriq ffe4fe000.ptp-timer: IRQ index 0 not found
[ 5.046803] ptp_qoriq: irq not in device tree
I also found..but has nothing to do with this specific kernel, a change in the DPAA network driver.
Does not seems to creat a MII interface anymore which results in a non working MII-Tool utility.
This has been an issue for quite a while now and dont know where we lost this.... but i guess before kernel 5.0
skateman@X5000LNX:~$ sudo mii-tool
SIOCGMIIPHY on 'eth0' failed: Invalid argument
SIOCGMIIPHY on 'eth1' failed: Invalid argument
no MII interfaces found
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
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Re: Kernel 5.4
Hi Skateman,
Many thanks for testing the RC3-2!
Have you seen the same IRQ error messages with the RC3?
Cheers,
Christian
Many thanks for testing the RC3-2!

Have you seen the same IRQ error messages with the RC3?
Cheers,
Christian
Re: Kernel 5.4
That's strange. If I use the old 5040 dtb file, then I don't see the DPAA Ethernet devices. If I use the new 5040 dtb file then I see both DPAA Ethernet devices but I get the following error messages:
dmesg | grep ptp_qoriq
dmesg | grep dpaa
The MAC addresses were configured in U-Boot.
dmesg | grep ptp_qoriq
Code: Select all
[ 12.603907] ptp_qoriq: device tree node missing required elements, try automatic configuration
[ 12.616734] ptp_qoriq: device tree node missing required elements, try automatic configuration
Code: Select all
[ 12.149234] fsl_dpaa_mac ffe4e6000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e6000) failed
[ 12.149432] fsl_dpaa_mac: probe of ffe4e6000.ethernet failed with error -22
[ 12.149604] fsl_dpaa_mac ffe4e8000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e8000) failed
[ 12.149827] fsl_dpaa_mac: probe of ffe4e8000.ethernet failed with error -22
[ 12.150031] fsl_dpaa_mac ffe4e0000.ethernet: of_get_phy_mode() for /soc@ffe000000/fman@400000/ethernet@e0000 failed. Defaulting to SGMII
[ 12.150531] fsl_dpaa_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
[ 12.150863] fsl_dpaa_mac ffe4e0000.ethernet: FMan MAC address: 00:04:a3:6b:41:65
[ 12.151180] fsl_dpaa_mac ffe4e2000.ethernet: of_get_phy_mode() for /soc@ffe000000/fman@400000/ethernet@e2000 failed. Defaulting to SGMII
[ 12.151417] fsl_dpaa_mac ffe4e2000.ethernet: FMan dTSEC version: 0x00000000
[ 12.151747] fsl_dpaa_mac ffe4e2000.ethernet: FMan MAC address: 00:1e:c0:f8:01:59
[ 12.152032] fsl_dpaa_mac ffe4e4000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e4000) failed
[ 12.152221] fsl_dpaa_mac: probe of ffe4e4000.ethernet failed with error -22
[ 12.152410] fsl_dpaa_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
[ 12.152598] fsl_dpaa_mac: probe of ffe4f0000.ethernet failed with error -22
[ 12.152800] fsl_dpaa_mac ffe5e0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@e0000) failed
[ 12.152988] fsl_dpaa_mac: probe of ffe5e0000.ethernet failed with error -22
[ 12.153179] fsl_dpaa_mac ffe5e2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@e2000) failed
[ 12.153366] fsl_dpaa_mac: probe of ffe5e2000.ethernet failed with error -22
[ 12.153557] fsl_dpaa_mac ffe5e4000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@e4000) failed
[ 12.153751] fsl_dpaa_mac: probe of ffe5e4000.ethernet failed with error -22
[ 12.159157] fsl_dpaa_mac ffe5e6000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@e6000) failed
[ 12.164649] fsl_dpaa_mac: probe of ffe5e6000.ethernet failed with error -22
[ 12.170268] fsl_dpaa_mac ffe5e8000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@e8000) failed
[ 12.175870] fsl_dpaa_mac: probe of ffe5e8000.ethernet failed with error -22
[ 12.181673] fsl_dpaa_mac ffe5f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@f0000) failed
[ 12.187513] fsl_dpaa_mac: probe of ffe5f0000.ethernet failed with error -22
[ 12.196705] fsl_dpaa_mac ffe4e0000.ethernet eth0: Probed interface eth0
[ 12.205834] fsl_dpaa_mac ffe4e2000.ethernet eth1: Probed interface eth1
[ 16.642332] fsl_dpaa_mac ffe4e0000.ethernet eth0: init_phy() failed
[ 16.836585] fsl_dpaa_mac ffe4e2000.ethernet eth1: init_phy() failed
Re: Kernel 5.4
Christian could you try this?
Make sure the ethernet cable of the onboard X5000 ethernet adapter is unplugged.
sudo ifconfig eht0 down (enter)
sudo ifconfig eht0 up (enter)
Now plug in a cable in the onboard X5000 ethernet adapter.
The adapter gets an Ip adress through DHCP and see if it works.
Make sure the ethernet cable of the onboard X5000 ethernet adapter is unplugged.
sudo ifconfig eht0 down (enter)
sudo ifconfig eht0 up (enter)
Now plug in a cable in the onboard X5000 ethernet adapter.
The adapter gets an Ip adress through DHCP and see if it works.
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
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Re: Kernel 5.4
I will try it tomorrow.Skateman wrote:Christian could you try this?
Make sure the ethernet cable of the onboard X5000 ethernet adapter is unplugged.
sudo ifconfig eht0 down (enter)
sudo ifconfig eht0 up (enter)
Now plug in a cable in the onboard X5000 ethernet adapter.
The adapter gets an Ip adress through DHCP and see if it works.
— Christian