Page 6 of 11

Re: Kernel 5.7

Posted: Sat May 02, 2020 4:19 pm
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

Re: Kernel 5.7

Posted: Sat May 02, 2020 6:48 pm
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

Re: Kernel 5.7

Posted: Sat May 02, 2020 8:58 pm
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!

Re: Kernel 5.7

Posted: Sat May 02, 2020 9:39 pm
by daz
Skateman wrote: Sat May 02, 2020 8: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

Re: Kernel 5.7

Posted: Sun May 03, 2020 3:25 pm
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

Re: Kernel 5.7

Posted: Mon May 04, 2020 3:21 pm
by xeno74

Re: Kernel 5.7

Posted: Mon May 04, 2020 7:47 pm
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

Re: Kernel 5.7

Posted: Tue May 05, 2020 8:15 am
by xeno74
Skateman wrote: Mon May 04, 2020 7:47 pm Kernel 5.7 RC4 up and running on the AmigaOne X5000
Thank you very much for testing the RC4!

Re: Kernel 5.7

Posted: Tue May 05, 2020 1:05 pm
by acefnq
Christian
RC4 up and running fine. Thank you.

ace

Re: Kernel 5.7

Posted: Tue May 05, 2020 2:28 pm
by xeno74
acefnq wrote: Tue May 05, 2020 1:05 pm Christian
RC4 up and running fine. Thank you.

ace
Thanks a lot for testing!