Hi @DaveYYY
Thank you for your answer.
Indeed, I don’t have the authorization to open the device, so I’m really looking for a way without.
I actually tried the command :
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device sdc1 -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
When it gets to flashing step, it’s crashing. I’m probably missing something. I can do that from a regular Ubuntu distro right ?
Here are the logs:
[ 10.8472 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 10.8485 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 10.8500 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 10.8513 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 10.8523 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 10.8530 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 10.8537 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 10.8542 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 10.8548 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 10.8555 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 10.8559 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 10.8565 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 10.8571 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 10.8578 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 10.8585 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 10.8598 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 10.8604 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 10.8610 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb
[ 10.8615 ] Added Platform Config 0 data with size :- 2416
[ 10.8619 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb
[ 10.8635 ] WARNING: unknown node 'g2'
[ 10.8635 ] WARNING: unknown node 'g2'
[ 10.8635 ] WARNING: unknown node 'g9'
[ 10.8635 ] WARNING: unknown node 'g9'
[ 10.8635 ] Added Platform Config 2 data with size :- 24
[ 10.8635 ]
[ 10.8635 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb
[ 10.8635 ] Added Platform Config 4 data with size :- 288
[ 10.8635 ]
[ 10.8635 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb
[ 10.8636 ] Added Platform Config 3 data with size :- 52
[ 10.8636 ]
[ 10.8636 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb
[ 10.8636 ] WARNING: unknown property 'major'
[ 10.8636 ] WARNING: unknown property 'minor'
[ 10.8636 ] Added Platform Config 5 data with size :- 500
[ 10.8636 ]
[ 10.8636 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb
[ 10.8636 ] WARNING: unknown property 'major'
[ 10.8636 ] WARNING: unknown property 'minor'
[ 10.8636 ] Added Platform Config 7 data with size :- 380
[ 10.8636 ]
[ 10.8636 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb
[ 10.8636 ] Added Platform Config 8 data with size :- 24
[ 10.8637 ]
[ 10.8637 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 10.8637 ] Added Platform Config 9 data with size :- 100
[ 10.8637 ]
[ 10.8637 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb
[ 10.8637 ] ModuleCount 0 NumProdNames 0
[ 10.8637 ] Added Platform Config 6 data with size :- 16
[ 10.8637 ]
[ 10.8637 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 10.8637 ]
[ 10.8638 ] Updating mb1-bct with firmware information
[ 10.8643 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 10.8660 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 10.8669 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 10.8672 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 11.2548 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 11.2549 ] Assuming zero filled SBK key
[ 11.4770 ] Warning: /home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/v3_cmac_129802.out is not found
[ 11.5549 ] Traceback (most recent call last):
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegrasign_v3.py", line 499, in tegrasign
retVal = sign_files_in_list(p_keylist, internal)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegrasign_v3_internal.py", line 287, in sign_files_in_list
retVal = sign_files_internal(p_keylist, child, pkh, mont, sha_type, iv)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegrasign_v3_internal.py", line 119, in sign_files_internal
write_file(hash_fh, buff_hash)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegrasign_v3_util.py", line 679, in write_file
file_handle.write(data)
TypeError: a bytes-like object is required, not 'str'
[ 11.5549 ] Encounter exception when signing
[ 11.5549 ] a bytes-like object is required, not 'str'
[ 11.5549 ] ********* Error. Quitting. *********
Traceback (most recent call last):
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/./tegraflash.py", line 1383, in <module>
tegraflash_run_commands()
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/./tegraflash.py", line 1217, in tegraflash_run_commands
interpreter.onecmd(command)
File "/usr/lib/python3.10/cmd.py", line 217, in onecmd
return func(arg)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/./tegraflash.py", line 730, in do_sign
self.chip_inst.tegraflash_sign(exports)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 2584, in tegraflash_sign
self.tegraflash_sign_images()
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 541, in tegraflash_sign_images
self.tegraflash_generate_ratchet_blob()
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 532, in tegraflash_generate_ratchet_blob
self.tegraflash_generate_mb1_bct(True)
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 1567, in tegraflash_generate_mb1_bct
self.tegrabct_values['--mb1_cold_boot_bct'] = self.tegraflash_oem_sign_file(
File "/home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 1652, in tegraflash_oem_sign_file
with open(sign_xml_file, 'rt') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list_signed.xml'
Error: /home/spider/Téléchargements/jetson/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/spider/Téléchargements/jetson/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
Thank you again @DaveYYY