Reflash orin nano from l4t36.3 to l4t35.31 failed

reflash_log.txt (260.0 KB)
hi, friends
when i reflash orin nano from the version l4t_36.3 to l4t_35.3.1, it’s does not successful.
i used follow cmd:
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
and some error occur:
[ 0.1587 ] Generating coldboot mb1-bct
[ 0.1591 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1595 ] MB1-BCT version: 0.10
[ 0.1599 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1605 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1610 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1611 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1611 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1611 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1611 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

5.4273 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra/bootloader/signed/flash.xml.tmp flash.idx
Using bpmp-dtb concatenated with odmdata in blob for t23x
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-p3767-0003-p3768-0000-a0.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; 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; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE950M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0003-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.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 boot.img; kernel_dtb tegra234-p3767-0003-p3768-0000-a0.dtb” --secondary_gpt_backup --bct_backup --boot_chain A
saving flash command in flashcmd.txt

*** no-flash flag enabled. Exiting now… ***

User can run above saved command in factory environment without
providing pkc and sbk keys to flash a device

Example:

$ cd bootloader 
$ sudo bash ./flashcmd.txt

Save initrd flashing command parameters to /home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra/tools/kernel_flash/initrdflashparam.txt
/tmp/tmp.6eZUlOBkJK /home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
/tmp/tmp.6eZUlOBkJK/initrd /tmp/tmp.6eZUlOBkJK /home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra
56174 blocks
83147 blocks
/tmp/tmp.6eZUlOBkJK /home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra
flashimg0=boot0.img
/home/waltersu/walter_workspace/nvidia/l4t_35.3.1/Linux_for_Tegra
Success
Cleaning up…
Finish generating flash package.
No devices to flash

i execute enter rcm mode, and mb2_applet are not supported, as follow info:
$ sudo bash ./flashcmd.txt
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.0208 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0209 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0209 ] rcm boot with presigned binaries
[ 0.0215 ] tegrarcm_v2 --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.0219 ] BR_CID: 0x80012344705DF2211000000002000100
[ 0.0239 ] Sending bct_br
[ 0.0240 ] Sending mb1
[ 0.0252 ] Sending psc_bl1
[ 0.0464 ] Sending bct_mb1
[ 0.0602 ] Generating blob for T23x
[ 0.0617 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.0622 ] The number of images in blob is 18
[ 0.0629 ] blobsize is 61039670
[ 0.0630 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3182656
[ 0.0935 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[ 0.0941 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[ 0.0947 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[ 0.0951 ] Not supported type: mb2_applet
[ 0.0952 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 437984
[ 0.0962 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164352
[ 0.0968 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 9097216
[ 0.1005 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1018 ] Added binary blob_bpmp_t234-TE950M-A1_prod_sigheader.bin.encrypt of size 1047936
[ 0.1024 ] Added binary blob_tegra234-bpmp-3767-0003-3509-a02_with_odm_sigheader.dtb.encrypt of size 110080
[ 0.1033 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[ 0.1040 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[ 0.1046 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400960
[ 0.1050 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1055 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1064752
[ 0.1059 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1063 ] Added binary blob_boot.img of size 43065344
[ 0.1325 ] Added binary blob_tegra234-p3767-0003-p3768-0000-a0.dtb of size 345478
[ 0.1751 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.1756 ] BL: version 0.32.0.0-t234-54845784-57325615 last_boot_error: 0
[ 0.2904 ] Sending bct_mem
[ 0.2906 ] Sending blob
[ 5.1304 ] RCM-boot started

Put the entire log as a text file here.
I have no idea what you are doing.

reflash_log.txt (260.0 KB)

Is it a DevKit or a custom board?
Get this log during flashing:

i used DevKit P3767+P3768,
when i used uart and set minicom 115200 8N1, but uart output unreadable code

i used “Button Header” pin#3(UART2_RXD (DEBUG)) and pin#4(UART2_TXD (DEBUG)), not “40-Pin Expansion Header” ,it’s right?

Get another cable and try again.
Or reboot the device more times.

YES, the button header lying under the module.

hi, there are uart log while reflashing orin nano:
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.8 | VT102 | Offline | ttyUSB0

[0211.841] I> Successfully powergated NVDEC
[0211.845] I> Task: Disable/Reload WDT (0x50021a99)
[0211.850] I> Task: Program misc carveouts (0x50015381)
[0211.855] I> SLCG Global override status := 0x0
[0211.859] I> MB1: MSS reconfig completed
[0211.863] W> Firewall readback mismatch
[0211.867] W> Firewall readback mismatch
[0211.870] W> Firewall readback mismatch
[0211.874] W> Firewall readback mismatch
[0211.878] W> Firewall readback mismatch
[0211.881] W> Firewall readback mismatch
[0211.885] W> Firewall readback mismatch
[0211.889] W> Firewall readback mismatch
[0211.892] W> Firewall readback mismatch
[0211.896] W> Firewall readback mismatch
I> Applet (version: 0.0.0.0-t234-54845784-f44287d2)
I> t234-A01-1-Silicon (0x12347)
I> Emulation:
I> Entry timestamp: 0xffffffff
I> Task: Pinmux init (0x4000062d)
I> Task: Boot device init (0x400012e5)
I> Applet do storage init
I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : clk_m
I> QSPI-0l initialized successfully
E> Error in command_complete 18001 int_status
E> OCR failed, error = 39390706
E> Failed to open sdmmc-3, err = 39390706
W> Ignoring init failure for device 0-3
E> Error in command_complete 18000 int_status
E> OCR failed, error = 39390706
E> Failed to open sdmmc-3, err = 39390706
W> Ignoring init failure for device 1-3
E> Unknown device 7
E> Unknown device 8
I> Task: Partition Manager Init (0x40002d25)
I> Found 57 partitions in QSPI_FLASH (instance 0)
I> Task: I2C register (0x400006a5)
I> Task: Register exit handlers (0x400005f5)
I> Task: Enter 3p server (0x400018e9)
I> USB configuration success
I> Populate chip info
I> RAM_CODE 0x4000021
I> Populate eeprom info
I> Populate eeprom info for module cvm
I> dump bct
I> Rebooting : reboot-recovery

Are you sure it’s the full log?
Copy everything you get into a text file.

hi,there are uart output log and host flash script output log while during whole reflashing process. thanks
uart_minicom_log.txt (95.4 KB)
flash_log.log (256.9 KB)

Is this a DevKit?
The log shows the USB device mode is not up so it times out.

At last step " Step 3: Start the flashing process ", orin nano should be reset, but it’s not occur “Bus 002 Device 034: ID 0955:7523 NVIDIA Corp. APX” while i put the cmd “lsusb”, so host script waiting timeout and exit.

yes, it’s devkit.

Get another USB cable and try again.

i think it does not related to usb cable, because it only occur while i reflash l4t36.3 to l4t35.3.1.
when i reflash l4t36.3 it’s work ok. and when i reflash in step 1&2 ,it’s work normally also.

Do you have any reason that you do need to use 35.3.1?
Try on 35.5 if not.

where can i get the bootloader source, such as mb1,mb2 etc.

MB1 and MB2 are not open source.

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