Kernel 5.14

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

Re: Kernel 5.14

Post by xeno74 »

Skateman wrote: Sat Jul 03, 2021 7:13 pm Alpha3 broke the system.... :-(
Xserver not working anymore...
I know. Thank you for testing.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.14

Post by xeno74 »

Hi All,

Maybe there is a solution for the Xorg issue.
Nirmoy wrote: Hi Christian,


This issue looks similar to the one Mikel Rychliski fixed recently : https://patchwork.freedesktop.org/patch/440791. Let us know if this helps.


Regards,

Nirmoy
I compiled the alpha3 with this patch again.

Changelog of the new alpha3:
Download: linux-image-5.14-alpha3-X1000_X5000.tar.gz

Please test these kernels.

Thanks,
Christian
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 5.14

Post by kilaueabart »

Am I doing something wrong?
RC3.png
I had to shrink this way down, may be too small to read?
User avatar
xeno74
Posts: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.14

Post by xeno74 »

kilaueabart wrote: Mon Jul 05, 2021 6:32 pm Am I doing something wrong?
I had to shrink this way down, may be too small to read?
No, you aren't doing anything wrong. This is the second issue. I think it is somewhere in the latest PowerPC updates. I have to remove the latest PowerPC updates.
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: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.14

Post by xeno74 »

Hi All,

I think there is a solution for the boot issue.
Nick wrote: This looks like mtmsrd in the 64e code. I think this should fix it.

QEMU does not seem to trap on this, maybe something to improve.

Thanks,
Nick
--

diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
index 4063e8a3f704..d4212d2ff0b5 100644
--- a/arch/powerpc/kernel/interrupt_64.S
+++ b/arch/powerpc/kernel/interrupt_64.S
@@ -311,9 +311,13 @@ END_BTB_FLUSH_SECTION
* trace_hardirqs_off().
*/
li r11,IRQS_ALL_DISABLED
- li r12,-1 /* Set MSR_EE and MSR_RI */
stb r11,PACAIRQSOFTMASK(r13)
+#ifdef CONFIG_PPC_BOOK3S
+ li r12,-1 /* Set MSR_EE and MSR_RI */
mtmsrd r12,1
+#else
+ wrteei 1
+#endif

/* Calling convention has r9 = orig r0, r10 = regs */
mr r9,r0
I compiled the alpha3 with this patch again today.

New changelog of the alpha3:
Download: linux-image-5.14-alpha3-X1000_X5000.tar.gz

Please test these kernels.

Thanks,
Christian
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: Kernel 5.14

Post by Skateman »

You fixed it!!

Kernel 5.14 Alpha3 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 113237.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: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.14

Post by xeno74 »

Skateman wrote: Tue Jul 06, 2021 8:32 am You fixed it!!

Kernel 5.14 Alpha3 up and running on the AmigaOne X5000
Great! Many thanks for testing! I also tested the alpha3 with the interrupt patch in a virtual e5500 QEMU machine today.

Image

@kilaueabart
Could you also please test the new alpha3?
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 5.14

Post by kilaueabart »

alpha3 now working here too.
alpha3.png
User avatar
xeno74
Posts: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.14

Post by xeno74 »

kilaueabart wrote: Tue Jul 06, 2021 9:40 pm alpha3 now working here too.
Thanks a lot for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply