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:xeno74 wrote: ↑Sat Apr 25, 2020 3:33 amFYI: [RFC PATCH dpss_eth] Don't initialise ports with no PHY
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.