Page 1 of 7

Kernel 4.2

Posted: Tue Jun 23, 2015 9:23 pm
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.

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 7:25 am
by xeno74

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 4:25 pm
by xeno74
I wonder if you could test the alpha1. I would appreciate it very much.

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 10:10 pm
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

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 10:11 pm
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

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 10:23 pm
by xeno74
Hi zzd10h,

Could you please test the kernel 4.1 final?

Thanks in advance.

Rgds,

Christian

Re: Kernel 4.2

Posted: Wed Jun 24, 2015 11:37 pm
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 ?

Re: Kernel 4.2

Posted: Thu Jun 25, 2015 7:53 am
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.

Re: Kernel 4.2

Posted: Thu Jun 25, 2015 8:19 am
by zzd10h
Tried 4.1 final simply from a USB stick.

Not the same crash but unsucessful too...

Re: Kernel 4.2

Posted: Thu Jun 25, 2015 2:05 pm
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?