AmigaOne X1000 platform specific issues related to Linux only.
-
xeno74
- Posts: 9379
- Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 »
Hi All,
I compiled the
stable longterm kernel
4.9.61 with some new firmwares for the X5000 and X1000 today.
New:
Download:
vmlinux-4.9.61-AmigaONE_X1000_X5000.tar.gz
@Julian
Could you please test the
stable longterm kernel
4.9.61 on your X5000? I would like to know if it boots with your graphics cards.
Cheers,
Christian
-
xeno74
- Posts: 9379
- Joined: Fri Mar 23, 2012 7:58 am
Post
by xeno74 »
Hi All,
I
cross compiled the
stable longterm kernel
4.9.65 on my
Lubuntu 16.04.3 LTS x86-64 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:
vmlinux-4.9.65-AmigaONE_X1000_X5000.tar.gz
Cross compiling instructions:
System requirements: Ubuntu 14.04 x86 or higher
- Install the toolchain with the following commands:
Code: Select all
sudo apt-get install gcc-powerpc-linux-gnu
Code: Select all
sudo apt-get install build-essential
Code: Select all
sudo apt-get install libncurses5-dev
- Download the stable longterm kernel 4.9.65
- Unpack the kernel archive
- Rename the directory for the patches:
For the AmigaOne X1000:
- Patch the kernel source code with the Nemo patch:
For the AmigaOne X5000:
- Patch the kernel source code with the Cyrus patch:
For the AmigaOne X5000 and X1000:
- Patch the kernel source code with the BFQ patches:
Code: Select all
patch -p0 < 0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.5.0.patch
patch -p0 < 0002-block-introduce-the-BFQ-v7r11-I-O-sched-for-4.5.0.patch
patch -p0 < 0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-for.patch
patch -p0 < 0004-Turn-into-BFQ-v8r7-for-4.9.0.patch
- Copy the additional files from the directory b to a
- Copy the old kernel config file to the a directory
- Change to the directory a
- Create a new kernel config file based on the old kernel config file:
Code: Select all
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig
- Compile the Linux kernel:
For the AmigaOne X1000:
Code: Select all
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
For the AmigaOne X5000:
Code: Select all
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
- With file you can check the kernel.
For the AmigaOne X1000:
vmlinux: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, BuildID[sha1]=4eeead69178e4a309ec9719c363d92564e011b74, not stripped
For the AmigaOne X5000:
uImage: u-boot legacy uImage, Linux-4.9.65_A-EON_AmigaOneX5000\037\213\010, Linux/PowerPC, OS Kernel Image (gzip), 9676429 bytes, Sat Dec 23 00:38:21 2017, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0xC237FC8D, Data CRC: 0xF45AC18E
For the AmigaOne X5000 and X1000:
- Compile the Linux kernel modules:
Code: Select all
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
- Install the Linux kernel modules:
Code: Select all
sudo make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install
You can get the kernel modules from the directory /lib/modules.
Please test the cross compiled kernel.
Thanks,
Christian