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
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
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
Please test the kernels.
Thanks,
Christian