News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0802 SATA configuration

Started by pablo_controlpaths, October 01, 2020, 07:45:28 PM

Previous topic - Next topic

pablo_controlpaths

Hello,
I am trying to connect a SATA SSD to the m.2 connector of TE0802 board, but, when linux boots, a repetitive message appear that says
ata1 sata link down (sstatus 1 scontrol 330)
On vivado, I have enabled the SATA connection to lane0, and I am using the refclock0 at 150mhz.
My system-user.dtsi
/include/ "system-conf.dtsi"
/ {
};

#include <dt-bindings/phy/phy.h>

&sata {
status = "okay";
phys = <&lane0 PHY_TYPE_SATA 0 0 150000000>;
};

&serdes {
status = "okay";
};

Is anything wrong? or maybe there are any else that I have to add?
Thanks
Greetings

JH

Hi,
we offer reference design with documentation, sources and prebuilt binaries:
https://wiki.trenz-electronic.de/display/PD/TE0802+Test+Board


But TE0802 hasn't any SATA connector.

Can it be that you want to use M.2 SSD PCIe?
https://wiki.trenz-electronic.de/display/PD/TE0802+TRM#TE0802TRM-MainComponents
In this case you must use correct M.2 Card. You must use this one which PCIe Interface, we have some lists with tested cards:
https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=105162633

Br
John

pablo_controlpaths

Hello, thanks for reply.

I have connected a SATA SSD to the m.2 connector. Then, on block design, I have disabled the PCI on lane 0, and I have enabled for this lane the SATA interface. I think I can do that without problems, isn't right?

The SSD I am using is this Samsung SSD0E38395 MZ-NTE2560.

Greetings.

JH

QuoteI think I can do that without problems, isn't right?
maybe, but I would not say without problems.  It's not designed for also this M2 Slot is PCIe not Sata --> I know some keyings can be theoretical compatible and ZynqMP supports both. But I would still suggest to use PCIe memory card from the list from my last post.

But why try out still SATA, check also selected Reference CLKs and what's really on the GTR REF CLK Pin.
See schematics and TRM:
https://shop.trenz-electronic.de/en/TE0802-02-2AEU2-A-MPSoC-Development-Board-with-Xilinx-Zynq-UltraScale-ZU2-and-LPDDR4?path=Trenz_Electronic/Development_Boards/TE0802/REV02/Documents
https://wiki.trenz-electronic.de/display/PD/TE0802+TRM#TE0802TRM-ClockGenerator

br
John



pablo_controlpaths

As I see, the M.2 socket is connected to the refclk0, like my device tree. I think I used the words without problem very easily. The only reason to use a sata SSD is because I had one on my lab, but I will use a PCI of the list instead.

Thanks!

JH

Hi,
in your device tree (and I think also in your PS IP), you has setup 150MHz REFCLK, but the REFCLK which is available is 100MHz.

br
John