Kernel 4.19

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

Re: Kernel 4.19

Post by xeno74 »

Hi All,

Greg Kroah-Hartman released the final version of kernel 4.19 today. In the development time, Darren created a new Nemo patch and the kernel developers added Darren's Nemo/PASEMI updates to the official kernel. Many thanks to Darren for the Nemo patch and for the Nemo/PASEMI updates. There were some USB issues with the kernel 4.19 on the X5000. Darren figured out where the problem is. He did a bisect and found the bad commit. He also found a bad kernel config option. Disabling 'HAVE_ARCH_PREL32_RELOCATIONS' in arch/powerpc/Kconfig fixed the problems. He reported the bad commit to the Linuxppc-dev mailing list and after that the kernel developers removed 'HAVE_ARCH_PREL32_RELOCATIONS' in arch/powerpc/Kconfig. He also solved the mem issue with the SoundBlaster Live! It works without the mem=3500M boot argument now.
Thanks a lot to Tom for testing the kernels on his X1000 and many thanks to Skateman, kilaueabart, and acefnq for testing the kernels on the X5000.

More news:
Download: vmlinux-4.19-AmigaOne_X1000_X5000.tar.gz

Screenshot of the MATE PowerPC Remix 0.9 with the kernel 4.19 final in a virtual e5500 quad core machine:

Image

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
Skateman
Posts: 399
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.19

Post by Skateman »

4.19 Up and running on the AmigaOne X5000 :-)

Image
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

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

Re: Kernel 4.19

Post by xeno74 »

Skateman wrote:4.19 Up and running on the AmigaOne X5000 :-)
Thank you for testing the final kernel 4.19. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 4.19

Post by xeno74 »

Hi All,

I compiled the stable kernel 4.19.1 on my AmigaOne X1000 yesterday. Additonally I added initial ramdisks for the X5000 and X1000 to the stable kernel 4.19.1. I only use ramdisks for booting with a LABEL or UUID. You can boot the kernels with the ramdisks with the following commands:

X1000:

Code: Select all

ramdisk -z -addr=0x2400000 -fatfs cf0:initrd.img-4.19.1
Booting with a LABEL (For example Julian's ubuntu MATE 16.04 from a USB flash drive):

Code: Select all

setenv bootargs "root=LABEL=Ubuntu_16.04"

Code: Select all

boot -elf- noints -fatfs cf0:vmlinux-4.19
X5000:

Booting with a LABEL (For example the MATE PowerPC Remix 0.9):

Code: Select all

setenv bootargs root=LABEL=AMIGAONE
For example loading the kernel, dtb file, and ramdisk from the first FAT partition on a hard disk:

Code: Select all

load sata 0:1 1000000 uImage-4.19

Code: Select all

load sata 0:1 1c00000 cyrus.dtb

Code: Select all

load sata 0:1 2000000 uInitrd

Code: Select all

bootm 1000000 2000000 1c00000
Further news:
Download: vmlinux-4.19.1-AmigaOne_X1000_X5000.tar.gz

Screenshot of U-Boot on the AmigaOne X5000:

Image


Please test the stable kernel 4.19.1 and the ramdisks.

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

Running Linux on AmigaONEs can require some tinkering.

caseycullen
Posts: 332
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: Kernel 4.19

Post by caseycullen »

Christian,
What is the benefit to using LABEL or UUID instead of the /dev path? Also what is the uInitrd file for?
-Casey

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

Re: Kernel 4.19

Post by xeno74 »

caseycullen wrote:Christian,
What is the benefit to using LABEL or UUID instead of the /dev path? Also what is the uInitrd file for?
-Casey
Hi Casey,

Sometimes the /dev/sdx assignments are unstable. On some machines they seem to randomly move on each boot. Sometimes they are moved if a USB disk or Hard disk inserted.
With the LABEL option you can pass the unique partition name to the root boot argument. For example AMIGAONE is the name of the MATE PowerPC Remix partition. For this you need a ramdisk (uInitrd/initrd.img) which supports LABEL and UUID.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 4.19

Post by xeno74 »

With the UUID option you can pass the unique UUID to the root boot argument. For example:

Code: Select all

setenv bootargs "root=UUID=2d781b26-0285-421a-b9d0-d4a0d3b55680"
-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

Roland
Posts: 397
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 4.19

Post by Roland »

caseycullen wrote: What is the benefit to using LABEL or UUID instead of the /dev path? Also what is the uInitrd file for?
I asked here the very same question a few months ago...:-) Now I can answer myself that using LABELs saves a lot of trouble! If you have plenty of different distros and versions to play with, it is MUCH easier to switch between them by using self-explanatory LABELs (like 'Ubuntu16.04' or 'Debian9') instead of those abstract sdx-definitions. Also, if you happen to add new disk units to your system, or move a Linux partition to different location on the same or a different disk unit, you do not need change anything in your boot definitions.

I think LABEL support is the best individual improvement so far in the Amiga Linux sector. Thank you for this, Christian !-)
- Roland -

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

Re: Kernel 4.19

Post by xeno74 »

You can rename the LABEL of a partition with the following command:

For example rename the partition /dev/sdb7 to AMIGAONE:

Code: Select all

tune2fs -L AMIGAONE /dev/sdb7
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 4.19

Post by xeno74 »

Hi All,

Greg Kroah-Hartman released the stable kernel 4.19.2 today.

New:
Download: vmlinux-4.19.2-AmigaOne_X1000_X5000.tar.gz

Screenshot of the MATE PowerPC Remix 0.9 with the stable kernel 4.19.2 and with a connected Bluetooth device:

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