Kernel 4.12

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

Re: Kernel 4.12

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

Hi All,

I cross compiled the RC4 on my ubuntu MATE 16.04.2 LTS x86-64 today. :-)

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

Download: vmlinux-4.12-rc4-cc-AmigaONE_X1000.tar.gz

Cross compiling instructions:

System requirements: Ubuntu 14.04 x86 or higher
  1. 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
  2. Download the RC4:

    Code: Select all

    wget https://git.kernel.org/torvalds/t/linux-4.12-rc4.tar.gz
  3. Unpack the kernel archive:

    Code: Select all

    tar zxvf linux-4.12-rc4.tar.gz
  4. Rename the directory for the Nemo patch:

    Code: Select all

    mv linux-4.12-rc4 a
  5. Patch the kernel source code with the Nemo patch:

    Code: Select all

    patch -p0 < nemo_4.12-3.patch
  6. Copy the old RC3 config file to the a directory:

    Code: Select all

    cp nemo-4.12-rc3.config a/.config
  7. Change to the directory a:

    Code: Select all

    cd a
  8. Create a RC4 config based on the old RC3 config:

    Code: Select all

    make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig
  9. Compile the Linux kernel:

    Code: Select all

    make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
  10. With file you can check if make had built a PPC64 kernel.

    Code: Select all

    file vmlinux
    vmlinux: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, BuildID[sha1]=459f0910448bb4db1508ad1bcae2b2580510f8c8, not stripped
  11. Compile the Linux kernel modules:

    Code: Select all

    make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
  12. 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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

FYI: cat /proc/version

Cross compiled RC4:

Code: Select all

Linux version 4.12.0-rc4_cc-A-EON_AmigaOne_X1000_Nemo (christian@PPC64-Cross-Compilation-Server) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Wed Jun 7 11:45:05 CEST 2017
Native compiled RC4:

Code: Select all

Linux version 4.12.0-rc4_A-EON_AmigaOne_X1000_Nemo (christian@AmigaoneX1000) (gcc version 4.9.2 (Debian 4.9.2-21) ) #1 SMP Tue Jun 6 08:43:36 CEST 2017
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

Hi All,

I cross compiled the latest Git kernel today.

Download of the latest Git source code:

Code: Select all

git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a
Download: vmlinux-4.12-rc4-2-cc-AmigaONE_X1000.tar.gz

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

Hi All,

The RC5 of kernel 4.12 is available.

New:
Download: vmlinux-4.12-rc5-AmigaONE_X1000.tar.gz

Screenshot of Fedora 25 Server PPC64 MATE with Firefox 53.03 and with kernel 4.12-rc5:

Image

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5904
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.12

Post by xeno74 »

Hi All,

I released the RC7 of kernel 4.12 for the X1000 and X5000 today.

New:
Compiled with the GCC version 6.3.0 20170618.

Download: vmlinux-4.12-rc7-AmigaONE_X1000.tar.gz (In this package is also the RC7 for the X5000)

Screenshot of the MATE PowerPC Remix 2017 with the RC7 of kernel 4.12:

Image

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.

Post Reply