Hi,
I’m trying to use the mass flash method for flashing Ubuntu on the AGX Orin Devkit.
I’ve tried with an AGX Orin 32GB and a AGX Orin 64GB simultaneously and got ‘Maybe timeout in USB write’ for the 32GB. Could need a different USB cable so I put that aside for now, and tried from scratch (unpacking BSP, Ubuntu rootfs, create mfi package) with 1 AGX Orin 64GB Devkit only. sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --network usb0 --massflash 5 jetson-agx-orin-devkit mmcblk0p1
exists fine, no problems, but when trying to flash this single AGX Orin 64GB I’m getting:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --network usb0 --massflash 5 --showlogs
[sudo] password for acotsach:
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 1-9 --device-instance 0 --flash-only --network usb0 jetson-agx-orin-devkit mmcblk0p1
Start flashing device: 1-9, rcm instance: 0, PID: 33574
Log will be saved to Linux_for_Tegra/initrdlog/flash_1-9_0_20240911-160208.log
Flash complete (WITH FAILURES)
exportfs: duplicated export entries:
exportfs: 127.0.0.1:/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp
exportfs: 127.0.0.1:/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp
exportfs: Failed to stat /home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp: No such file or directory
and the full log is:
cat initrdlog/flash_1-9_0_20240911-160208.log
Export list for localhost:
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1
**********************************************
* *
* Step 1: Build the flashing environment *
* *
**********************************************
Create flash environment 0
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/bootloader /home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra
Finish creating flash environment 0.
****************************************************
* *
* Step 2: Boot the device with flash initrd image *
* *
****************************************************
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/temp_initrdflash/bootloader0 /home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-p3737-0000+p3701-0005-nv.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "rcmboot" --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt --bins "psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; tsec_fw tsec_t234_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; pva_fw nvpva_020_sigheader.fw.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3701-0005-3737-0000_with_odm_sigheader.dtb.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt; kernel boot0.img; kernel_dtb tegra234-p3737-0000+p3701-0005-nv.dtb" --bct_backup --instance 1-9
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
Entering RCM boot
[ 0.0450 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0450 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0450 ] rcm boot with presigned binaries
[ 0.0455 ] tegrarcm_v2 --instance 1-9 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.0459 ] BR_CID: 0x80012344705DD31F7C0000000AFE81C0
[ 0.0545 ] Sending bct_br
[ 0.0628 ] Sending mb1
[ 0.0633 ] Sending psc_bl1
[ 0.0746 ] Sending bct_mb1
[ 0.0811 ] Generating blob for T23x
[ 0.0827 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.0830 ] The number of images in blob is 19
[ 0.0834 ] blobsize is 96569966
[ 0.0836 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3657792
[ 0.1344 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 310768
[ 0.1354 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 187120
[ 0.1365 ] Added binary blob_tsec_t234_sigheader.bin.encrypt of size 176128
[ 0.1378 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 279616
[ 0.1391 ] Not supported type: mb2_applet
[ 0.1399 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 439968
[ 0.1411 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[ 0.1418 ] Added binary blob_nvpva_020_sigheader.fw.encrypt of size 2164640
[ 0.1424 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 12070528
[ 0.1515 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1542 ] Added binary blob_bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt of size 1027008
[ 0.1551 ] Added binary blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_sigheader.dtb.encrypt of size 264960
[ 0.1558 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 458096
[ 0.1564 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 414976
[ 0.1569 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1574 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1633344
[ 0.1579 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1584 ] Added binary blob_boot0.img of size 72495104
[ 0.2184 ] Added binary blob_tegra234-p3737-0000+p3701-0005-nv.dtb of size 249470
[ 0.3643 ] tegrarcm_v2 --instance 1-9 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.3653 ] BL: version 1.4.0.2-t234-54845784-08a4de08 last_boot_error: 0
[ 0.3744 ] Sending bct_mem
[ 0.3892 ] Sending blob
[ 4.0982 ] RCM-boot started
/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra
***************************************
* *
* Step 3: Start the flashing process *
* *
***************************************
exportfs: duplicated export entries:
exportfs: 127.0.0.1:/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp
exportfs: 127.0.0.1:/home/acotsach/work/simplehttp/36_3/agx64/Linux_for_Tegra/tools/kernel_flash/tmp
Cleaning up...
I’ve followed the steps exactly as in Flashing Support — NVIDIA Jetson Linux Developer Guide 1 documentation . Any idea how I can get past this error?
Also, is it possible to use initrd massflash for a 32GB AGX and 64GB mix or do they have to be 32GB or 64GB only? I’m using the online method when creating the mfi package.
Thanks