We are working on bringing up an Orin custom board. Currently, we are using JetPack 6. Here are some hardware details that could help us with the debugging process:
Feature
Orin Eval Kit Description
Custom AGX Description
Orin Eval Kit
Custom AGX
Orin Pins affected
Button MCU
PushButton switches, much of this feeds into the DEBUG MCU
FPGA handles the PB switch functionality
Si Labs 8-bit MCU controlled
FPGA
POWER_BTN(L61), MODULE_POWER_ON(L54)
DEBUG MCU, USB Type C port controller, USB PD controller
DEBUG port USB connector connects to MCU
UART2, UART7, MCU_I2C, NVJTAG_SEL, NVDBG_SEL not supported, SYS_RESET_N, FORCE_RECOVERY_N handled by FPGA
Microchip 32-bit MCU
No DEBUG port, No USB PD support, No USB 3.0, FPGA
In our testing process, we flash the SOM from the dev kit. We see the NVIDIA logo and get to a desktop every time. And then we transfer the Orin to the custom board.
However, the custom board is not booting up with success so we had to update the debug UEFI binary using the the r36.3.0 combo to get more logs. Here is the log file:
Yes, right now the custom board can’t get flashed. We are addressing this right now in order to try to flash using the custom board
This is the log before enabling UEFI log. It gets stuck and that is the reason why we enabled the UEFI log custom_board_boot_2024-07-24_0.log (73.7 KB)
We found that the issue was related to the power supply. No, the Orin custom board can boot using JetPack 6. Thank you for the support provided!
On the other hand, we are currently trying to solve the flash issue since the custom board can’t get flashed. We are dealing with the USB configuration at the hardware level. The USB in the carrier board is setup as a Type A (host) and we think we need to change the USB type to device mode. However, from our research, we found in the following post Recovery mode using USB 3.2 for AGX Orin - #9 by WayneWWW that
Only USB0 port could be “recovery mode” port. But every usb port on the board could be used in device mode.
Recovery mode port is not fully equal to device mode port.
So we have some doubts about how the USB port should be managed. We would like to know if there are any complications with making it a peripheral device when hooked up to an external host (PC). You can check the hardware design for the USB 3 type A in the following PDF file:
A usb type A port by its nature could not be in device mode directly.
The reason a usb type A on USB0 could be a flash port is because recovery mode is triggered by hardware pin.
Once your board finishes the flash and enters kernel, it is back to standard usb driver behavior and usb type A cannot work as device mode directly.
Such case will affect initrd flash tool and it means if you want to directly flash nvme drive on your board, it will have problem.
Of course there are still method to “force” the port to always be device mode, but that does not follow the standard driver thus we don’t suggest that.
You need to clarify what do you want to do here exactly so that we can tell if it is okay. Reviewing a type A port schematic does not provide much help here.
You can also file a new topic as this one seems not related to original issue anymore.