Orin nano flash os to nvme failed

HI NV_TEAM,
我的官方的orin nano 8G开发套件用SDK-manager烧写os到在nvme一直失败,用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命令烧写也失败了。我用的jetpack版本是5.1.1, sdk Manager版本是1.9.3.1094. 附件是烧写过程中的log。请帮忙分析下是什么原因导致烧写失败。
SDKM_logs_2023-07-25_09-09-18.zip (567.9 KB)

Hi,

從你給的那一包log裡我只看到

Warning: skip writing recovery_alt partition as no image is specified
Warning: skip writing recovery-dtb_alt partition as no image is specified
Warning: skip writing esp_alt partition as no image is specified
Copying APP image into /home/zalend/nvidia_sdk/sdkm_downloads/JetPack_5.1.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/system.img.raw

這樣實在分析不出什麼東西
你可以附上手動用command跑的整段log嗎,還有UART log麻煩也一起附上

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

如果你不知道UART是什麼的話

Hi Dave,
烧写img的时候进度条卡在99%不动好长时间,我以为烧写失败了,其实在等一段时间就可以烧写成功。现在我的设备可以启动了。还有两个问题请教下:1. 能否通过flash.sh烧写img到nvme? 2. 如果想单独更新某个分区,该如何操作?

Hi,

不行,flash.sh只支援QSPI/eMMC/SD卡,其他的要用initrd flash才能燒

你可以參考Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt裡的Workflow 9

Workflow 9: Flash inidividual partition

Initrd flash has an option to flash individual partitions based on the index file.
When running initrd flash, index files are generated under tools/kernel_flash/images
based on the partition configuration layout xml (images/internal/flash.idx for internal storage,
images/external/flash.idx for external storage). Using "-k" option, initrd flash can flash one
partition based on the partition label specified in the index file.

Examples:
For flashing eks partition on internal device:
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -k eks jetson-xavier mmcblk0p1


For flashing kernel-dtb partition on external device:
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh \
  --external-device nvme0n1p1 \
  -c ./tools/kernel_flash/flash_l4t_external.xml \
  -k kernel-dtb --external-only jetson-xavier mmcblk0p1

Hi dave,
我有个疑问,orin nano应该是没有emmc的,开发文档提供刷机命令把rootdev指定为internal是何用意?

Hi,

只是因為bootloader還是一樣要燒進QSPI memory,所以rootdev才會一樣指定成internal

1 Like

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