user@WP:~/文档/Linux_for_Tegra$ 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 /home/user/文档/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --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 ************************************ * * * Step 1: Generate flash packages * * * ************************************ Create folder to store images to flash Generate image for internal storage devices Generate images to be flashed ADDITIONAL_DTB_OVERLAY="" /home/user/文档/Linux_for_Tegra/flash.sh --no-flash --sign -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit internal ############################################################################### # L4T BSP Information: # R35 , REVISION: 3.1 # User release: 0.0 ############################################################################### copying emc_fuse_dev_params(/home/user/文档/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done. copying device_config(/home/user/文档/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done. copying misc_config(/home/user/文档/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done. ./tegraflash.py --chip 0x23 --applet "/home/user/文档/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --skipuid --cfg readinfo_t234_min_prod.xml --dev_params tegra234-br-bct-diag-boot.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --bins "mb2_applet applet_t234.bin" --cmd "dump eeprom cvm cvm.bin; dump custinfo custinfo_out.bin; reboot recovery" Welcome to Tegra Flash version 1.0.0 Type ? or help for help and q or quit to exit Use ! to execute system commands [ 0.0185 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.0194 ] File rcm_state open failed [ 0.0194 ] ERROR: failed to read rcm_state [ 0.0194 ] [ 0.0212 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0214 ] Assuming zero filled SBK key [ 0.0199 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts [ 0.0270 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts [ 0.0378 ] Parsing partition layout [ 0.0389 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0407 ] Kernel DTB used: None [ 0.0407 ] WARNING: dce base dtb is not provided [ 0.0407 ] Parsing partition layout [ 0.0419 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0433 ] Creating list of images to be signed [ 0.0445 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk [ 0.0455 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0469 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0472 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0528 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0539 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0593 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0597 ] adding BCH for mb2_t234_aligned.bin [ 0.0624 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0770 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0774 ] adding BCH for mb2_t234_aligned.bin [ 0.1118 ] Filling MB1 storage info [ 0.1118 ] Parsing dev params for multi chains [ 0.1185 ] Generating br-bct [ 0.1194 ] Updating dev and MSS params in BR BCT [ 0.1195 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.1205 ] Updating bl info [ 0.1214 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin [ 0.1224 ] WARNING: boot chain is not completed. set to 0 [ 0.1234 ] Generating signatures [ 0.1251 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1254 ] Assuming zero filled SBK key [ 0.1279 ] Warning: /home/user/文档/Linux_for_Tegra/bootloader/v3_cmac_139909.out is not found [ 0.1294 ] Traceback (most recent call last): File "/home/user/文档/Linux_for_Tegra/bootloader/tegrasign_v3.py", line 499, in tegrasign retVal = sign_files_in_list(p_keylist, internal) File "/home/user/文档/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/user/文档/Linux_for_Tegra/bootloader/tegrasign_v3_internal.py", line 119, in sign_files_internal write_file(hash_fh, buff_hash) File "/home/user/文档/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' [ 0.1294 ] Encounter exception when signing [ 0.1294 ] a bytes-like object is required, not 'str' [ 0.1294 ] ********* Error. Quitting. ********* Traceback (most recent call last): File "./tegraflash.py", line 1383, in tegraflash_run_commands() File "./tegraflash.py", line 1217, in tegraflash_run_commands interpreter.onecmd(command) File "/usr/lib/python3.8/cmd.py", line 217, in onecmd return func(arg) File "./tegraflash.py", line 855, in do_dump self.chip_inst.tegraflash_dump(exports, args) File "/home/user/文档/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 2392, in tegraflash_dump self.tegraflash_sign_images() File "/home/user/文档/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 566, in tegraflash_sign_images dce_bin = self.get_file_name_from_images_list('dce_fw') File "/home/user/文档/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 3212, in get_file_name_from_images_list with open(self.tegrahost_values['--signed_list'], 'r') as file: FileNotFoundError: [Errno 2] No such file or directory: 'images_list_signed.xml' Reading board information failed. Error: failed to generate images Cleaning up... user@WP:~/文档/Linux_for_Tegra$