Kernel 5.7

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
daz
Beta Tester
Beta Tester
Posts: 318
Joined: Tue Dec 21, 2010 7:32 pm

Re: Kernel 5.7

Post by daz »

Don't use this, it's already in the kernel, I didn't test properly. You need new dtb files with inactive ports disabled: I have some for you to test:

https://drive.google.com/open?id=1nNNS8 ... qAqym85nwp

There are dtb's for both 5020 and 5040, 5020 is tested (I am using now) but I don't have access to a 5040 so this might not work. I've reverse engineered the one that was supplied with the initial linux port to get ethernet details. There may be problems with this.

To Use: Build an unmodified kernel from kernel.org, make sure to select the following for full functionallity:
(Don't forget - our version of UBoot is broken and doesn't initialise the IOMMU correctly - PAMMU needs to be off for DPAA to work)

device drivers -> board level power off and reset -> GPIO power off and GPIO reset
device drivers -> LED's -> GPIO connected LED's & Triggers -> disk activity

I have patches almost ready to submit for these if they pass muster.

Regards
Darren

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

Re: Kernel 5.7

Post by xeno74 »

Hi All,

Here is the RC3-2 for testing.

New:
  • X5000/20 and X5000/40: New dtb's for testing (Thanks to Darren)
  • X5000: LED Support for GPIO connected LEDs (LEDS_GPIO)
The following kernel components were already included in the default X5000 Linux kernel:
  • GPIO power-off driver (POWER_RESET_GPIO)
  • GPIO restart driver (POWER_RESET_GPIO_RESTART)
  • LED Disk Trigger (LEDS_TRIGGER_DISK)
The Freescale IOMMU support (CONFIG_FSL_PAMU) isn't included in this kernel.

I compiled this kernel without any additional patches.

Download: linux-image-5.7-rc3-2-X5000.tar.gz

@Darren
Many thanks for your work!

@All
Please test this kernel with the new dtb file.

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.7

Post by Skateman »

Kernel 5.7 RC3-2 up and running on the AmigaOne X5000. Using the new DTB by Darren.

Image

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

Minor issue found... after the first boot with new dtb i had no Internet traffic, but at second reboot all was fine.

Great work guys!
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

daz
Beta Tester
Beta Tester
Posts: 318
Joined: Tue Dec 21, 2010 7:32 pm

Re: Kernel 5.7

Post by daz »

Skateman wrote:
Sat May 02, 2020 7:58 pm
Kernel 5.7 RC3-2 up and running on the AmigaOne X5000. Using the new DTB by Darren.

[...]

Minor issue found... after the first boot with new dtb i had no Internet traffic, but at second reboot all was fine.

Great work guys!
Strange, haven't seen that here. Keep an eye out and let me know if it happens again.

Thanks
Darren

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

Re: Kernel 5.7

Post by xeno74 »

Hi Darren,

I successfully tested the RC3-2 and the new cyrus-p5040.dtb with Fienix Soar 3.0-20200426 on my X5000/40 today.

Results:
  • power-off and restart are working! We don't need the cyrus patch anymore!!!!!! :-)
  • The hard disk LED works! Great!
  • The DPAA Ethernet works after a replug of the network cable.
Basically the DPAA Ethernet works now. Unfortunately something is odd with the first RJ45 socket of the onboard DPAA Ethernet. I have to insert the network cable in strongly so that a signal transmission works. After a reboot or power-off I have to replug the network cable. Simply plugging it in is not enough. I have to put it in strongly. I can't use the second Ethernet port because there is a piece of plastic in front of the second RJ45 socket. The issue with displaying to much DPAA Ethernet interfaces is solved! I see only two DPAA Ethernet interfaces (eth0 and eth1).

Screenshot of Fienix Soar 3.0-20200426 with the RC3-2 connected via the first DPAA Ethernet interface to the network:

Image

Darren, many thanks for your work! We don't need the cyrus patch anymore! That's really great!

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.7

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.7

Post by Skateman »

Kernel 5.7 RC4 up and running on the AmigaOne X5000

Image

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

Re: Kernel 5.7

Post by xeno74 »

Skateman wrote:
Mon May 04, 2020 6:47 pm
Kernel 5.7 RC4 up and running on the AmigaOne X5000
Thank you very much for testing the RC4!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

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

Re: Kernel 5.7

Post by acefnq »

Christian
RC4 up and running fine. Thank you.

ace

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

Re: Kernel 5.7

Post by xeno74 »

acefnq wrote:
Tue May 05, 2020 12:05 pm
Christian
RC4 up and running fine. Thank you.

ace
Thanks a lot for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

Post Reply