Kernel 5.1

AmigaOne X5000 platform specific issues related to Linux only.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.1

Post by acefnq »

Christian
DRM4 boots to SI card.

Cheers

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

Re: Kernel 5.1

Post by xeno74 »

acefnq wrote:Christian
DRM4 boots to SI card.

Cheers

ace
Thank you for testing! :-) Next step.

Code: Select all

git bisect bad
Output:

Code: Select all

Bisecting: 45 revisions left to test after this (roughly 6 steps)
[a2b50babc74394c99638a37a3d48adeb03ddc248] drm/sti: Use drm_atomic_helper_shutdown

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Download: uImage-drm5

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.1

Post by acefnq »

Christian
DRM5 boots to Firepro!

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

Re: Kernel 5.1

Post by xeno74 »

acefnq wrote:Christian
DRM5 boots to Firepro!

ace
Thanks for testing! :-) Next step.

Code: Select all

git bisect good
Output:

Code: Select all

Bisecting: 22 revisions left to test after this (roughly 5 steps)
[48197bc564c7a1888c86024a1ba4f956e0ec2300] drm: add syncobj timeline support v9

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Download: uImage-drm6

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.1

Post by acefnq »

Christian
DRM6 boots to Firepro.

cheers

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

Re: Kernel 5.1

Post by xeno74 »

acefnq wrote:Christian
DRM6 boots to Firepro.

cheers

ace
Thank you for testing! :-) Next step.

Code: Select all

git bisect good
Output:

Code: Select all

Bisecting: 11 revisions left to test after this (roughly 4 steps)
[068f304781804e208f901d8f6083189e0e28c420] drm/drm_pci.c: Use dma_zalloc_coherent

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Download: uImage-drm7

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.1

Post by acefnq »

Christian
DRM7 boots to SI card.

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

Re: Kernel 5.1

Post by xeno74 »

acefnq wrote:Christian
DRM7 boots to SI card.

ace
Thanks a lot for testing! :-) Next step.

Code: Select all

git bisect bad
Output:

Code: Select all

Bisecting: 5 revisions left to test after this (roughly 3 steps)
[e51767279f11571b112dbeaef2628968c62f90a6] drm/selftest: Refactor test-drm_plane_helper

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig

Code: Select all

make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Download: uImage-drm8

Please test it.

Thanks
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 5.1

Post by xeno74 »

Hi All,

Linus Torvalds has released the Linux 5.1 stable kernel. :-)
Linux 5.1 switches the PowerPC port to use the generic swiotlb and noncoherent dma ops, and to use more generic code for the coherent direct mapping, as well.
The Cyrus patch has become smaller because of the integration of the 'fsl_pci.c' patch into the new kernel 5.1.
There was a problem with MAX_PHYSMEM_BITS. We reported this issue to the Linuxppc-dev mailing list and they fixed it.
We have activated CONFIG_SPARSEMEM for the X1000 in the kernel configuration.
There was a problem with the VLC player. It didn't play any videos anymore. We created a patch and reported it to the Linuxppc-dev mailing list. They created a new patch and integrated it into the official kernel source code. After that the VLC player works without any problems again.
There were some issues with new CF cards if they were connected to the onboard CompactFlash Card Slot from the X1000. Note: The CompactFlash (CF) card slot is wired to the CPU local bus. It is typically used to hold the Linux kernels and initial ramdisks. We solved these issues with a new pata_of_platform-v2 patch.
The initialization and use of a secondary graphics card (FirePro 2260) does not work. Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=109345. We are working on a solution: http://forum.hyperion-entertainment.com ... =50#p47877

Thanks a lot to Tom, SailorMH, and Musa for testing the kernels on the X1000 and many thanks to Skateman, Kilaueabart, and Allan (acefnq) for testing the kernels on the X5000.

New:
Download: linux-image-5.1-X1000_X5000.tar.gz

Screenshot of Lubuntu 16.04.6 LTS PowerPC with the New Moon 28.4.1 and with the final kernel 5.1:

Image

Have a nice week! :-)

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: Kernel 5.1

Post by caseycullen »

Amazing work! Thanks Christian and all others who contributed/tested!
xeno74 wrote:Hi All,

Linus Torvalds has released the Linux 5.1 stable kernel. :-)
Linux 5.1 switches the PowerPC port to use the generic swiotlb and noncoherent dma ops, and to use more generic code for the coherent direct mapping, as well.
The Cyrus patch has become smaller because of the integration of the 'fsl_pci.c' patch into the new kernel 5.1.
There was a problem with MAX_PHYSMEM_BITS. We reported this issue to the Linuxppc-dev mailing list and they fixed it.
We have activated CONFIG_SPARSEMEM for the X1000 in the kernel configuration.
There was a problem with the VLC player. It didn't play any videos anymore. We created a patch and reported it to the Linuxppc-dev mailing list. They created a new patch and integrated it into the official kernel source code. After that the VLC player works without any problems again.
There were some issues with new CF cards if they were connected to the onboard CompactFlash Card Slot from the X1000. Note: The CompactFlash (CF) card slot is wired to the CPU local bus. It is typically used to hold the Linux kernels and initial ramdisks. We solved these issues with a new pata_of_platform-v2 patch.
The initialization and use of a secondary graphics card (FirePro 2260) does not work. Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=109345. We are working on a solution: http://forum.hyperion-entertainment.com ... =50#p47877

Thanks a lot to Tom, SailorMH, and Musa for testing the kernels on the X1000 and many thanks to Skateman, Kilaueabart, and Allan (acefnq) for testing the kernels on the X5000.

New:
Download: linux-image-5.1-X1000_X5000.tar.gz

Screenshot of Lubuntu 16.04.6 LTS PowerPC with the New Moon 28.4.1 and with the final kernel 5.1:

Image

Have a nice week! :-)

Cheers,
Christian
Post Reply