Kernel 4.2

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

Kernel 4.2

Post by xeno74 »

The merge window for 4.2 is open so I created the first alpha today.

I cross compilied this alpha1 on my x86_64 PC today. I'd like to know the performance differences between the alpha1 and the 4.1 final.

Code: Select all

git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git
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. Create an alpha1 config based on the old 4.1 final config:

    Code: Select all

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

    Code: Select all

    make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
  4. Compile the Linux kernel modules:

    Code: Select all

    make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
  5. Install the Linux kernel modules:

    Code: Select all

    sudo make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install
Download: vmlinux-4.2-alpha1-AMIGA_one_X1000.tar.bz2

Please, test the cross compiled kernel.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.2

Post by xeno74 »

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

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

Re: Kernel 4.2

Post by xeno74 »

I wonder if you could test the alpha1. I would appreciate it very much.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.2

Post by xeno74 »

There was a lot of changes for powerpc today so I had to create a new patch for the kernel 4.2.

nemo_4.2-2.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Kernel 4.2

Post by zzd10h »

Hi,
does it work on your X1000 ?

On mine, it crashs at boot.
Loaded from CF (on the same CF, 4.1rc4 boots fine)

Here are my nvgetvar

Code: Select all

speed=set pmu -astate=A4
STARTUP=speed ; menu
MENU_0_COMMAND=boot -fs=amigafs ide0.0:amigaboot.of
bootargs=root=/dev/sda4 rw
MENU_3_COMMAND=boot -elf -noints -fatfs cf0:vmlinux-4.1
os4_commandline=SERIAL DEBUGLEVEL=5
MENU_2_COMMAND=boot -elf -noints -fatfs cf0:vmlinux-4.2
MENU_2_LABEL=Ubuntu 15.04 - Kernel 4.2
MENU_3_LABEL=Ubuntu 15.04 - Kernel 4.1
framebuffer=800/600/8/0x90000000/832
BOOT_CONSOLE=pcconsole0
CFE_VERSION=PAS-2.0.30
CFE_BOARDNAME=NEMO
CFE_MEMORYSIZE=4096
Attachments
DSCN0702.JPG
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9350
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.2

Post by xeno74 »

Hi zzd10h,

Could you please test the kernel 4.1 final?

Thanks in advance.

Rgds,

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

Running Linux on AmigaONEs can require some tinkering.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Kernel 4.2

Post by zzd10h »

I will do that tomorrow.

Just to be sure to test the good one, do you have a link ?

And is the 4.2 works on your X1000 ?
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9350
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.2

Post by xeno74 »

zzd10h wrote:I will do that tomorrow.

Just to be sure to test the good one, do you have a link ?

And is the 4.2 works on your X1000 ?
Thank you. Here is the link: vmlinux-4.1-AMIGA_one_X1000.tar.bz2

Unfortunately, I can't test the alpha1 of kernel 4.2 on my A1-X1000 currently.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Kernel 4.2

Post by zzd10h »

Tried 4.1 final simply from a USB stick.

Not the same crash but unsucessful too...
Attachments
DSCN0704.JPG
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9350
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.2

Post by xeno74 »

zzd10h wrote:Tried 4.1 final simply from a USB stick.

Not the same crash but unsucessful too...
Thank you for testing! I tested the kernel 4.1 final successfully on my A1-X1000 last Monday.

@All

Could someone else test the kernel 4.1 final and the alpha1 of kernel 4.2, please?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply