Kernel_only_payload failed!

Hi NV Team,

Orin NX平台,BSP JP5.1.1。

我在使用如下命令生成payload包后:
./build_l4t_bup.sh jetson-orin-nano-devkit-nvme nvme0n1p1

在设备端执行升级时失败:

root@tegra:/home/nvidia# ./nv_bootloader_payload_updater --part kernel              
Start running: /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh -c
3767--0001--1--jetson-orin-nano-devkit-
Got individual part name: kernel
Got update payload: /opt/ota_package/bl_update_payload
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mtdblock0
Tegra GPT Block Device: /dev/mtdblock0
Skip querying the boot device parameters 
HEADER: MAGIC NVIDIA__BLOB__V3
HEX_VALUE 16975394
BLOB_SIZE 43028106
HEADER_SIZE 48
NUMBER_OF_ELEMENTS 2
HEADER_TYPE 0
UNCOMP_SIZE 43028106
MB1_RATCHET_LV 0
MTS_RATCHET_LV 0
ROLLBACK_FUSE_LV 0
Device TN Spec: 3767-300-0001-N.2-1-0-jetson-orin-nano-devkit-nvme-
Device Compatible Spec: 3767--0001--1--jetson-orin-nano-devkit-
Device TN Spec: 3767-300-0001-N.2-1-0-jetson-orin-nano-devkit-nvme-
Device Compatible Spec: 3767--0001--1--jetson-orin-nano-devkit-
Device is fused board.
ENTRY_TABLE:
PART  POS  LEN  VER TNSPEC TYPE UPDATABLE
A_kernel  416  42672128  13617    1  1
A_kernel-dtb  42672544  355562  13617  3767-300-0001-N.2-1-0-jetson-orin-nano-devkit-nvme-  1  1
Can't find kernel in /opt/ota_package/bl_update_payload  
Writing to partitions failed. 
OTA Blob update failed. Status: 3
./nv_bootloader_payload_updater --part Failed.

发现Orin NX系统中:
/dev/nvme0n1p2: PARTLABEL=“kernel” PARTUUID=“52dff64d-70e4-43cf-9de3-9441c73c3713”
/dev/nvme0n1p3: PARTLABEL=“kernel-dtb” PARTUUID=“0e40c78b-9963-4d63-927f-c54293519a65”
而不是A_kernel和A_kernel-dtb

$ sudo blkid
/dev/nvme0n1p1: UUID="d04e233b-793d-48b2-9eb9-3b42dcca0a9d" TYPE="ext4" PARTLABEL="APP" PARTUUID="6ed7cefd-628f-41d4-b124-f42230bf280c"
/dev/nvme0n1p11: UUID="97E9-650A" TYPE="vfat" PARTLABEL="esp" PARTUUID="5f8f79d6-7a6f-4b3b-9c3d-f6614875134d"
/dev/nvme0n1p15: LABEL="miiviidata" UUID="b707f5e8-bb08-483b-af88-aa8ddbf6638b" TYPE="ext4" PARTUUID="71a61101-cab4-1647-bef2-04e8c48cc37d"
/dev/loop0: SEC_TYPE="msdos" LABEL_FATBOOT="L4T-README" LABEL="L4T-README" UUID="1234-ABCD" TYPE="vfat"
/dev/zram0: UUID="b65813c2-fb0f-4ecd-99cf-3c7039724d7a" TYPE="swap"
/dev/zram1: UUID="3235ca34-c11d-485d-8c3c-70b29fb78f68" TYPE="swap"
/dev/zram2: UUID="77b8ef54-d9dc-4931-a79f-b6fc1a797e59" TYPE="swap"
/dev/zram3: UUID="3c801f98-77d3-49e5-80e9-878b964555cf" TYPE="swap"
/dev/zram4: UUID="b1e7a0d1-c8ea-49e6-9827-2c2b843410ab" TYPE="swap"
/dev/zram5: UUID="cc6fab4f-9065-4334-8a52-7b0987f05a90" TYPE="swap"
/dev/zram6: UUID="f209dadd-7ebf-422a-ad31-80be89971f8a" TYPE="swap"
/dev/zram7: UUID="8b69e56d-ddd9-4ccf-9f8d-59ffb44f5d51" TYPE="swap"
/dev/nvme0n1p2: PARTLABEL="kernel" PARTUUID="52dff64d-70e4-43cf-9de3-9441c73c3713"
/dev/nvme0n1p3: PARTLABEL="kernel-dtb" PARTUUID="0e40c78b-9963-4d63-927f-c54293519a65"
/dev/nvme0n1p4: PARTLABEL="reserved_for_chain_A_user" PARTUUID="6d83fb72-d4ac-4e90-96db-ac5c32b58f48"
/dev/nvme0n1p5: PARTLABEL="kernel_b" PARTUUID="6f57d610-0dae-488e-a468-df3723be8e64"
/dev/nvme0n1p6: PARTLABEL="kernel-dtb_b" PARTUUID="2745b08b-93c4-49ee-b354-0b4c699cb04c"
/dev/nvme0n1p7: PARTLABEL="reserved_for_chain_B_user" PARTUUID="183f774e-1868-42ac-98ae-1f4cc6a47f75"
/dev/nvme0n1p8: PARTLABEL="recovery" PARTUUID="2848a265-da42-403e-a894-4f3d1fa7704e"
/dev/nvme0n1p9: PARTLABEL="recovery-dtb" PARTUUID="525ec848-b359-4a4b-96fd-961095be3e25"
/dev/nvme0n1p10: PARTLABEL="RECROOTFS" PARTUUID="6e1b243e-e073-422b-9dfb-7538c9eb5b7c"
/dev/nvme0n1p12: PARTLABEL="recovery_alt" PARTUUID="39cc4f1b-18f3-4ea3-ba2a-a3152c252429"
/dev/nvme0n1p13: PARTLABEL="recovery-dtb_alt" PARTUUID="773126a1-935e-4d82-8fe3-b20d2cd7761e"
/dev/nvme0n1p14: PARTLABEL="esp_alt" PARTUUID="57712722-3842-49be-9573-276b719eb06f"

而相同的JP5.1.1,在Orin平台中:
依旧是A_kernel和A_kernel-dtb

$ sudo blkid 
/dev/mmcblk0p1: UUID="3bf73c46-540a-4301-9e48-11616d58de66" TYPE="ext4" PARTLABEL="APP" PARTUUID="1a3a3404-8268-4568-bd83-91288e890c18"
/dev/mmcblk0p2: PARTLABEL="A_kernel" PARTUUID="4ba22609-276b-434b-9ab1-ca3179de7145"
/dev/mmcblk0p3: PARTLABEL="A_kernel-dtb" PARTUUID="274747b3-f913-46fc-b4e0-fa73903c3c16"
/dev/mmcblk0p4: PARTLABEL="A_reserved_on_user" PARTUUID="76cff0a7-deb9-496c-82c6-21525694a61f"
/dev/mmcblk0p5: PARTLABEL="B_kernel" PARTUUID="03f17580-bfd4-448a-a76e-ee0a0e0b5553"
/dev/mmcblk0p6: PARTLABEL="B_kernel-dtb" PARTUUID="10d1cb14-337b-49d4-bac4-a74d7bea2104"
/dev/mmcblk0p7: PARTLABEL="B_reserved_on_user" PARTUUID="039b7412-0c30-4269-bab3-fe1f0941c125"
/dev/mmcblk0p8: PARTLABEL="recovery" PARTUUID="7dd2558a-e600-4798-a97f-d85305932e1e"
/dev/mmcblk0p9: PARTLABEL="recovery-dtb" PARTUUID="24671f1b-e7da-48fa-94fc-337b24450970"
/dev/mmcblk0p10: UUID="7902-4D24" TYPE="vfat" PARTLABEL="esp" PARTUUID="2c460f45-adee-4cfe-9d23-7b35f9568d53"
/dev/mmcblk0p11: PARTLABEL="recovery_alt" PARTUUID="43fba701-0412-4976-8993-c969a897cb3a"
/dev/mmcblk0p12: PARTLABEL="recovery-dtb_alt" PARTUUID="12e2e2cb-598b-4beb-bf2b-725a4b58d416"
/dev/mmcblk0p13: PARTLABEL="esp_alt" PARTUUID="7076195f-9aa6-4560-9a63-296a73e44701"
/dev/mmcblk0p14: PARTLABEL="reserved" PARTUUID="7f34ce21-27d4-47d1-aece-69053442d002"
/dev/loop0: SEC_TYPE="msdos" LABEL_FATBOOT="L4T-README" LABEL="L4T-README" UUID="1234-ABCD" TYPE="vfat"
/dev/zram0: UUID="15864214-1f38-4dd4-81b8-bc45179e6c63" TYPE="swap"
/dev/zram1: UUID="81160a6a-919b-44fb-97af-48c374836192" TYPE="swap"
/dev/zram2: UUID="7957b87e-083b-4aa0-a6c6-03481b080690" TYPE="swap"
/dev/zram3: UUID="602575ba-b6de-4a01-be9c-e93b0d02e31d" TYPE="swap"
/dev/zram4: UUID="d16e4b7f-40e3-4a7a-b490-bbfb826152b7" TYPE="swap"
/dev/zram5: UUID="22990d5d-0161-4d6d-a357-2f2bee964b79" TYPE="swap"
/dev/zram6: UUID="551dc43d-689a-4add-ace2-7f1cfd11b5d3" TYPE="swap"
/dev/zram7: UUID="efb4d553-9d07-4c9e-9346-80e7d8955cc5" TYPE="swap"

请问
1,是平台差异,PARTLABEL不同吗?
2,我需要添加额外的参数 ./build_l4t_bup.sh jetson-orin-nano-devkit-nvme nvme0n1p1
来生成Orin NX平台上可用的payload package吗?

感谢!

Hi NV,

帮忙确认如下细节是否正确:

CUP(Capsule Update Payload)
BUP (Bootloader Update Payload)

0,CUP和BUP方式都可以升级kernel分区和kernl-deb分区
1,CUP可以更新单分区(仅A_kernel),或者多分区(执行两次后分别更新A_kernel和B_kernel);
2,升级多分区时用l4t_generate_soc_capsule.sh生成升级包,单分区用build_l4t_bup.sh生成升级包。
3. nv_update_engine工具用于在设备端执行更新BUP
4. R35.2以后用CUP更新bootloader分区和kernel分区

非常感谢!

Hi,

I would ask question to confirm: Is your Orin NX using a dev kit or the custom carrier board?

You could refer to this topic first.

Thanks

Hi DavidDDD,

关于CUP和BUP问题明白了。
那我们回到topic的最初问题:
Orin NX JP5.1.1 中:
/dev/nvme0n1p2: PARTLABEL=“kernel” PARTUUID=“52dff64d-70e4-43cf-9de3-9441c73c3713”
/dev/nvme0n1p3: PARTLABEL=“kernel-dtb” PARTUUID=“0e40c78b-9963-4d63-927f-c54293519a65”

PARTLABEL=“kernel”而不是A_kernel和,导致在制作payload包时就失败了,请问如何解决?

$ sudo FAB=000 BOARDID=3767 FUSELEVEL=fuselevel_production BOARDSKU=0000 ./build_l4t_bup.sh --single-image-bup kernel jetson-orin-nano-devkit mmcblk0p1

###############################################################################

# L4T BSP Information:

# R35 , REVISION: 3.1

# User release: 0.0

###############################################################################

Board ID(3767) version(000) sku(0000) revision()

Chip SKU() ramcode() fuselevel(fuselevel_production) board_FAB(000)

emc_opt_disable_fuse:(0)

copying bctfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-sdram-l4t.dts)... done.

copying minratchet_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.

copying device_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.

copying misc_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.

copying pinmux_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi)... done.

copying gpioint_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-gpioint-p3767-0000.dts)... done.

copying pmic_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pmic-p3767-0000-a02.dts)... done.

copying pmc_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi)... done.

copying deviceprod_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-cprod-p3767-0000.dts)... done.

copying prod_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-prod-p3767-0000.dts)... done.

copying scr_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-scr-p3767-0000.dts)... done.

copying wb0sdram(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-wb0sdram-l4t.dts)... done.

copying bootrom_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-reset-p3767-0000.dts)... done.

Existing uphylane_config(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.

copying dev_params(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-p3767-0000-l4t.dts)... done.

copying dev_params_b(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct_b-p3767-0000-l4t.dts)... done.

copying mb2bct_cfg(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-misc-p3767-0000.dts)... done.

Existing pscfwfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.

Existing pscbl1file(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.

Existing mtsmcefile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.

Existing mb2applet(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/applet_t234.bin) reused.

Existing bootloader(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.

copying initrd(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.

bl is uefi

Making Boot image... done.

Not signing of boot.img

Existing sosfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.

Existing tegraboot(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.

Existing cpu_bootloader(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.

Existing mb2blfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.

Existing xusbfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/xusb_t234_prod.bin) reused.

Existing dcefile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/display-t234-dce.bin) reused.

Existing nvdecfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/nvdec_t234_prod.fw) reused.

Existing psc_rf(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/psc_rf_t234_prod.bin) reused.

Existing mb2_rf(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb2rf_t234.bin) reused.

Existing mb1file(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.

Existing bpffile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/bpmp_t234-TE990M-A1_prod.bin) reused.

copying bpfdtbfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/tegra234-bpmp-3767-0000-a02-3509-a02.dtb)... done.

Existing scefile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.

Existing camerafw(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/camera-rtcpu-t234-rce.img) reused.

Existing apefile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.

Existing spefile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/spe_t234.bin) reused.

Existing wb0boot(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/sc7_t234_prod.bin) reused.

Existing tosfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/tos-optee_t234.img) reused.

Existing eksfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/eks_t234.img) reused.

copying dtbfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-p3768-0000-a0.dtb)... done.

Copying nv_boot_control.conf to rootfs

Skip generating system.img

Not signing of kernel-dtb

Existing tbcfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused.

copying tbcdtbfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-p3768-0000-a0.dtb)... done.

copying cfgfile(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t234_qspi_sd.xml) to flash.xml... done.

Existing flashapp(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/tegraflash.py) reused.

copying overlay_dtb(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.

copying overlay_dtb(/home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/kernel/dtb/tegra234-p3767-overlay.dtbo)... done.

./tegraflash.py --bl uefi_jetson_with_dtb.bin --odmdata gbe-uphy-config-8,hsstp-lane-map-3,hsio-uphy-config-0 --overlay_dtb L4TConfiguration.dtbo,tegra234-p3767-overlay.dtbo, --bldtb tegra234-p3767-0000-p3768-0000-a0.dtb --applet mb1_t234_prod.bin --cmd "sign" --cfg flash.xml --chip 0x23 --concat_cpubl_bldtb --cpubl uefi_jetson.bin --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --pinmux_config tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi --gpioint_config tegra234-mb1-bct-gpioint-p3767-0000.dts --pmic_config tegra234-mb1-bct-pmic-p3767-0000-a02.dts --pmc_config tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi --deviceprod_config tegra234-mb1-bct-cprod-p3767-0000.dts --prod_config tegra234-mb1-bct-prod-p3767-0000.dts --scr_config tegra234-mb2-bct-scr-p3767-0000.dts --wb0sdram_config tegra234-p3767-0000-wb0sdram-l4t.dts --br_cmd_config tegra234-mb1-bct-reset-p3767-0000.dts --uphy tegra234-mb1-bct-uphylane-si.dtsi --dev_params tegra234-br-bct-p3767-0000-l4t.dts,tegra234-br-bct_b-p3767-0000-l4t.dts --mb2bct_cfg tegra234-mb2-bct-misc-p3767-0000.dts --bins "psc_fw pscfw_t234_prod.bin; mts_mce mce_flash_o10_cr_prod.bin; mb2_applet applet_t234.bin; mb2_bootloader mb2_t234.bin; xusb_fw xusb_t234_prod.bin; dce_fw display-t234-dce.bin; nvdec nvdec_t234_prod.fw; bpmp_fw bpmp_t234-TE990M-A1_prod.bin; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02.dtb; sce_fw camera-rtcpu-sce.img; rce_fw camera-rtcpu-t234-rce.img; ape_fw adsp-fw.bin; spe_fw spe_t234.bin; tos tos-optee_t234.img; eks eks_t234.img" --sdram_config tegra234-p3767-0000-sdram-l4t.dts --secondary_gpt_backup --bct_backup --boot_chain A

saving flash command in /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/flashcmd.txt

saving Windows flash command to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/flash_win.bat

*** Sign and generate BUP... ***

Signing with zerosbk ...

rollback info is parsed and saved in rollback.bin

WARNING: failed to find rollback config for " t186ref "

pad ZEROs to the end of rollback.bin

 

Generating signed binaries for 3767-000-0000--1-0-jetson-orin-nano-devkit- ...

./tegraflash.py --bl uefi_jetson_with_dtb.bin --odmdata gbe-uphy-config-8,hsstp-lane-map-3,hsio-uphy-config-0 --overlay_dtb L4TConfiguration.dtbo,tegra234-p3767-overlay.dtbo, --bldtb tegra234-p3767-0000-p3768-0000-a0.dtb --applet mb1_t234_prod.bin --cmd "sign" --cfg flash.xml --chip 0x23 --concat_cpubl_bldtb --cpubl uefi_jetson.bin --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --pinmux_config tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi --gpioint_config tegra234-mb1-bct-gpioint-p3767-0000.dts --pmic_config tegra234-mb1-bct-pmic-p3767-0000-a02.dts --pmc_config tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi --deviceprod_config tegra234-mb1-bct-cprod-p3767-0000.dts --prod_config tegra234-mb1-bct-prod-p3767-0000.dts --scr_config tegra234-mb2-bct-scr-p3767-0000.dts --wb0sdram_config tegra234-p3767-0000-wb0sdram-l4t.dts --br_cmd_config tegra234-mb1-bct-reset-p3767-0000.dts --uphy tegra234-mb1-bct-uphylane-si.dtsi --dev_params tegra234-br-bct-p3767-0000-l4t.dts,tegra234-br-bct_b-p3767-0000-l4t.dts --mb2bct_cfg tegra234-mb2-bct-misc-p3767-0000.dts --bins "psc_fw pscfw_t234_prod.bin; mts_mce mce_flash_o10_cr_prod.bin; mb2_applet applet_t234.bin; mb2_bootloader mb2_t234.bin; xusb_fw xusb_t234_prod.bin; dce_fw display-t234-dce.bin; nvdec nvdec_t234_prod.fw; bpmp_fw bpmp_t234-TE990M-A1_prod.bin; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02.dtb; sce_fw camera-rtcpu-sce.img; rce_fw camera-rtcpu-t234-rce.img; ape_fw adsp-fw.bin; spe_fw spe_t234.bin; tos tos-optee_t234.img; eks eks_t234.img" --sdram_config tegra234-p3767-0000-sdram-l4t.dts --secondary_gpt_backup --bct_backup --boot_chain A

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.0480 ] tegrasign_v3.py --key None --getmode mode.txt

[ 0.0481 ] Assuming zero filled SBK key

[ 0.0434 ] Parsing partition layout

[ 0.0450 ] tegraparser_v2 --pt flash.xml.tmp

[ 0.0489 ] Change tegra234-bpmp-3767-0000-a02-3509-a02.dtb to tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb

[ 0.0489 ] Change tegra234-bpmp-3767-0000-a02-3509-a02.dtb to tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb

[ 0.0649 ] /usr/bin/python3 dtbcheck.py -c t234 -o tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_tmp.dtb

[ 0.3490 ] Concatenating L4TConfiguration.dtbo,tegra234-p3767-overlay.dtbo to tegra234-p3767-0000-p3768-0000-a0_with_odm_overlay.dtb

[ 0.3491 ] Concatenating bl dtb to cpubl binary

[ 0.3525 ] MB2 binary: mb2_t234.bin

[ 0.3525 ] Pre-processing mb2bct config: tegra234-mb2-bct-misc-p3767-0000.dts

[ 0.4006 ] Pre-processing mb2bct config: tegra234-mb2-bct-scr-p3767-0000.dts

[ 0.7599 ] Generating coldboot mb2-bct

[ 0.7599 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct.cfg --mb2bctcfg tegra234-mb2-bct-misc-p3767-0000_cpp.dtb --scr tegra234-mb2-bct-scr-p3767-0000_cpp.dtb

[ 0.7616 ] WARNING: unknown property 'tfc_version'

[ 0.7646 ] WARNING: unknown property 'addr_header_version'

[ 0.7729 ] Updating mb2-bct with storage information

[ 0.7740 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct_MB2.bct --updatestorageinfo flash.xml.bin

[ 0.7754 ] Concatenating mb2-bct to mb2 binary

[ 0.7754 ] mb2_bin_file = mb2_t234.bin

[ 0.7754 ] mb2_bct_file = mb2_cold_boot_bct_MB2.bct

[ 0.7796 ] DCE binary: display-t234-dce.bin

[ 0.7797 ] Kernel DTB used: kernel_tegra234-p3767-0000-p3768-0000-a0.dtb

[ 0.7797 ] Concatenating kernel-dtb to dce-fw binary

[ 0.7798 ] dce_bin = display-t234-dce.bin

[ 0.7798 ] kernel_dtb = kernel_tegra234-p3767-0000-p3768-0000-a0.dtb

[ 0.7798 ] dce_with_dtb = display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0.bin

[ 0.7886 ] Update display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0.bin to dce_fw partitions

[ 0.7899 ] Parsing partition layout

[ 0.7911 ] tegraparser_v2 --pt flash.xml.tmp

[ 0.7927 ] Creating list of images to be signed

[ 0.8190 ] Generating ratchet blob

[ 0.8191 ] Pre-processing config: tegra234-mb1-bct-reset-p3767-0000.dts

[ 0.8279 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts

[ 0.8742 ] Pre-processing config: tegra234-mb1-bct-cprod-p3767-0000.dts

[ 0.8835 ] Pre-processing config: tegra234-mb1-bct-gpioint-p3767-0000.dts

[ 0.8914 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts

[ 0.9036 ] Pre-processing config: tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi

[ 0.9231 ] Pre-processing config: tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi

[ 0.9295 ] Pre-processing config: tegra234-mb1-bct-pmic-p3767-0000-a02.dts

[ 0.9371 ] Pre-processing config: tegra234-mb1-bct-prod-p3767-0000.dts

[ 0.9466 ] Pre-processing config: tegra234-p3767-0000-sdram-l4t.dts

[ 2.6455 ] Pre-processing config: tegra234-mb1-bct-uphylane-si.dtsi

[ 2.6529 ] Pre-processing config: tegra234-p3767-0000-wb0sdram-l4t.dts

[ 4.3606 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts

[ 4.3687 ] Generating coldboot mb1-bct

[ 4.3704 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin

[ 4.3719 ] MB1-BCT version: 0.10

[ 4.3720 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 4.3724 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 4.3726 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 4.3728 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 4.3731 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 4.3733 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 4.3736 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported

[ 4.3738 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported

[ 4.3740 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported

[ 4.3743 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported

[ 4.3747 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

[ 4.3747 ]

[ 4.3747 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb

[ 4.3747 ] Added Platform Config 0 data with size :- 2416

[ 4.3747 ]

[ 4.3747 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb

[ 4.3747 ] WARNING: unknown node 'g2'

[ 4.3747 ] WARNING: unknown node 'g2'

[ 4.3747 ] WARNING: unknown node 'g9'

[ 4.3748 ] WARNING: unknown node 'g9'

[ 4.3748 ] Added Platform Config 2 data with size :- 24

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb

[ 4.3748 ] Added Platform Config 4 data with size :- 288

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb

[ 4.3748 ] Added Platform Config 3 data with size :- 52

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb

[ 4.3748 ] WARNING: unknown property 'major'

[ 4.3748 ] WARNING: unknown property 'minor'

[ 4.3748 ] Added Platform Config 5 data with size :- 500

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb

[ 4.3748 ] WARNING: unknown property 'major'

[ 4.3748 ] WARNING: unknown property 'minor'

[ 4.3748 ] Added Platform Config 7 data with size :- 380

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb

[ 4.3748 ] Added Platform Config 8 data with size :- 24

[ 4.3748 ]

[ 4.3748 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb

[ 4.3748 ] Added Platform Config 9 data with size :- 100

[ 4.3749 ]

[ 4.3749 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb

[ 4.3749 ] ModuleCount 0 NumProdNames 0

[ 4.3749 ] Added Platform Config 6 data with size :- 16

[ 4.3749 ]

[ 4.3749 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb

[ 4.3749 ]

[ 4.3749 ] Updating mb1-bct with firmware information

[ 4.3759 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin

[ 4.3782 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct

[ 4.3800 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk

[ 4.3808 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct

[ 4.3865 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 4.3867 ] Assuming zero filled SBK key

[ 4.4436 ] Warning: pub_key.key is not found

[ 4.4400 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk

[ 4.4427 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk

[ 4.4441 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin

[ 4.4451 ] Header already present for mb1_t234_prod_aligned_sigheader.bin

[ 4.4455 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin

[ 4.4760 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin

[ 4.4763 ] Header already present for nvdec_t234_prod_aligned.fw

[ 4.4783 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin

[ 4.4832 ] adding BCH for xusb_t234_prod_aligned.bin

[ 4.4946 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin

[ 4.5014 ] adding BCH for tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb

[ 4.5152 ] Header already present for pscfw_t234_prod_aligned.bin

[ 4.5193 ] Header already present for mce_flash_o10_cr_prod_aligned.bin

[ 4.5249 ] Header already present for sc7_t234_prod.bin

[ 4.5274 ] Header already present for psc_rf_t234_prod_aligned.bin

[ 4.5299 ] adding BCH for mb2rf_t234_aligned.bin

[ 4.5316 ] adding BCH for uefi_jetson_with_dtb_aligned.bin

[ 4.5429 ] adding BCH for tos-optee_t234_aligned.img

[ 4.6268 ] adding BCH for eks_t234_aligned.img

[ 4.6540 ] INFO: compressing display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned.bin

[ 4.7931 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned.bin, ratio = 7%

[ 4.8069 ] adding BCH for display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned_blob_w_bin_aligned.bin

[ 4.8227 ] adding BCH for spe_t234_aligned.bin

[ 4.8326 ] adding BCH for camera-rtcpu-t234-rce_aligned.img

[ 4.8407 ] adding BCH for adsp-fw_aligned.bin

[ 4.8550 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin

[ 4.8657 ] Header already present for mb1_t234_prod_aligned_sigheader.bin

[ 4.8661 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin

[ 4.8699 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin

[ 4.8702 ] Header already present for nvdec_t234_prod_aligned.fw

[ 4.8722 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin

[ 4.8771 ] adding BCH for xusb_t234_prod_aligned.bin

[ 4.8886 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin

[ 4.8959 ] adding BCH for tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb

[ 4.9108 ] Header already present for pscfw_t234_prod_aligned.bin

[ 4.9222 ] Header already present for mce_flash_o10_cr_prod_aligned.bin

[ 4.9351 ] Header already present for sc7_t234_prod.bin

[ 4.9377 ] Header already present for psc_rf_t234_prod_aligned.bin

[ 4.9403 ] adding BCH for mb2rf_t234_aligned.bin

[ 4.9421 ] adding BCH for uefi_jetson_with_dtb_aligned.bin

[ 4.9548 ] adding BCH for tos-optee_t234_aligned.img

[ 5.0403 ] adding BCH for eks_t234_aligned.img

[ 5.0677 ] INFO: compressing display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned.bin

[ 5.2928 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned.bin, ratio = 7%

[ 5.3066 ] adding BCH for display-t234-dce_with_kernel_tegra234-p3767-0000-p3768-0000-a0_aligned_blob_w_bin_aligned.bin

[ 5.3227 ] adding BCH for spe_t234_aligned.bin

[ 5.3332 ] adding BCH for camera-rtcpu-t234-rce_aligned.img

[ 5.3413 ] adding BCH for adsp-fw_aligned.bin

[ 5.3664 ] Filling MB1 storage info

[ 5.3664 ] Parsing dev params for multi chains

[ 5.3781 ] Generating br-bct

[ 5.3805 ] Updating dev and MSS params in BR BCT

[ 5.3806 ] tegrabct_v2 --dev_param tegra234-br-bct-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0

[ 5.4463 ] Updating bl info

[ 5.4475 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin

[ 5.4635 ] Generating br-bct

[ 5.4660 ] Updating dev and MSS params in BR BCT

[ 5.4661 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0

[ 5.5311 ] Updating bl info

[ 5.5322 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin

[ 5.5347 ] Generating BCT backup image

[ 5.5347 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768

[ 5.5373 ] 32768+0 records in

[ 5.6115 ] 32768+0 records out

[ 5.6115 ] 32768 bytes (33 kB, 32 KiB) copied, 0.073424 s, 446 kB/s

[ 5.6115 ]

[ 5.6116 ] Concatenating BCT for chain A to bct_backup.img

 

[ 5.6116 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc

[ 5.6131 ] 8192+0 records in

[ 5.6231 ] 8192+0 records out

[ 5.6231 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00955793 s, 857 kB/s

[ 5.6231 ]

[ 5.6231 ] Concatenating BCT for chain B to bct_backup.img

 

[ 5.6231 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc

[ 5.6244 ] 8192+0 records in

[ 5.6408 ] 8192+0 records out

[ 5.6408 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0159817 s, 513 kB/s

[ 5.6408 ]

[ 5.6409 ] Generating signatures

[ 5.6458 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512

[ 5.6460 ] Assuming zero filled SBK key

[ 5.7581 ] Warning: pub_key.key is not found

[ 5.7582 ] Parsing dev params for multi chains

[ 5.7583 ] Generating br-bct

[ 5.7596 ] Updating dev and MSS params in BR BCT

[ 5.7596 ] tegrabct_v2 --dev_param tegra234-br-bct-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0

[ 5.8213 ] Updating bl info

[ 5.8224 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml

[ 5.8245 ] Get Signed section of bct

[ 5.8256 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml

[ 5.8268 ] Signing BCT

[ 5.8317 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 5.8319 ] Assuming zero filled SBK key

[ 5.8352 ] Sha saved in br_bct_BR.sha

[ 5.8355 ] Warning: pub_key.key is not found

[ 5.8306 ] Updating BCT with signature

[ 5.8316 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml

[ 5.8325 ] Offset :4608 Len :3584

[ 5.8328 ] Generating SHA2 Hash

[ 5.8378 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512

[ 5.8379 ] Assuming zero filled SBK key

[ 5.8379 ] Assuming zero filled SBK key

[ 5.8408 ] Sha saved in br_bct_BR.sha

[ 5.8362 ] Updating BCT with SHA2 Hash

[ 5.8371 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml

[ 5.8379 ] Offset :4608 Len :3584

[ 5.8381 ] Offset :68 Len :8124

[ 5.8383 ] Generating br-bct

[ 5.8392 ] Updating dev and MSS params in BR BCT

[ 5.8392 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0

[ 5.8961 ] Updating bl info

[ 5.8974 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml

[ 5.9007 ] Get Signed section of bct

[ 5.9026 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml

[ 5.9047 ] Signing BCT

[ 5.9097 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 5.9100 ] Assuming zero filled SBK key

[ 5.9170 ] Sha saved in br_bct_BR.sha

[ 5.9178 ] Warning: pub_key.key is not found

[ 5.9129 ] Updating BCT with signature

[ 5.9154 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml

[ 5.9169 ] Offset :4608 Len :3584

[ 5.9173 ] Generating SHA2 Hash

[ 5.9222 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512

[ 5.9223 ] Assuming zero filled SBK key

[ 5.9224 ] Assuming zero filled SBK key

[ 5.9255 ] Sha saved in br_bct_BR.sha

[ 5.9208 ] Updating BCT with SHA2 Hash

[ 5.9219 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml

[ 5.9230 ] Offset :4608 Len :3584

[ 5.9232 ] Offset :68 Len :8124

[ 5.9234 ] Generating BCT backup image

[ 5.9235 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768

[ 5.9247 ] 32768+0 records in

[ 5.9931 ] 32768+0 records out

[ 5.9931 ] 32768 bytes (33 kB, 32 KiB) copied, 0.067837 s, 483 kB/s

[ 5.9931 ]

[ 5.9931 ] Concatenating BCT for chain A to bct_backup.img

 

[ 5.9931 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc

[ 5.9944 ] 8192+0 records in

[ 6.0041 ] 8192+0 records out

[ 6.0042 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00941873 s, 870 kB/s

[ 6.0042 ]

[ 6.0042 ] Concatenating BCT for chain B to bct_backup.img

 

[ 6.0042 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc

[ 6.0053 ] 8192+0 records in

[ 6.0152 ] 8192+0 records out

[ 6.0152 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00949933 s, 862 kB/s

[ 6.0152 ]

[ 6.0152 ] Generating coldboot mb1-bct

[ 6.0163 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin

[ 6.0173 ] MB1-BCT version: 0.10

[ 6.0174 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0177 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0179 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0182 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0184 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0187 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0190 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported

[ 6.0192 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported

[ 6.0194 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported

[ 6.0197 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported

[ 6.0198 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

[ 6.0198 ]

[ 6.0198 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb

[ 6.0198 ] Added Platform Config 0 data with size :- 2416

[ 6.0198 ]

[ 6.0198 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb

[ 6.0198 ] WARNING: unknown node 'g2'

[ 6.0198 ] WARNING: unknown node 'g2'

[ 6.0198 ] WARNING: unknown node 'g9'

[ 6.0198 ] WARNING: unknown node 'g9'

[ 6.0198 ] Added Platform Config 2 data with size :- 24

[ 6.0198 ]

[ 6.0198 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb

[ 6.0198 ] Added Platform Config 4 data with size :- 288

[ 6.0198 ]

[ 6.0198 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb

[ 6.0198 ] Added Platform Config 3 data with size :- 52

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb

[ 6.0199 ] WARNING: unknown property 'major'

[ 6.0199 ] WARNING: unknown property 'minor'

[ 6.0199 ] Added Platform Config 5 data with size :- 500

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb

[ 6.0199 ] WARNING: unknown property 'major'

[ 6.0199 ] WARNING: unknown property 'minor'

[ 6.0199 ] Added Platform Config 7 data with size :- 380

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb

[ 6.0199 ] Added Platform Config 8 data with size :- 24

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb

[ 6.0199 ] Added Platform Config 9 data with size :- 100

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb

[ 6.0199 ] ModuleCount 0 NumProdNames 0

[ 6.0199 ] Added Platform Config 6 data with size :- 16

[ 6.0199 ]

[ 6.0199 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb

[ 6.0199 ]

[ 6.0200 ] Updating mb1-bct with firmware information

[ 6.0210 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin

[ 6.0236 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct

[ 6.0256 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk

[ 6.0265 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct

[ 6.0322 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.0323 ] Assuming zero filled SBK key

[ 6.0340 ] Warning: pub_key.key is not found

[ 6.0302 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk

[ 6.0318 ] Generating recovery mb1-bct

[ 6.0329 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin

[ 6.0339 ] MB1-BCT version: 0.10

[ 6.0341 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0344 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0345 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported

[ 6.0347 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0349 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0351 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported

[ 6.0353 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported

[ 6.0355 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported

[ 6.0357 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported

[ 6.0359 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported

[ 6.0361 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported

[ 6.0363 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported

[ 6.0365 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported

[ 6.0367 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported

[ 6.0369 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported

[ 6.0369 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported

[ 6.0369 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

[ 6.0369 ]

[ 6.0369 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dtb

[ 6.0369 ] Added Platform Config 0 data with size :- 2416

[ 6.0369 ]

[ 6.0369 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-dp-a03_cpp.dtb

[ 6.0369 ] WARNING: unknown node 'g2'

[ 6.0369 ] WARNING: unknown node 'g2'

[ 6.0369 ] WARNING: unknown node 'g9'

[ 6.0370 ] WARNING: unknown node 'g9'

[ 6.0370 ] Added Platform Config 2 data with size :- 24

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb

[ 6.0370 ] Added Platform Config 4 data with size :- 288

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb

[ 6.0370 ] Added Platform Config 3 data with size :- 52

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb

[ 6.0370 ] WARNING: unknown property 'major'

[ 6.0370 ] WARNING: unknown property 'minor'

[ 6.0370 ] Added Platform Config 5 data with size :- 500

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb

[ 6.0370 ] WARNING: unknown property 'major'

[ 6.0370 ] WARNING: unknown property 'minor'

[ 6.0370 ] Added Platform Config 7 data with size :- 380

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb

[ 6.0370 ] Added Platform Config 8 data with size :- 24

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb

[ 6.0370 ] Added Platform Config 9 data with size :- 100

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb

[ 6.0370 ] ModuleCount 0 NumProdNames 0

[ 6.0370 ] Added Platform Config 6 data with size :- 16

[ 6.0370 ]

[ 6.0370 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb

[ 6.0371 ]

[ 6.0371 ] Updating mb1-bct with firmware information

[ 6.0382 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin

[ 6.0406 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct

[ 6.0425 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk

[ 6.0434 ] adding BCH for mb1_bct_MB1_aligned.bct

[ 6.0490 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.0491 ] Assuming zero filled SBK key

[ 6.0507 ] Warning: pub_key.key is not found

[ 6.0469 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk

[ 6.0485 ] Generating coldboot mem-bct

[ 6.0496 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --membct tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct

[ 6.0506 ] packing sdram params with Wb0 file tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb

[ 6.1102 ] Packing sdram param for instance[0]

[ 6.1103 ] Packing sdram param for instance[1]

[ 6.1104 ] Packing sdram param for instance[2]

[ 6.1106 ] Packing sdram param for instance[3]

[ 6.1107 ] Packing sdram param for instance[4]

[ 6.1108 ] Packing sdram param for instance[5]

[ 6.1109 ] Packing sdram param for instance[6]

[ 6.1110 ] Packing sdram param for instance[7]

[ 6.1111 ] Packing sdram param for instance[8]

[ 6.1112 ] Packing sdram param for instance[9]

[ 6.1114 ] Packing sdram param for instance[10]

[ 6.1115 ] Packing sdram param for instance[11]

[ 6.1116 ] Packing sdram param for instance[12]

[ 6.1117 ] Packing sdram param for instance[13]

[ 6.1119 ] Packing sdram param for instance[14]

[ 6.1120 ] Packing sdram param for instance[15]

[ 6.1665 ] Getting sector size from pt

[ 6.1677 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin

[ 6.1695 ] BlockSize read from layout is 0x200

 

[ 6.1713 ] tegrahost_v2 --chip 0x23 0 --blocksize 512 --magicid MEMB --addsigheader_multi tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct

[ 6.1731 ] Binary 0 length is 58752

[ 6.1733 ] Binary 0 align length is 58880

[ 6.1750 ] Binary 1 length is 58752

[ 6.1752 ] Binary 1 align length is 58880

[ 6.1774 ] Binary 2 length is 58752

[ 6.1776 ] Binary 2 align length is 58880

[ 6.1790 ] Binary 3 length is 58752

[ 6.1791 ] Binary 3 align length is 58880

[ 6.1798 ] Buffer length is 235520

[ 6.1799 ] adding BCH for tegra234-p3767-0000-sdram-l4t_cpp_1.bct

[ 6.1801 ] new length is 243712

[ 6.1820 ] tegrahost_v2 --chip 0x23 0 --align mem_coldboot_aligned.bct

[ 6.1856 ] tegrahost_v2 --chip 0x23 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk

[ 6.1879 ] Header already present for mem_coldboot_aligned.bct

[ 6.1949 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.1953 ] Assuming zero filled SBK key

[ 6.1993 ] Warning: pub_key.key is not found

[ 6.1954 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk

[ 6.1974 ] Generating recovery mem-bct

[ 6.1985 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --membct tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct

[ 6.1994 ] packing sdram params with Wb0 file tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb

[ 6.2586 ] Packing sdram param for instance[0]

[ 6.2587 ] Packing sdram param for instance[1]

[ 6.2588 ] Packing sdram param for instance[2]

[ 6.2589 ] Packing sdram param for instance[3]

[ 6.2590 ] Packing sdram param for instance[4]

[ 6.2592 ] Packing sdram param for instance[5]

[ 6.2593 ] Packing sdram param for instance[6]

[ 6.2594 ] Packing sdram param for instance[7]

[ 6.2595 ] Packing sdram param for instance[8]

[ 6.2596 ] Packing sdram param for instance[9]

[ 6.2598 ] Packing sdram param for instance[10]

[ 6.2599 ] Packing sdram param for instance[11]

[ 6.2600 ] Packing sdram param for instance[12]

[ 6.2601 ] Packing sdram param for instance[13]

[ 6.2602 ] Packing sdram param for instance[14]

[ 6.2604 ] Packing sdram param for instance[15]

[ 6.3150 ] Using ramcode 0

[ 6.3150 ] Disabled BPMP dtb trim, using default dtb

[ 6.3150 ]

[ 6.3165 ] tegrahost_v2 --chip 0x23 0 --align mem_rcm_aligned.bct

[ 6.3188 ] tegrahost_v2 --chip 0x23 0 --magicid MEM0 --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk

[ 6.3198 ] adding BCH for mem_rcm_aligned.bct

[ 6.3268 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.3270 ] Assuming zero filled SBK key

[ 6.3288 ] Warning: pub_key.key is not found

[ 6.3249 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk

[ 6.3265 ] Copying signatures

[ 6.3275 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml

[ 6.4100 ] tegraparser_v2 --generategpt --pt flash.xml.bin

[ 6.4110 ] gpt_secondary_3_0.bin:

[ 6.4113 ] partition_id partition_name StartingLba EndingLba

[ 6.4115 ] 1 BCT 0 2047

[ 6.4117 ] 2 A_mb1 2048 3071

[ 6.4119 ] 3 A_psc_bl1 3072 3583

[ 6.4121 ] 4 A_MB1_BCT 3584 3839

[ 6.4123 ] 5 A_MEM_BCT 3840 4351

[ 6.4125 ] 6 A_tsec-fw 4352 6399

[ 6.4127 ] 7 A_nvdec 6400 8447

[ 6.4130 ] 8 A_mb2 8448 9471

[ 6.4132 ] 9 A_xusb-fw 9472 9983

[ 6.4134 ] 10 A_bpmp-fw 9984 13055

[ 6.4136 ] 11 A_bpmp-fw-dtb 13056 21247

[ 6.4138 ] 12 A_psc-fw 21248 22783

[ 6.4140 ] 13 A_mts-mce 22784 23807

[ 6.4143 ] 14 A_sc7 23808 24191

[ 6.4145 ] 15 A_pscrf 24192 24575

[ 6.4147 ] 16 A_mb2rf 24576 24831

[ 6.4150 ] 17 A_cpu-bootloader 24832 31999

[ 6.4154 ] 18 A_secure-os 32000 40191

[ 6.4157 ] 19 A_smm-fw 40192 44287

[ 6.4160 ] 20 A_eks 44288 44799

[ 6.4164 ] 21 A_dce-fw 44800 55039

[ 6.4167 ] 22 A_spe-fw 55040 56191

[ 6.4170 ] 23 A_rce-fw 56192 58239

[ 6.4172 ] 24 A_adsp-fw 58240 62335

[ 6.4175 ] 25 A_reserved_on_boot 62336 65023

[ 6.4177 ] 26 B_mb1 65024 66047

[ 6.4179 ] 27 B_psc_bl1 66048 66559

[ 6.4181 ] 28 B_MB1_BCT 66560 66815

[ 6.4183 ] 29 B_MEM_BCT 66816 67327

[ 6.4184 ] 30 B_tsec-fw 67328 69375

[ 6.4186 ] 31 B_nvdec 69376 71423

[ 6.4188 ] 32 B_mb2 71424 72447

[ 6.4190 ] 33 B_xusb-fw 72448 72959

[ 6.4191 ] 34 B_bpmp-fw 72960 76031

[ 6.4193 ] 35 B_bpmp-fw-dtb 76032 84223

[ 6.4195 ] 36 B_psc-fw 84224 85759

[ 6.4197 ] 37 B_mts-mce 85760 86783

[ 6.4198 ] 38 B_sc7 86784 87167

[ 6.4200 ] 39 B_pscrf 87168 87551

[ 6.4202 ] 40 B_mb2rf 87552 87807

[ 6.4204 ] 41 B_cpu-bootloader 87808 94975

[ 6.4205 ] 42 B_secure-os 94976 103167

[ 6.4207 ] 43 B_smm-fw 103168 107263

[ 6.4209 ] 44 B_eks 107264 107775

[ 6.4211 ] 45 B_dce-fw 107776 118015

[ 6.4212 ] 46 B_spe-fw 118016 119167

[ 6.4214 ] 47 B_rce-fw 119168 121215

[ 6.4216 ] 48 B_adsp-fw 121216 125311

[ 6.4218 ] 49 B_reserved_on_boot 125312 127999

[ 6.4220 ] 50 uefi_variables 128000 128511

[ 6.4221 ] 51 uefi_ftw 128512 129535

[ 6.4223 ] 52 worm 129920 130303

[ 6.4225 ] 53 BCT-boot-chain_backup 130304 130431

[ 6.4227 ] 54 reserved_partition 130432 130559

[ 6.4229 ] 55 secondary_gpt_backup 130560 130687

[ 6.4230 ] 56 B_VER 130688 130815

[ 6.4232 ] 57 A_VER 130816 130943

[ 6.4234 ] gpt_primary_6_0.bin:

[ 6.4235 ] partition_id partition_name StartingLba EndingLba

[ 6.4236 ] 1 APP 3050048 118393407

[ 6.4238 ] 2 A_kernel 40 262183

[ 6.4240 ] 3 A_kernel-dtb 262184 263719

[ 6.4241 ] 4 A_reserved_on_user 263720 328487

[ 6.4243 ] 5 B_kernel 328488 590631

[ 6.4244 ] 6 B_kernel-dtb 590632 592167

[ 6.4244 ] 7 B_reserved_on_user 592168 656935

[ 6.4244 ] 8 recovery 656936 820775

[ 6.4244 ] 9 recovery-dtb 820776 821799

[ 6.4244 ] 10 esp 821800 952871

[ 6.4244 ] 11 recovery_alt 952872 1116711

[ 6.4244 ] 12 recovery-dtb_alt 1116712 1117735

[ 6.4244 ] 13 esp_alt 1117736 1248807

[ 6.4244 ] 14 reserved 1248808 3050023

[ 6.4244 ] gpt_secondary_6_0.bin:

[ 6.4245 ] partition_id partition_name StartingLba EndingLba

[ 6.4245 ] 1 APP 3050048 118393407

[ 6.4245 ] 2 A_kernel 40 262183

[ 6.4245 ] 3 A_kernel-dtb 262184 263719

[ 6.4245 ] 4 A_reserved_on_user 263720 328487

[ 6.4245 ] 5 B_kernel 328488 590631

[ 6.4245 ] 6 B_kernel-dtb 590632 592167

[ 6.4245 ] 7 B_reserved_on_user 592168 656935

[ 6.4245 ] 8 recovery 656936 820775

[ 6.4245 ] 9 recovery-dtb 820776 821799

[ 6.4245 ] 10 esp 821800 952871

[ 6.4245 ] 11 recovery_alt 952872 1116711

[ 6.4245 ] 12 recovery-dtb_alt 1116712 1117735

[ 6.4245 ] 13 esp_alt 1117736 1248807

[ 6.4245 ] 14 reserved 1248808 3050023

[ 6.4245 ]

[ 6.4256 ] Get magic id

[ 6.4273 ] tegraparser_v2 --get_magic psc_fw

[ 6.4290 ] PFWP

[ 6.4292 ] partition type psc_fw, magic id = PFWP

[ 6.4329 ] tegrahost_v2 --chip 0x23 0 --align pscfw_t234_prod_aligned.bin

[ 6.4358 ] tegrahost_v2 --chip 0x23 0 --magicid PFWP --ratchet_blob ratchet_blob.bin --appendsigheader pscfw_t234_prod_aligned.bin zerosbk

[ 6.4369 ] Header already present for pscfw_t234_prod_aligned.bin

[ 6.4518 ] tegrasign_v3.py --key None --list pscfw_t234_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.4520 ] Assuming zero filled SBK key

[ 6.4549 ] Warning: pub_key.key is not found

[ 6.4514 ] tegrahost_v2 --chip 0x23 0 --updatesigheader pscfw_t234_prod_aligned_sigheader.bin.encrypt pscfw_t234_prod_aligned_sigheader.bin.hash zerosbk

[ 6.4547 ] Get magic id

[ 6.4572 ] tegraparser_v2 --get_magic mts_mce

[ 6.4597 ] MTSM

[ 6.4599 ] partition type mts_mce, magic id = MTSM

[ 6.4615 ] tegrahost_v2 --chip 0x23 0 --align mce_flash_o10_cr_prod_aligned.bin

[ 6.4638 ] tegrahost_v2 --chip 0x23 0 --magicid MTSM --ratchet_blob ratchet_blob.bin --appendsigheader mce_flash_o10_cr_prod_aligned.bin zerosbk

[ 6.4648 ] Header already present for mce_flash_o10_cr_prod_aligned.bin

[ 6.4742 ] tegrasign_v3.py --key None --list mce_flash_o10_cr_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.4745 ] Assuming zero filled SBK key

[ 6.4786 ] Warning: pub_key.key is not found

[ 6.4748 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mce_flash_o10_cr_prod_aligned_sigheader.bin.encrypt mce_flash_o10_cr_prod_aligned_sigheader.bin.hash zerosbk

[ 6.4769 ] Get magic id

[ 6.4779 ] tegraparser_v2 --get_magic mb2_applet

[ 6.4789 ] MB2A

[ 6.4790 ] partition type mb2_applet, magic id = MB2A

[ 6.4809 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin

[ 6.4830 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --ratchet_blob ratchet_blob.bin --appendsigheader applet_t234_aligned.bin zerosbk

[ 6.4841 ] adding BCH for applet_t234_aligned.bin

[ 6.4996 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.4998 ] Assuming zero filled SBK key

[ 6.5025 ] Warning: pub_key.key is not found

[ 6.4991 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk

[ 6.5025 ] Generating recovery mb2-bct

[ 6.5025 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_bct.cfg --recov --mb2bctcfg tegra234-mb2-bct-misc-p3767-0000_cpp.dtb --scr tegra234-mb2-bct-scr-p3767-0000_cpp.dtb

[ 6.5035 ] WARNING: unknown property 'tfc_version'

[ 6.5044 ] WARNING: unknown property 'addr_header_version'

[ 6.5101 ] Updating mb2-bct with storage information for RCM

[ 6.5112 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_bct_MB2.bct --updatestorageinfo flash.xml.bin

[ 6.5126 ] Concatenating mb2-bct to mb2 binary

[ 6.5127 ] mb2_bin_file = mb2_t234.bin

[ 6.5127 ] mb2_bct_file = mb2_bct_MB2.bct

[ 6.5137 ] Get magic id

[ 6.5148 ] tegraparser_v2 --get_magic mb2_bootloader

[ 6.5159 ] MB2B

[ 6.5159 ]

[ 6.5159 ] partition type mb2_bootloader, magic id = MB2B

[ 6.5175 ] tegrahost_v2 --chip 0x23 0 --align mb2_t234_with_mb2_bct_MB2_aligned.bin

[ 6.5223 ] tegrahost_v2 --chip 0x23 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader mb2_t234_with_mb2_bct_MB2_aligned.bin zerosbk

[ 6.5233 ] adding BCH for mb2_t234_with_mb2_bct_MB2_aligned.bin

[ 6.5425 ] tegrasign_v3.py --key None --list mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.5427 ] Assuming zero filled SBK key

[ 6.5457 ] Warning: pub_key.key is not found

[ 6.5423 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin.encrypt mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin.hash zerosbk

[ 6.5450 ] Get magic id

[ 6.5463 ] tegraparser_v2 --get_magic xusb_fw

[ 6.5484 ] XUSB

[ 6.5486 ] partition type xusb_fw, magic id = XUSB

[ 6.5500 ] tegrahost_v2 --chip 0x23 0 --align xusb_t234_prod_aligned.bin

[ 6.5522 ] tegrahost_v2 --chip 0x23 0 --magicid XUSB --ratchet_blob ratchet_blob.bin --appendsigheader xusb_t234_prod_aligned.bin zerosbk

[ 6.5533 ] adding BCH for xusb_t234_prod_aligned.bin

[ 6.5644 ] tegrasign_v3.py --key None --list xusb_t234_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.5646 ] Assuming zero filled SBK key

[ 6.5667 ] Warning: pub_key.key is not found

[ 6.5630 ] tegrahost_v2 --chip 0x23 0 --updatesigheader xusb_t234_prod_aligned_sigheader.bin.encrypt xusb_t234_prod_aligned_sigheader.bin.hash zerosbk

[ 6.5650 ] Get magic id

[ 6.5660 ] tegraparser_v2 --get_magic dce_fw

[ 6.5671 ] DCEF

[ 6.5672 ] partition type dce_fw, magic id = DCEF

[ 6.5763 ] tegrahost_v2 --chip 0x23 0 --align display-t234-dce_aligned.bin

[ 6.5786 ] tegrahost_v2 --chip 0x23 0 --magicid DCEF --ratchet_blob ratchet_blob.bin --appendsigheader display-t234-dce_aligned.bin zerosbk

[ 6.5797 ] adding BCH for display-t234-dce_aligned.bin

[ 6.8327 ] tegrasign_v3.py --key None --list display-t234-dce_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.8329 ] Assuming zero filled SBK key

[ 6.8589 ] Warning: pub_key.key is not found

[ 6.8555 ] tegrahost_v2 --chip 0x23 0 --updatesigheader display-t234-dce_aligned_sigheader.bin.encrypt display-t234-dce_aligned_sigheader.bin.hash zerosbk

[ 6.9197 ] Get magic id

[ 6.9211 ] tegraparser_v2 --get_magic nvdec

[ 6.9222 ] NDEC

[ 6.9223 ] partition type nvdec, magic id = NDEC

[ 6.9238 ] tegrahost_v2 --chip 0x23 0 --align nvdec_t234_prod_aligned.fw

[ 6.9261 ] tegrahost_v2 --chip 0x23 0 --magicid NDEC --ratchet_blob ratchet_blob.bin --appendsigheader nvdec_t234_prod_aligned.fw zerosbk

[ 6.9272 ] Header already present for nvdec_t234_prod_aligned.fw

[ 6.9370 ] tegrasign_v3.py --key None --list nvdec_t234_prod_aligned_sigheader.fw_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.9372 ] Assuming zero filled SBK key

[ 6.9397 ] Warning: pub_key.key is not found

[ 6.9361 ] tegrahost_v2 --chip 0x23 0 --updatesigheader nvdec_t234_prod_aligned_sigheader.fw.encrypt nvdec_t234_prod_aligned_sigheader.fw.hash zerosbk

[ 6.9388 ] Get magic id

[ 6.9398 ] tegraparser_v2 --get_magic bpmp_fw

[ 6.9408 ] BPMF

[ 6.9409 ] partition type bpmp_fw, magic id = BPMF

[ 6.9439 ] tegrahost_v2 --chip 0x23 0 --align bpmp_t234-TE990M-A1_prod_aligned.bin

[ 6.9460 ] tegrahost_v2 --chip 0x23 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader bpmp_t234-TE990M-A1_prod_aligned.bin zerosbk

[ 6.9469 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin

[ 6.9665 ] tegrasign_v3.py --key None --list bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.9667 ] Assuming zero filled SBK key

[ 6.9710 ] Warning: pub_key.key is not found

[ 6.9678 ] tegrahost_v2 --chip 0x23 0 --updatesigheader bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin.encrypt bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin.hash zerosbk

[ 6.9723 ] Using bpmp-dtb concatenated with odmdata

[ 6.9723 ] Get magic id

[ 6.9744 ] tegraparser_v2 --get_magic bpmp_fw_dtb

[ 6.9758 ] BPMD

[ 6.9760 ] partition type bpmp_fw_dtb, magic id = BPMD

[ 6.9773 ] tegrahost_v2 --chip 0x23 0 --align tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb

[ 6.9796 ] tegrahost_v2 --chip 0x23 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb zerosbk

[ 6.9806 ] adding BCH for tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb

[ 6.9924 ] tegrasign_v3.py --key None --list tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key --sha sha512

[ 6.9925 ] Assuming zero filled SBK key

[ 6.9945 ] Warning: pub_key.key is not found

[ 6.9908 ] tegrahost_v2 --chip 0x23 0 --updatesigheader tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned_sigheader.dtb.encrypt tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned_sigheader.dtb.hash zerosbk

[ 6.9927 ] Get magic id

[ 6.9937 ] tegraparser_v2 --get_magic sce_fw

[ 6.9959 ] SCEF

[ 6.9962 ] partition type sce_fw, magic id = SCEF

[ 6.9994 ] tegrahost_v2 --chip 0x23 0 --align camera-rtcpu-sce_aligned.img

[ 7.0020 ] tegrahost_v2 --chip 0x23 0 --magicid SCEF --ratchet_blob ratchet_blob.bin --appendsigheader camera-rtcpu-sce_aligned.img zerosbk

[ 7.0030 ] adding BCH for camera-rtcpu-sce_aligned.img

[ 7.0126 ] tegrasign_v3.py --key None --list camera-rtcpu-sce_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.0127 ] Assuming zero filled SBK key

[ 7.0152 ] Warning: pub_key.key is not found

[ 7.0118 ] tegrahost_v2 --chip 0x23 0 --updatesigheader camera-rtcpu-sce_aligned_sigheader.img.encrypt camera-rtcpu-sce_aligned_sigheader.img.hash zerosbk

[ 7.0138 ] Get magic id

[ 7.0148 ] tegraparser_v2 --get_magic rce_fw

[ 7.0158 ] RCEF

[ 7.0159 ] partition type rce_fw, magic id = RCEF

[ 7.0175 ] tegrahost_v2 --chip 0x23 0 --align camera-rtcpu-t234-rce_aligned.img

[ 7.0195 ] tegrahost_v2 --chip 0x23 0 --magicid RCEF --ratchet_blob ratchet_blob.bin --appendsigheader camera-rtcpu-t234-rce_aligned.img zerosbk

[ 7.0204 ] adding BCH for camera-rtcpu-t234-rce_aligned.img

[ 7.0396 ] tegrasign_v3.py --key None --list camera-rtcpu-t234-rce_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.0398 ] Assuming zero filled SBK key

[ 7.0431 ] Warning: pub_key.key is not found

[ 7.0400 ] tegrahost_v2 --chip 0x23 0 --updatesigheader camera-rtcpu-t234-rce_aligned_sigheader.img.encrypt camera-rtcpu-t234-rce_aligned_sigheader.img.hash zerosbk

[ 7.0431 ] Get magic id

[ 7.0441 ] tegraparser_v2 --get_magic ape_fw

[ 7.0452 ] APEF

[ 7.0453 ] partition type ape_fw, magic id = APEF

[ 7.0469 ] tegrahost_v2 --chip 0x23 0 --align adsp-fw_aligned.bin

[ 7.0492 ] tegrahost_v2 --chip 0x23 0 --magicid APEF --ratchet_blob ratchet_blob.bin --appendsigheader adsp-fw_aligned.bin zerosbk

[ 7.0503 ] adding BCH for adsp-fw_aligned.bin

[ 7.0674 ] tegrasign_v3.py --key None --list adsp-fw_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.0678 ] Assuming zero filled SBK key

[ 7.0725 ] Warning: pub_key.key is not found

[ 7.0691 ] tegrahost_v2 --chip 0x23 0 --updatesigheader adsp-fw_aligned_sigheader.bin.encrypt adsp-fw_aligned_sigheader.bin.hash zerosbk

[ 7.0720 ] Get magic id

[ 7.0730 ] tegraparser_v2 --get_magic spe_fw

[ 7.0740 ] SPEF

[ 7.0741 ] partition type spe_fw, magic id = SPEF

[ 7.0756 ] tegrahost_v2 --chip 0x23 0 --align spe_t234_aligned.bin

[ 7.0777 ] tegrahost_v2 --chip 0x23 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader spe_t234_aligned.bin zerosbk

[ 7.0787 ] adding BCH for spe_t234_aligned.bin

[ 7.0921 ] tegrasign_v3.py --key None --list spe_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.0923 ] Assuming zero filled SBK key

[ 7.0946 ] Warning: pub_key.key is not found

[ 7.0909 ] tegrahost_v2 --chip 0x23 0 --updatesigheader spe_t234_aligned_sigheader.bin.encrypt spe_t234_aligned_sigheader.bin.hash zerosbk

[ 7.0933 ] Get magic id

[ 7.0948 ] tegraparser_v2 --get_magic tos

[ 7.0960 ] TOSB

[ 7.0962 ] partition type tos, magic id = TOSB

[ 7.1022 ] tegrahost_v2 --chip 0x23 0 --align tos-optee_t234_aligned.img

[ 7.1044 ] tegrahost_v2 --chip 0x23 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader tos-optee_t234_aligned.img zerosbk

[ 7.1054 ] adding BCH for tos-optee_t234_aligned.img

[ 7.1422 ] tegrasign_v3.py --key None --list tos-optee_t234_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.1424 ] Assuming zero filled SBK key

[ 7.1471 ] Warning: pub_key.key is not found

[ 7.1453 ] tegrahost_v2 --chip 0x23 0 --updatesigheader tos-optee_t234_aligned_sigheader.img.encrypt tos-optee_t234_aligned_sigheader.img.hash zerosbk

[ 7.1510 ] Get magic id

[ 7.1522 ] tegraparser_v2 --get_magic eks

[ 7.1531 ] EKSB

[ 7.1533 ] partition type eks, magic id = EKSB

[ 7.1546 ] tegrahost_v2 --chip 0x23 0 --align eks_t234_aligned.img

[ 7.1568 ] tegrahost_v2 --chip 0x23 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader eks_t234_aligned.img zerosbk

[ 7.1579 ] adding BCH for eks_t234_aligned.img

[ 7.1634 ] tegrasign_v3.py --key None --list eks_t234_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.1635 ] Assuming zero filled SBK key

[ 7.1672 ] Warning: pub_key.key is not found

[ 7.1635 ] tegrahost_v2 --chip 0x23 0 --updatesigheader eks_t234_aligned_sigheader.img.encrypt eks_t234_aligned_sigheader.img.hash zerosbk

[ 7.1889 ] tegrahost_v2 --chip 0x23 0 --align uefi_jetson_with_dtb_aligned.bin

[ 7.1952 ] tegrahost_v2 --chip 0x23 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader uefi_jetson_with_dtb_aligned.bin zerosbk

[ 7.1971 ] adding BCH for uefi_jetson_with_dtb_aligned.bin

[ 7.2928 ] tegrasign_v3.py --key None --list uefi_jetson_with_dtb_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512

[ 7.2930 ] Assuming zero filled SBK key

[ 7.3048 ] Warning: pub_key.key is not found

[ 7.3013 ] tegrahost_v2 --chip 0x23 0 --updatesigheader uefi_jetson_with_dtb_aligned_sigheader.bin.encrypt uefi_jetson_with_dtb_aligned_sigheader.bin.hash zerosbk

[ 7.3189 ] Copying enc\/signed file in /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3782 ] Copying br bct for multi chains

[ 7.3782 ] Signed BCT for boot chain A is copied to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/br_bct_BR.bct

 

[ 7.3783 ] Signed BCT for boot chain B is copied to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/br_bct_b_BR.bct

 

[ 7.3783 ] Copying BCT backup image bct_backup.img to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/bct_backup.img

[ 7.3810 ] Copying pscfw_t234_prod_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3815 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/pscfw_t234_prod_sigheader.bin.encrypt

[ 7.3815 ] Copying mce_flash_o10_cr_prod_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3818 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/mce_flash_o10_cr_prod_sigheader.bin.encrypt

[ 7.3818 ] Copying applet_t234_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3821 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/applet_t234_sigheader.bin.encrypt

[ 7.3821 ] Copying mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3825 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt

[ 7.3825 ] Copying xusb_t234_prod_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3828 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/xusb_t234_prod_sigheader.bin.encrypt

[ 7.3828 ] Copying display-t234-dce_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3901 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/display-t234-dce_sigheader.bin.encrypt

[ 7.3901 ] Copying nvdec_t234_prod_sigheader.fw.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3906 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/nvdec_t234_prod_sigheader.fw.encrypt

[ 7.3906 ] Copying bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3917 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt

[ 7.3917 ] Copying tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3919 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt

[ 7.3919 ] Copying camera-rtcpu-sce_sigheader.img.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3921 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/camera-rtcpu-sce_sigheader.img.encrypt

[ 7.3921 ] Copying camera-rtcpu-t234-rce_sigheader.img.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3969 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/camera-rtcpu-t234-rce_sigheader.img.encrypt

[ 7.3969 ] Copying adsp-fw_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3974 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/adsp-fw_sigheader.bin.encrypt

[ 7.3974 ] Copying spe_t234_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3978 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/spe_t234_sigheader.bin.encrypt

[ 7.3978 ] Copying tos-optee_t234_sigheader.img.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3989 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/tos-optee_t234_sigheader.img.encrypt

[ 7.3989 ] Copying eks_t234_sigheader.img.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.3990 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/eks_t234_sigheader.img.encrypt

[ 7.3990 ] Copying uefi_jetson_with_dtb_sigheader.bin.encrypt to /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed

[ 7.4024 ] Signed file: /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/uefi_jetson_with_dtb_sigheader.bin.encrypt

[ 7.4052 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/xiaojun/hdd/bsp/nvDK_OrinNano/Linux_for_Tegra/bootloader/signed/flash.xml.tmp flash.idx

 

signing images succeeded

 

 

Creating update payloads for Jetson-3767-000-0000--1-0-jetson-orin-nano-devkit- board ...

 

FAILURE: No kernel bootloader partition, payload not created

 

Exiting...

感谢!

Thanks for sharing the answer. It helps me a lot.

Hi,
Is your Orin NX using dev kit or the custom carrier board?
Thanks

Hi DavidDDD,

我现在使用的是Orin Nano的官方开发套件,R35.3.1.

按照如下命令,生成了kernel_only_payload文件kernel_only_payload:
sudo FAB=000 BOARDID=3767 FUSELEVEL=fuselevel_production BOARDSKU=0000 ./build_l4t_bup.sh jetson-orin-nano-devkit mmcblk0p1

我把HOST端生成的文件:$Linux_for_Tegra/bootloader/payloads_t23x/kernel_only_payload,

拷贝到了设备端目录:/opt/ota_package/t23x/,并重命名为bl_update_payload

然后在设备端执行升级命令,但是还是失败,log如下:

~$ /usr/sbin/nv_bootloader_payload_updater --forced-part kernel
Start running: /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh -c
3767--0005--1--jetson-orin-nano-devkit-
Got individual part name: kernel
Got update payload: /opt/ota_package/bl_update_payload
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mtdblock0
Tegra GPT Block Device: /dev/mtdblock0
Skip querying the boot device parameters 
HEADER: MAGIC NVIDIA__BLOB__V3
HEX_VALUE 16975394
BLOB_SIZE 46305421
HEADER_SIZE 48
NUMBER_OF_ELEMENTS 10
HEADER_TYPE 0
UNCOMP_SIZE 46305421
MB1_RATCHET_LV 0
MTS_RATCHET_LV 0
ROLLBACK_FUSE_LV 0
Device TN Spec: 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
Device Compatible Spec: 3767--0005--1--jetson-orin-nano-devkit-
Device TN Spec: 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
Device Compatible Spec: 3767--0005--1--jetson-orin-nano-devkit-
Device is fused board.
ENTRY_TABLE:
PART  POS  LEN  VER TNSPEC TYPE UPDATABLE
A_kernel  1888  43065344  13617    1  1
A_kernel-dtb  43067232  249062  13617  3701-000-0002--1-0-holoscan-devkit-  1  0
A_kernel-dtb  43316294  420844  13617  3701-000-0005--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  43737138  420844  13617  3701-300-0000--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  44157982  420839  13617  3701-300-0004--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  44578821  344703  13617  3767-000-0000--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  44923524  345391  13617  3767-000-0001--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45268915  345518  13617  3767-000-0003--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45614433  345470  13617  3767-000-0004--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45959903  345518  13617  3767-000-0005--1-0-jetson-orin-nano-devkit-  1  1
Re-publish block device 
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mtdblock0
Tegra GPT Block Device: /dev/mtdblock0
Skip querying the boot device parameters 
HEADER: MAGIC NVIDIA__BLOB__V3
HEX_VALUE 16975394
BLOB_SIZE 46305421
HEADER_SIZE 48
NUMBER_OF_ELEMENTS 10
HEADER_TYPE 0
UNCOMP_SIZE 46305421
MB1_RATCHET_LV 0
MTS_RATCHET_LV 0
ROLLBACK_FUSE_LV 0
Device TN Spec: 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
Device Compatible Spec: 3767--0005--1--jetson-orin-nano-devkit-
Device TN Spec: 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
Device Compatible Spec: 3767--0005--1--jetson-orin-nano-devkit-
Device is fused board.
ENTRY_TABLE:
PART  POS  LEN  VER TNSPEC TYPE UPDATABLE
A_kernel  1888  43065344  13617    1  1
A_kernel-dtb  43067232  249062  13617  3701-000-0002--1-0-holoscan-devkit-  1  0
A_kernel-dtb  43316294  420844  13617  3701-000-0005--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  43737138  420844  13617  3701-300-0000--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  44157982  420839  13617  3701-300-0004--1-0-jetson-agx-orin-devkit-  1  0
A_kernel-dtb  44578821  344703  13617  3767-000-0000--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  44923524  345391  13617  3767-000-0001--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45268915  345518  13617  3767-000-0003--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45614433  345470  13617  3767-000-0004--1-0-jetson-orin-nano-devkit-  1  0
A_kernel-dtb  45959903  345518  13617  3767-000-0005--1-0-jetson-orin-nano-devkit-  1  1
Can't find kernel in /opt/ota_package/bl_update_payload
Writing to partitions failed.
OTA Blob update failed. Status: 3
/usr/sbin/nv_bootloader_payload_updater --forced-part Failed.

Hi,
What is your Orin NX? Is it a Orin NX 16GB or the Orin NX 8GB.
Different ram have different BOARDSKU

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/IN/QuickStart.html#jetson-modules-and-configurations

Thanks

Hi DavidDDD,

现在问题很明确,
kernel_only_payload包生成工具./build_l4t_bup.sh jetson-orin-nano-devkit-nvme nvme0n1p1
生成的包中kernel分区名是“A_kernel”, 无法指定为“kernel”!

而Nano产品的R35.3.1的kernel lable为:“kernel”

所以升级的时候在升级包里找不到LABLE :“kernel”

我用的BSP SDK和开饭套件都是官方的,麻烦内部复现一下,给出解决方案.

多谢!

Hi DavidDDD,

我在用Orin Nano官方开发板在测试!

From your log

Device TN Spec: 3767-300-0001-N.2-1-0-jetson-orin-nano-devkit-nvme-

Seems like your BOARDSKU is 0001 not a 0000
Please change BOARDSKU from 0000 to 0001 in your command and try again.
We will also try to reproduce your issue.

Thanks

Hi David,

生成包:
$ sudo FAB=000 BOARDID=3767 FUSELEVEL=fuselevel_production BOARDSKU=0001 ./build_l4t_bup.sh jetson-orin-nano-devkit mmcblk0p1

拷贝包到目标机:
scp bootloader/payloads_t23x/kernel_only_payload /opt/ota_package/t23x/bl_update_payload
scp bootloader/payloads_t23x/kernel_only_payload /opt/ota_package/t23x/kernel_only_payload

错误依旧,原因也相同。

Nano系统信息如下:
$ cat /etc/nv_boot_control.conf
TNSPEC 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
COMPATIBLE_SPEC 3767–0005–1–jetson-orin-nano-devkit-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0

Hi David,

改成如下命令,错误依旧:
sudo FAB=300 BOARDID=3767 FUSELEVEL=fuselevel_production BOARDSKU=0005 ./build_l4t_bup.sh jetson-orin-nano-devkit mmcblk0p1

Hi David,

step1, 我们使用NVmeSSD,包生成命令修正,生成kernel_only_payload:
sudo FAB=300 BOARDID=3767 FUSELEVEL=fuselevel_production BOARDSKU=0005 ./build_l4t_bup.sh jetson-orin-nano-devkit nvme0n1p1

step 2, 拷贝到JP5.1.2系统内/opt/ota_package/bl_update_payload

step3, 我在JP5.1.2上执行升级命令,依旧出错,log如下:

nvidia@ubuntu:~$ /usr/sbin/nv_bootloader_payload_updater --part A_kernel
Start running: /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh -c
3767--0005--1--jetson-orin-nano-devkit-
Got individual part name: A_kernel
Got update payload: /opt/ota_package/bl_update_payload
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mtdblock0
Tegra GPT Block Device: /dev/mtdblock0
Skip querying the boot device parameters 
OTA Blob update failed. Status: 2
/usr/sbin/nv_bootloader_payload_updater --part Failed.
nvidia@ubuntu:~$ sudo blkid
[sudo] password for nvidia: 
/dev/nvme0n1p1: UUID="ff996e72-6251-4eb9-ab0c-408c2705d789" TYPE="ext4" PARTLABEL="APP" PARTUUID="3f670f24-1502-4f13-8127-1b6e5278e655"
/dev/nvme0n1p2: PARTLABEL="A_kernel" PARTUUID="518cf1c1-24c4-434c-93e5-3429cbb96278"
/dev/nvme0n1p3: PARTLABEL="A_kernel-dtb" PARTUUID="1e47e9c5-c8b2-4076-a475-360b384fab03"
/dev/nvme0n1p4: PARTLABEL="A_reserved_on_user" PARTUUID="205d6965-5f43-4e67-acbc-fc15b2472b7d"
/dev/nvme0n1p5: PARTLABEL="B_kernel" PARTUUID="04ea981c-1120-4d9a-998a-36055df5751d"
/dev/nvme0n1p6: PARTLABEL="B_kernel-dtb" PARTUUID="54c23438-61da-455f-8a29-e1754216424b"
/dev/nvme0n1p7: PARTLABEL="B_reserved_on_user" PARTUUID="540020e9-9993-449f-b162-5840a0df041c"
/dev/nvme0n1p8: PARTLABEL="recovery" PARTUUID="3d96e2bd-7a83-4fde-8a6f-c204ef6b864f"
/dev/nvme0n1p9: PARTLABEL="recovery-dtb" PARTUUID="5f9bfed9-5dda-462c-8287-8b4d9bf02831"
/dev/nvme0n1p10: UUID="3739-7190" TYPE="vfat" PARTLABEL="esp" PARTUUID="4978829e-6d55-46c0-a6aa-8b29636cc067"
/dev/nvme0n1p11: PARTLABEL="recovery_alt" PARTUUID="47373608-200a-44c2-9cbb-6b6b6d9f9467"
/dev/nvme0n1p12: PARTLABEL="recovery-dtb_alt" PARTUUID="43297f4d-7888-4168-a0e7-bf6469171448"
/dev/nvme0n1p13: PARTLABEL="esp_alt" PARTUUID="5f0289a8-7139-49f6-860c-8a65e0bdc433"
/dev/nvme0n1p14: PARTLABEL="UDA" PARTUUID="4f55d313-3611-4b6b-a2d4-067ffcf35523"
/dev/nvme0n1p15: PARTLABEL="reserved" PARTUUID="400acfa4-3714-4f5f-9cd3-5a3f61b2a17d"
/dev/loop0: SEC_TYPE="msdos" LABEL_FATBOOT="L4T-README" LABEL="L4T-README" UUID="1234-ABCD" TYPE="vfat"
/dev/zram0: UUID="57912524-4898-4364-9b15-843f72435cc9" TYPE="swap"
/dev/zram1: UUID="c687fa83-64bd-44bd-86be-b997059b0e0a" TYPE="swap"
/dev/zram2: UUID="471a032a-f498-44bd-95a7-771ecb73b6ba" TYPE="swap"
/dev/zram3: UUID="8d6b8bf1-4ce2-41ac-b1f3-c3211ba3b40d" TYPE="swap"
/dev/zram4: UUID="585c550b-f464-4197-9131-5c1479c5dc30" TYPE="swap"
/dev/zram5: UUID="e820d259-1035-438a-9687-83c10c62dfe4" TYPE="swap"

Hi David,

有复现问题吗?

Hi,

To reproduce the issue, What is your target bsp version?

Thanks

Hi DaviDDD,

R35.3.1
Please apply following changes in “/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh” file. This change is merged to JP5.1.2.
With this change, the partition label can be changed from “kernel” to “A_kernel”.


diff --git a/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh b/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh
index eac9e59..cac98f3 100755
--- a/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh
+++ b/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh
@@ -541,6 +541,60 @@ generate_board_spec() {
        eval "${board_spec_gen}=${board_id}-${board_ver}-${board_sku}-${board_rev}-${tnspec_fuselevel}-${tnspec_chip_rev}-${tnspec_board}-${tnspec_rootdev}"
 }

+update_partition_name()
+{
+       # Update partition name
+       local name="${1}"
+       local partlabel_node="/dev/disk/by-partlabel/${name}"
+
+       # Return directly if the partlabel node does not exist
+       if [ ! -e "${partlabel_node}" ]; then
+               return 0
+       fi
+
+       # Change partition name:
+       # kernel -> A_kernel
+       # kernel_b -> B_kernel
+       # kernel-dtb -> A_kernel-dtb
+       # kernel-dtb_b -> B_kernel-dtb
+       local updated_name=
+       local part_node=
+       local part_num=
+       local disk_node=
+
+       case "${name}" in
+               kernel|kernel-dtb) updated_name="A_${name}"; ;;
+               kernel_b|kernel-dtb_b) updated_name="B_${name::-2}"; ;;
+               *) return 0; ;;
+       esac
+       part_node="$(readlink -f "${partlabel_node}")"
+       part_num="$(partx -r "${part_node}" -o nr | tail -n 1)"
+       disk_node="$(lsblk -slp "${part_node}" -o NAME,TYPE | grep "disk" | cut -d\  -f 1)"
+       if ! parted "${disk_node}" name "${part_num}" "${updated_name}"; then
+               echo "WARNING. Failed to change the name of ${name} partition(${part_node})."
+       fi
+       return 0
+}
+
+# Update partitions names for t234 devices
+update_t234_partition_names()
+{
+       # Update names for kernel and kernel-dtb partitions
+       # on both chain for t234 devices
+
+       # Return directly if not t234 devices.
+       if [ "${chipid}" != "0x23" ]; then
+               return 0
+       fi
+
+       # Update its name if either of kernel/kernel_b/kernel-dtb/kernel-dtb
+       # partition exists
+       update_partition_name "kernel"
+       update_partition_name "kernel_b"
+       update_partition_name "kernel-dtb"
+       update_partition_name "kernel-dtb_b"
+}
+
 # Update /dev/disk/by-partlabel if error symbol link found
 update_partlabel() {
        local dependecy_table
@@ -784,6 +838,8 @@ board_spec=""
 emmc_only="false"
 legacy_support=""

+update_t234_partition_names
+
 # if read EEPROM board info successfully, generate board_spec and replace TNSPEC
 # if read failed, use tnspec in /etc/nv_boot_control.conf as board_spec
 if read_eeprom_board_info; then