New kernels

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

Re: New kernels

Post by xeno74 »

Hi All,

The alpha5 of kernel 5.17 is available for testing.

New:
Download: linux-image-5.17-alpha5-X1000_X5000.tar.gz

Note: XFS is great! You can grow the XFS filesystem without unmounting the hard disk/partition or virtual img after resizing the virtual img with "qemu-img resize" or after copying an img to a hard disk/partition. You can format a hard disk or img without creating any partitions.

Image

Please test the kernels.

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

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

Re: New kernels

Post by xeno74 »

Hi All,

I have released the RC2 of kernel 5.17 for testing.

New:
Download: linux-image-5.17-rc2-X1000_X5000.tar.gz

Screenshot of the new Void PPC Linux 20220129 with the new RC2:

Image

Please test the kernels.

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

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

Re: New kernels

Post by xeno74 »

Hi All,

I released the RC3 of kernel 5.17 for testing today.

New:
Download: linux-image-5.17-rc3-X1000_X5000.tar.gz

Image

Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
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
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Hi All,

I created a new cross compiling environment in an Ubuntu 20.04.3 LTS x86_64 Docker container for the X5000 and X1000 today. :-)

Could you please test this cross compiled kernel on your AmigaOne X1000 and X5000? I'd like to know if it works.

Download: linux-image-5.10.101-X1000_X5000.tar.gz

Cross compiling instructions:

System requirements: Ubuntu 14.04 x86 or higher

Installing the new cross compiling environment in an Ubuntu 20.04.3 LTS x86_64 Docker container:

Code: Select all

apt-get install gcc-powerpc-linux-gnu

Code: Select all

apt-get install build-essential

Code: Select all

apt-get install libncurses5-dev

Code: Select all

apt-get install u-boot-tools

Code: Select all

apt-get install flex

Code: Select all

apt-get install bison

Code: Select all

apt-get install libssl-dev

Code: Select all

apt-get install bc

Code: Select all

apt-get install linux-firmware

Code: Select all

apt-get install kmod
Cross compiling:

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig
Ubuntu 20.04.3 LTS x86_64 Docker container (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04, CPU: Intel Xeon D-1527 (8) @ 2.201GHz)):

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
Result:

Code: Select all

  LD      vmlinux
  SORTTAB vmlinux
  SYSMAP  System.map
  CHKHEAD vmlinux

real    5m24.995s
user    38m56.874s
sys     1m56.307s
Ubuntu 18.04.2 LTS x86_64 PC (Old cross compiling environment with gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04, CPU: Intel i5-8200Y (4) @ 3.900GHz)):

Code: Select all

time make -j4 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
Result:

Code: Select all

  LD      vmlinux
  SORTTAB vmlinux
  SYSMAP  System.map
  CHKHEAD vmlinux

real    13m40.795s
user    50m18.671s
sys     3m5.973s

Code: Select all

make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc zImage

Code: Select all

gzip -9 vmlinux.strip

Code: Select all

mv vmlinux.strip.gz zImage-5.10
Ubuntu 20.04.3 LTS x86_64 Docker container (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04, CPU: Intel Xeon D-1527 (8) @ 2.201GHz)):

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    2m28.680s
user    17m59.281s
sys     1m4.010s
Ubuntu 18.04.2 LTS x86_64 PC (Old cross compiling environment with gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04, CPU: Intel i5-8200Y (4) @ 3.900GHz)):

Code: Select all

time make -j4 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    6m24.525s
user    23m29.192s
sys     1m40.882s

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install

Code: Select all

linux-image-5.10.101-X1000_X5000/X1000/kernel_modules/5.10.101_A-EON_X1000_Nemo# rm build source

Code: Select all

patch -p0 < linux-image-5.10.101-X1000_X5000/X5000_and_QEMU_e5500/src/dpaa-v1.patch

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig
Ubuntu 20.04.3 LTS x86_64 Docker container (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04, CPU: Intel Xeon D-1527 (8) @ 2.201GHz)):

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Result:

Code: Select all

real    5m32.193s
user    38m28.639s
sys     2m7.126s
Ubuntu 18.04.2 LTS x86_64 PC (Old cross compiling environment with gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04, CPU: Intel i5-8200Y (4) @ 3.900GHz)):

Code: Select all

time make -j4 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Result:

Code: Select all

real    13m50.583s
user    50m8.636s
sys     3m22.041s
Ubuntu 20.04.3 LTS x86_64 Docker container (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04, CPU: Intel Xeon D-1527 (8) @ 2.201GHz)):

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    3m33.501s
user    25m45.244s
sys     1m33.629s
Ubuntu 18.04.2 LTS x86_64 PC (Old cross compiling environment with gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04, CPU: Intel i5-8200Y (4) @ 3.900GHz)):

Code: Select all

time make -j4 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    9m15.336s
user    33m55.045s
sys     2m29.175s

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install

Code: Select all

linux-image-5.10.101-X1000_X5000/X5000_and_QEMU_e5500/kernel_modules/5.10.101_A-EON_X5000# rm build source
Image

Please test the kernels.

Thanks,

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

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

Re: New kernels

Post by xeno74 »

Hi All,

I cross compiled the RC5 of kernel 5.17 for the X1000 and X5000 with the new cross compiling environment in an Ubuntu 20.04.3 LTS x86_64 Docker container today.

New:
Download: linux-image-5.17-rc5-X1000_X5000.tar.gz

X1000 Linux kernel compiling time:

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
Result:

Code: Select all

real    6m32.027s
user    46m31.326s
sys     2m20.941s

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    2m44.396s
user    19m48.324s
sys     1m11.883s
X5000 Linux kernel compiling time:

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Result:

Code: Select all

real    6m17.786s
user    43m36.072s
sys     2m27.547s

Code: Select all

time make -j8 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Result:

Code: Select all

real    3m35.010s
user    26m3.404s
sys     1m38.056s
Image

Please test the kernels.

Thanks,
Christian
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 Christian
I get this error message No such file or file directory
when I use this command :
linux-image-5.10.102-X1000_X5000/X1000/kernel_modules/5.10.102_A-EON_X1000_Nemo# rm build source .
i use the source code from linux-5.10.102
But I got a vmlinux file ,and I could boot Void with it.
I am now almost ready to try myself with a kernel for my new Sam640LE when it arrives.
Regards Peter
ps
My x1000 is running again
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Fri Feb 25, 2022 1:52 pm Hi Christian
I get this error message No such file or file directory
when I use this command :
linux-image-5.10.102-X1000_X5000/X1000/kernel_modules/5.10.102_A-EON_X1000_Nemo# rm build source .
After installing the kernel modules with

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install
you have to copy the directory 5.10.102_A-EON_X1000_Nemo to the package

Code: Select all

linux-image-5.10.102-X1000_X5000/X1000/kernel_modules
Then you change to this directory and delete the symbolic links build and source.
musa wrote: Fri Feb 25, 2022 1:52 pm i use the source code from linux-5.10.102
But I got a vmlinux file ,and I could boot Void with it.
I am now almost ready to try myself with a kernel for my new Sam640LE when it arrives.
Regards Peter
ps
My x1000 is running again
Great! I am happy that your X1000 is running again and that you will try to compile a kernel for your new Sam460LE.
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 Christian
Thanks for info but.
You said : you have to copy the directory 5.10.102_A-EON_X1000_Nemo to the package

From where to where?

Thanks for helping me :)
Peter
AmigaX1000
Follow me on twitter @basjoo_dk
Post Reply