Ssd boot on custom board with xavier nx

Hi,
I am trying to boot custom board with xavier som from ssd.
I am following https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0PI0HA for the same. I am not able to flash the ssd. Is there any additional changes to be done for custom board?

Regards
deepika.s

  1. Is there any error log to share?

  2. Does that nvme drive get detected on your board when flashing to nvme?

  3. Same question but for devkit case.

Thanks for your response @WayneWWW ,

  1. Have attached the log obtained during flashing of custom board with custom images - custom_log.txt
  2. Yes the nvme drive gets detected on the custom board
  3. nvidia image with devkit works fine

From the log it is observed that on devkit flashing is successfully but it does not cross beyond
" Waiting for target to boot-up…" in custom board.
Is there any pointers to debug this issue

Regards
deepika.s
custom_log.txt (6.7 KB)

Hi @WayneWWW

To add on, the nvidia based custom board while trying to use the nvidia setup ( 32.6L4T with secure boot ) flashes successfully and boots fine from ssd.
The issue is while using custom dtb and kernel.
Is there any kernel or dtb changes specifically required for booting from ssd?

Regards,
deepika.s

What did you change in the dtb? The usb0 device mode is still required for initrd to flash other devices.

Thanks for your response @WayneWWW ,
The usb0 device mode works as expected in the custom board.

Regards,
deepika.s

Could you clarify the difference between your custom board and nv devkit? What is changed in the device tree?

Thanks for your response @WayneWWW ,

In addition with nvidia device tree, additional interface entry like fpd,etc are added in the dts .

Regards,
deepika.s

Thanks for the support @WayneWWW ,
The issue was with custom dtb. Now I am able to boot from ssd on custom board.

Regards,
deepika.s

Could you share what is your change in the custom dtb that causes the problem?

Hi @WayneWWW ,

In the custom dts when the following lines were removed, the issue was resolved

serial@c280000 {
compatible = “nvidia,tegra186-hsuart”;
status = “okay”;
};

But I am not able to understand how this affects the ssd booting.
If you have any opinion please let me know.

Regards,
deepika.s

Hi @deepika.s

We don’t think this interface is needed for initrd flash to run.

Could you check if this interface is affecting your “booting” instead of affecting the initrd flash?