Kernel 5.0

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

Re: Kernel 4.21

Post by xeno74 »

Next step: c446404b041130fbd9d1772d184f24715cf2362f (powerpc/dma: remove dma_nommu_mmap_coherent)

Code: Select all

git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a

Code: Select all

git checkout c446404b041130fbd9d1772d184f24715cf2362f
Output:

Code: Select all

Note: checking out 'c446404b041130fbd9d1772d184f24715cf2362f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at c446404... powerpc/dma: remove dma_nommu_mmap_coherent
Link to the Git: powerpc-dma.6

Result: PASEMI onboard ethernet works and the X5000 (P5020 board) boots. You can download these kernels if you want to test them.

Download: vmlinux-4.21-alpha6-AmigaOne_X1000_X5000.tar.gz

BTW, there is a new smaller Cyrus patch in this package. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.21

Post by xeno74 »

Hi All,

Here is the alpha7 of kernel 4.21 for testing.

New:
It also includes:
  • X5000: Additional uImage without the DRM updates for the ATI FireMV 2250 and ATI FirePro 2260 (Please also test the default alpha7 uImage because there are some new DRM updates included)
Download: vmlinux-4.21-alpha7-AmigaOne_X1000_X5000.tar.gz

Image

Please test all kernels.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 12:57 am
Location: Charlottesville, VA, USA
Contact:

Re: Kernel 4.21

Post by tbreeden »

Download: vmlinux-4.21-alpha7-AmigaOne_X1000_X5000.tar.gz
Please test all kernels.
kernel 4.21-alpha7 boots and runs fine here on the X1000. (also alphas 5 and 6)

;) Happy New Year 2019
Tom
Screenshot from 2019-01-07 02-22-31.png
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.21

Post by xeno74 »

tbreeden wrote:
Download: vmlinux-4.21-alpha7-AmigaOne_X1000_X5000.tar.gz
Please test all kernels.
kernel 4.21-alpha7 boots and runs fine here on the X1000. (also alphas 5 and 6)

;) Happy New Year 2019
Tom
Hi Tom,

Happy New Year for you too! :-)

Thanks a lot for testing the alpha5, alpha6, and alpha7 on your X1000!

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

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

Re: Kernel 4.21

Post by xeno74 »

Hi All,

I released the RC1 of kernel 5.0 today.

New:
It also includes:
  • X5000: Additional uImage without the DRM updates for the ATI FireMV 2250 and ATI FirePro 2260
Please note: You don’t need a Nemo patch for compiling a kernel for the X1000 anymore.

Download: vmlinux-5.0-rc1-AmigaOne_X1000_X5000.tar.gz

Screenshot of Fienix with the RC1 of kernel 5.0:

Image

Please test all kernels from the package.

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

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

Re: Kernel 5.0

Post by xeno74 »

Next step: a64e18ba191ba9102fb174f27d707485ffd9389c (powerpc/dma: remove dma_nommu_get_required_mask)

Code: Select all

git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a

Code: Select all

git checkout a64e18ba191ba9102fb174f27d707485ffd9389c
Output:

Code: Select all

Note: checking out 'a64e18ba191ba9102fb174f27d707485ffd9389c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a64e18b... powerpc/dma: remove dma_nommu_get_required_mask
Link to the Git: powerpc-dma.6

Results: PASEMI onboard ethernet works and the X5000 (P5020 board) boots. I also successfully tested sound, hardware 3D acceleration, Bluetooth, network, booting with a label etc. The uImages work also in a virtual e5500 quad-core QEMU machine.

I released these kernels with Christoph's second DMA patches for testing today.

Download: vmlinux-5.0-rc1-2-AmigaOne_X1000_X5000.tar.gz

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

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

Re: Kernel 5.0

Post by xeno74 »

Next step: 891dcc1072f1fa27a83da920d88daff6ca08fc02 (powerpc/dma: remove dma_nommu_dma_supported)

Code: Select all

git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a

Code: Select all

git checkout 891dcc1072f1fa27a83da920d88daff6ca08fc02
Output:

Code: Select all

Note: checking out '891dcc1072f1fa27a83da920d88daff6ca08fc02'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 891dcc1... powerpc/dma: remove dma_nommu_dma_supported
Link to the Git: powerpc-dma.6

Results: PASEMI onboard ethernet works and the X5000 (P5020 board) boots. I also successfully tested sound, hardware 3D acceleration, Bluetooth, network, booting with a label etc. The uImages work also in a virtual e5500 quad-core QEMU machine.

I released these kernels with Christoph's third DMA patches for testing today.

Download: vmlinux-5.0-rc1-3-AmigaOne_X1000_X5000.tar.gz

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

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

Re: Kernel 5.0

Post by xeno74 »

Next step: 4558b6e1ddf3dcf5a86d6a5d16c2ac1600c7df39 (swiotlb: remove swiotlb_dma_supported)

Code: Select all

git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a

Code: Select all

git checkout 4558b6e1ddf3dcf5a86d6a5d16c2ac1600c7df39
Output:

Code: Select all

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 4558b6e... swiotlb: remove swiotlb_dma_supported
Link to the Git: powerpc-dma.6

Results: PASEMI onboard ethernet (X1000) works and the X5000 (P5020 board) boots. I also successfully tested sound, hardware 3D acceleration, Bluetooth, network, booting with a label etc. The uImages work also in a virtual e5500 quad-core QEMU machine.

I released these kernels with Christoph's fourth DMA commit for testing today.

Download: vmlinux-5.0-rc1-4-AmigaOne_X1000_X5000.tar.gz

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

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

Re: Kernel 4.21

Post by xeno74 »

Hi All,

Here is the RC2 of kernel 5.0 for testing.

New:
Please note: I tried to compile the RC2 without the latest DRM updates for the ATI FireMV 2250 and ATI FirePro 2260 from the latest Git kernel today.
Unfortunately there are so many new dependencies because of many new small and big DRM fixes so I wasn't able to remove the first DRM updates today.
The ATI FireMV 2250 and ATI FirePro 2260 work alone without any problems in a X5000 but they don't work with a HD7xxx together anymore.
Ace doesn't have any error messages for us so it is difficult for us to report it to the developers.

Download: vmlinux-5.0-rc2-AmigaOne_X1000_X5000.tar.gz

Screenshot of Fienix with the RC2 of kernel 5.0 connected to a Leopard server:

Image

Please test it.

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

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

Re: Kernel 5.0

Post by xeno74 »

Next step: 240d7ecd7f6fa62e074e8a835e620047954f0b28 (powerpc/dma: use the dma-direct allocator for coherent platforms)

Code: Select all

git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a

Code: Select all

git checkout 240d7ecd7f6fa62e074e8a835e620047954f0b28
Link to the Git: powerpc-dma.6

env LANG=C make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc zImage

Error message:

Code: Select all

arch/powerpc/kernel/dma.o:(.data.rel.ro+0x0): undefined reference to `__dma_nommu_alloc_coherent'
arch/powerpc/kernel/dma.o:(.data.rel.ro+0x8): undefined reference to `__dma_nommu_free_coherent'
Makefile:1027: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply