Kernel 5.5

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

Re: Kernel 5.5

Post by xeno74 »

Skateman wrote:Kernel 5.5 Alpha3 up and running on the AmigaOne X5000
Hi Skateman,

Many thanks for testing the alpha3!

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by xeno74 »

Hi All,

I released the alpha4 of kernel 5.5 for the X1000 and X5000 today.

New:
Download: linux-image-5.5-alpha4-X1000_X5000.tar.gz

I successfully tested the alpha4 of kernel 5.5 with Fienix PPC32, ubuntu MATE 16.04.6 LTS PPC32, Fedora 27 PPC64, and with openSUSE Tumbleweed 20190722 PPC64 today (see screenshots).

Image

Image

Image

Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alpha 4 Running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 214718.png
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: 6194
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Skateman wrote:Kernel 5.5 Alpha 4 Running on the AmigaOne X5000
Thanks a lot for testing the alpha4!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by xeno74 »

Great news! :-)
Mike Rapoport wrote: Some powerpc platforms (e.g. 85xx) limit DMA-able memory way below 4G. If a
system has more physical memory than this limit, the swiotlb buffer is not
addressable because it is allocated from memblock using top-down mode.

Force memblock to bottom-up mode before calling swiotlb_init() to ensure
that the swiotlb buffer is DMA-able.

Code: Select all

arch/powerpc/mm/mem.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index be941d382c8d..14c2c53e3f9e 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -260,6 +260,14 @@ void __init mem_init(void)
 	BUILD_BUG_ON(MMU_PAGE_COUNT > 16);
 
 #ifdef CONFIG_SWIOTLB
+	/*
+	 * Some platforms (e.g. 85xx) limit DMA-able memory way below
+	 * 4G. We force memblock to bottom-up mode to ensure that the
+	 * memory allocated in swiotlb_init() is DMA-able.
+	 * As it's the last memblock allocation, no need to reset it
+	 * back to to-down.
+	 */
+	memblock_set_bottom_up(true);
 	swiotlb_init(0);
 #endif
 
Link to the thread: [PATCH] powerpc: ensure that swiotlb buffer is allocated from low memory
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by xeno74 »

Hi All,

Here is the alpha5 of the kernel 5.5 for testing.

New:
Download: linux-image-5.5-alpha5-X1000_X5000.tar.gz

Image

Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alpha 5 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 202426.png
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: 6194
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Skateman wrote:Kernel 5.5 Alpha 5 up and running on the AmigaOne X5000
Many thanks for testing the alpha5! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by xeno74 »

Hi All,

I released the alpha6 for testing today.

New:
Download: linux-image-5.5-alpha6-X1000_X5000.tar.gz

Image

@Darren
Could you please submit your pcmcia patch to the kernel developers?

@All
Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alpha 6 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 161036.png
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

Post Reply