Kernel 4.19

AmigaOne X5000 platform specific issues related to Linux only.

Re: Kernel 4.19

Postby xeno74 » Mon Oct 22, 2018 3:45 pm

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
xeno74
 
Posts: 4105
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.19

Postby Skateman » Mon Oct 22, 2018 7:55 pm

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
Skateman
 
Posts: 223
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.19

Postby xeno74 » Mon Oct 22, 2018 8:42 pm

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: 4105
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.19

Postby xeno74 » Thu Nov 08, 2018 11:43 am

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.
User avatar
xeno74
 
Posts: 4105
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.19

Postby caseycullen » Thu Nov 08, 2018 6:12 pm

Christian,
What is the benefit to using LABEL or UUID instead of the /dev path? Also what is the uInitrd file for?
-Casey
caseycullen
 
Posts: 121
Joined: Sat Dec 17, 2016 8:12 am
Location: Madison, WI USA

Re: Kernel 4.19

Postby xeno74 » Thu Nov 08, 2018 8:22 pm

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: 4105
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.19

Postby xeno74 » Thu Nov 08, 2018 8:42 pm

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.
User avatar
xeno74
 
Posts: 4105
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.19

Postby Roland » Thu Nov 08, 2018 10:03 pm

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 -
Roland
 
Posts: 218
Joined: Tue May 02, 2017 8:23 am

Re: Kernel 4.19

Postby xeno74 » Fri Nov 09, 2018 7:49 am

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: 4105
Joined: Fri Mar 23, 2012 8:58 am

Previous

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests