Jetson Pack 5.1.1&35.1.1 how to open C9 PCIE*1line?

Hi, I have modified the following file: “tegra234-p3768-0000-a-0-pcie. dtsi”, but it is not work

改odmdata, 確認pinmux 給log.

odmdata 文件在哪里修改呢?我并没有找到该文件,我仅仅下载了Driver Package BSP Source,解压public_src压缩包后没有发现这个文件

pinmux 修改后生成了3个dtsi 我如何修改并替换呢

odmdata是一個欄位. 在你flash的board config裡面

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/HR/JetsonModuleAdaptationAndBringUp/JetsonOrinNxNanoSeries.html?highlight=odmdata#uphy-lane-configuration

pinmux dtsi的檔案在你BSP package裡面Linux_for_Tegra/bootloader底下

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/Bootloader/PinmuxGpioConfig.html?highlight=pinmux

1 Like

另外, odmdata改了之後如果device tree沒有更新到, 會沒辦法boot.

可以直接修改p3767.conf.common文件吗,我看文档中说明不要直接修改;另外想问下必须通过烧录系统的方式更新所有的设备树和相应配置吗?因为当前系统比较重要,能否通过替换文件去更新?不要擦除应盘内的系统

设备树编译后生成的dtb文件替换Kernel中的dtb,同时将生成的3个dtsi文件也粘贴到Linux_for_Tegra/bootloader/t186ref/BCT文件夹中以及Bootloader中,配置文件如下:


在使用烧录命令后:
Screenshot from 2024-10-21 22-21-37
系统也成功烧录,然后开机:

但是!!!! 在开机配置完用户密码直到最后一步,等待所有的区域设置完成,系统卡死在桌面,鼠标键盘仍有反应,但不进入系统,无任何用户界面,重启后又重新配置也是同样的反应,以下是我的烧录log文件,请帮我分析下可能会是什么原因,感谢!
flash_1-10.1.4_0_20241021-212841.log (41.4 KB)

所使用的定制载板存在3个以太网接口,其中一个是核心板引出的千兆以太网接口,另外两个千兆以太网使用PCIE2与PCIE3通过芯片RTL8111F转出,因此需要打开C9-PCIE 1line。我注意到系统是存在RTL8111F的驱动的,当刷入修改的配置后,系统无法进入卡在桌面时,将网线插入PCIE2与PCIE3转出的网口后,系统右上角显示“正在连接eth1或eth0”,但当我插入核心板引出的千兆以太网接口时,系统完全卡死,鼠标键盘无法使用,原因我猜测会不会与RTL8111F芯片的数量有关?另外,附上我修改过后的所有文件,供参考!!
p3768-0000+p3767-0000.conf.txt (3.7 KB)
padvoltage.dtsi.txt (2.4 KB)
pinmux.dtsi.txt (65.8 KB)
tegra234-p3768-0000-a0.dtsi.txt (7.1 KB)
tegra234-p3768-0000-a0-pcie.dtsi.txt (1.2 KB)
gpio.dtsi.txt (3.7 KB)

补充说明:硬件应该不存在问题,因为当关闭C9-1line,即烧入官方的默认系统时,C7工作在两线模式下,这时PCIE2通过芯片RTL8111F转出的网口是可以正常工作的,而PCIE2与PCIE3的电路完全一样!!!

請抓device端的log… 看下來給了一堆資料但是最重要的這份log沒有提供
不要用什麼螢幕上的狀況來debug. 這種方法根本在盲猜. 你就是得用uart serial console來確認狀況.

另外, 你的kernel dts不用這樣給一堆dtsi. 你只要把最後的dtb用dtc tool轉回dts之後貼上來就好了
沒有人能保證你這些dtsi到底有沒有真的產生效果. 只有這種最後的dtb轉回來的才能確定…

这是我的dts文件,稍等附上串口日志
tegra234-p3767-0000-p3768-0000-a0.dts.txt (429.0 KB)

这是我的串口日志,请帮我分析一下
uart_log.txt (127.9 KB)

(1)进入系统配置之后,系统卡死在桌面,进不去系统,一直在等待;
(2)有时候卡死在UEFI界面下,这种情况偶尔发生
以下是实际视频

燒錄之前先去你的Linux_for_Tegra裡面跑Linux_for_Tegra/tools/l4t_create_default_user.sh.

他可以幫你跳過上面這段

另外目前的log已經寫了C9有偵測到裝置了

[   11.013912] tegra194-pcie 140a0000.pcie: Using GICv2m MSI allocator
[   11.021057] tegra194-pcie 140c0000.pcie: Using GICv2m MSI allocator
[   11.029360] tegra194-pcie 140c0000.pcie: host bridge /pcie@140c0000 ranges:
[   11.036549] tegra194-pcie 140c0000.pcie:       IO 0x002c100000..0x002c1fffff -> 0x002c100000
[   11.045243] tegra194-pcie 140c0000.pcie:      MEM 0x3828000000..0x382fffffff -> 0x0040000000
[   11.053925] tegra194-pcie 140c0000.pcie:      MEM 0x3540000000..0x3827ffffff -> 0x3540000000
[   11.063456] hid-generic 0003:413C:2105.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-3610000.xhci-3.4.1/input0
[   11.155495] usb 1-3.4.2: new low-speed USB device number 9 using tegra-xusb
[   11.167494] tegra194-pcie 140c0000.pcie: Link up
[   11.175542] tegra194-pcie 140c0000.pcie: PCI host bridge to bus 0009:00

然後我再說明一下, 剩下的討論(系統卡住/沒辦法設定)基本上已經離題了
建議你可以開一個新的topic然後我們到哪邊討論

關於這些問題我是有看到一個不尋常的error

[   12.669255] systemd[1]: Configuration file /lib/systemd/system/blockdev@.target is marked executable. Please remove executable permission bits. Proceeding anyway.
[   12.684255] systemd[1]: Configuration file /lib/systemd/system/blockdev@.target is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
[   12.700527] systemd[1]: Configuration file /lib/systemd/system/shutdown.target is marked executable. Please remove executable permission bits. Proceeding anyway.
[   12.715814] systemd[1]: Configuration file /lib/systemd/system/shutdown.target is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
[   12.731925] systemd[1]: Configuration file /lib/systemd/system/local-fs.target is marked executable. Please remove executable permission bits. Proceeding anyway.

不太確定你當初怎麼準備BSP的. 看起來有很多檔案的權限跟我們預期的不太一樣

我这边跑了上面这个命令,刷入系统后确实跳过了用户设置界面,但是目前系统开机黑屏,插入鼠标和键盘有反应,大小写锁定都可以设置,但是无任何显示,我会新开一个话题并附上uart_log

我再確認最後一次. 你的pcie C9從console端目前可以了嗎?

是的,已经可以了,PCIE挂载的网口已经在工作了,我新开了一个话题,Jetson Orin NX 定制载板开机黑屏无显示