1. $ cd ~/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
2. Put device into recovery mode
3. $ sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1
开发工具自带了这个功能点赞,分享给刚开始玩套件的朋友 [ 304]: l4t_flash_from_kernel: Warning: skip writing B_smm-fw partition as no image is specified
Writing eks_sigheader.img.encrypt (parittion: B_eks) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/eks_sigheader.img.encrypt
Writing /mnt/internal/eks_sigheader.img.encrypt (9232 bytes) into /dev/mtd0:54919168
Copied 9232 bytes from /mnt/internal/eks_sigheader.img.encrypt to address 0x03460000 in flash
Writing display-t234-dce_with_kernel_tegra234-p3701-0000-p3737-0000_aligned_blob_w_bin_sigheader.bin.encrypt (parittion: B_dce-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/display-t234-dce_with_kernel_tegra234-p3701-0000-p3737-0000_aligned_blob_w_bin_sigheader.bin.encrypt
Writing /mnt/internal/display-t234-dce_with_kernel_tegra234-p3701-0000-p3737-0000_aligned_blob_w_bin_sigheader.bin.encrypt (749280 bytes) into /dev/mtd0:55181312
Copied 749280 bytes from /mnt/internal/display-t234-dce_with_kernel_tegra234-p3701-0000-p3737-0000_aligned_blob_w_bin_sigheader.bin.encrypt to address 0x034a0000 in flash
Writing spe_t234_sigheader.bin.encrypt (parittion: B_spe-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/spe_t234_sigheader.bin.encrypt
Writing /mnt/internal/spe_t234_sigheader.bin.encrypt (270336 bytes) into /dev/mtd0:60424192
Copied 270336 bytes from /mnt/internal/spe_t234_sigheader.bin.encrypt to address 0x039a0000 in flash
Writing camera-rtcpu-t234-rce_sigheader.img.encrypt (parittion: B_rce-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt
Writing /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt (537952 bytes) into /dev/mtd0:61014016
Copied 537952 bytes from /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt to address 0x03a30000 in flash
Writing adsp-fw_sigheader.bin.encrypt (parittion: B_adsp-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/adsp-fw_sigheader.bin.encrypt
Writing /mnt/internal/adsp-fw_sigheader.bin.encrypt (400976 bytes) into /dev/mtd0:62062592
Copied 400976 bytes from /mnt/internal/adsp-fw_sigheader.bin.encrypt to address 0x03b30000 in flash
[ 307]: l4t_flash_from_kernel: Warning: skip writing B_reserved_on_boot partition as no image is specified
[ 307]: l4t_flash_from_kernel: Warning: skip writing uefi_variables partition as no image is specified
[ 308]: l4t_flash_from_kernel: Warning: skip writing uefi_ftw partition as no image is specified
[ 308]: l4t_flash_from_kernel: Warning: skip writing worm partition as no image is specified
Writing bct_backup.img (parittion: BCT-boot-chain_backup) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/bct_backup.img
Writing /mnt/internal/bct_backup.img (32768 bytes) into /dev/mtd0:66715648
Copied 32768 bytes from /mnt/internal/bct_backup.img to address 0x03fa0000 in flash
[ 308]: l4t_flash_from_kernel: Warning: skip writing reserved_partition partition as no image is specified
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt_backup) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:66846720
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03fc0000 in flash
Writing qspi_bootblob_ver.txt (parittion: B_VER) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/qspi_bootblob_ver.txt
Writing /mnt/internal/qspi_bootblob_ver.txt (109 bytes) into /dev/mtd0:66912256
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fd0000 in flash
Writing qspi_bootblob_ver.txt (parittion: A_VER) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/qspi_bootblob_ver.txt
Writing /mnt/internal/qspi_bootblob_ver.txt (109 bytes) into /dev/mtd0:66977792
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fe0000 in flash
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:67091968
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
Reach the end of the SPI device
[ 308]: l4t_flash_from_kernel: Successfully flash the qspi
[ 308]: l4t_flash_from_kernel: Flashing success
[ 308]: l4t_flash_from_kernel: The device is going to reboot in 5 seconds....
Running in chroot, ignoring request.
[ 313]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
Flash is successful
Reboot device
Cleaning up...
Log is saved to Linux_for_Tegra/initrdlog/flash_2-2_0_20221025-144918.log
启动后df -h,看到的就是你的挂载目录是硬盘了
|