New kernels

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

Re: New kernels

Post by xeno74 »

Hi Skateman,

Congratulations! Well done!

Cheers,
Christian
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

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
Last edited by xeno74 on Sat Feb 19, 2022 3:17 pm, edited 1 time in total.
User avatar
Skateman
Posts: 954
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Cross compiled kernel 5.10.101 up and running on my AmigaOne X5000

Image

Big picture: https://www.skateman.nl/wp-content/uplo ... -55-59.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: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Skateman wrote: Sat Feb 19, 2022 2:59 pm Cross compiled kernel 5.10.101 up and running on my AmigaOne X5000
You're fast. Thanks a lot! :-)
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

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
User avatar
kilaueabart
Posts: 1186
Joined: Mon Mar 05, 2012 2:36 am

Re: New kernels

Post by kilaueabart »

I was uneasy about this, because I haven't booted Ubuntu in quite a while and have no idea what Ubuntu 20.04.3 LTS x86_64 Docker might mean, but the 5.17 RC5 kernel is working on my void.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

kilaueabart wrote: Tue Feb 22, 2022 11:32 pm I was uneasy about this, because I haven't booted Ubuntu in quite a while and have no idea what Ubuntu 20.04.3 LTS x86_64 Docker might mean,
Docker containers are bundle their own software, libraries and configuration files so it’s independent from the host system. You can use a software which it doesn’t run in the host system. But it uses the Linux kernel from the host system so it is faster than a virtual QEMU machine. You can pull an image of an application or a whole Linux userland for a container.
I use it for compiling Linux PowerPC kernels on a fast x86_64 server. I can backup the container and use it on another server.
kilaueabart wrote: Tue Feb 22, 2022 11:32 pm but the 5.17 RC5 kernel is working on my void.
Great! Thanks a lot for testing! :-)
User avatar
Skateman
Posts: 954
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Kernel 5.17 RC5 up and running on my AmigaOne X5000 with Radeon 7450 graphics

Image

Big picture: https://www.skateman.nl/wp-content/uplo ... -50-19.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: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Skateman wrote: Sun Feb 27, 2022 1:55 pm Kernel 5.17 RC5 up and running on my AmigaOne X5000 with Radeon 7450 graphics
Great! Thanks a lot for testing! :-)
Post Reply