
Hi Phil,
On Tue, Dec 22, 2015 at 7:25 AM, Phil Sutter phil@nwl.cc wrote:
This adds support for the MV78230 based DS414 NAS by Synology. The relevant bits have been extracted from the 'synogpl-5004-armadaxp' package Synology kindly published, garnished with a fair amount of trial-and-error.
Sadly, support is far from perfect. The major parts I have failed in are SATA and XHCI support. Details about these and some other things follow:
Device Tree
The device tree file armada-xp-synology-ds414.dts has been copied from Linux and enhanced by recent U-Boot specific changes to armada-xp-gp.dts.
SATA Support
There is a Marvell 88SX7042 controller attached to PCIe which is supported by Linux's sata_mv driver but sadly not U-Boot's sata_mv. I'm not sure if extending the latter to support PCI devices is worth the effort at all. Porting sata_mv from Linux exceeded my brain's capacities. :(
XHCI Support
There is an EtronTech EJ168A XHCI controller attached to PCIe which drives the two rear USB3 ports. After a bit of playing around I managed to get it recognized by xhci-pci, but never was able to access any devices attached to it. Enabling it in ds414 board config shows that it does not respond to commands for whatever reason. The (somewhat) bright side to it is that it is not even supported in Synology's customized U-Boot, but that also means nowhere to steal the relevant bits from.
Ah, I guess you were encountering the same xHCI driver issue that was seen on Intel's hardware. I've posted a patch series [1] that fixed all of these and I believe it should work on your hardware too.
[snip]
[1] http://patchwork.ozlabs.org/patch/776725/
Regards, Bin