Kernel 4.20

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

Re: Kernel 4.20/5.0

Post by xeno74 »

Hi All,

I figured out that the problem is in the OF source code of the commit: Merge tag devicetree-for-4.20.

I reverted the following OF files and SMP works! :-)

Code: Select all

drivers/of/base.c		
drivers/of/device.c
drivers/of/of_mdio.c
drivers/of/of_numa.c
drivers/of/of_private.h
drivers/of/overlay.c	
drivers/of/platform.c
drivers/of/unittest-data/overlay_15.dts
drivers/of/unittest-data/tests-overlay.dtsi
drivers/of/unittest.c
include/linux/of.h
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.20/5.0

Post by Skateman »

Alpha5 up and running on the X5000 but with issues!

The attached USB peripherals like my USB to LAN adapter, or USB Wifi adapter dont work anymore. The do show up in dmesg but dont function as Ethernet device.
(i only had the Uimage4-20-alpha5 file and not the lib/modules as not being posted)

Image

Link to a "readable screendump" here http://www.skateman.nl/wp-content/uploa ... 220411.png

I have reverted back to Alpha3
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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

Skateman wrote:Alpha5 up and running on the X5000 but with issues!

The attached USB peripherals like my USB to LAN adapter, or USB Wifi adapter dont work anymore. The do show up in dmesg but dont function as Ethernet device.
(i only had the Uimage4-20-alpha5 file and not the lib/modules as not being posted)

Image

Link to a "readable screendump" here http://www.skateman.nl/wp-content/uploa ... 220411.png

I have reverted back to Alpha3
Thanks a lot for testing. I will further investigating.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.20/5.0

Post by xeno74 »

Little progress ...

I reverted the following two OF files of the commit Merge tag devicetree-for-4.20 and SMP works! :-) The problematic code is somewhere in these two files.

Code: Select all

a/include/linux/of.h
a/drivers/of/base.c
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Kernel 4.20/5.0

Post by kilaueabart »

Skateman wrote:Alpha5 up and running on the X5000 but with issues!
...
I have reverted back to Alpha3
I had downloaded Alpha2 but not tried it yet before I saw Alpha3 was available, so I got that going yesterday. And today I think I'm lucky I'm slow.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

I found the problematic code and I created a patch today. SMP works with this patch again.

Link: of.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.20/5.0

Post by xeno74 »

OF patch for the latest Git kernel: of_v2.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.20/5.0

Post by xeno74 »

Hi All,

Here is the alpha6 of kernel 4.20 for the X5000, X1000, and for virtual e5500 QEMU machines.

New:
Download: vmlinux-4.20-alpha6-AmigaOne_X1000_X5000.tar.gz

Image

Please test it.

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.20/5.0

Post by Skateman »

Alpha6 running fine on my AmigaOne X5000. No issues yet!

Keep up the good work :-)

Image

HiRes screendump http://www.skateman.nl/wp-content/uploa ... 195308.png
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
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 4.20/5.0

Post by acefnq »

4.20rc6 up and running fine.

ace
Post Reply