Page 4 of 12

Re: Kernel 4.20/5.0

Posted: Mon Oct 29, 2018 5:43 pm
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

Re: Kernel 4.20/5.0

Posted: Mon Oct 29, 2018 10:13 pm
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

Re: Kernel 4.20/5.0

Posted: Mon Oct 29, 2018 10:53 pm
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.

Re: Kernel 4.20/5.0

Posted: Mon Oct 29, 2018 10:54 pm
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

Re: Kernel 4.20/5.0

Posted: Tue Oct 30, 2018 12:25 am
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.

Re: Kernel 4.20/5.0

Posted: Tue Oct 30, 2018 1:30 am
by xeno74
I found the problematic code and I created a patch today. SMP works with this patch again.

Link: of.patch

Re: Kernel 4.20/5.0

Posted: Tue Oct 30, 2018 2:28 am
by xeno74
OF patch for the latest Git kernel: of_v2.patch

Re: Kernel 4.20/5.0

Posted: Tue Oct 30, 2018 12:37 pm
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

Re: Kernel 4.20/5.0

Posted: Tue Oct 30, 2018 7:58 pm
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

Re: Kernel 4.20/5.0

Posted: Wed Oct 31, 2018 6:33 am
by acefnq
4.20rc6 up and running fine.

ace