New kernels

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

Re: New kernels

Post by xeno74 »

xeno74 wrote: Sat Apr 29, 2023 12:50 pm I was able to revert the PowerPC updates 6.4-1 with the following command:

Code: Select all

git revert 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7 -m 1
After re-compiling, the kernel boots without any problems on my X1000.
Maybe the modifications in the file head_64.S are the problem. This file is responsible for the early boot phase.
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: New kernels

Post by xeno74 »

xeno74 wrote: Sun Apr 30, 2023 7:58 pm Maybe the modifications in the file head_64.S are the problem. This file is responsible for the early boot phase.
I replaced the head_64.S with the one from the final kernel 6.3. Unfortunately it doesn't boot.

The kernel hangs right after the booting Linux via __start() @ 0x0000000000000000 ...
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: New kernels

Post by xeno74 »

I will revert the modifications in the directory a/arch/powerpc/kernel. Maybe there is the issue.
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: New kernels

Post by xeno74 »

xeno74 wrote: Mon May 01, 2023 1:43 pm I will revert the modifications in the directory a/arch/powerpc/kernel. Maybe there is the issue.
It compiles if I add the following 2 files from the kernel 6.4:
  • a/arch/powerpc/kernel/smp.c
  • a/arch/powerpc/kernel/sysfs.c
But it doesn't boot.
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: New kernels

Post by xeno74 »

I reported the boot issue to the kernel developers today.

Link: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1
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: New kernels

Post by xeno74 »

Christophe Leroy wrote: You are reverting the entire powerpc changes, that's helpless.

Can you do a bisect ?

Thanks
Christophe
Michael Ellerman wrote: There's a few possibilities, but nothing obvious.

To begin with can you please test the following commits?

77e69ee7ce07
e4ab08be5b49
eeac8ede1755

cheers
Link: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1

I will test the following commits:
Commits of the PowerPC updates 6.4-1: powerpc-6.4-1
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: New kernels

Post by xeno74 »

Code: Select all

git revert 77e69ee7ce0715c39b9a0cde68ff44fe467435ef
Output:

Code: Select all

Auto-merging arch/powerpc/Makefile
[master 4beb21605ec6] Revert "powerpc/64: modules support building with PCREL addresing"
 5 files changed, 35 insertions(+), 309 deletions(-)
Unfortunately, it doesn't boot.

Code: Select all

git revert e4ab08be5b4902e5b350b0e1e1a3c25eb21d76d4
Output:

Code: Select all

[master 0086e2cbbec0] Revert "powerpc/isa-bridge: Remove open coded "ranges" parsing"
 1 file changed, 129 insertions(+), 37 deletions(-)
It boots!!!!!!!!!!! :-)

e4ab08be5b49 -- powerpc/isa-bridge: Remove open coded "ranges" parsing is the bad commit.
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: New kernels

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
Fienix boot a normal boot without error on vmlinux-6.4_a4
Have a nice day.
Image
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Wed May 03, 2023 7:47 pm Hi
Fienix boot a normal boot without error on vmlinux-6.4_a4
Have a nice day.
Thank you for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply