[35.3.1] cannot flash 35.3.1 to Orin NX SOM with Xavier NX Devkit(NVMe)

Hi,
I would like to build and flash 35.3.1 to Orin NX SOM with Xavier NX Devkit(NVMe).

  1. I modified flash_l4t_external.xml from type=“externel” to type=“nvme”
  2. I used the command: sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs p3509-a02+p3767-0000 nvme0n1p1
  3. After success build, I used the command to flash the image:
    sudo ./tools/kernel_flash/l4t_initrd_flash.sh --erase-all --flash-only --showlogs p3509-a02+p3767-0000 nvme0n1p1

However, It fails, and shows “Error flashing non-qspi storage”

Please refer to the attached log. It includes build log and flash log. Thanks.
console_log_20230328.txt (81.3 KB)
log_20230328.txt (260.2 KB)

Have you tried to use the default command instead of using your own?

Hi, I can use 35.2.1 to build and flash, but fail on 35.3.1.
I used the default command as following and it fails as well:

  1. I used the command: sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal
  2. After success build, I used the command to flash the image: sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --showlogs p3509-a02+p3767-0000 nvme0n1p1

However, It fails, and shows “mount.nfs: access denied by server while mounting”

console_log_v1_20230330.txt (81.0 KB)
log_v1_20230330.txt (267.7 KB)

For 35.3.1, please use the jetson orin nano board config instead. Even in Orin NX case.

Hi, I use the jetson orin nano board config on my Orin NX SOM with Xavier NX Devkit(NVMe).
It fails as well:

  1. I used the command: sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal

However, It fails, and shows “mount.nfs: access denied by server while mounting [fc00:1:1:0::1]”

console_log_v2_20230330.txt (88.2 KB)
log_v2_20230330.txt (538.5 KB)

Hi fengying_chu,

Please try flash Orin-NX + Xavier-NX devkit with below command:

$ sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" 
 --showlogs --network usb0 p3509-a02+p3767-0000 internal

Hi Carol,
I used your command, but it occurs build error:
Error: missing readinfofile (/home/fengying_chu/workspace/pe1000n/35.3.1/nvidia/Linux_for_Tegra/bootloader/readinfo_t234_min_dev.xml).

I cannot find this file in the source code folder. Could you please check the attachment log? Thanks.

console_log_v3_20230330.txt (119.3 KB)

Hi fengying,

It sounds a little weird. Could you share me the sticker and serial number of your module?

Hi Wayne,
My bad. I used p3668 SOM to connect to my server. Please ignore the problem showing at console_log_v3_20230330.txt.

I am going to change to P3767 SOM to build the code.

Hi Wayne and Carol,
I used your command, but it still occurs error.
The command I used: sudo ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal

The error in the log shows:
“mount.nfs: access denied by server while mounting [fc00:1:1:0::1]:/home/fengying_chu/workspace/pe1000n/35.3.1/nvidia/Linux_for_Tegra/rootfs”

The logs has been attached.

console_log_v4_20230330.txt (85.6 KB)
log_v4_20230330.txt (253.8 KB)

It looks like host setting issue which does not allow you to launch NFS. (initrd flash requires that)

Is this BSP folder prepared by you or prepared by SDKM?

home/fengying_chu/workspace/pe1000n/35.3.1/

Hi, the folder path /home/fengying_chu/workspace/pe1000n/35.3.1/ is created by me by using mkdir command.

Hi Wayne,
I will try the following command with sudo. And I will reply the result ASAP.

$ sudo tar xf ${L4T_RELEASE_PACKAGE}
$ sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
$ cd Linux_for_Tegra/ $ sudo ./apply_binaries.sh
$ sudo ./tools/l4t_flash_prerequisites.sh

Hi Wayne,
I think it is success for build and flash the image to Orin NX SOM with Xavier NX Devkit(NVMe).
There is no mount.nfs error if I add the following two lines at the file /etc/exports:

/home/fengying_chu/workspace/pe1000n/35.3.1/nvidia/Linux_for_Tegra/rootfs *(rw,sync,no_root_squash)
/home/fengying_chu/workspace/pe1000n/35.3.1/nvidia/Linux_for_Tegra/tools/kernel_flash/images *(rw,sync,no_root_squash)

The commands I used:
tar xf Jetson_Linux_R35.3.1_aarch64.tbz2
sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R35.3.1_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh
sudo ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --erase-all --flash-only --showlogs p3509-a02+p3767-0000 nvme0n1p1

Thanks a lot.

log_v1_20230331.txt (261.7 KB)

1 Like

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