USB functon 无法在JetPack6.0 36.3上无法识别USB 控制器(Uefi阶段USB键盘可以正常使用)

请使用下面的模版提问(创建话题后勾选相应的选项):
Jetson 模组
Jetson AGX Orin 64GB

Jetson 软件
JetPack 6.0

SDK Manager 管理工具版本
2.1.0
其他

问题描述
USB functon 无法在JetPack6.0 36.3上无法识别USB 控制器(Uefi阶段USB键盘可以正常使用),使用JetPack5.14 的版本下载的Linux 可以正常使用USB 功能

系统设置:
1>Carrie Board : No EEPROM(0x56)
2>Carrie Board: No MBEB PHY

参数修改:
1:修改p3701.conf.common
修改ODMDATA: ODMDATA=“gbe-uphy-config-0,hsstp-lane-map-3,hsio-uphy-config-0,nvhs-uphy-config-0”;
2》修改 flash size=0x00

硬件USB 框图:


请问我该如何debug这个问题?
Boot+Kernel Boot log:
V6.0_V2_JC_NoUSBBoot_INFO.txt (140.4 KB)

you are working with devkit or private carrier board with AGX Orin module?
what’s the output of lsusb?
last error seen is
ucsi_ccg 1-0008: i2c_transfer failed -121

If you are using your own carrier board, without ccg chip, you should update the kernel DTB according to hardware design.
Take a look at Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide 1 documentation and it may help.

br
Chenjian

谢谢你的解答!我刚接触Jestson Orin平台。不太熟悉,在我修改dts文件前,我有3个问题想请教你一下,
1>Orin 平台的USB2.0 有4个Port 和USB3.0 有3个Port,USB2.0 Port和USB3.0的Port之间 有严格的配对关系吗,比如说下面的配对关系。
USB2.0 Port 0必须和USB3.0 Port0 配对,组成一个USB 3.0的TypeA接口
USB2.0 Port 1必须和USB3.0 Port1 配对,组成一个USB 3.0的TypeA接口
USB2.0 Port 2必须和USB3.0 Port2 配对,组成一个USB 3.0的TypeA接口
我看参考设计原理图的时候,USB2.0 Port0和USB3.0 Port1 组合在一个TypeC接口中
USB2.0 Port1和USB3.0 Port0 组合在一个TypeC接口中。
我想知道如果一个USB3.0的USB转网络的芯片上面的USB2.0和USB3.0 应该怎么跟Orin上面的USB2.0 和3.0 对应。
2>修改USB的和PCIE的dts文件,我是不是应该按照下面的步骤来
1.下载kernel的源码包,
2.修改tegra234-p3737-0000+p3701-0005-nv.dts文件中的USB的部分
3.make dtb生成dtb文件
4.将生产的dtb文件 * tegra234-p3737-0000+p3701-0005-nv.dtb 拷贝到 Linux_for_Tegra/kernel/dtb中
5.更新系统:./flash.sh jetson-agx-orin-devkit mmcblk0p1

3>看文档,好像Uefi 会支持ACPI和DTB 2种模式,好像默认使用这个dtb模式,在flash的时候,uefi会使用这个修改后的tegra234-p3737-0000+p3701-0005-nv.dts文件,还是会使用kernel_tegra234-p3701-0005-p3737-0000.dtb。我看rootfs里面有一个kernel开头的dtb文件。我想知道他们是怎么调用的,或者说这两个文件之间有什么关系。如果我直接使用dtc工具修改OS里面的kernel_tegra234-p3701-0005-p3737-0000.dtb这个文件,会起作用吗?

  1. Still you can check L4T DG, Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide 1 documentation
  • nvidia,usb2-companion: USB2 port (0/1/2/3) to which the port is mapped.

A port for USB3 must have this property.
You need not care about the USB device attached, and just focus on USB host port design. Whether a ‘USB3.0的USB转网络的芯片’ or other USB device does not matter.

  1. yes, that’s a fully fresh step.
  2. You can take a look at extlinux.conf in device file-system. if FDT is specified, the file pointed will be loaded as kernel DTB. Also direct editing that file also works. If not, the UEFI will load kernel DTB from partition. Please note that the difference between kernel DTB and UEFI dtb, the latter is attached with UEFI bin.
    For your case, you can focus on kernel DTB first.

br
Chenjian