The ADB device is not yet found online on custom board

Hi NV,

I flashing Jetpack 7.1 to my Thor custom board (without EERPOM),at first time I use below command to flash ,and result was good:
sudo SKIP_EEPROM_CHECK=1 BOARDID=3834 BOARDSKU=0008 ./l4t_initrd_flash.sh jetson-agx-thor-devkit internal

success.txt (5.9 MB)

And then I want to enable PCIe C4 . So I ref [Link] to edit tegra264-bpmp-3834-0008-4071-xxxx.dtb、jetson-agx-thor-devkit.conf、tegra264-p4071-0000.dtsi、tegra264-mb1-bct-pinmux-p3834-xxxx-p4071-0000.dtsi

PCIe_C4_enable.zip (14.7 KB)

After build code finish then run flash command like above and face the topic mentioned error:

fail.txt (471.1 KB)

So I ref [1] 、[2]、[3] to fix, but the error still same.

What is the USB design on USB2-0 on your board? Looks like not a valid design.

Dumping the UART log might confirm this.

Hi @WayneWWW ,

Thanks for reply, below was my custom board log when I in flash process:

flash_fail.txt (71.0 KB)

And I test the same way on thor devkit, the result fail too. We conducted this test to demonstrate that our custom carrier board strictly follows the reference design.

Since the Devkit is experiencing the exact same issue, it suggests that our hardware design for USB2-0 is functionally correct and not the root cause of the problem.

uphy0-config = <0x07>; –> <0x06>

uphy1-config = <0x07>; –> <0x08>

Hi,

The error log indicates problem from bpmp. Typical problem with different UPHY setting.

I notice you posted the uphy change you did. So what you did here is you changed the UPHY setting and then flash got failure?

What I/O do you expect on your custom board?

Hi @WayneWWW ,

I want enable PCIe C3 (default is UFS Mode uphy0-config = <0x07>) too, so I edit <0x07> to <0x06> , my expect I/O on my custom board was include two PCIe channel can use.

please check if you missed this.

Hi @WayneWWW

I have confirmed that this change was made. You can find it in the jetson-agx-thor-devkit.conf file, which is part of the PCIe_C4_enable.zip I shared at the beginning of our chat.

Thanks!!

could you make your change one by one instead of modifying all of them altogether and see which part goes into the boot crash?

I mean for example, adjusting the UPHY0 first, flash and see the result. But not configuring UPHY0 and UPHY1 at same time.

Hi @WayneWWW ,

Ok, I will change one by one instead of modifying all of them to see which part goes into the boot crash. below is my test only modify one set at one time and flash.

Use a clean BSP to test~

  1. uphy0-config = <0x06> (default was <0x07>)
    (1)tegra264-bpmp-3834-0008-4071-xxxx.dtb、(2)jetson-agx-thor-devkit.conf、(3)tegra264-p4071-0000.dtsi
(1)
$ cd Linux_for_Tegra/bootloader/generic
$ dtc -I dtb -O dts -o tegra264-bpmp-3834-0008-4071-xxxx.dts tegra264-bpmp-3834-0008-4071-xxxx.dtb
$ nano tegra264-bpmp-3834-0008-4071-xxxx.dts ## only modify  uphy0-config = <0x07>; to  <0x06>
$ dtc -I dts -O dtb -o tegra264-bpmp-3834-0008-4071-xxxx.dtb tegra264-bpmp-3834-0008-4071-xxxx.dts
(2)
$ nano jetson-agx-thor-devkit.conf
## UPHY_CONFIG="tegra264-mb1-bct-uphy-lanes-p4071-0000.dts"; --> UPHY_CONFIG="";
(3)
$ nano tegra264-p4071-0000.dtsi
## PCIe C3 status = "disabled"; --> status = "okay";

## And Flash
$  sudo SKIP_EEPROM_CHECK=1 BOARDID=3834 BOARDSKU=0008 ./l4t_initrd_flash.sh jetson-agx-thor-devkit internal

(1)


(2)
image

(3)
image

Resault → OK (PCIe C3 can use) and pass the flash process.

  1. uphy1-config = <0x08> (default was <0x07>)
    (1)tegra264-bpmp-3834-0008-4071-xxxx.dtb、(2)jetson-agx-thor-devkit.conf、(3)tegra264-p4071-0000.dtsi
(1)
$ cd Linux_for_Tegra/bootloader/generic
$ dtc -I dtb -O dts -o tegra264-bpmp-3834-0008-4071-xxxx.dts tegra264-bpmp-3834-0008-4071-xxxx.dtb
$ nano tegra264-bpmp-3834-0008-4071-xxxx.dts ## only modify  uphy1-config = <0x07>; to  <0x08>
$ dtc -I dts -O dtb -o tegra264-bpmp-3834-0008-4071-xxxx.dtb tegra264-bpmp-3834-0008-4071-xxxx.dts
(2)
$ nano jetson-agx-thor-devkit.conf
## UPHY_CONFIG="tegra264-mb1-bct-uphy-lanes-p4071-0000.dts"; --> UPHY_CONFIG="";
(3)
$ nano tegra264-p4071-0000.dtsi
## PCIe C3 status = "disabled"; --> status = "okay";

## And Flash
$  sudo SKIP_EEPROM_CHECK=1 BOARDID=3834 BOARDSKU=0008 ./l4t_initrd_flash.sh jetson-agx-thor-devkit internal

Resault → Fail log(
uphy1(0x08).txt (200.6 KB)
)

Hi,

The difference between #7 and #8 config in uphy1 is only the MGBE setting.

Do you expect to use a 25GB setting here?

Hi @WayneWWW ,

The difference between #7 and #8 config in uphy1 is only the MGBE setting.
–>You are correct. In that case, is this a bug in Jetpack 7.1? Or could it be a configuration issue on my end, either in hardware or software?

Do you expect to use a 25GB setting here?
→ Yes, I would like to use 25GB setting on my custom board.

Thanks!!

Hi Sam,

Please check our developer guide to fully configure the MGBE to 25MGBE mode and see if it could bypass your error.

Hi @WayneWWW ,

Following the guide to configure 25MGBE mode fixed the problem, thanks!"

So for Jetpack 7, is it mandatory to ensure every single configuration is set correctly in the BSP to have a successful flash? If any part is missing, is that what causes the ADB-related errors?

Thanks!!

Just want to clarify that “ADB device is not yet found online” is just a generic error.

It only indicates one thing that “this device is not able to boot up”.

The configuration should be always correct set no matter what BSP version you are using.