Recent Posts

Pages: [1] 2 3 ... 10
1
Trenz Electronic FPGA Modules / About SATA drive interface
« Last post by joseer on Today at 03:58:18 PM »
Hello,

We are interested to try a SATA SSD drive on the TEBF0808 board. It's clear the  data port but not sure how to connect the  power connector and/or what cable to use....do you have any reference design or documentation about this?

Thanks.
Best regards.
2
Hi John,

No problem at all. I'll keep that in mind thanks for the hint.

Best regards.
3
Hi,
sorry for late reply, I had some meetings yesterday.
Good to hear that you solved the problem.

Maybe one last hint:
Sometimes it can happens, that petalinux build environment doesn't recognized some changes. If you are not sure after you has changes something, it's sometimes helpful to clear the project (petalinux-build -x mrproper), before you generate the binary files again (but this takes more time).
It does not clear all generate files. On our templates I removed much more, which will be regenerated on HDF import. I add some notes here: https://wiki.trenz-electronic.de/display/PD/PetaLinux+TE-Template

br
John
4
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by joseer on October 16, 2019, 01:53:17 PM »
Hi,

After a bit more of tests and digging around the board setup/firmware, I realised that there was an inconsistency boot depending on how the board was started. So I traced down to a fsbl issue related.

I put back all default config in the DT (disabling suspending mode), build vivado HW export and open SDK, create a new app based on TE fsbl template and re-generate BOOT.bin, so basically, rebuild everything from scratch.

Everything seems to work fine so far. So it looks like I had an issue on the PS setup when fsbl was generated and the start up sequence was messed up.

Thanks for the support.

5
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by joseer on October 16, 2019, 10:59:39 AM »
Hi,

Yes, I'm agree, when we are on in the USB interface world + linux drivers, it could get a bit tricky....

I've done another test which it really doesn't make sense to me:

- I switched everything off (dev board, camera unplugged...etc) for a while, reconnect everything,  boot linux and the camera was not detected again and LED (D17) on.

- Switch dev board power off (keeping camera plugged), boot linux back, and camera is detected and LED (D17) off.

As long I'm keeping the camera physically plugged, (even having rest of cables disconnected) , when linux boots, it detects it. If I'm unplugging the camera, the first time OS boots it is not detected till it boots again.

The only obvious difference I can see so far between the two boards is that the  ultrazed one is not using a hub, but not sure how this would affect...could you please tell me what is the eeprom (U5) used for?

Thanks.



6
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by JH on October 16, 2019, 08:32:58 AM »
Hi,

It's hard to say if it makes trouble or not. It doesn't exist any guideline how to configure it correctly. And you did also not know which parameters from device tree are really used from linux drivers. Sometimes you find workarounds  and patches from Xilinx to get periphery running until they fix the problem with some newer vivado/petalinux version. That doesn't mean Xilinx is to blame or anybody else, the problem is that such a Soc is to configurable to find directly a working driver solution for all variants. Every changes on PS-IP is more or less a new system.

So when it works on your place, leave it as it is now.

I think will remove this parameter on the next reference design update.

br
John
7
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by joseer on October 15, 2019, 06:04:49 PM »
Hi John, thanks again for the help and support.

You are right, I think the issue is the "snps,dis_u3_susphy_quirk" option.

The ultrazed board system it's not disabling the suspend mode, the device tree is:

&dwc3_0 {
    status = "okay";
    dr_mode = "host";
    phy-names = "usb3-phy";
    snps,usb3_lpm_capable;
    phys = <&lane2 4 0 2 52000000>;
};

Test I've done:

- Modify the TEBF0808  DT:

 &dwc3_0 {
   status = "okay";
    dr_mode = "host";
    phy-names = "usb3-phy";
    snps,usb3_lpm_capable;
    phys = <&lane1 4 0 2 100000000>;
 };

 - Re-build petalinux and re-generate BOOT.bin.

And now it is detecting the camera fine (I test it only a few times), also the camera works as expected so far....

Keeping the above DT modification, would it be a problem or affect to the USB3 board/hub config.?




8
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by JH on October 15, 2019, 04:56:51 PM »
Hi,
I think FSBL, uboot and linux is generated by yourself and not our prebuilt version?
timestamps are from
-->  Oct 15 2019  -  11:42:28 FSBL
--> Oct 15 2019 - 10:29:13 +0000) UBoot
--> Oct 15 09:02:01 Linux kernel

but no matter, your boot log looks OK.

USB HUB has an suspend led
Position 14 (Designator D17) on the picture:
https://wiki.trenz-electronic.de/display/PD/TEBF0808+Getting+Started#TEBF0808GettingStarted-Figure_Overview
What's the LED status with your camera?
LED goes off, when Linux recognised device(with usb stick, led goes off, nearly on the end of the boot process). Maybe the camera has some problems with the suspend mode of the usb hub during boot process? So it still sleeping....

we has disabled suspend on device tree for the xilinx core:
https://wiki.trenz-electronic.de/display/PD/TE0808+StarterKit#TE0808StarterKit-DeviceTree
https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/usb/dwc3.txt

But this influence only the communication between ZynqMP and usb-hub. And is not a USB Hub configuration.
Do you know if on your Ultrazed-ev kit linux used also "dis_u3_susphy_quirk"?

PS: I checked shortly Xilinx Wiki, it seems Xilinx has add new features on 19.1 linux drivers
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841729/Zynq+Ultrascale+MPSOC+Linux+USB+device+driver
Maybe you should also try out to use 19.1?

br
John







9
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by joseer on October 15, 2019, 03:45:28 PM »
Hi,

We used a Ultrazed-ev kit which is also using a single USB3 GT lane but without hub (as far as I remember). Petalinux and vivado versions are the same (2018.3). And I did check the USB/USB3 kernel drivers/options and looks like are setup in the same way....I'll double check it again for some case I missed something...

So just to clarify, the camera works, the problem is that if it is plugged when petalinux boots is not detected till I unplug and plug it back again which I don't understand...could it be caused by the USB3 hub that it is not initialised at time?

Our final target is to build a small carrier board based on TE0803 and 4xUSB3 support (without CPLD).

Also I forgot to mention that we are using the two USB3 ports on the carrier board, (we've got not enclosure).

Please find attached the complete boot log.

Best regards
10
Trenz Electronic FPGA Modules / Re: TEBF0808 + TE0803 unable to initialize libusb: -99
« Last post by JH on October 15, 2019, 03:26:37 PM »
Hi,
we did not optimise linux to support everything.
So it can also happens some problem with drivers for your camera.

You say other zynqMP eval board. Which one?
Which kind of linux settings are activated there? Which vivado petalinux is used there?
We use only one lane for USB3 and also an USB3 hub. How is USB3 connected on your other eval board?

If only your camera does not work in first boot up, it's hard to say what's the reason.

 I will check one time your boot log, if I can see something.
PS: your boot log is not complete part of the FSBL and uboot is missing. I need complete log

br
John
Pages: [1] 2 3 ... 10