I want to know what is the significance of tegra_xusb_firmware . Currently we have a custom board(similar to Jetson) which is unable to detect the usb 3.0 . The only change is the USB2.0 port, which in our case is USB2P0 in case of jetson it is USB2P2 . I have modified the pad configurations and usb_port_monitor_info to ‘1’ to select the corresponding port but i see that there is no response coming from the firmware and still the port acts as USB2.0 .
Do we need to change the firmware or the current firmware would suffice? Any help would be really appreciated.
Within Jetson the firmware file loaded is tegra124-pm375, and within that file a block specifies “xusb@70090000”. The number is the controller address, listed in the TRM as “XUSB_HOST”. This line within that block is probably what is of interest:
nvidia,lane_owner = <4>; /* USB3P0 USB3P1 */
As mentioned by Kulve, only one of the several USB controllers are capable of USB3…the address used in the TRM for XUSB and the base physical address in both TRM and tegra124-pm375 tie this firmware block to the proper USB3 controller. As you may have found from information on enabling USB3 there is a kernel option which is also required:
# Enabled full-sized-A connector as USB2:
usb_port_owner_info=0
# Instead enabled full-sized-A connector as USB3:
usb_port_owner_info=2
Next to usb_port_owner_info in kernel parameters you will see “lane_owner_info=6”. This never changes on Jetson when switching between USB2 and USB3, but this is apparently what corresponds to the firmware section you’re looking at.
I have not looked deep enough to be positive about what I’m about to suggest, but it seems that port owner and lane owner combine to specify logical controllers and pinmux. Without the firmware these parameters would be ignored. Unfortunately I do not know any of the details of this interaction (eventually it is something I’m going to need to know myself).
Thanks for the information. I am using same USB3.0 port as Jetson. So the same lane owner should be working for our custom board also.
Modified the usb_port_owner_info = 1 which will select USB2.0 port 0 . I took the logs from Jetson and our custom board and compared the logs. I could see that there is no response coming back from the controller . Please find the attached logs for reference.
Also modified the pad configurations as indicated by TRM xusb@70090000 {
/* nvidia,uses_external_pmic;
nvidia,gpio_controls_muxed_ss_lanes; /
nvidia,gpio_ss1_sata = <0>;
nvidia,portmap = <0x701>; / SSP0, USB2P0, USBP1, USBP2 /
nvidia,ss_portmap = <0x70>; / SSP0 on USB2P00 - modified /
nvidia,lane_owner = <4>; / USB3P0 USB3P1 /
nvidia,ulpicap = <0>; / No ulpi support. can we remove */
status = “okay”;
};
Not sure why the interrupt is not getting served . Any help would be really appreciated.