Kernel 5.4

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

Re: Kernel 5.4

Post by xeno74 »

Skateman wrote:Christian could you try this?

Make sure the ethernet cable of the onboard X5000 ethernet adapter is unplugged.
sudo ifconfig eht0 down (enter)
sudo ifconfig eht0 up (enter)
Now plug in a cable in the onboard X5000 ethernet adapter.
The adapter gets an Ip adress through DHCP and see if it works.
I tested it today. Unfortunately I can't activate eth0 after sudo ifconfig eth0 down.

sudo ifconfig eth0 up

Error message:

Code: Select all

SIOCSIFFLAGS: No such device
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.4

Post by xeno74 »

Hi All,

Here is the RC4 of kernel 5.4 for testing.

New:
Download: linux-image-5.4-rc4-X1000_X5000.tar.gz

Screenshot of ubuntu MATE 16.04.6 LTS with the RC4 of kernel 5.4 on an A-EON AmigaOne X5000/40:

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

Re: Kernel 5.4

Post by Skateman »

xeno74 wrote:
Skateman wrote:Christian could you try this?

Make sure the ethernet cable of the onboard X5000 ethernet adapter is unplugged.
sudo ifconfig eht0 down (enter)
sudo ifconfig eht0 up (enter)
Now plug in a cable in the onboard X5000 ethernet adapter.
The adapter gets an Ip adress through DHCP and see if it works.
I tested it today. Unfortunately I can't activate eth0 after sudo ifconfig eth0 down.

sudo ifconfig eth0 up

Error message:

Code: Select all

SIOCSIFFLAGS: No such device
Do you not have an Eth0 when using ifconfig ?
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: 425
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.4

Post by Skateman »

Kernel 5.4 RC4 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 213417.png

Christian see the output of my sudo ifconfig. there is an Eth0 and Eth1 (both X5000 onboard adapters)
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: 5712
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.4

Post by xeno74 »

Hi Skateman,

Many thanks for testing the RC4!

I have the same ifconfig output but after deactivating (down) I can’t activate the interfaces anymore.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.4

Post by xeno74 »

Hi All,

I released the RC4-2 of kernel 5.4 because of a new patch for solving the onboard SD card issues today.

New:

X5000/20 and X5000/40: coherent_cache patch by Michael Ellerman for solving the issue with the onboard SD card.

He wrote:
For historical reasons powerpc kernels are built with hard wired knowledge of whether or not DMA accesses are cache coherent. Additionally device trees on powerpc do not typically support the dma-coherent property.
So when we know that DMA is coherent, override arch_of_dma_is_coherent() to tell the drivers/of code that all devices are coherent regardless of whether they have a dma-coherent property.
Benjamin Herrenschmidt wrote:
Fundamentally when you set CONFIG_NOT_COHERENT_CACHE you tell the kernel that your processor isn't snooping the bus for DMA accesses colliding with the caches. Thus SW has to explicitly maintain cache coherency around DMA operations by invalidating or flushing the cache accordingly and by keeping pool(s) of non-cachable memory around to use for the consistent allocator. This slows things down.
Download: linux-image-5.4-rc4-2-X5000.tar.gz

Screenshot of Ubuntu 10.04.4 LTS PowerPC with the kernel 5.4-rc4-2 on an AmigaOne X5000/40:

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

Re: Kernel 5.4

Post by Skateman »

Kernel 5.4 RC4-2 up and running on my AmigaOne X5000.

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 195233.png
Last edited by Skateman on Wed Oct 23, 2019 9:40 pm, edited 1 time in total.
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

Roland
Posts: 417
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 5.4

Post by Roland »

Skateman wrote: Due to a new U-Boot version trying to get the kernels back on MMC again... SDcard is working !
From where did you succeed to get a new U-boot version??? And what version is it...? At least my X5000 dealer has not succeeded to get any update from A-Eon!
- Roland -

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

Re: Kernel 5.4

Post by xeno74 »

Skateman wrote:Kernel 5.4 RC4-2 up and running on my AmigaOne X5000.
Thanks a lot for testing the RC4-2! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

acefnq
Posts: 170
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.4

Post by acefnq »

RC4-2 up and running no problems

ace

Post Reply