AmigaOne X5000 platform specific issues related to Linux only.
xeno74
Posts: 9349 Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 » Mon Oct 29, 2018 5:43 pm
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
Skateman
Posts: 861 Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands
Post
by Skateman » Mon Oct 29, 2018 10:13 pm
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)
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
xeno74
Posts: 9349 Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 » Mon Oct 29, 2018 10:53 pm
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)
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.
xeno74
Posts: 9349 Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 » Mon Oct 29, 2018 10:54 pm
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
kilaueabart
Posts: 1070 Joined: Mon Mar 05, 2012 2:36 am
Post
by kilaueabart » Tue Oct 30, 2018 12:25 am
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.
xeno74
Posts: 9349 Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 » Tue Oct 30, 2018 1:30 am
I found the problematic code and I created a patch today. SMP works with this patch again.
Link:
of.patch
Skateman
Posts: 861 Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands
Post
by Skateman » Tue Oct 30, 2018 7:58 pm
Alpha6 running fine on my AmigaOne X5000. No issues yet!
Keep up the good work
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
Post
by acefnq » Wed Oct 31, 2018 6:33 am
4.20rc6 up and running fine.
ace