Kernel 4.20

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

Re: Kernel 4.20/5.0

Post by xeno74 »

acefnq wrote:RC1 up and working fine.

Cheers

ace
Ace,

Thanks a lot for testing! :-)

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

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

Re: Kernel 4.20/5.0

Post by xeno74 »

Great news!
Scott Wood wrote:
> TRACE_INCLUDE_PATH and TRACE_INCLUDE_FILE are used by
> <trace/define_trace.h>, so like that #include, they should
> be outside #ifdef protection.
>
> They also need to be #undefed before defining, in case multiple trace
> headers are included by the same C file. This became the case on
> book3e after commit cf4a6085151a ("powerpc/mm: Add missing tracepoint for
> tlbie"), leading to the following build error:
>
> CC arch/powerpc/kvm/powerpc.o
> In file included from arch/powerpc/kvm/powerpc.c:51:0:
> arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined
> [-Werror]
> #define TRACE_INCLUDE_PATH .
> ^
> In file included from arch/powerpc/kvm/../mm/mmu_decl.h:25:0,
> from arch/powerpc/kvm/powerpc.c:48:
> ./arch/powerpc/include/asm/trace.h:224:0: note: this is the location of
> the previous definition
> #define TRACE_INCLUDE_PATH asm
> ^
> cc1: all warnings being treated as errors
>
> Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
> Signed-off-by: Scott Wood <oss@buserror.net>
> ---
> arch/powerpc/kvm/trace.h | 8 ++++++--
> arch/powerpc/kvm/trace_booke.h | 9 +++++++--
> arch/powerpc/kvm/trace_hv.h | 9 +++++++--
> arch/powerpc/kvm/trace_pr.h | 9 +++++++--
> 4 files changed, 27 insertions(+), 8 deletions(-)

Thanks for getting to this. Apart from a small nit below, for this patch:
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

>
> diff --git a/arch/powerpc/kvm/trace.h b/arch/powerpc/kvm/trace.h
> index 491b0f715d6b..ea1d7c808319 100644
> --- a/arch/powerpc/kvm/trace.h
> +++ b/arch/powerpc/kvm/trace.h
> @@ -6,8 +6,6 @@
>
> #undef TRACE_SYSTEM
> #define TRACE_SYSTEM kvm
> -#define TRACE_INCLUDE_PATH .
> -#define TRACE_INCLUDE_FILE trace

The convention is to also have the TRACE_SYSTEM macro defined outside and before the header #ifdef. So, that would be good to do as part of this cleanup as well. If not, I can send a patch later.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Kernel 4.20/5.0

Post by kilaueabart »

rc-1 working fine here, too. I don't think that has anything to do with my internet problems, like "Firefox can't establish a connection to the server at http://www.skateman.nl.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

kilaueabart wrote:rc-1 working fine here, too. I don't think that has anything to do with my internet problems, like "Firefox can't establish a connection to the server at http://www.skateman.nl.
Many thanks for testing! :-)

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.20/5.0

Post by Skateman »

kilaueabart wrote:rc-1 working fine here, too. I don't think that has anything to do with my internet problems, like "Firefox can't establish a connection to the server at http://www.skateman.nl.
Your right.... my Pi (webserver) is down...

But now its up and running again :-)
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

Hi All,

I released the RC1-2 of kernel 4.20 with initial ramdisks for the X5000, X1000, and for virtual e5500 QEMU machines today.

New:
  • X1000: Kernel has a smaller file size and boots faster (Compressed zImage). You need to add '-z' to the CFE Linux boot command. (Thanks to Hypex for the hint)
  • X5000: Compiling problems solved (TRACE_INCLUDE_PATH redefined). (Thanks to Scott)
  • Initial ramdisks for the X5000 and X1000 (You can boot with a LABEL or a UUID. For example: setenv bootargs "root=LABEL=AMIGAONE")
  • Phoronix articles, reviews and news stories covering Linux 4.20
  • Linux Git log
Download: vmlinux-4.20-rc1-2-AmigaOne_X1000_X5000.tar.gz

Screenshot of kernel 4.20-rc1-2 and an initial ramdisk on an AmigaOne X1000:

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

Re: Kernel 4.20/5.0

Post by Skateman »

RC1-2 running fine on the AmigaOne X5000

Image

The bigger picture..http://www.skateman.nl/wp-content/uploa ... 210513.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

Skateman wrote:RC1-2 running fine on the AmigaOne X5000
Thank you for testing the RC1-2. :-)

Have a nice weekend!

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 4.20/5.0

Post by Skateman »

xeno74 wrote:
Skateman wrote:RC1-2 running fine on the AmigaOne X5000
Thank you for testing the RC1-2. :-)

Have a nice weekend!

-- Christian
Thanks and keep up the good work.
Have a great weekend!!
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.20/5.0

Post by xeno74 »

Hi All,

Linus Torvalds released the RC2 of kernel 4.20 for testing today.

New:
Download: vmlinux-4.20-rc2-AmigaOne_X1000_X5000.tar.gz

Screenshot of ubuntu MATE 16.04.5 LTS PowerPC with the kernel 4.20-rc2 and with connected Bluetooth devices:

Image

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply