Bricked my module setting up a custom EKB

I was working successfully with an Orin Nano module (custom carrier board) where I burned the PKC hash fuses.

Now, I’m proceeding to the next step, installing an OEM_K1 key, and creating a custom EKB image.

I think I did everything correctly, but after I burned the fuses to add the OEM_K1 key, the module is now stuck in recovery mode and doesn’t seem to do anything else.

I burned the fuses with this file (redacting the K1 key):

<genericfuse MagicId="0x45535546" version="1.0.0">
    <fuse name="PublicKeyHash" size="64" value="0xebcc1285bea9e89c53001920ca1ad2e72b6410ceba0ede5588016c8592b676e2c9a916ed936783924ddebadf56f165394855ef777dd7f680452a1e2aedcc1959"/>
    <fuse name="OemK1" size="32" value="0x....."/>
    <fuse name="BootSecurityInfo" size="4" value="0x3E1"/>
</genericfuse>

It was previously working without the OemK1 key, and BootSecurityInfo set to 0x1E1. I set the BootSecurityInfo bit 9, in order to indicate that the OemK1 is valid. At least that’s what I think the documentation ( Secure Boot — NVIDIA Jetson Linux Developer Guide ) is saying. But I clearly did something wrong.

Here’s the output from the module, during the fuse burning. It appears to have succeeded:

I> FSKP (version: 0.0.0.0-t234-54845784-0793996d)
I> t234-A01-1-Silicon (0x12347)
I> Emulation:
I> Entry timestamp: 0x014ee29c
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x173800000, size:0x800000]
I> Task: Crypto init
I> Task: Program CBB PCIE AMAP regions
I> Task: Burn fuses
I> Index : 1    PublicKeyHash    size: 64
I> Index : 2    OemK1    size: 32
I> Index : 3    BootSecurityInfo    size: 4
I> Fuse Blob found
I>
I> Burning fuses
I> 1. Start PublicKeyHash burn
I> Fuse is already burned with the same value
I> 1. PublicKeyHash burn skipped
I>
I> 2. Start OemK1 burn
I> 2. OemK1 burnt successfully
W> No handling of CRC-32 for OemK1
I>
I> 3. Start BootSecurityInfo burn
I> 3. BootSecurityInfo burnt successfully
W> No handling of CRC-32 for BootSecurityInfo
I>
I> Successfully burnt fuses as per fuse info
I> Index : 1    PublicKeyHash    size: 64
I> Index : 2    OemK1    size: 32
I> Index : 3    BootSecurityInfo    size: 4
I> Fuse Blob found
I> No RPMB provisioning details is found. Skip RPMB Provisioning.
I> FSKP finished

I initially assumed that this was because the EKS partitions no longer match the OEM_K1 key, so I tried to flash a new image with a new EKB, built with the new key. But the flashing script (from Yocto meta-tegra) is unable to communicate over the USB link:

sudo ./doflash.sh --spi-only
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.0469 ] Parsing partition layout
[   0.0475 ] tegraparser_v2 --pt secureflash.xml.tmp
[   0.0540 ] Parsing partition layout
[   0.0544 ] tegraparser_v2 --pt secureflash.xml.tmp
[   0.0559 ] mb1_t234_prod_aligned_sigheader.bin.signed filename is from --mb1_bin
[   0.0559 ] psc_bl1_t234_prod_aligned_sigheader.bin.signed filename is from --psc_bl1_bin
[   0.0559 ] Boot Rom communication
[   0.0563 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   0.0568 ] BR_CID: 0xA1012344705DF888180000000E008180
[   0.2937 ] Sending bct_br
[   0.4325 ] Sending mb1
[   0.4335 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed

So my questions are:

  • Are the fuses burned incorrectly? If so, what should be the correct settings?
  • Is there something wrong with my image, that is causing tegrarcm_v2 fail?

*** Please note that this reply is generated by LLM automatically ***

Based on the provided information, it appears that you are experiencing issues with your Jetson Orin Nano module after burning the PKC hash fuses and attempting to install an OEMK1 key. The module is stuck in recovery mode and unable to boot properly.

To address your questions:

  1. Are the fuses burned incorrectly?

It’s possible that the fuses were burned incorrectly, but without more information about the specific fuse settings and the expected values, it’s difficult to say for certain. However, based on the output from the module during the fuse burning process, it appears that the operation was successful.

  1. If so, what should be the correct settings?

According to the NVIDIA Jetson Linux Developer Guide, the BootSecurityInfo bit 9 should be set to indicate that the OemK1 is valid. However, it’s possible that other fuse settings may need to be adjusted as well. To determine the correct fuse settings, you may need to consult the documentation for your specific module and carrier board.

  1. Is there something wrong with my image that is causing failure?

Yes, it’s possible that there is an issue with your image that is causing the failure. Since you’ve updated the OEMK1 key, you’ll need to ensure that the EKS partitions match the new key. You’ve attempted to flash a new image with a new EKB built with the new key, but the flashing script is unable to communicate over the USB link.

To troubleshoot this issue, you may want to try the following:

  • Verify that the EKS partitions are correctly configured and match the new OEMK1 key.
  • Check the USB connection and ensure that it is stable and functioning properly.
  • Try using a different flashing script or tool to see if the issue is specific to the Yocto metategra script.
  • Consult the documentation for your module and carrier board to ensure that you are following the correct procedures for burning fuses and installing an OEMK1 key.

In comparison to the other issues listed in the provided context, your issue appears to be related to the secure boot process and the installation of an OEMK1 key. The other issues listed seem to be related to different topics, such as HDMI support, boot issues, and flashing images.

Some relevant information from the provided context that may be helpful in troubleshooting your issue includes:

  • The l4t_initrd_flash.sh script is used to flash internal or external media connected to a Jetson device.
  • The flash.sh script is used to flash a Jetson device with Bootloader and the kernel, and optionally, flash the root file system to an internal or external storage device.
  • The nvautoflash.sh script is a wrapper script for flash.sh that can be called without specifying a device name.
  • The nvmassflashgen.sh script enables an end user to do simultaneous flashing to multiple target devices.

However, without more information about your specific issue and the steps you’ve taken so far, it’s difficult to provide a more detailed solution.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

hello david_charlap,

let’s try fuse read to examine your boot_security_info, you may running with flash script to check fuse variables.
BTW, it is impossible to read SBK, OEM_K1/K2 due to security concerns.
for instance, $ sudo ./flash.sh --read-info -u <pkc> -v <sbk> <target_conf> <rootdev>

It looks like I’m getting the same USB timeout error after it tries to send MB1. There is no output on the module’s serial console.

$ sudo ./flash.sh --read-info -u ../pkc_key_priv.pem jetson-orin-nano-devkit-nvme nvme0n1p1
###############################################################################
# L4T BSP Information:
# R36 , REVISION: 5.0
# User release: 0.0
###############################################################################
ECID is 0xA1012344705DF888180000000E008180
# Target Board Information:
# Name: jetson-orin-nano-devkit-nvme, Board Family: generic, SoC: Tegra 234, 
# OpMode: production, Boot Authentication: PKC, 
# Disk encryption: disabled ,
###############################################################################
copying device_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying emc_fuse_dev_params(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying minratchet_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
Existing emcfuse(.../Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip "0x23" --applet ".../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" --key ".../pkc_key_priv.pem" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_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.0357 ] Reading fuses
[   0.0385 ] tegrasign_v3.py --key .../pkc_key_priv.pem --getmode mode.txt
[   0.0560 ] Key size is 256 bytes
[   0.0553 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0798 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.1100 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[   0.1272 ] Parsing partition layout
[   0.1532 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1656 ] Kernel DTB used: None
[   0.1657 ] WARNING: dce base dtb is not provided

[   0.1658 ] Parsing partition layout
[   0.1665 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1764 ] Creating list of images to be signed
[   0.1999 ] Generating ratchet blob
[   0.2000 ] Generating coldboot mb1-bct
[   0.2190 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.2198 ] MB1-BCT version: 0.13

[   0.2264 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.2293 ] Added Platform Config 9 data with size :- 100

[   0.2321 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.2329 ] Updating mb1-bct with firmware information
[   0.2336 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.2420 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.2524 ] Generating SHA2 Hash for mb1bct
[   0.2635 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.2699 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.2697 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.2707 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.2823 ] tegrasign_v3.py --key .../rsa3k/pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.2943 ] Key size is 256 bytes
[   0.3466 ] Saving pkc public key in pub_key.key
[   0.3458 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.3546 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml oem-rsa
[   0.3553 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.3592 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.3629 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.3751 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.3776 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.3886 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.3911 ] adding BCH for mb2_t234_aligned.bin
[   0.3994 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.4263 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.4289 ] adding BCH for mb2_t234_aligned.bin
[   0.4724 ] Filling MB1 storage info
[   0.4724 ] Parsing dev params for multi chains
[   0.4906 ] Generating br-bct
[   0.4911 ] Updating dev and MSS params in BR BCT
[   0.4911 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.4926 ] Updating bl info
[   0.4932 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   0.4939 ] WARNING: boot chain is not completed. set to 0
[   0.5045 ] Generating signatures
[   0.5063 ] tegrasign_v3.py --key .../rsa3k/pkc_key_priv.pem --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.5267 ] Key size is 256 bytes
[   0.7630 ] Saving pkc public key in pub_key.key
[   0.7620 ] Parsing dev params for multi chains
[   0.7620 ] Generating br-bct
[   0.7626 ] Updating dev and MSS params in BR BCT
[   0.7627 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.7639 ] Updating bl info
[   0.7644 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.7649 ] WARNING: boot chain is not completed. set to 0
[   0.7673 ] Generating SHA2 Hash
[   0.7704 ] Sha saved in br_bct_BR.sha
[   0.7690 ] Get Signed section of bct
[   0.7694 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   0.7705 ] Signing BCT
[   0.7721 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.7757 ] Key size is 256 bytes
[   0.8207 ] Saving pkc public key in pub_key.key
[   0.8192 ] Updating BCT with signature
[   0.8210 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key
[   0.8243 ] Offset :4608 Len :3584
[   0.8244 ] 
[   0.8245 ] Generating SHA2 Hash
[   0.8262 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   0.8266 ] Assuming zero filled SBK key
[   0.8267 ] Assuming zero filled SBK key
[   0.8420 ] Sha saved in br_bct_BR.sha
[   0.8412 ] Updating BCT with SHA2 Hash
[   0.8420 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   0.8434 ] Offset :4608 Len :3584
[   0.8451 ] Offset :68 Len :8124
[   0.8460 ] Generating coldboot mb1-bct
[   0.8466 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.8470 ] MB1-BCT version: 0.13

[   0.8506 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.8511 ] Added Platform Config 9 data with size :- 100
[   0.8511 ] 
[   0.8511 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.8511 ] 
[   0.8512 ] Updating mb1-bct with firmware information
[   0.8516 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.8655 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.8741 ] Generating SHA2 Hash for mb1bct
[   0.8773 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.8787 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.8776 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.8780 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.8812 ] tegrasign_v3.py --key .../keys/rsa3k/pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.8837 ] Key size is 256 bytes
[   0.9171 ] Saving pkc public key in pub_key.key
[   0.9183 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.9200 ] Generating recovery mb1-bct
[   0.9207 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.9219 ] MB1-BCT version: 0.13

[   0.9253 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.9259 ] Added Platform Config 9 data with size :- 100

[   0.9265 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.9354 ] Updating mb1-bct with firmware information
[   0.9361 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.9377 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   0.9390 ] Generating SHA2 Hash for mb1bct
[   0.9468 ] Sha saved in mb1_bct_MB1_aligned.sha
[   0.9483 ] Sha saved in mb1_bct_MB1.sha
[   0.9473 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct oem-rsa
[   0.9477 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.9569 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.9668 ] Key size is 256 bytes
[   1.0035 ] Saving pkc public key in pub_key.key
[   1.0026 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.signed mb1_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   1.0043 ] Info: Skip generating mem_bct because sdram_config is not defined
[   1.0043 ] Info: Skip generating mem_bct because sdram_config is not defined
[   1.0043 ] Copying signatures
[   1.0048 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml --pubkeyhash pub_key.key
[   1.0207 ] mb1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   1.0210 ] psc_bl1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   1.0210 ] Boot Rom communication
[   1.0217 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   1.0225 ] BR_CID: 0xA1012344705DF888180000000E008180
[   1.1620 ] Sending bct_br
[   1.3007 ] Sending mb1
[   1.3018 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   1.3092 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.3105 ] Retrieving board information
[   1.3111 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   1.3135 ] Retrieving EEPROM data
[   1.3135 ] tegrarcm_v2 --oem platformdetails eeprom cvm .../Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   1.3159 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.3168 ] Dumping customer Info
[   1.3172 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   1.3184 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo .../Linux_for_Tegra/bootloader/custinfo_out.bin
[   1.3191 ] File tmp.bct open failed
[   1.3200 ] Error: try getting custinfo fail. Moving on
[   1.3201 ] Rebooting to recovery mode
[   1.3206 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[   1.3213 ] Rebooting to recovery mode
[   1.3218 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
Board ID(3767) version(301) sku(0004) revision(H.1)
Preset RAMCODE is 5
Chip SKU(00:00:00:D6) ramcode(5) fuselevel(fuselevel_production) board_FAB(301)
ECID is 0xA1012344705DF888180000000E008180

==== Fuse Info (.../Linux_for_Tegra/bootloader/fuse_t234.bin) ====
cat: .../Linux_for_Tegra/bootloader/fuse_t234.bin: No such file or directory

==== EEPROM content (.../Linux_for_Tegra/bootloader/cvm.bin) ====
00000000: 02 00 fe 00 00 00 00 00 00 00 00 ff 00 00 00 00  ................
00000010: 00 01 00 01 36 39 39 2d 31 33 37 36 37 2d 30 30  ....699-13767-00
00000020: 30 34 2d 33 30 31 20 48 2e 31 00 00 00 00 00 00  04-301 H.1......
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000040: b0 48 00 00 3b db c3 66 6d 3c 31 34 32 32 36 32  .H..;..fm<142262
00000050: 35 30 33 30 39 36 31 00 00 00 00 00 00 00 00 00  5030961.........
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000090: 00 00 00 00 00 00 4e 56 43 42 00 ff 4d 31 00 00  ......NVCB..M1..
000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 3b db c3 66  ............;..f
000000b0: 6d 3c 01 00 00 00 00 00 00 00 00 00 00 00 00 00  m<..............
000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83  ................

I also tried to re-run odmfuse.sh, to see if anything happened. The same timeout sending MB1 and no output on the module’s console:

$ sudo ./odmfuse.sh -i 0x23 -k .../pkc_key_priv.pem -X .../fuse_config.xml --test jetson-orin-nano-devkit-nvme
Existing emcfuse(.../Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
Existing emcfuse(.../Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
copying minratchet_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet ".../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 "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump custinfo custinfo_out.bin; reboot recovery" --key ".../pkc_key_priv.pem" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts 
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.0359 ] Reading fuses
[   0.0389 ] tegrasign_v3.py --key .../pkc_key_priv.pem --getmode mode.txt
[   0.0414 ] Key size is 256 bytes
[   0.0407 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0531 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.0782 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[   0.0924 ] Parsing partition layout
[   0.0930 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.0944 ] Kernel DTB used: None
[   0.0944 ] WARNING: dce base dtb is not provided

[   0.0945 ] Parsing partition layout
[   0.0950 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1035 ] Creating list of images to be signed
[   0.1042 ] Generating ratchet blob
[   0.1043 ] Generating coldboot mb1-bct
[   0.1050 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.1061 ] MB1-BCT version: 0.13

[   0.1097 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.1105 ] Added Platform Config 9 data with size :- 100

[   0.1113 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.1133 ] Updating mb1-bct with firmware information
[   0.1140 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.1202 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.1209 ] Generating SHA2 Hash for mb1bct
[   0.1239 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.1253 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.1242 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.1246 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.1276 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.1332 ] Key size is 256 bytes
[   0.1661 ] Saving pkc public key in pub_key.key
[   0.1660 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.1760 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml oem-rsa
[   0.1766 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.1788 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.1802 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.1914 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.1931 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.2090 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.2103 ] adding BCH for mb2_t234_aligned.bin
[   0.2205 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.2503 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.2518 ] adding BCH for mb2_t234_aligned.bin
[   0.2840 ] Filling MB1 storage info
[   0.2841 ] Parsing dev params for multi chains
[   0.2985 ] Generating br-bct
[   0.2993 ] Updating dev and MSS params in BR BCT
[   0.2995 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.3035 ] Updating bl info
[   0.3046 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   0.3064 ] WARNING: boot chain is not completed. set to 0
[   0.3196 ] Generating signatures
[   0.3214 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.3340 ] Key size is 256 bytes
[   0.5466 ] Saving pkc public key in pub_key.key
[   0.5456 ] Parsing dev params for multi chains
[   0.5456 ] Generating br-bct
[   0.5461 ] Updating dev and MSS params in BR BCT
[   0.5463 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.5474 ] Updating bl info
[   0.5478 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.5481 ] WARNING: boot chain is not completed. set to 0
[   0.5499 ] Generating SHA2 Hash
[   0.5527 ] Sha saved in br_bct_BR.sha
[   0.5513 ] Get Signed section of bct
[   0.5517 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   0.5554 ] Signing BCT
[   0.5578 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.5605 ] Key size is 256 bytes
[   0.5925 ] Saving pkc public key in pub_key.key
[   0.5911 ] Updating BCT with signature
[   0.5916 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key
[   0.5921 ] Offset :4608 Len :3584
[   0.5932 ] Generating SHA2 Hash
[   0.5948 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   0.5950 ] Assuming zero filled SBK key
[   0.5950 ] Assuming zero filled SBK key
[   0.5978 ] Sha saved in br_bct_BR.sha
[   0.5965 ] Updating BCT with SHA2 Hash
[   0.5968 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   0.5972 ] Offset :4608 Len :3584
[   0.5979 ] Offset :68 Len :8124
[   0.5979 ] 
[   0.5980 ] Generating coldboot mb1-bct
[   0.5984 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.5987 ] MB1-BCT version: 0.13

[   0.6020 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.6035 ] Added Platform Config 9 data with size :- 100
[   0.6036 ] 
[   0.6036 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.6036 ] 
[   0.6036 ] Updating mb1-bct with firmware information
[   0.6041 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.6165 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.6274 ] Generating SHA2 Hash for mb1bct
[   0.6305 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.6318 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.6306 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.6310 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.6338 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.6369 ] Key size is 256 bytes
[   0.6722 ] Saving pkc public key in pub_key.key
[   0.6713 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.6732 ] Generating recovery mb1-bct
[   0.6738 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.6752 ] MB1-BCT version: 0.13

[   0.6795 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.6806 ] Added Platform Config 9 data with size :- 100

[   0.6839 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.6915 ] Updating mb1-bct with firmware information
[   0.6922 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.6960 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   0.7101 ] Generating SHA2 Hash for mb1bct
[   0.7210 ] Sha saved in mb1_bct_MB1_aligned.sha
[   0.7250 ] Sha saved in mb1_bct_MB1.sha
[   0.7240 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct oem-rsa
[   0.7244 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.7374 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.7463 ] Key size is 256 bytes
[   0.7976 ] Saving pkc public key in pub_key.key
[   0.7968 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.signed mb1_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.8036 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.8036 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.8036 ] Copying signatures
[   0.8051 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml --pubkeyhash pub_key.key
[   0.8169 ] mb1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.8172 ] psc_bl1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.8172 ] Boot Rom communication
[   0.8177 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   0.8181 ] BR_CID: 0xA1012344705DF888180000000E008180
[   0.9570 ] Sending bct_br
[   1.0959 ] Sending mb1
[   1.0981 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   1.1060 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.1182 ] Retrieving board information
[   1.1196 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   1.1343 ] Retrieving EEPROM data
[   1.1346 ] tegrarcm_v2 --oem platformdetails eeprom cvm .../Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   1.1523 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.1675 ] Dumping customer Info
[   1.1684 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   1.1813 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo .../Linux_for_Tegra/bootloader/custinfo_out.bin
[   1.1825 ] File tmp.bct open failed
Error: Return value 19
Command tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo .../Linux_for_Tegra/bootloader/custinfo_out.bin
Reading board information failed.

As I understood the documents, the OEM K1 key value is just a hex string of 32 random bytes.

I created it this way:

$ cat /dev/random | head -c32 | xxd -c32 -p > oem_k1.key

The resulting file looks like this (replacing the actual values with sequential digits):

0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

Which I copied to my fuse-burning XML file:

<genericfuse MagicId="0x45535546" version="1.0.0">
    <fuse name="PublicKeyHash" size="64" value="0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"/>
    <fuse name="OemK1" size="32" value="0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"/>
    <fuse name="BootSecurityInfo" size="4" value="0x3E1"/>
</genericfuse>

Was that right? Or does the K1 key need to be generated with a specific tool (like the PKE key and its hash)? I didn’t see anything in the documentation about it being more than just a random number of the correct length, but maybe I missed something?

Just some info as I went through similar issues in the past. EKB generation are different in JP5 and JP6. For instance in JP5, there is a fixed vector that is part of EKB that is hardcoded in the source of optee. Most likely the sample script does not use the right one. In fact, for production on JP5, you need to pick another one than the default.

If you are on JP6, you can disregard my comment.

I’m using L4T version 36.5.

Here’s my log of what I did to generate the EKB:

$ cat /dev/random | head -c32 | xxd -c32 -p > oem_k1.key
$ cat /dev/random | head -c16 | xxd -c16 -p > sym2.key
$ cat /dev/random | head -c16 | xxd -c16 -p > auth.key

$ ls -l
total 24
-rw-r--r-- 1 user group   33 Jun  5 14:53  auth.key
-rw-r--r-- 1 user group   65 Jun  5 14:53  oem_k1.key
-rw-r--r-- 1 user group   33 Jun  5 14:53  sym2.key

$ cd .../jetson-optee-srcs/optee/samples/hwkey-agent/host/tool/gen_ekb
$ python3 ./gen_ekb.py -chip t234         \
          -oem_k1_key  .../eks/oem_k1.key \
          -in_sym_key2 .../eks/sym2.key   \
          -in_auth_key .../eks/auth.key   \
          -out         .../eks/mye_eks.img

$ cd .../eks
$ ls -l
total 24
-rw-r--r-- 1 user group   33 Jun  5 14:53  auth.key
-rw-r--r-- 1 user group   65 Jun  5 14:53  oem_k1.key
-rw-rw-r-- 1 user group 1028 Jun  5 15:07  my_eks.img
-rw-r--r-- 1 user group   33 Jun  5 14:53  sym2.key

My Yocto environment is including this image ( my_eks.img ), and it seems to be deployed to the right place.

But as I already wrote, I wasn’t able to actually run any of the flash tools needed to write this EKS image to the SPI flash. The module won’t exit recovery mode and seems to fail to run any MB1 image (needed for flashing to proceed).

hello david_charlap,

according to below, it’s a board fused with PKC key in 3072-bit RSA, and also with ODM key valid enabled.

you should able to re-flash only QSPI,
for instance,
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -u PKC.pem "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" jetson-orin-nano-devkit internal
if that still report the same failure, you’re using mismatch PKC keys.

They key is not mismatched. I have been using this PKC key for several months without a problem.

This problem happened immediately after burning the fuses for the OEM K1 key and setting the ODM Key Valid bit (which, I believe, is needed after burning OEM K1).

Perhaps the PKC key got corrupted as a part of writing the OEM K1 key?

Another question. Is it necessary to provide the K1 key along with the PKC key during the flashing process?

The documentation I’ve read says that it should only need the PKC and SBC (if used) keys, but perhaps more is needed?

hello david_charlap,

there looks something wrong.
please refer to Burn Fuses with the Fuse Configuration file.
since it’s burned with a PKC key, and you’re going to have additional fuses burn onto the board, you should use the xml file with add keys only.
for example, a PKC key should be ignored in the xml file.

OEM_K1/K2 to derive a root key which is itself used to sign and encrypt the EKB.
it’s okay to ignore that for fuse burn process.

Would that break the device? The output from the module said that it ignored that key, because the value did not change.

hello david_charlap,

let’s say you’re using the identical PKC key, it should able to re-flash only QSPI,
please give it a try with below commands for testing.
for instance,
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -u PKC.pem "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" jetson-orin-nano-devkit internal

No change:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -u .../pkc_key_priv.pem "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" jetson-orin-nano-devkit internal

Please install the Secureboot package to use initrd flash for fused board
# Entry added by NVIDIA initrd flash tool
.../Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
rpcbind: another rpcbind is already running. Aborting
Export list for localhost:
.../Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1
11:42:56.228 - Debug: UFW is not installed. NFS port should be open.
11:42:56.230 - Debug: Checking VPN connections...
11:42:56.343 - Debug: IPSec service is not running.
11:42:56.345 - Debug: VPN routes none in tun|tap|ppp|vpn|gpd.
11:42:56.348 - Debug: No VPN connection detected.
.../Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash -u .../pkc_key_priv.pem -c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg jetson-orin-nano-devkit internal
************************************
*                                  *
*  Step 1: Generate flash packages *
*                                  *
************************************
Create folder to store images to flash
Generate image for internal storage devices
.../Linux_for_Tegra/tools/kernel_flash/l4t_create_images_for_kernel_flash.sh: line 517: [: : integer expression expected
Generate images to be flashed
ADDITIONAL_DTB_OVERLAY=""  .../Linux_for_Tegra/flash.sh --no-flash --sign -u ".../pkc_key_priv.pem"  jetson-orin-nano-devkit internal

###############################################################################
# L4T BSP Information:
# R36 , REVISION: 5.0
# User release: 0.0
###############################################################################
ECID is 0xA1012344705DF888180000000E008180
copying device_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying emc_fuse_dev_params(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying minratchet_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
Existing emcfuse(.../Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip "0x23" --applet ".../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" --key ".../pkc_key_priv.pem" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_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.0356 ] Reading fuses
[   0.0384 ] tegrasign_v3.py --key .../pkc_key_priv.pem --getmode mode.txt
[   0.0839 ] Key size is 256 bytes
[   0.0836 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0980 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.1269 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[   0.1485 ] Parsing partition layout
[   0.1490 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1599 ] Kernel DTB used: None
[   0.1599 ] WARNING: dce base dtb is not provided

[   0.1599 ] Parsing partition layout
[   0.1604 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1613 ] Creating list of images to be signed
[   0.1617 ] Generating ratchet blob
[   0.1618 ] Generating coldboot mb1-bct
[   0.1621 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.1626 ] MB1-BCT version: 0.13

[   0.1667 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.1673 ] Added Platform Config 9 data with size :- 100
[   0.1673 ] 
[   0.1673 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.1673 ] 
[   0.1673 ] Updating mb1-bct with firmware information
[   0.1678 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.1699 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.1704 ] Generating SHA2 Hash for mb1bct
[   0.1736 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.1750 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.1752 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.1758 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.1789 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.1814 ] Key size is 256 bytes
[   0.2142 ] Saving pkc public key in pub_key.key
[   0.2133 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.2148 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml oem-rsa
[   0.2156 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.2179 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.2238 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.2336 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.2349 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.2464 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.2479 ] adding BCH for mb2_t234_aligned.bin
[   0.2586 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.2821 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.2832 ] adding BCH for mb2_t234_aligned.bin
[   0.3230 ] Filling MB1 storage info
[   0.3230 ] Parsing dev params for multi chains
[   0.3369 ] Generating br-bct
[   0.3373 ] Updating dev and MSS params in BR BCT
[   0.3373 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.3510 ] Updating bl info
[   0.3516 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   0.3519 ] WARNING: boot chain is not completed. set to 0
[   0.3536 ] Generating signatures
[   0.3553 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.3579 ] Key size is 256 bytes
[   0.5454 ] Saving pkc public key in pub_key.key
[   0.5441 ] Parsing dev params for multi chains
[   0.5441 ] Generating br-bct
[   0.5445 ] Updating dev and MSS params in BR BCT
[   0.5445 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.5453 ] Updating bl info
[   0.5457 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.5460 ] WARNING: boot chain is not completed. set to 0
[   0.5475 ] Generating SHA2 Hash
[   0.5502 ] Sha saved in br_bct_BR.sha
[   0.5488 ] Get Signed section of bct
[   0.5491 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   0.5498 ] Signing BCT
[   0.5514 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.5538 ] Key size is 256 bytes
[   0.6003 ] Saving pkc public key in pub_key.key
[   0.5988 ] Updating BCT with signature
[   0.5994 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key
[   0.5999 ] Offset :4608 Len :3584
[   0.6012 ] Generating SHA2 Hash
[   0.6028 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   0.6031 ] Assuming zero filled SBK key
[   0.6031 ] Assuming zero filled SBK key
[   0.6078 ] Sha saved in br_bct_BR.sha
[   0.6067 ] Updating BCT with SHA2 Hash
[   0.6074 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   0.6088 ] Offset :4608 Len :3584
[   0.6095 ] Offset :68 Len :8124
[   0.6191 ] Generating coldboot mb1-bct
[   0.6198 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.6211 ] MB1-BCT version: 0.13

[   0.6253 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.6258 ] Added Platform Config 9 data with size :- 100
[   0.6271 ] 
[   0.6271 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.6271 ] 
[   0.6272 ] Updating mb1-bct with firmware information
[   0.6314 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.6402 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.6452 ] Generating SHA2 Hash for mb1bct
[   0.6484 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.6506 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.6496 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.6499 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.6568 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.6614 ] Key size is 256 bytes
[   0.7053 ] Saving pkc public key in pub_key.key
[   0.7044 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.7112 ] Generating recovery mb1-bct
[   0.7116 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.7119 ] MB1-BCT version: 0.13

[   0.7150 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.7154 ] Added Platform Config 9 data with size :- 100

[   0.7158 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.7189 ] Updating mb1-bct with firmware information
[   0.7193 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.7276 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   0.7309 ] Generating SHA2 Hash for mb1bct
[   0.7337 ] Sha saved in mb1_bct_MB1_aligned.sha
[   0.7349 ] Sha saved in mb1_bct_MB1.sha
[   0.7337 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct oem-rsa
[   0.7340 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.7454 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.7508 ] Key size is 256 bytes
[   0.7932 ] Saving pkc public key in pub_key.key
[   0.7922 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.signed mb1_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.7951 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.7951 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.7951 ] Copying signatures
[   0.7955 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml --pubkeyhash pub_key.key
[   0.8114 ] mb1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.8116 ] psc_bl1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.8116 ] Boot Rom communication
[   0.8122 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   0.8125 ] BR_CID: 0xA1012344705DF888180000000E008180
[   0.9566 ] Sending bct_br
[   1.0955 ] Sending mb1
[   1.0965 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   1.1046 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.1057 ] Retrieving board information
[   1.1062 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   1.1071 ] Retrieving EEPROM data
[   1.1071 ] tegrarcm_v2 --oem platformdetails eeprom cvm .../Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   1.1127 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.1134 ] Dumping customer Info
[   1.1138 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   1.1150 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo .../Linux_for_Tegra/bootloader/custinfo_out.bin
[   1.1154 ] File tmp.bct open failed
[   1.1161 ] Error: try getting custinfo fail. Moving on
[   1.1162 ] Rebooting to recovery mode
[   1.1166 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[   1.1173 ] Rebooting to recovery mode
[   1.1178 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
Board ID(3767) version(301) sku(0004) revision(H.1)
Preset RAMCODE is 5
Chip SKU(00:00:00:D6) ramcode(5) fuselevel(fuselevel_production) board_FAB(301)
Error: Using a flash partition table config file of SD card, .../Linux_for_Tegra/bootloader/generic/cfg/flash_t234_qspi_sd.xml, but the target board does not have SD card
To bypass this error, please add your board information to the board_with_sdcard array in this script.
Error: failed to generate images
Cleaning up...

I also tried it using the jetson-orin-nano-devkit-super-nvme configuration, since this module does not have an SD card. I got a lot of additional errors trying to make the system image (because I don’t have the NVIDIA root file system installed at this location), but it still fails to send MB1, and produces no output on the serial console:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -u ../pkc_key_priv.pem "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" jetson-orin-nano-devkit-super-nvme internal

Please install the Secureboot package to use initrd flash for fused board
# Entry added by NVIDIA initrd flash tool
.../Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
rpcbind: another rpcbind is already running. Aborting
Export list for localhost:
.../Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1
11:51:27.624 - Debug: UFW is not installed. NFS port should be open.
11:51:27.626 - Debug: Checking VPN connections...
11:51:27.631 - Debug: IPSec service is not running.
11:51:27.633 - Debug: VPN routes none in tun|tap|ppp|vpn|gpd.
11:51:27.635 - Debug: No VPN connection detected.
.../Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash -u ../pkc_key_priv.pem -c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg jetson-orin-nano-devkit-super-nvme internal
************************************
*                                  *
*  Step 1: Generate flash packages *
*                                  *
************************************
Create folder to store images to flash
Generate image for internal storage devices
.../Linux_for_Tegra/tools/kernel_flash/l4t_create_images_for_kernel_flash.sh: line 517: [: : integer expression expected
Generate images to be flashed
ADDITIONAL_DTB_OVERLAY=""  .../Linux_for_Tegra/flash.sh --no-flash --sign -u "../pkc_key_priv.pem"  jetson-orin-nano-devkit-super-nvme internal

###############################################################################
# L4T BSP Information:
# R36 , REVISION: 5.0
# User release: 0.0
###############################################################################
ECID is 0xA1012344705DF888180000000E008180
copying device_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying emc_fuse_dev_params(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying minratchet_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
Existing emcfuse(.../Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip "0x23" --applet ".../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" --key ".../pkc_key_priv.pem" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_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.0356 ] Reading fuses
[   0.0384 ] tegrasign_v3.py --key .../pkc_key_priv.pem --getmode mode.txt
[   0.0409 ] Key size is 256 bytes
[   0.0404 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0522 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.0817 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[   0.0971 ] Parsing partition layout
[   0.0975 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1082 ] Kernel DTB used: None
[   0.1083 ] WARNING: dce base dtb is not provided

[   0.1083 ] Parsing partition layout
[   0.1088 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.1113 ] Creating list of images to be signed
[   0.1118 ] Generating ratchet blob
[   0.1118 ] Generating coldboot mb1-bct
[   0.1122 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.1128 ] MB1-BCT version: 0.13

[   0.1159 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.1166 ] Added Platform Config 9 data with size :- 100
[   0.1166 ] 
[   0.1166 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.1166 ] 
[   0.1166 ] Updating mb1-bct with firmware information
[   0.1171 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.1187 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.1192 ] Generating SHA2 Hash for mb1bct
[   0.1220 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.1232 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.1221 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.1224 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.1252 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.1345 ] Key size is 256 bytes
[   0.1664 ] Saving pkc public key in pub_key.key
[   0.1655 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.1685 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml oem-rsa
[   0.1689 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.1708 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.1719 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.1813 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.1825 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.1926 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.1936 ] adding BCH for mb2_t234_aligned.bin
[   0.2009 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.2246 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.2257 ] adding BCH for mb2_t234_aligned.bin
[   0.2674 ] Filling MB1 storage info
[   0.2674 ] Parsing dev params for multi chains
[   0.2841 ] Generating br-bct
[   0.2845 ] Updating dev and MSS params in BR BCT
[   0.2845 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.2853 ] Updating bl info
[   0.2857 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   0.2860 ] WARNING: boot chain is not completed. set to 0
[   0.2877 ] Generating signatures
[   0.2893 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.2930 ] Key size is 256 bytes
[   0.5517 ] Saving pkc public key in pub_key.key
[   0.5505 ] Parsing dev params for multi chains
[   0.5505 ] Generating br-bct
[   0.5511 ] Updating dev and MSS params in BR BCT
[   0.5511 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.5522 ] Updating bl info
[   0.5527 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.5532 ] WARNING: boot chain is not completed. set to 0
[   0.5558 ] Generating SHA2 Hash
[   0.5589 ] Sha saved in br_bct_BR.sha
[   0.5575 ] Get Signed section of bct
[   0.5580 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   0.5590 ] Signing BCT
[   0.5606 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.5641 ] Key size is 256 bytes
[   0.6060 ] Saving pkc public key in pub_key.key
[   0.6044 ] Updating BCT with signature
[   0.6049 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key
[   0.6053 ] Offset :4608 Len :3584
[   0.6061 ] Generating SHA2 Hash
[   0.6077 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   0.6079 ] Assuming zero filled SBK key
[   0.6080 ] Assuming zero filled SBK key
[   0.6115 ] Sha saved in br_bct_BR.sha
[   0.6103 ] Updating BCT with SHA2 Hash
[   0.6107 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   0.6110 ] Offset :4608 Len :3584
[   0.6116 ] Offset :68 Len :8124
[   0.6155 ] Generating coldboot mb1-bct
[   0.6197 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.6207 ] MB1-BCT version: 0.13

[   0.6248 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.6253 ] Added Platform Config 9 data with size :- 100

[   0.6262 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.6355 ] Updating mb1-bct with firmware information
[   0.6360 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.6377 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.6382 ] Generating SHA2 Hash for mb1bct
[   0.6412 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.6426 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.6415 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct oem-rsa
[   0.6418 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.6447 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.6531 ] Key size is 256 bytes
[   0.6878 ] Saving pkc public key in pub_key.key
[   0.6870 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.signed mb1_cold_boot_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.6884 ] Generating recovery mb1-bct
[   0.6889 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.6893 ] MB1-BCT version: 0.13

[   0.6925 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb 
[   0.6929 ] Added Platform Config 9 data with size :- 100

[   0.6935 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb 
[   0.7034 ] Updating mb1-bct with firmware information
[   0.7039 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.7054 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   0.7059 ] Generating SHA2 Hash for mb1bct
[   0.7130 ] Sha saved in mb1_bct_MB1_aligned.sha
[   0.7224 ] Sha saved in mb1_bct_MB1.sha
[   0.7216 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct oem-rsa
[   0.7222 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.7294 ] tegrasign_v3.py --key .../pkc_key_priv.pem --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.7322 ] Key size is 256 bytes
[   0.7695 ] Saving pkc public key in pub_key.key
[   0.7686 ] tegrahost_v2 --chip 0x23 0 --pubkeyhash pub_key.key --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.signed mb1_bct_MB1_aligned_sigheader.bct.sig oem-rsa
[   0.7716 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.7716 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.7716 ] Copying signatures
[   0.7734 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml --pubkeyhash pub_key.key
[   0.7943 ] mb1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.7945 ] psc_bl1_t234_prod_aligned_sigheader.bin.signed filename is from images_list
[   0.7945 ] Boot Rom communication
[   0.7950 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   0.7954 ] BR_CID: 0xA1012344705DF888180000000E008180
[   0.9368 ] Sending bct_br
[   1.0759 ] Sending mb1
[   1.0769 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader.bct.signed
[   1.0896 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.0908 ] Retrieving board information
[   1.0912 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   1.0920 ] Retrieving EEPROM data
[   1.0920 ] tegrarcm_v2 --oem platformdetails eeprom cvm .../Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   1.0943 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.0951 ] Dumping customer Info
[   1.0955 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   1.0967 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo .../Linux_for_Tegra/bootloader/custinfo_out.bin
[   1.0971 ] File tmp.bct open failed
[   1.0993 ] Error: try getting custinfo fail. Moving on
[   1.0994 ] Rebooting to recovery mode
[   1.0999 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[   1.1006 ] Rebooting to recovery mode
[   1.1010 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
Board ID(3767) version(301) sku(0004) revision(H.1)
Preset RAMCODE is 5
Chip SKU(00:00:00:D6) ramcode(5) fuselevel(fuselevel_production) board_FAB(301)
Copy .../Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0004-nv-super.dtb to .../Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0004-nv-super.dtb.rec
Generated UUID 0b692032-dffc-4765-8428-eaf65974dcc5 for mounting root APP partition.
copying bctfile(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3767-0004-sdram-l4t.dts)... done.
copying minratchet_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
copying device_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying pinmux_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi)... done.
copying gpioint_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-gpioint-p3767-0000.dts)... done.
copying pmic_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pmic-p3767-0000-a02.dts)... done.
copying pmc_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi)... done.
copying deviceprod_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-cprod-p3767-0000.dts)... done.
copying prod_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-prod-p3767-0000.dts)... done.
copying scr_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-scr-p3767-0000.dts)... done.
copying wb0sdram(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3767-0004-wb0sdram-l4t.dts)... done.
copying bootrom_config(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-reset-p3767-0000.dts)... done.
Existing uphylane_config(.../Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-p3767-0000-l4t.dts)... done.
copying dev_params_b(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct_b-p3767-0000-l4t.dts)... done.
copying mb2bct_cfg(.../Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-misc-p3767-0000.dts)... done.
Existing pscfwfile(.../Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(.../Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(.../Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing tscfwfile(.../Linux_for_Tegra/bootloader/tsec_t234.bin) reused.
Existing mb2applet(.../Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(.../Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
copying initrd(.../Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
.../Linux_for_Tegra/bootloader/ramdisk_tmp .../Linux_for_Tegra/bootloader .../Linux_for_Tegra
65468 blocks
_BASE_KERNEL_VERSION=5.15.185-tegra
find: ?.../Linux_for_Tegra/rootfs/lib?: No such file or directory
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/mv': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/mv .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/mv
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/sync': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/sync .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/sync
cp: cannot stat '.../Linux_for_Tegra/rootfs/sbin/blockdev': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/sbin/blockdev .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/blockdev
cp: cannot stat '.../Linux_for_Tegra/rootfs/sbin/parted': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/sbin/parted .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/parted
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/cut': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/cut .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/cut
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/cksum': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/cksum .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/cksum
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/sha1sum': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/sha1sum .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/sha1sum
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/seq': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/seq .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/seq
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/dirname': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/dirname .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/dirname
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/tr': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/tr .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/tr
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/du': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/du .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/du
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/chattr': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/chattr .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/chattr
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/findmnt': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/findmnt .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/findmnt
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/partx': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/partx .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/partx
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/wc': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/wc .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/wc
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/uname': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/uname .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/uname
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/mtd_debug': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/mtd_debug .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/mtd_debug
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/blockdev': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/blockdev .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/blockdev
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/sfdisk': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/sfdisk .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/sfdisk
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/sgdisk': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/sgdisk .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/sgdisk
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/partprobe': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/partprobe .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/partprobe
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//ld-linux-aarch64.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//ld-linux-aarch64.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//ld-linux-aarch64.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libc.so.6': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libc.so.6 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libc.so.6
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libdl.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libdl.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libdl.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libm.so.6': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libm.so.6 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libm.so.6
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libnsl.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libnsl.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libnsl.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libnss_files.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libnss_files.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libnss_files.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libpthread.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libpthread.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libpthread.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libresolv.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libresolv.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libresolv.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//librt.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//librt.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//librt.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libwrap.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libwrap.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libwrap.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libaudit.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libaudit.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libaudit.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libpam.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libpam.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libpam.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libpam_misc.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libpam_misc.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libpam_misc.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libsystemd.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libsystemd.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libsystemd.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//liblzma.so.5': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//liblzma.so.5 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//liblzma.so.5
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libgcrypt.so.20': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libgcrypt.so.20 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libgcrypt.so.20
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libgpg-error.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libgpg-error.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libgpg-error.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libutil.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libutil.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libutil.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libcrypt.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libcrypt.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libcrypt.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libz.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libz.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libz.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libcap.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libcap.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libcap.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libcap-ng.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libcap-ng.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libcap-ng.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libprocps.so.8': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libprocps.so.8 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libprocps.so.8
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libnss_compat.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libnss_compat.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libnss_compat.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libmnl.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libmnl.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libmnl.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libdbus-1.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libdbus-1.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libdbus-1.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libreadline.so.8': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libreadline.so.8 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libreadline.so.8
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libtinfo.so.6': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libtinfo.so.6 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libtinfo.so.6
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libdevmapper.so.1.02.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libdevmapper.so.1.02.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libdevmapper.so.1.02.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libblkid.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libblkid.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libblkid.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libuuid.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libuuid.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libuuid.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libudev.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libudev.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libudev.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libselinux.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libselinux.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libselinux.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/lib//libpcre.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/lib//libpcre.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libpcre.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libssl.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libssl.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/libssl.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libgssapi_krb5.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libgssapi_krb5.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libgssapi_krb5.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libkrb5.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libkrb5.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libkrb5.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libk5crypto.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libk5crypto.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libk5crypto.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libkrb5support.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libkrb5support.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libkrb5support.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libcrypto.so.3': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libcrypto.so.3 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libcrypto.so.3
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//liblz4.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//liblz4.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//liblz4.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libelf.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libelf.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libelf.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libe2p.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libe2p.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libe2p.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libcom_err.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libcom_err.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libcom_err.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libfdisk.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libfdisk.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libfdisk.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libstdc++.so.6': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libstdc++.so.6 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libstdc++.so.6
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libpopt.so.0': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libpopt.so.0 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libpopt.so.0
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libgcc_s.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libgcc_s.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libgcc_s.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libparted.so.2': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libparted.so.2 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libparted.so.2
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/phy/tegra/phy-tegra194-p2u.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/phy/tegra/phy-tegra194-p2u.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/phy/tegra/phy-tegra194-p2u.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/pci/controller/dwc/pcie-tegra194.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/pci/controller/dwc/pcie-tegra194.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/pci/controller/dwc/pcie-tegra194.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme-core.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme-core.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme-core.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/nvme/host/nvme.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/thermal/tegra/tegra-bpmp-thermal.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/thermal/tegra/tegra-bpmp-thermal.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/thermal/tegra/tegra-bpmp-thermal.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/pwm/pwm-tegra.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/pwm/pwm-tegra.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/pwm/pwm-tegra.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/hwmon/pwm-fan.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/kernel/drivers/hwmon/pwm-fan.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/kernel/drivers/hwmon/pwm-fan.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.alias': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.alias .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.alias
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.alias.bin': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.alias.bin .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.alias.bin
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.builtin
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin.bin': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin.bin .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.builtin.bin
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin.modinfo': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.builtin.modinfo .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.builtin.modinfo
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.dep': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.dep .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.dep
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.dep.bin': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.dep.bin .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.dep.bin
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.devname': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.devname .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.devname
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.order': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.order .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.order
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.softdep': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.softdep .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.softdep
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.symbols': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.symbols .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.symbols
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.symbols.bin': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/modules.symbols.bin .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/modules.symbols.bin
cp: cannot stat '.../Linux_for_Tegra/rootfs/etc/ssh/sshd_config': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/etc/ssh/sshd_config .../Linux_for_Tegra/bootloader/ramdisk_tmp//etc/ssh/sshd_config
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/sbin/sshd': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/sbin/sshd .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/sshd
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/su': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/su .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/su
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/whoami': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/whoami .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/whoami
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/passwd': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/passwd .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/passwd
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/ps': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/ps .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/ps
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/ping': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/ping .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/ping
cp: cannot stat '.../Linux_for_Tegra/rootfs/sbin/dhclient-script': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/sbin/dhclient-script .../Linux_for_Tegra/bootloader/ramdisk_tmp//sbin/dhclient-script
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/ip': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/ip .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/ip
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/run-parts': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/run-parts .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/run-parts
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/w': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/w .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/w
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/scp': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/scp .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/scp
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/find': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/find .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/find
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/xxd': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/xxd .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/xxd
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/head': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/head .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/head
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/kmod': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/kmod .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/kmod
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/diff': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/diff .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/diff
cp: cannot stat '.../Linux_for_Tegra/rootfs/bin/cpio': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/bin/cpio .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/cpio
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/bin/lsblk': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/bin/lsblk .../Linux_for_Tegra/bootloader/ramdisk_tmp//bin/lsblk
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libsmartcols.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libsmartcols.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libsmartcols.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib//libmount.so.1': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib//libmount.so.1 .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib//libmount.so.1
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/updates/drivers/nvpps/nvpps.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/updates/drivers/nvpps/nvpps.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/updates/drivers/nvpps/nvpps.ko
cp: cannot stat '.../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/updates/drivers/net/ethernet/nvidia/nvethernet/nvethernet.ko': No such file or directory
warning: cp -f .../Linux_for_Tegra/rootfs/usr/lib/modules/5.15.185-tegra/updates/drivers/net/ethernet/nvidia/nvethernet/nvethernet.ko .../Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.185-tegra/updates/drivers/net/ethernet/nvidia/nvethernet/nvethernet.ko
sed: can't read .../Linux_for_Tegra/bootloader/ramdisk_tmp//etc/ssh/sshd_config: No such file or directory
command is failed
Error: failed to generate images
Cleaning up...

If this process requires a root file system image, I have a root file system (ext4 file) and kernel image for my board.

hello david_charlap,

please also include SBK key since it’s for encryption.
you may follow the to steps above have additional fuses burn onto the board,
please try adding SBK key, and setting BootSecurityInfo as 0x3E9 for confirmation.

I can’t burn an SBK key to that module - the odmfuse.sh command fails in the same way as I’ve seen before.

Or are you saying that I should include an SBK key when burning fuses onto a new module?

Some web searching found this thread from March:

It would appear that there’s a BootROM bug, where SBK and K1 must be configured at the same time. If one is used without the other, the device won’t accept an MB1 image.

If this is true, it should be explicitly documented.

please see-also Jetson Orin Fuse Configuration File Example.
as you can see.. we usually fuse a target based-on PKC+SBK with OEM_K1.

Hi @david_charlap

I am also working with secure boot on jetson orin nano.

I experienced such problems before time.

According to my experience, you should remove PKC from fuse_config.xml. And also should add SBK fuse.
In my case, some devices did not work and I could not fuse additional keys.
At the NVIDIA Jetson Security Documentation, they say “NVIDIA recommends burning all the fuses you need in a single operation. While partial fuse burning is possible if SecurityMode is not burned, it may lead to issues not described in this document. If you are determined to proceed with partial fuse burning, contact NVIDIA technical support for further assistance.”

I just tried to do just that. I tried to write all the fuses to a new module at once with:

$ sudo ./odmfuse.sh -X .../fuse_config.xml -i 0x23 jetson-orin-nano-devkit-super-nvme

My (redacted) fuse_config.xml file is:

<genericfuse MagicId="0x45535546" version="1.0.0">
    <fuse name="PublicKeyHash" size="64" value="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <fuse name="SecureBootKey" size="32" value="0x0000000000000000000000000000000000000000000000000000000000000000"/>
    <fuse name="OemK1" size="32" value="0x0000000000000000000000000000000000000000000000000000000000000000"/>
    <fuse name="BootSecurityInfo" size="4" value="0x3E9"/>
</genericfuse>

The fuses burned successfully. The module’s console shows:

I> FSKP (version: 0.0.0.0-t234-54845784-0793996d)
I> t234-A01-1-Silicon (0x12347)
I> Emulation:
I> Entry timestamp: 0x012c4cf2
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x173800000, size:0x800000]
I> Task: Crypto init
I> Task: Program CBB PCIE AMAP regions
I> Task: Burn fuses
I> Index : 1    PublicKeyHash    size: 64
I> Index : 2    SecureBootKey    size: 32
I> Index : 3    OemK1    size: 32
I> Index : 4    BootSecurityInfo    size: 4
I> Fuse Blob found
I>
I> Burning fuses
I> 1. Start PublicKeyHash burn
I> 1. PublicKeyHash burnt successfully
W> No handling of CRC-32 for PublicKeyHash
I>
I> 2. Start SecureBootKey burn
I> 2. SecureBootKey burnt successfully
W> No handling of CRC-32 for SecureBootKey
I>
I> 3. Start OemK1 burn
I> 3. OemK1 burnt successfully
W> No handling of CRC-32 for OemK1
I>
I> 4. Start BootSecurityInfo burn
I> 4. BootSecurityInfo burnt successfully
W> No handling of CRC-32 for BootSecurityInfo
I>
I> Successfully burnt fuses as per fuse info
I> Index : 1    PublicKeyHash    size: 64
I> Index : 2    SecureBootKey    size: 32
I> Index : 3    OemK1    size: 32
I> Index : 4    BootSecurityInfo    size: 4
I> Fuse Blob found
I> No RPMB provisioning details is found. Skip RPMB Provisioning.
I> FSKP finished

And it’s bricked again. The fuse-read operation fails same as before:

$ sudo ./flash.sh --read-info -u .../pkc_key_priv.pem -v .../sbk.key jetson-orin-nano-devkit-super-nvme nvme0n1p1

...
[   1.7902 ] Boot Rom communication
[   1.7908 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader_encrypt.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader_encrypt.bct.signed
[   1.7913 ] BR_CID: 0xA9012344705DF8881800000015008040
[   1.9367 ] Sending bct_br
[   2.0735 ] Sending mb1
[   2.0745 ] ERROR: might be timeout in USB write.
Error: Return value 3
...

I have power-cycled the module, just in case that is necessary after fuse burning. No change.

Trying to flash my image also fails:

$ sudo ./doflash.sh --spi-only -u .../pkc_key_priv.pem -v .../sbk.key

...
[   2.1437 ] Boot Rom communication
[   2.1453 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader_encrypt.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader_encrypt.bct.signed
[   2.1464 ] BR_CID: 0xA9012344705DF8881800000015008040
[   2.3852 ] Sending bct_br
[   2.5238 ] Sending mb1
[   2.5250 ] ERROR: might be timeout in USB write.
Error: Return value 3
...