New kernels

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

Re: New kernels

Post by xeno74 »

Skateman wrote: Mon May 30, 2022 7:26 am Kernel 5.19 Alpha2 up and running on my AmigaOne X5000
Fantastic, that it works with two graphics cards on your X5000. I was a little bit worried because of the updates in the latest 2 alphas but everything is fine. Thanks a lot for testing! :-)

Have a nice week!

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

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

Re: New kernels

Post by xeno74 »

The keyboard and mouse issue still exists in the latest git kernel.
Darren wrote: Hi Christian,

Can you send me the full dmesg output from this failed boot? I looked but can't seem to find which component is at fault here

Thanks
Darren
Rob wrote: Do you have a dmesg log?

The other way to fix is creating a IRQ resource and adding it to the
child device resources.

Rob
Logs:

dmesg_FSL_P5040_Void_PPC.txt

dmesg_FSL_P5040_MintPPC.txt

dmesg_FSL_P5040_Void_PPC_with_Robs_patch.txt
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by Skateman »

Kernel 5.19 Alpha3 up and running on my AmigaOne X5000

Image

Big picture https://www.skateman.nl/wp-content/uplo ... -30-28.jpg
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: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Skateman wrote: Mon Jun 06, 2022 8:33 pm Kernel 5.19 Alpha3 up and running on my AmigaOne X5000
Thanks a lot for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by Skateman »

Kerrnel 5.19 RC1 up and running on my AmigaOne X5000. Also running the latest version of Arctic Fox 39.2

Thanks a lot Christian!

Image

Big picture: https://www.skateman.nl/wp-content/uplo ... -35-03.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
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Skateman wrote: Sun Jun 12, 2022 3:41 pm Kerrnel 5.19 RC1 up and running on my AmigaOne X5000. Also running the latest version of Arctic Fox 39.2

Thanks a lot Christian!
Great! Many thanks for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by xeno74 »

The keyboard and mouse issue still exists. We still need our of.patch.

We tried a new patch but without any success.

Code: Select all

--- a/drivers/usb/host/fsl-mph-dr-of.c  2022-06-06 02:18:54.000000000 +0200
+++ b/drivers/usb/host/fsl-mph-dr-of.c  2022-06-09 19:31:50.135472793 +0200
@@ -80,8 +80,6 @@ static struct platform_device *fsl_usb2_
                                         const char *name, int id)
  {
         struct platform_device *pdev;
-       const struct resource *res = ofdev->resource;
-       unsigned int num = ofdev->num_resources;
         int retval;

         pdev = platform_device_alloc(name, id);
@@ -105,12 +103,8 @@ static struct platform_device *fsl_usb2_
         retval = platform_device_add_data(pdev, pdata, sizeof(*pdata));
         if (retval)
                 goto error;
-
-       if (num) {
-               retval = platform_device_add_resources(pdev, res, num);
-               if (retval)
-                       goto error;
-       }
+        pdev->dev.of_node = ofdev->dev.of_node;
+        pdev->dev.of_node_reused = true;

         retval = platform_device_add(pdev);
         if (retval)

Link to the thread: [FSL P50x0] Keyboard and mouse don't work anymore after the devicetree updates for 5.19
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply