Kernel 5.1

AmigaOne X5000 platform specific issues related to Linux only.

Re: Kernel 5.1

Postby xeno74 » Mon Apr 08, 2019 4:39 pm

The VLC solution is on the way to the official kernel source code:

Michael Ellerman wrote:On 8. Apr 2019, at 15:03, Michael Ellerman <patch-notifications@ellerman.id.au> wrote:

On Thu, 2019-04-04 at 12:20:05 UTC, Christophe Leroy wrote:
Commit b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC
inconsistencies across Y2038") changed the type of wtom_clock_sec
to s64 on PPC64. Therefore, VDSO32 needs to read it with a 4 bytes
shift in order to retrieve the lower part of it.

Fixes: b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038")
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/dd9a99 ... 747e3366c5

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

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

Re: Kernel 5.1

Postby xeno74 » Tue Apr 09, 2019 4:13 pm

FYI:

Date: Tue, 9 Apr 2019 16:03:24 +1000
From: Michael Ellerman <mpe@ellerman.id.au>
To: linuxppc-dev@ozlabs.org
Cc: aneesh.kumar@linux.vnet.ibm.com, hughd@google.com,
schwab@linux-m68k.org, ben@decadent.org.uk
Subject: [PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit
configs
Message-ID: <20190409060324.16941-1-mpe@ellerman.id.au>

The recent commit 8bc086899816 ("powerpc/mm: Only define
MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition
of MAX_PHYSMEM_BITS when SPARSEMEM is disabled.

This inadvertently broke some 64-bit FLATMEM using configs with eg:

arch/powerpc/include/asm/book3s/64/mmu-hash.h:584:6: error: "MAX_PHYSMEM_BITS" is not defined, evaluates to 0
#if (MAX_PHYSMEM_BITS > MAX_EA_BITS_PER_CONTEXT)
^~~~~~~~~~~~~~~~

Fix it by making sure we define MAX_PHYSMEM_BITS for all 64-bit
configs regardless of SPARSEMEM.

Fixes: 8bc086899816 ("powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations")
Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>


Code: Select all
arch/powerpc/include/asm/mmu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h
index 598cdcdd1355..8ddd4a91bdc1 100644
--- a/arch/powerpc/include/asm/mmu.h
+++ b/arch/powerpc/include/asm/mmu.h
@@ -352,7 +352,7 @@ static inline bool strict_kernel_rwx_enabled(void)
#if defined(CONFIG_SPARSEMEM_VMEMMAP) && defined(CONFIG_SPARSEMEM_EXTREME) &&    \
   defined (CONFIG_PPC_64K_PAGES)
#define MAX_PHYSMEM_BITS        51
-#elif defined(CONFIG_SPARSEMEM)
+#elif defined(CONFIG_PPC64)
#define MAX_PHYSMEM_BITS        46
#endif
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.1

Postby xeno74 » Sat Apr 13, 2019 10:59 pm

FYI: PowerPC fixes 5.1-5

We don’t need the gettimeofday patch anymore.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.1

Postby xeno74 » Mon Apr 15, 2019 10:55 am

Hi All,

I released the RC3-3 of kernel 5.1 last week. This kernel was a RC3 with a lot of Git updates. That means, it didn't make any sense to release the RC4 because the RC3-3 has already included a lot of updates from the RC4.

Today, I released the RC5 of kernel 5.1 including all RC4 updates.

New:


It also includes:

  • X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)

Issues:

  • X1000: There are some issues with new CF cards if you connected one of these to the onboard CompactFlash Card Slot. 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. If you want to use a new CF card then please use the stable kernel 4.20.16. Link to the test thread: Fienix - New PowerPC Distro
  • X5000: Initialization and use of secondary graphics card (FirePro 2260) does not work. Bug report: Bug 109345 - drm-next-2018-12-14 -Linux PPC. If you want to use a secondary graphics card for example a FirePro 2260 then please use the stable kernel 4.20.16.
  • X5000: Network issues with the DPAA ethernet. Further information: Kernel 5.0 thread

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

Screenshot of Fienix PowerPC with the RC5 of kernel 5.1 on a X1000:

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

Re: Kernel 5.1

Postby Skateman » Mon Apr 15, 2019 8:11 pm

Kernel 5.1 RC5 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploads/2019/04/Screenshot-at-2019-04-15-200841.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
Skateman
 
Posts: 297
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 5.1

Postby xeno74 » Tue Apr 16, 2019 5:30 am

Hi Skateman,

Thanks a lot for testing the RC5! :-)

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

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

Re: Kernel 5.1

Postby xeno74 » Mon Apr 22, 2019 3:30 pm

Hi All,

I released the RC6 of kernel 5.1 today.

New:


It also includes:

  • X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)

CF cards test thread

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

Screenshot of Fienix PowerPC with the RC6 of kernel 5.1:

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

Re: Kernel 5.1

Postby Skateman » Mon Apr 22, 2019 5:21 pm

Kernel 5.1 RC6 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploads/2019/04/Screenshot-at-2019-04-22-171843.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
Skateman
 
Posts: 297
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 5.1

Postby xeno74 » Tue Apr 23, 2019 9:00 am

Skateman wrote:Kernel 5.1 RC6 up and running on the AmigaOne X5000


Many thanks for testing the RC6! :-)

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

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

Previous

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: Google [Bot] and 2 guests