Jetpack6.2 UEFI有时会启动异常

我们使用的是AGX ORIN 32G模组,我们自研的主板上在PCIE C7外挂了一个SATA控制器,现在测试发现在有外接SATA盘时会导致系统无法启动,通过看打印信息,没有发现报错,UEFI无法正常显示,但是奇怪的现象是不是所有的SATA盘都有这种现象,我现在需要排查导致这种现象出现的原因,我们希望即使SATA盘异常,在外接SATA盘的情况下,也不能影响系统正常启动;另外我想使用UEFI_debug.bin(已经编译好了)烧录到主板上,查看具体的打印信息,我只希望烧录这一个固件,有没有什么命令?

Hi 2799029655,

What’s the Jetpack version in use?

Please share the full serial console log in this case.

Could you also refer to 64G AGX Orin boot Order Getting Reset (JetPack 5.1.1 - L4T r35.3.1) - #9 by KevinFFF and check if it could help for your case?
I suspect the new connected SATA drive occupying the first boot device by default.

当前使用的是jetpack6.2 我们有怀疑是启动项的问题,现在在修改uefi源码,下面是异常和正常的日志信息

外挂SATA盘不启动日志.txt (38.8 KB)

不外挂SATA盘正常启动日志.txt (79.6 KB)

uefi源码中修改成只有emmc编译生成的dtbo替换到kernel/dtb路径后重新烧录系统,为什么没有修改没有生效啊,在uefi界面下启动项里面还是能看到U盘等其他设备;除了修改这个文件外是否还需要修改其他文件

Is the boot hanging in UEFI during boot? Have you tried waiting for the longer time?
If so, we would need the debug UEFI binary to investigate the issue further.

The configuration is used to configure the boot order only and it is valid for first boot. If the driver has been probed correctly, other boot devices will still be listed in boot menu.

Have you tried this to configure the new boot device to the bottom of boot order?
In this case, eMMC should always be the first boot device even if you connect other boot device.

1、首先我需要更正我的描述,UEFI更改成EMMC后,系统烧录后UEFI下面boot启动项有变化,EMMC是第一项,但是我如果插入U盘或者SATA盘等外部存储设备,再进入UEFI的boot启动项查看,U盘或者SATA盘等外部设备在EMMC之前。

2、我把UEFI更换成debug版本后,之前导致系统无法正常启动的SATA盘能正常进入系统了,更换成release版本后又能复现到无法正常启动的现象。

3、我现在的处理方法是把uefi下加载的设备树中把PCIE C7这个通道disabled,现在测试之前导致异常的SATA盘能正常启动了

4、我们现在怀疑PCIE部分,但是debug版本的UEFI又复现不到问题,请问下要如何排查

請根據 64G AGX Orin boot Order Getting Reset (JetPack 5.1.1 - L4T r35.3.1) - #9 by KevinFFF 裡面的步驟設定讓新的設備放到boot order的最後(Bottom),這樣你重新插拔它後,就仍會優先選擇從EMMC開機

這行為不是預期的,你有試過使用自己編譯的release(uefi_jetson_RELEASE.bin)和debug(uefi_jetson_DEBUG.bin)版本的UEFI比較差異嗎?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.