OrinNano在UEFI阶段控制GPIO关闭USB负载开关电源

我们设备使用3路USB3.0接口连接3台USB工业相机,单独使用1路5V供电,核心板使用另外1路5V供电。系统上电时USB接口的5V常开,必须核心板启动后才能使用GPIO控制相机供电开关。
现在想在Bootloader阶段关闭相机供电,核心板启动后再打开相机电源,图纸如下:


Hi what_time,

Are you using the devkit or custom board fro Orin Nano?
What’s the Jetpack version in use?

May I know the use case to disable the power in UEFI but enable it after kernel loaded?

Do you mean that you want to control GPIO in UEFI?

1、custom board
Jetpack version:R35 (release), REVISION: 6.0, GCID: 37391689, BOARD: t186ref, EABI: aarch64
2、yes,the use case to disable the 5V camera power in UEFI but enable it after kernel loaded

I would like to know why you want the camera power to be disabled in UEFI.

First, you can refer to AGX xavier with Jetpack 5.1.1:How do I get GPIO status in UEFI? - #3 by KevinFFF to get GPIO state in UEFI and you may need to write a custom GPIO utility for your use case.

因为我发现如果camera 的5V电源不关闭的话,疑似会影响OrinNano的GPIO电平(图中的VBUS_SW),导致无法从NVme SSD启动系统,BootManager启动选项里面只能看到USB3.0设备,无法发现NVme SSD

Have you confirmed about this?
If so, you can try to configure to disable 5V power for camera by default, and enable it after kernel boot.

Is the issue specific to your custom carrier board?

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