我们使用的定制载板,有一个硬件看门狗,使用了GPIO13喂狗
但是在升级时时间太长可能会在UEFI阶段看门狗超时
所以需要在UEFI阶段时控制GPIO13喂狗,请问应该怎么操作?
Hi qiaowei,
Are you using Jetpack 6.0GA (R36.3.0)?
Do you want to use GPIO13 as GPIO or PWM to feed your watchdog?
我使用的是R36.3.0
是的,我需要在UEFI阶段使用GPIO13喂狗
What I mean is that how do you want to use GPIO13 for watchdog?
Control it High/Low as GPIO? Or output PWM signal?
Both output high/low and PWM signals can be feed to the watchdog
You can use edk2/EmbeddedPkg/Include/Protocol/EmbeddedGpio.h at r36.3.0-updates · NVIDIA/edk2 · GitHub protocol to configure the status of a GPIO.
And please refer to the example like edk2-nvidia/Silicon/NVIDIA/Drivers/TegraGpio/TegraGpioDxe.c at r36.3.0-updates · NVIDIA/edk2-nvidia · GitHub.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.