烧录qspi失败

我在烧录QSPI中途设备断电意外了,然后再次烧录就失败了
命令是:./flash.sh -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit nvme0n1p1

[  11.7774 ]           54	reserved                            	  129536	  129919
[  11.7774 ]           55	worm                                	  129920	  130303
[  11.7774 ]           56	BCT-boot-chain_backup               	  130304	  130431
[  11.7774 ]           57	reserved_partition                  	  130432	  130559
[  11.7774 ]           58	secondary_gpt_backup                	  130560	  130687
[  11.7775 ]           59	B_VER                               	  130688	  130815
[  11.7775 ]           60	A_VER                               	  130816	  130943
[  11.7775 ] 
[  11.7775 ] Start flashing
[  11.7781 ] tegradevflash_v2 --pt flash.xml.bin --create
[  11.7785 ] Bootloader version 01.00.0000
[  11.8090 ] Erasing spi: 0 ......... [Done]
[  12.8166 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin [ 16896 bytes ]
[  12.8215 ] [................................................] 100%
[  12.8220 ] 000000004d4d2c01: E> NV3P_SERVER: Failed to initialize partition table from GPT.
[  13.0558 ] 
[  13.0559 ] 
Error: Return value 1
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing generic.

串口日志如下:

I> MB2 (version: 0.0.0.0-t234-54845784-c6a05a9f)
I> t234-A01-1-Silicon (0x12347)
I> Boot-mode : RCM Flash
I> Emulation: 
I> Entry timestamp: 0x01e6babc
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x273800000, size:0x800000]
I> Task: SE error check
I> Task: MB2 Params integrity check
I> Task: ARI update carveout TZDRAM
I> Task: Configure OEM set LA/PTSA values
I> Task: Check MC errors
I> Task: PSC mailbox init
I> Task: Map CCPLEX_INTERWORLD_SHMEM carveout
I> Task: Program CBB PCIE AMAP regions
I> Task: Boot device init
I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : pllc_out0
I> QSPI Flash: Macronix 64MB
I> QSPI-0l initialized successfully
I> Secondary storage device: QSPI_FLASH instance: 0
I> Task: Partition Manager Init
I> strt_pg_num(1) num_of_pgs(1) read_buf(0x273801000)
I> strt_pg_num(131071) num_of_pgs(1) read_buf(0x273801000)
W> Cannot find any partition table for 00030000
W> PARTITION_MANAGER: Failed to publish partition.
I> Task: Check MC errors
I> Task: Trigger mailbox for PSC-BL1 exit
I> Sending opcode 0x4d420802 to psc
I> Received ACK from psc
I> Task: Enter 3p server
I> USB configuration success
I> Populate storage info
I> Erasing device 3: 0
I> QSPI: Erasing entire device
I> Writing device 3: 0.
I> strt_pg_num(1) num_of_pgs(1) read_buf(0x273901000)
I> strt_pg_num(131071) num_of_pgs(1) read_buf(0x273901000)
W> Cannot find any partition table for 00030000
E> NV3P_SERVER: Failed to initialize partition table from GPT.

Hi qiaowei,

Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use?

To flash the external NVMe drive, please use initrd flash instead.

Please also refer to Orin nano module won’t flash: NV3P_SERVER: Failed to initialize partition table from GPT - Jetson & Embedded Systems / Jetson Orin Nano - NVIDIA Developer Forums and Orin NX Module flashing error failed to initialize partition table from GPT - Jetson & Embedded Systems / Jetson Orin NX - NVIDIA Developer Forums for the similar issue.

我使用的是开发套件
现在烧录成功后启动不了,卡在了这里:

I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled

ASSERT [FvbNorFlashStandaloneMm] /out/nvidia/optee.t234-uefi/StandaloneMmOptee_RELEASE/edk2-nvidia/Silicon/NVIDIA/Library/StandaloneMmOpteeLib/StandaloneMmOpteeLib.c(318): GuidHob != ((void *) 0)

我又再次烧录了一次,命令是:
./tools/kernel_flash/l4t_initrd_flash.sh -p "--no-systemimg -c bootloader/generic/cfg/flash_t234_qspi.xml" --network usb0 jetson-orin-nano-devkit nvme0n1p1
烧录成功了,然后不能启动:

I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : pllc_out0
I> QSPI Flash: Macronix 64MB
I> QSPI-0l initialized successfully
I> Secondary storage device: QSPI_FLASH instance: 0
I> Task: Partition Manager Init
I> strt_pg_num(130592) num_of_pgs(1) read_buf(0x273801000)
W> Cannot find any partition table for 00030000
W> PARTITION_MANAGER: Failed to publish partition.
I> Task: Pass DRAM ECC PRL Flag to FSI
I> Task: Load and authenticate registered FWs
I> Task: Load AUXP FWs
I> Successfully register SPE FW load task with MB2 loader
I> Skipping SCE FW load
I> Successfully register RCE FW load task with MB2 loader
I> Successfully register DCE FW load task with MB2 loader
I> Unpowergating APE
I> Unpowergate done
I> Successfully register APE FW load task with MB2 loader
I> Skipping FSI FW load
I> Successfully register XUSB FW load task with MB2 loader
I> Successfully register PVA FW load task with MB2 loader
I> Partition name: B_spe-fw
E> Cannot find partition B_spe-fw
E> Partition B_spe-fw not found
E> MB2_FW_LOAD: Failed to load FW.
C> Task 0x0 failed (err: 0x224d090d)
E> Top caller module: LOADER, error module: PARTITION_MANAGER, reason: 0x0d, aux_info: 0x09

Please try using the following command to flash your board.

$ sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 jetson-orin-nano-devkit internal

我执行命令:
ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
尝试后启动还是一样的错误

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

請問燒錄的部分有成功但是啟動失敗嗎?

麻煩提供燒錄和啟動的log參考下

另外,你是用哪個Jetpack版本?