Error while flashing SoM

Hello,

I’m trying to flash a custom image from a Yocto build to the Jetson Xavier NX but it fails with Error: Return value 3, trying to write the APP partition, when running the command tegradevflash_v2 --pt flash.xml.bin.

It manages to write other partitions before even though it’s very slow (about 100kB/s).

The SoM is on a custom base board. I tried various combination of USB cables and USB ports on the host to no avail.

The host is in a virtual machine with Ubuntu 18.04 and I managed to flash the devkit with the sdk manager this way already. I also checked that I had enough disk space, there is 3.4GB left when the command fails.

Originally I tried outside the VM on an Ubuntu 22.04 but it fails to detect the card, even though it’s shown in lsusb.

There are errors in the dmesg log:

[  725.849062] INFO: task tegradevflash_v:2800 blocked for more than 120 seconds.
[  725.849065]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[  725.849066] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  725.849068] tegradevflash_v D    0  2800   2527 0x20020000
[  725.849070] Call Trace:
[  725.849097]  __schedule+0x292/0x710
[  725.849107]  schedule+0x33/0xa0
[  725.849108]  schedule_timeout+0x15d/0x320
[  725.849115]  ? __next_timer_interrupt+0xe0/0xe0
[  725.849116]  wait_for_completion_timeout+0xb3/0x140
[  725.849118]  ? wake_up_q+0x80/0x80
[  725.849124]  usb_start_wait_urb+0xe3/0x180
[  725.849126]  usb_bulk_msg+0xb8/0x160
[  725.849128]  proc_bulk+0x257/0x3a0
[  725.849130]  usbdev_do_ioctl+0x93d/0x1490
[  725.849133]  usbdev_compat_ioctl+0x10/0x20
[  725.849138]  __ia32_compat_sys_ioctl+0x105/0x230
[  725.849141]  do_int80_syscall_32+0x5b/0x130
[  725.849143]  entry_INT80_compat+0x85/0x90
[  725.849145] RIP: 0023:0x8066d54
[  725.849149] Code: Bad RIP value.
[  725.849150] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[  725.849152] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[  725.849153] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[  725.849153] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[  725.849154] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[  725.849154] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[  846.619384] INFO: task tegradevflash_v:2800 blocked for more than 241 seconds.
[  846.619388]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[  846.619389] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  846.619391] tegradevflash_v D    0  2800   2527 0x20020000
[  846.619394] Call Trace:
[  846.619401]  __schedule+0x292/0x710
[  846.619403]  schedule+0x33/0xa0
[  846.619405]  schedule_timeout+0x15d/0x320
[  846.619408]  ? __next_timer_interrupt+0xe0/0xe0
[  846.619410]  wait_for_completion_timeout+0xb3/0x140
[  846.619412]  ? wake_up_q+0x80/0x80
[  846.619417]  usb_start_wait_urb+0xe3/0x180
[  846.619419]  usb_bulk_msg+0xb8/0x160
[  846.619422]  proc_bulk+0x257/0x3a0
[  846.619424]  usbdev_do_ioctl+0x93d/0x1490
[  846.619428]  usbdev_compat_ioctl+0x10/0x20
[  846.619431]  __ia32_compat_sys_ioctl+0x105/0x230
[  846.619434]  do_int80_syscall_32+0x5b/0x130
[  846.619436]  entry_INT80_compat+0x85/0x90
[  846.619438] RIP: 0023:0x8066d54
[  846.619444] Code: Bad RIP value.
[  846.619445] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[  846.619447] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[  846.619448] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[  846.619448] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[  846.619449] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[  846.619450] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[  967.400909] INFO: task tegradevflash_v:2800 blocked for more than 362 seconds.
[  967.400915]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[  967.400916] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  967.400918] tegradevflash_v D    0  2800   2527 0x20020000
[  967.400921] Call Trace:
[  967.400928]  __schedule+0x292/0x710
[  967.400930]  schedule+0x33/0xa0
[  967.400932]  schedule_timeout+0x15d/0x320
[  967.400936]  ? __next_timer_interrupt+0xe0/0xe0
[  967.400938]  wait_for_completion_timeout+0xb3/0x140
[  967.400940]  ? wake_up_q+0x80/0x80
[  967.400944]  usb_start_wait_urb+0xe3/0x180
[  967.400946]  usb_bulk_msg+0xb8/0x160
[  967.400948]  proc_bulk+0x257/0x3a0
[  967.400951]  usbdev_do_ioctl+0x93d/0x1490
[  967.400954]  usbdev_compat_ioctl+0x10/0x20
[  967.400957]  __ia32_compat_sys_ioctl+0x105/0x230
[  967.400960]  do_int80_syscall_32+0x5b/0x130
[  967.400962]  entry_INT80_compat+0x85/0x90
[  967.400964] RIP: 0023:0x8066d54
[  967.400969] Code: Bad RIP value.
[  967.400970] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[  967.400972] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[  967.400972] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[  967.400973] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[  967.400974] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[  967.400975] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1088.164896] INFO: task tegradevflash_v:2800 blocked for more than 483 seconds.
[ 1088.164912]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[ 1088.164913] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1088.164915] tegradevflash_v D    0  2800   2527 0x20020000
[ 1088.164918] Call Trace:
[ 1088.164925]  __schedule+0x292/0x710
[ 1088.164927]  schedule+0x33/0xa0
[ 1088.164929]  schedule_timeout+0x15d/0x320
[ 1088.164933]  ? __next_timer_interrupt+0xe0/0xe0
[ 1088.164935]  wait_for_completion_timeout+0xb3/0x140
[ 1088.164937]  ? wake_up_q+0x80/0x80
[ 1088.164941]  usb_start_wait_urb+0xe3/0x180
[ 1088.164943]  usb_bulk_msg+0xb8/0x160
[ 1088.164946]  proc_bulk+0x257/0x3a0
[ 1088.164948]  usbdev_do_ioctl+0x93d/0x1490
[ 1088.164952]  usbdev_compat_ioctl+0x10/0x20
[ 1088.164955]  __ia32_compat_sys_ioctl+0x105/0x230
[ 1088.164959]  do_int80_syscall_32+0x5b/0x130
[ 1088.164961]  entry_INT80_compat+0x85/0x90
[ 1088.164963] RIP: 0023:0x8066d54
[ 1088.164968] Code: Bad RIP value.
[ 1088.164969] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[ 1088.164971] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[ 1088.164972] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[ 1088.164972] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[ 1088.164973] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1088.164974] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1208.940076] INFO: task tegradevflash_v:2800 blocked for more than 604 seconds.
[ 1208.940080]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[ 1208.940081] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1208.940082] tegradevflash_v D    0  2800   2527 0x20020000
[ 1208.940084] Call Trace:
[ 1208.940091]  __schedule+0x292/0x710
[ 1208.940093]  schedule+0x33/0xa0
[ 1208.940094]  schedule_timeout+0x15d/0x320
[ 1208.940097]  ? __next_timer_interrupt+0xe0/0xe0
[ 1208.940099]  wait_for_completion_timeout+0xb3/0x140
[ 1208.940101]  ? wake_up_q+0x80/0x80
[ 1208.940104]  usb_start_wait_urb+0xe3/0x180
[ 1208.940106]  usb_bulk_msg+0xb8/0x160
[ 1208.940108]  proc_bulk+0x257/0x3a0
[ 1208.940110]  usbdev_do_ioctl+0x93d/0x1490
[ 1208.940113]  usbdev_compat_ioctl+0x10/0x20
[ 1208.940115]  __ia32_compat_sys_ioctl+0x105/0x230
[ 1208.940118]  do_int80_syscall_32+0x5b/0x130
[ 1208.940120]  entry_INT80_compat+0x85/0x90
[ 1208.940121] RIP: 0023:0x8066d54
[ 1208.940125] Code: Bad RIP value.
[ 1208.940126] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[ 1208.940128] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[ 1208.940128] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[ 1208.940129] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[ 1208.940129] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1208.940130] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1329.712746] INFO: task tegradevflash_v:2800 blocked for more than 724 seconds.
[ 1329.712751]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[ 1329.712752] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1329.712753] tegradevflash_v D    0  2800   2527 0x20020000
[ 1329.712756] Call Trace:
[ 1329.712764]  __schedule+0x292/0x710
[ 1329.712766]  schedule+0x33/0xa0
[ 1329.712768]  schedule_timeout+0x15d/0x320
[ 1329.712772]  ? __next_timer_interrupt+0xe0/0xe0
[ 1329.712774]  wait_for_completion_timeout+0xb3/0x140
[ 1329.712776]  ? wake_up_q+0x80/0x80
[ 1329.712779]  usb_start_wait_urb+0xe3/0x180
[ 1329.712781]  usb_bulk_msg+0xb8/0x160
[ 1329.712784]  proc_bulk+0x257/0x3a0
[ 1329.712786]  usbdev_do_ioctl+0x93d/0x1490
[ 1329.712789]  usbdev_compat_ioctl+0x10/0x20
[ 1329.712791]  __ia32_compat_sys_ioctl+0x105/0x230
[ 1329.712794]  do_int80_syscall_32+0x5b/0x130
[ 1329.712796]  entry_INT80_compat+0x85/0x90
[ 1329.712798] RIP: 0023:0x8066d54
[ 1329.712804] Code: Bad RIP value.
[ 1329.712804] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[ 1329.712806] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[ 1329.712807] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[ 1329.712807] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[ 1329.712808] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1329.712809] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1450.484058] INFO: task tegradevflash_v:2800 blocked for more than 845 seconds.
[ 1450.484062]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[ 1450.484063] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1450.484065] tegradevflash_v D    0  2800   2527 0x20020000
[ 1450.484068] Call Trace:
[ 1450.484075]  __schedule+0x292/0x710
[ 1450.484077]  schedule+0x33/0xa0
[ 1450.484078]  schedule_timeout+0x15d/0x320
[ 1450.484082]  ? __next_timer_interrupt+0xe0/0xe0
[ 1450.484084]  wait_for_completion_timeout+0xb3/0x140
[ 1450.484086]  ? wake_up_q+0x80/0x80
[ 1450.484090]  usb_start_wait_urb+0xe3/0x180
[ 1450.484092]  usb_bulk_msg+0xb8/0x160
[ 1450.484094]  proc_bulk+0x257/0x3a0
[ 1450.484097]  usbdev_do_ioctl+0x93d/0x1490
[ 1450.484100]  usbdev_compat_ioctl+0x10/0x20
[ 1450.484103]  __ia32_compat_sys_ioctl+0x105/0x230
[ 1450.484106]  do_int80_syscall_32+0x5b/0x130
[ 1450.484108]  entry_INT80_compat+0x85/0x90
[ 1450.484110] RIP: 0023:0x8066d54
[ 1450.484115] Code: Bad RIP value.
[ 1450.484116] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[ 1450.484118] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[ 1450.484119] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[ 1450.484119] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[ 1450.484120] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1450.484121] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1571.249570] INFO: task tegradevflash_v:2800 blocked for more than 966 seconds.
[ 1571.249574]       Tainted: G           O      5.4.0-84-generic #94~18.04.1-Ubuntu
[ 1571.249575] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1571.249577] tegradevflash_v D    0  2800   2527 0x20020000
[ 1571.249581] Call Trace:
[ 1571.249589]  __schedule+0x292/0x710
[ 1571.249591]  schedule+0x33/0xa0
[ 1571.249593]  schedule_timeout+0x15d/0x320
[ 1571.249597]  ? __next_timer_interrupt+0xe0/0xe0
[ 1571.249599]  wait_for_completion_timeout+0xb3/0x140
[ 1571.249602]  ? wake_up_q+0x80/0x80
[ 1571.249605]  usb_start_wait_urb+0xe3/0x180
[ 1571.249608]  usb_bulk_msg+0xb8/0x160
[ 1571.249610]  proc_bulk+0x257/0x3a0
[ 1571.249613]  usbdev_do_ioctl+0x93d/0x1490
[ 1571.249616]  usbdev_compat_ioctl+0x10/0x20
[ 1571.249619]  __ia32_compat_sys_ioctl+0x105/0x230
[ 1571.249623]  do_int80_syscall_32+0x5b/0x130
[ 1571.249625]  entry_INT80_compat+0x85/0x90
[ 1571.249627] RIP: 0023:0x8066d54
[ 1571.249633] Code: Bad RIP value.
[ 1571.249634] RSP: 002b:00000000ffc2eb98 EFLAGS: 00000283 ORIG_RAX: 0000000000000036
[ 1571.249636] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000c0105502
[ 1571.249637] RDX: 00000000ffc2ebc0 RSI: 0000000000000010 RDI: 00000000093f4fc8
[ 1571.249638] RBP: 00000000ffc2ec20 R08: 0000000000000000 R09: 0000000000000000
[ 1571.249639] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1571.249639] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

How can I debug this?

Here is the full log:

Using temp directory /tmp/tmp.8x2Jbpx511
/tmp/tmp.8x2Jbpx511 /data
./
tegra194-a02-bpmp-p3668-a00.dtb
tegra194-mb1-bct-misc-sd-l4t.cfg
tegra194-a02-bpmp-p2888-a04-maxn_lz4.dtb
tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg
tegra194-mb1-bct-misc-flash.cfg
tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
tegra194-mb1-bct-pmic-p2888-0001-a04-p2822-0000.cfg
tegra194-mb1-bct-scr-cbb-mini.cfg
generate_bup_payload.sh
tegra19x-mb1-bct-device-qspi-p3668.cfg
tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg
tegra194-a02-bpmp-p2888-a01.dtb
gen_tos_part_img.py
rollback/
rollback/rollback_parser.py
rollback/t19x/
rollback/t19x/rollback.cfg
t194.py
tegra194-a02-bpmp-p3668-a00_lz4.dtb
tegra19x-mb1-bct-device-sdmmc.cfg
pyfdt/
pyfdt/pyfdt.py
pyfdt/__init__.py
pyfdt/jsonfdtdump.py
pyfdt/fdtmerge.py
pyfdt/dtbdump.py
tegra19x-mb1-pinmux-p2888-0000-a00-p2822-0000-a00.cfg
tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg
tegra-signimage-helper
tegrasign_v3_util.py
tegrasign_v3_hsm.py
mkbootimg
nvflashxmlparse
L4TRootfsBrokenInfo.dtbo
nvtboot_t194.bin
tegra194-mb1-bct-scr-cbb-mini-p3668.cfg
nvtboot_recovery_cpu_t194.bin
tos-optee_t194.img
tegra194-mb1-bct-reset-p3668-0001-a00.cfg
camera-rtcpu-t194-rce.img
tegra194-memcfg-sw-override-l4t.cfg
tegrahost_v2
tegra194-a02-bpmp-p2888-0008-b01-jaxi-maxn_lz4.dtb
mb1_t194_prod.bin
tegra194-a02-bpmp-p2888-0004-a04-mccoy_lz4.dtb
tegrasign_v2
preboot_c10_prod_cr.bin
tegraopenssl
tegra194-mb1-bct-misc-l4t.cfg
tegra194-a02-bpmp-p2888-0008-b01-jaxi-noecc_lz4.dtb
tegra19x-mb1-padvoltage-p2888-0004-e3900-0000.cfg
tegra194-a01-bpmp-p2888-a01_lz4.dtb
tegra194-flash-helper.sh
tegra194-br-bct-qspi.cfg
flash.xml.in
mksparse
tegra194-mb1-bct-memcfg-derated-p2888.cfg
tegra19x-mb1-pinmux-p2888-0004-e3900-0000.cfg
tegra194-a02-bpmp-p2888-0008-b01-jaxi-maxn.dtb
tegra194-br-bct_b-sdmmc.cfg
xusb_sil_rel_fw
tegra194-a01-bpmp-p2888-a02.dtb
tegra194-a02-bpmp-p2888-0005-a04-maxn_lz4.dtb
tegra194-mb1-bct-pmic-p3668-0001-a00.cfg
core-image-minimal.ext4
ed25519.py
mb1_b_t194_prod.bin
tegra194-a02-bpmp-p2888-0004-a04-mccoy.dtb
tegra194-a02-bpmp-p2888-a02_lz4.dtb
t234.py
tegra194-p3668-all-p3509-0000.dtb
tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
tegra194-memcfg-sw-override.cfg
tegra19x-mb1-pinmux-p3668-a01.cfg
tegradevflash_v2
tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg
tegra19x-mb1-pinmux-p2888-0008-b01-p2822-0000-jaxi.cfg
tegra194-a02-bpmp-p2888-0005-a04.dtb
tegraflash_impl_t234.py
adsp-fw.bin
tegraparser_v2
bsp_version
tegra194-br-bct_b-qspi-l4t.cfg
tegra194-mb1-soft-fuses-l4t.cfg
doflash.sh
tegra194-mb1-bct-pmic-p2888-0008-b01-p2822-0000.cfg
L4TRootfsABInfo.dtbo
tegra194-a02-bpmp-p2888-a04_lz4.dtb
tegra234-flash-helper.sh
tegraflash.py
tegra19x-mb1-padvoltage-p2888-0000-p2822-0000.cfg
spe_t194.bin
nvtboot_recovery_t194.bin
tegra194-mb1-bct-ratchet-p3668.cfg
tegra19x-mb1-bct-device-qspi-jaxi.cfg
tegra194-a02-bpmp-p2888-0005-a04_lz4.dtb
mts_c10_prod_cr.bin
L4TRootfsInfo.dtbo
tegra19x-mb1-padvoltage-p3668-a01.cfg
tegrasign_v3.py
tegra194-a02-bpmp-p2888-a04.dtb
tegra194-mb1-bct-misc-flash-jaxi.cfg
nvtboot_cpu_t194.bin
l4t_sign_image.sh
tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg
L4TConfiguration.dtbo
tegra194-mb1-bct-memcfg-p2888.cfg
tegra194-a01-bpmp-p2888-a01.dtb
pkc/
pkc/nvsecuretool
pkc/mkpkc
esp.img
tegra194-mb1-bct-misc-l4t-maxn.cfg
tegra194-a02-bpmp-p2888-a01_lz4.dtb
l4t_bup_gen.func
tegra194-a02-bpmp-p2888-0008-b01-jaxi.dtb
tegra194-mb1-bct-memcfg-4x-derated-ecc-p2888.cfg
mce_c10_prod_cr.bin
uefi_jetson.bin
tegrakeyhash
tegra19x-mb1-pinmux-p2888-0000-p2822-0000.cfg
tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg
tegra194-mb1-bct-misc-l4t-jaxi.cfg
boot.img
eks.img
tegra19x-mb1-pinmux-p2888-slvs-0000-a00-p2822-0000-a00.cfg
tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
tegra194-br-bct-qspi-l4t.cfg
AcpiBoot.dtbo
tegra194-p3668-p3509-overlay.dtbo
warmboot_t194_prod.bin
sw_memcfg_overlay.pl
tegra194-mb1-bct-pmic-p2888-0001-a02-p2822-0000.cfg
BUP_generator.py
tegraflash_internal.py
chkbdinfo
tegrasign_v3_internal.py
odmsign.func
tegra194-mb1-bct-misc-l4t-jaxi-maxn.cfg
tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4.dtb
make-sdcard
tegra194-br-bct-sdmmc.cfg
tegra194-mb1-bct-memcfg-8gb-p2888-128bit.cfg
tegra194-a01-bpmp-p2888-a02_lz4.dtb
tegra194-a02-bpmp-p2888-0005-a04-maxn.dtb
flashvars
tegra194-a02-bpmp-p2888-a04-maxn.dtb
bpmp-2_t194.bin
tegra19x-mb1-prod-p3668-0001-a00.cfg
tegra19x-mb1-prod-p2888-0004-e3900-0000.cfg
tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg
tegrabct_v2
tegra194-a02-bpmp-p2888-0008-b01-jaxi-noecc.dtb
nvtboot_applet_t194.bin
tegra194-a02-bpmp-p2888-a02.dtb
dtbcheck.py
tegrarcm_v2
tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg
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.0369 ] Generating RCM messages
[   0.0543 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0576 ] Header already present for mb1_t194_prod.bin
[   0.1053 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.1057 ] Assuming zero filled SBK key
[   0.1122 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.1125 ] Assuming zero filled SBK key
[   0.1357 ] Warning: pub_key.key is not found
[   0.1487 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.1595 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.1876 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.1896 ] RCM 0 is saved as rcm_0.rcm
[   0.1928 ] RCM 1 is saved as rcm_1.rcm
[   0.1977 ] RCM 2 is saved as rcm_2.rcm
[   0.1982 ] List of rcm files are saved in rcm_list.xml
[   0.1982 ] 
[   0.1982 ] Signing RCM messages
[   0.2202 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.2206 ] Assuming zero filled SBK key
[   0.2468 ] Warning: pub_key.key is not found
[   0.2414 ] Copying signature to RCM mesages
[   0.2474 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.2614 ] Boot Rom communication
[   0.2654 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.2672 ] RCM version 0X190001
[   0.2712 ] Boot Rom communication completed
[   2.3458 ] tegrarcm_v2 --isapplet
[   2.3477 ] Applet version 01.00.0000
[   2.4423 ] tegrarcm_v2 --ismb2
[   2.5134 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   2.5244 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   2.5262 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   2.5848 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.5852 ] Assuming zero filled SBK key
[   2.6259 ] Warning: pub_key.key is not found
[   2.6296 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   2.6559 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.6573 ] Applet version 01.00.0000
[   2.6795 ] Sending mb2
[   2.6796 ] [................................................] 100%
[   2.7102 ] tegrarcm_v2 --boot recovery
[   2.7180 ] Applet version 01.00.0000
[   3.7312 ] tegrarcm_v2 --isapplet
[   3.7746 ] tegrarcm_v2 --ismb2
[   3.7822 ] MB2 Applet version 01.00.0000
[   3.7954 ] tegrarcm_v2 --ismb2
[   3.7967 ] MB2 Applet version 01.00.0000
[   3.8454 ] Retrieving board information
[   3.8535 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.8600 ] MB2 Applet version 01.00.0000
[   3.8723 ] Saved platform info in chip_info.bin
[   3.8777 ] Chip minor revision: 2
[   3.8779 ] Bootrom revision: 0xf
[   3.8781 ] Ram code: 0x0
[   3.8782 ] Chip sku: 0xde
[   3.8783 ] Chip Sample: non es
[   3.8793 ] Retrieving EEPROM data
[   3.8794 ] tegrarcm_v2 --oem platformdetails eeprom cvm /tmp/tmp.8x2Jbpx511/cvm.bin.m2Pld
[   3.8858 ] MB2 Applet version 01.00.0000
[   3.8892 ] Saved platform info in /tmp/tmp.8x2Jbpx511/cvm.bin.m2Pld
[   3.9321 ] Rebooting to recovery mode
[   3.9355 ] tegrarcm_v2 --ismb2
[   3.9373 ] MB2 Applet version 01.00.0000
[   3.9979 ] Rebooting to recovery mode
[   4.0103 ] tegrarcm_v2 --reboot recovery
[   4.0169 ] MB2 Applet version 01.00.0000
Board ID(3668) version(300) sku(0001) revision(B.0)
Creating sparseimage core-image-minimal.ext4.img...
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.1491 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.1494 ] Assuming zero filled SBK key
[   0.0049 ] Generating RCM messages
[   0.1171 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.1248 ] Header already present for mb1_t194_prod.bin
[   0.3481 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.3496 ] Assuming zero filled SBK key
[   0.3800 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.3803 ] Assuming zero filled SBK key
[   0.4289 ] Warning: pub_key.key is not found
[   0.2879 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.3495 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.3753 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.3796 ] FwIndex: 1, MinRatchetLevel: 0
[   0.3815 ] FwIndex: 2, MinRatchetLevel: 0
[   0.3919 ] FwIndex: 3, MinRatchetLevel: 0
[   0.3935 ] FwIndex: 4, MinRatchetLevel: 0
[   0.3949 ] FwIndex: 5, MinRatchetLevel: 0
[   0.3964 ] FwIndex: 6, MinRatchetLevel: 0
[   0.3974 ] FwIndex: 7, MinRatchetLevel: 0
[   0.3975 ] FwIndex: 11, MinRatchetLevel: 0
[   0.3975 ] FwIndex: 12, MinRatchetLevel: 0
[   0.3976 ] FwIndex: 13, MinRatchetLevel: 0
[   0.3977 ] FwIndex: 14, MinRatchetLevel: 0
[   0.3978 ] FwIndex: 15, MinRatchetLevel: 0
[   0.3978 ] FwIndex: 16, MinRatchetLevel: 0
[   0.3979 ] FwIndex: 17, MinRatchetLevel: 0
[   0.3980 ] FwIndex: 18, MinRatchetLevel: 0
[   0.3980 ] FwIndex: 19, MinRatchetLevel: 0
[   0.3981 ] FwIndex: 30, MinRatchetLevel: 0
[   0.3982 ] FwIndex: 31, MinRatchetLevel: 0
[   0.3982 ] 
[   0.4017 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.4049 ] RCM 0 is saved as rcm_0.rcm
[   0.4246 ] RCM 1 is saved as rcm_1.rcm
[   0.4261 ] RCM 2 is saved as rcm_2.rcm
[   0.4276 ] List of rcm files are saved in rcm_list.xml
[   0.4513 ] Signing RCM messages
[   0.6060 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.6064 ] Assuming zero filled SBK key
[   0.6245 ] Warning: pub_key.key is not found
[   0.4957 ] Copying signature to RCM mesages
[   0.5002 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.8181 ] odmdata (to decode) = 3088646144
[   0.8182 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.8182 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_8_1_1_0_1'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_DISABLED'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']}
[   3.1629 ] Concatenating L4TConfiguration.dtbo,L4TRootfsInfo.dtbo,tegra194-p3668-p3509-overlay.dtbo to tegra194-p3668-all-p3509-0000_with_odm_overlay.dtb
[   3.1645 ] Parsing partition layout
[   3.1701 ] tegraparser_v2 --pt flash.xml.tmp
[   3.2021 ] Reading ramcode from backup chip_info.bin file
[   3.2025 ] RAMCODE Read from Device: 0

[   3.2028 ] Disable BPMP dtb trim, using default dtb
[   3.2028 ] 
[   3.2029 ] Creating list of images to be signed
[   3.2127 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   3.2160 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   3.2581 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   3.2593 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   3.2793 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   3.2817 ] adding BCH for spe_t194_aligned.bin
[   3.2990 ] adding BCH for nvtboot_t194_aligned.bin
[   3.3068 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   3.3655 ] Header already present for mce_c10_prod_cr_aligned.bin
[   3.3749 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   3.4345 ] Header already present for warmboot_t194_prod_aligned.bin
[   3.7514 ] adding BCH for xusb_sil_rel_fw_aligned
[   3.7616 ] adding BCH for uefi_jetson_aligned.bin
[   3.8170 ] adding BCH for tegra194-p3668-all-p3509-0000_aligned.dtb
[   3.9716 ] adding BCH for tos-optee_t194_aligned.img
[   4.0221 ] adding BCH for eks_aligned.img
[   4.1001 ] adding BCH for adsp-fw_aligned.bin
[   4.1035 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   4.1425 ] adding BCH for bpmp-2_t194_aligned.bin
[   4.1929 ] adding BCH for tegra194-a02-bpmp-p3668-a00_aligned.dtb
[   4.4826 ] adding BCH for spe_t194_aligned.bin
[   4.5428 ] adding BCH for nvtboot_t194_aligned.bin
[   4.5636 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   4.6384 ] Header already present for mce_c10_prod_cr_aligned.bin
[   4.6391 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   4.6923 ] Header already present for warmboot_t194_prod_aligned.bin
[   5.0635 ] adding BCH for xusb_sil_rel_fw_aligned
[   5.0707 ] adding BCH for uefi_jetson_aligned.bin
[   5.1062 ] adding BCH for tegra194-p3668-all-p3509-0000_aligned.dtb
[   5.4784 ] adding BCH for tos-optee_t194_aligned.img
[   5.5022 ] adding BCH for eks_aligned.img
[   5.5511 ] adding BCH for adsp-fw_aligned.bin
[   5.5699 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   5.5943 ] adding BCH for bpmp-2_t194_aligned.bin
[   5.6565 ] adding BCH for tegra194-a02-bpmp-p3668-a00_aligned.dtb
[   5.7643 ] Filling MB1 storage info
[   5.7643 ] Parsing dev params for multi chains
[   5.7644 ] Generating br-bct
[   5.7696 ] Performing cfg overlay
[   5.7696 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   5.7705 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg
[   5.9660 ] Updating dev and MSS params in BR BCT
[   5.9662 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   6.1057 ] Updating bl info
[   6.1099 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   6.1290 ] Generating br-bct
[   6.1327 ] Performing cfg overlay
[   6.1328 ] ['/tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg']
[   6.1329 ] Updating dev and MSS params in BR BCT
[   6.1330 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   6.2658 ] Updating bl info
[   6.2699 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   6.2918 ] Generating BCT backup image
[   6.2921 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   6.3073 ] 32768+0 records in
[   6.4262 ] 32768+0 records out
[   6.4272 ] 32768 bytes (33 kB, 32 KiB) copied, 0,119382 s, 274 kB/s
[   6.4448 ] Concatenating BCT for chain A to bct_backup.img

[   6.4453 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   6.4492 ] 2888+0 records in
[   6.4716 ] 2888+0 records out
[   6.4739 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,0241211 s, 120 kB/s
[   6.4837 ] Concatenating BCT for chain B to bct_backup.img

[   6.4911 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   6.4930 ] 2888+0 records in
[   6.5138 ] 2888+0 records out
[   6.5161 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,0226721 s, 127 kB/s
[   6.5349 ] Generating signatures
[   6.6849 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   6.6853 ] Assuming zero filled SBK key
[   7.2497 ] Warning: pub_key.key is not found
[   7.1052 ] Parsing dev params for multi chains
[   7.1053 ] Generating br-bct
[   7.1115 ] Performing cfg overlay
[   7.1116 ] ['/tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg']
[   7.1117 ] Updating dev and MSS params in BR BCT
[   7.1118 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   7.2362 ] Updating bl info
[   7.2394 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   7.2577 ] Updating smd info
[   7.2618 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   7.2938 ] Updating Odmdata
[   7.2996 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   7.3077 ] Signing BCT
[   7.3078 ] Get Signed section of bct
[   7.3122 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   7.4828 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   7.4833 ] Assuming zero filled SBK key
[   7.5092 ] Warning: pub_key.key is not found
[   7.3668 ] Updating BCT with signature
[   7.3818 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   7.4076 ] Generating br-bct
[   7.4179 ] Performing cfg overlay
[   7.4181 ] ['/tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg']
[   7.4182 ] Updating dev and MSS params in BR BCT
[   7.4184 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   7.5486 ] Updating bl info
[   7.5518 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   7.5665 ] Updating smd info
[   7.5703 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   7.5963 ] Updating Odmdata
[   7.6018 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   7.6228 ] Signing BCT
[   7.6229 ] Get Signed section of bct
[   7.6358 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   7.8435 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   7.8440 ] Assuming zero filled SBK key
[   7.8835 ] Warning: pub_key.key is not found
[   7.7388 ] Updating BCT with signature
[   7.7433 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   7.7889 ] Generating BCT backup image
[   7.7891 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   7.7957 ] 32768+0 records in
[   7.9904 ] 32768+0 records out
[   7.9904 ] 32768 bytes (33 kB, 32 KiB) copied, 0,196006 s, 167 kB/s
[   7.9905 ] 
[   7.9905 ] Concatenating BCT for chain A to bct_backup.img

[   7.9905 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   7.9978 ] 2888+0 records in
[   8.0248 ] 2888+0 records out
[   8.0253 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,026916 s, 107 kB/s
[   8.0351 ] Concatenating BCT for chain B to bct_backup.img

[   8.0353 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   8.0379 ] 2888+0 records in
[   8.0541 ] 2888+0 records out
[   8.0548 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,0122459 s, 236 kB/s
[   8.0619 ] Generating coldboot mb1-bct
[   8.1516 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   8.1541 ] MB1-BCT version: 0x1

[   8.1552 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   8.1608 ] Added Platform Config 0 data with size :- 2496

[   8.1626 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[   8.1791 ] Added Platform Config 1 data with size :- 19640

[   8.3349 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   8.3357 ] Added Platform Config 2 data with size :- 24

[   8.3362 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   8.3372 ] Added Platform Config 4 data with size :- 348

[   8.3726 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   8.3785 ] Added Platform Config 3 data with size :- 92

[   8.4096 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   8.4099 ] Added Platform Config 5 data with size :- 140

[   8.4103 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   8.4108 ] Added Platform Config 7 data with size :- 392

[   8.4110 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   8.4114 ] Added Platform Config 9 data with size :- 40
[   8.4609 ] Updating mb1-bct with firmware information
[   8.4790 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   8.5577 ] Updating mb1-bct with storage information
[   8.5780 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   8.7339 ] Updating mb1-bct with ratchet information
[   8.7377 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   8.7400 ] FwIndex: 1, MinRatchetLevel: 0
[   8.8454 ] FwIndex: 2, MinRatchetLevel: 0
[   8.8458 ] FwIndex: 3, MinRatchetLevel: 0
[   8.8461 ] FwIndex: 4, MinRatchetLevel: 0
[   8.8465 ] FwIndex: 5, MinRatchetLevel: 0
[   8.8468 ] FwIndex: 6, MinRatchetLevel: 0
[   8.8473 ] FwIndex: 7, MinRatchetLevel: 0
[   8.8487 ] FwIndex: 11, MinRatchetLevel: 0
[   8.8502 ] FwIndex: 12, MinRatchetLevel: 0
[   8.8515 ] FwIndex: 13, MinRatchetLevel: 0
[   8.8529 ] FwIndex: 14, MinRatchetLevel: 0
[   8.8544 ] FwIndex: 15, MinRatchetLevel: 0
[   8.8557 ] FwIndex: 16, MinRatchetLevel: 0
[   8.8569 ] FwIndex: 17, MinRatchetLevel: 0
[   8.8619 ] FwIndex: 18, MinRatchetLevel: 0
[   8.8624 ] FwIndex: 19, MinRatchetLevel: 0
[   8.8629 ] FwIndex: 30, MinRatchetLevel: 0
[   8.8637 ] FwIndex: 31, MinRatchetLevel: 0
[   8.9691 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   8.9885 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   8.9904 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   9.1694 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.1699 ] Assuming zero filled SBK key
[   9.2027 ] Warning: pub_key.key is not found
[   9.0644 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   9.0774 ] Generating recovery mb1-bct
[   9.0817 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   9.0844 ] MB1-BCT version: 0x1

[   9.0852 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   9.0859 ] Added Platform Config 0 data with size :- 2496

[   9.0886 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[   9.0893 ] Added Platform Config 1 data with size :- 19640

[   9.1272 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   9.1277 ] Added Platform Config 2 data with size :- 24

[   9.1284 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   9.1290 ] Added Platform Config 4 data with size :- 348

[   9.1300 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   9.1307 ] Added Platform Config 3 data with size :- 92

[   9.1314 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   9.1320 ] Added Platform Config 5 data with size :- 140

[   9.1347 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   9.1347 ] Added Platform Config 7 data with size :- 392
[   9.1347 ] 
[   9.1348 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   9.1348 ] Added Platform Config 9 data with size :- 40
[   9.1348 ] 
[   9.1349 ] Updating mb1-bct with firmware information
[   9.1450 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   9.1749 ] Updating mb1-bct with storage information
[   9.1871 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   9.2109 ] Updating mb1-bct with ratchet information
[   9.2131 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   9.2156 ] FwIndex: 1, MinRatchetLevel: 0
[   9.2169 ] FwIndex: 2, MinRatchetLevel: 0
[   9.2243 ] FwIndex: 3, MinRatchetLevel: 0
[   9.2255 ] FwIndex: 4, MinRatchetLevel: 0
[   9.2268 ] FwIndex: 5, MinRatchetLevel: 0
[   9.2303 ] FwIndex: 6, MinRatchetLevel: 0
[   9.2303 ] FwIndex: 7, MinRatchetLevel: 0
[   9.2303 ] FwIndex: 11, MinRatchetLevel: 0
[   9.2304 ] FwIndex: 12, MinRatchetLevel: 0
[   9.2304 ] FwIndex: 13, MinRatchetLevel: 0
[   9.2305 ] FwIndex: 14, MinRatchetLevel: 0
[   9.2305 ] FwIndex: 15, MinRatchetLevel: 0
[   9.2306 ] FwIndex: 16, MinRatchetLevel: 0
[   9.2306 ] FwIndex: 17, MinRatchetLevel: 0
[   9.2306 ] FwIndex: 18, MinRatchetLevel: 0
[   9.2307 ] FwIndex: 19, MinRatchetLevel: 0
[   9.2307 ] FwIndex: 30, MinRatchetLevel: 0
[   9.2308 ] FwIndex: 31, MinRatchetLevel: 0
[   9.2308 ] 
[   9.2331 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   9.2454 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   9.2472 ] adding BCH for mb1_bct_MB1_aligned.bct
[   9.4225 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.4228 ] Assuming zero filled SBK key
[   9.4309 ] Warning: pub_key.key is not found
[   9.2884 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   9.2979 ] Generating coldboot mem-bct
[   9.3107 ] tegrabct_v2 --chip 0x19 0 --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --membct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_1.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_2.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_3.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_4.bct
[   9.3134 ] Packing sdram param for instance[0]
[   9.4574 ] Packing sdram param for instance[1]
[   9.4589 ] Packing sdram param for instance[2]
[   9.4603 ] Packing sdram param for instance[3]
[   9.4613 ] Packing sdram param for instance[4]
[   9.4623 ] Packing sdram param for instance[5]
[   9.4633 ] Packing sdram param for instance[6]
[   9.4648 ] Packing sdram param for instance[7]
[   9.4701 ] Packing sdram param for instance[8]
[   9.4711 ] Packing sdram param for instance[9]
[   9.4712 ] Packing sdram param for instance[10]
[   9.4712 ] Packing sdram param for instance[11]
[   9.4713 ] Packing sdram param for instance[12]
[   9.4713 ] Packing sdram param for instance[13]
[   9.4714 ] Packing sdram param for instance[14]
[   9.4714 ] Packing sdram param for instance[15]
[   9.4715 ] 
[   9.4715 ] Getting sector size from pt
[   9.4766 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   9.4948 ] BlockSize read from layout is 200

[   9.5097 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_1.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_2.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_3.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_4.bct
[   9.5122 ] adding BCH for /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_1.bct
[   9.5617 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   9.6087 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   9.6184 ] Header already present for mem_coldboot_aligned.bct
[   9.7787 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.7792 ] Assuming zero filled SBK key
[   9.7991 ] Warning: pub_key.key is not found
[   9.6603 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   9.6692 ] Generating recovery mem-bct
[   9.6789 ] tegrabct_v2 --chip 0x19 0 --sdram /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1.cfg --membct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_1.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_2.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_3.bct /tmp/tmp.8x2Jbpx511/2527/tmpk135kira1_4.bct
[   9.6806 ] Packing sdram param for instance[0]
[   9.8063 ] Packing sdram param for instance[1]
[   9.8068 ] Packing sdram param for instance[2]
[   9.8072 ] Packing sdram param for instance[3]
[   9.8077 ] Packing sdram param for instance[4]
[   9.8081 ] Packing sdram param for instance[5]
[   9.8086 ] Packing sdram param for instance[6]
[   9.8091 ] Packing sdram param for instance[7]
[   9.8095 ] Packing sdram param for instance[8]
[   9.8102 ] Packing sdram param for instance[9]
[   9.8108 ] Packing sdram param for instance[10]
[   9.8112 ] Packing sdram param for instance[11]
[   9.8117 ] Packing sdram param for instance[12]
[   9.8121 ] Packing sdram param for instance[13]
[   9.8126 ] Packing sdram param for instance[14]
[   9.8130 ] Packing sdram param for instance[15]
[   9.8219 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   9.8578 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   9.8596 ] adding BCH for mem_rcm_aligned.bct
[  10.0337 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  10.0341 ] Assuming zero filled SBK key
[  10.0451 ] Warning: pub_key.key is not found
[   9.9058 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   9.9308 ] Copying signatures
[   9.9457 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[  10.2962 ] Boot Rom communication
[  10.3001 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[  10.3023 ] BR_CID: 0x88021911640971c1200000000f038280
[  10.3045 ] RCM version 0X190001
[  10.3196 ] Boot Rom communication completed
[  12.3834 ] tegrarcm_v2 --isapplet
[  12.3864 ] Applet version 01.00.0000
[  12.4307 ] Sending BCTs
[  12.4436 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[  12.4470 ] Applet version 01.00.0000
[  12.4663 ] Sending bct_bootrom
[  12.4666 ] [................................................] 100%
[  12.4700 ] Sending bct_mb1
[  12.4756 ] [................................................] 100%
[  12.4814 ] Sending bct_mem
[  12.5299 ] [................................................] 100%
[  12.5817 ] Generating blob
[  12.5880 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194_aligned.bin
[  12.6043 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_cpu_t194_aligned.bin zerosbk
[  12.6060 ] adding BCH for blob_nvtboot_recovery_cpu_t194_aligned.bin
[  12.8069 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  12.8072 ] Assuming zero filled SBK key
[  12.8159 ] Warning: pub_key.key is not found
[  12.6823 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin.hash zerosbk
[  12.7609 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194_aligned.bin
[  12.8035 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_t194_aligned.bin zerosbk
[  12.8056 ] adding BCH for blob_nvtboot_recovery_t194_aligned.bin
[  12.9868 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  12.9873 ] Assuming zero filled SBK key
[  12.9957 ] Warning: pub_key.key is not found
[  12.8641 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_aligned_sigheader.bin.encrypt blob_nvtboot_recovery_t194_aligned_sigheader.bin.hash zerosbk
[  12.8844 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr_aligned.bin
[  12.9141 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr_aligned.bin zerosbk
[  12.9224 ] Header already present for blob_preboot_c10_prod_cr_aligned.bin
[  13.1068 ] tegrasign_v3.py --key None --list blob_preboot_c10_prod_cr_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  13.1073 ] Assuming zero filled SBK key
[  13.1208 ] Warning: pub_key.key is not found
[  12.9826 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_aligned_sigheader.bin.encrypt blob_preboot_c10_prod_cr_aligned_sigheader.bin.hash zerosbk
[  12.9982 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr_aligned.bin
[  13.0318 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr_aligned.bin zerosbk
[  13.0390 ] Header already present for blob_mce_c10_prod_cr_aligned.bin
[  13.2135 ] tegrasign_v3.py --key None --list blob_mce_c10_prod_cr_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  13.2141 ] Assuming zero filled SBK key
[  13.2400 ] Warning: pub_key.key is not found
[  13.0983 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_aligned_sigheader.bin.encrypt blob_mce_c10_prod_cr_aligned_sigheader.bin.hash zerosbk
[  13.1346 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr_aligned.bin
[  13.1435 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr_aligned.bin zerosbk
[  13.1510 ] adding BCH for blob_mts_c10_prod_cr_aligned.bin
[  13.4702 ] tegrasign_v3.py --key None --list blob_mts_c10_prod_cr_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  13.4708 ] Assuming zero filled SBK key
[  13.4957 ] Warning: pub_key.key is not found
[  13.3663 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_aligned_sigheader.bin.encrypt blob_mts_c10_prod_cr_aligned_sigheader.bin.hash zerosbk
[  13.4768 ] tegrahost_v2 --chip 0x19 --align blob_bpmp-2_t194_aligned.bin
[  13.4956 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp-2_t194_aligned.bin zerosbk
[  13.4973 ] adding BCH for blob_bpmp-2_t194_aligned.bin
[  13.7082 ] tegrasign_v3.py --key None --list blob_bpmp-2_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  13.7087 ] Assuming zero filled SBK key
[  13.7257 ] Warning: pub_key.key is not found
[  13.5851 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp-2_t194_aligned_sigheader.bin.encrypt blob_bpmp-2_t194_aligned_sigheader.bin.hash zerosbk
[  13.6295 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb
[  13.6481 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb zerosbk
[  13.6509 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb
[  13.8476 ] tegrasign_v3.py --key None --list blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  13.8480 ] Assuming zero filled SBK key
[  13.8520 ] Warning: pub_key.key is not found
[  13.7091 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb.hash zerosbk
[  13.7470 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194_aligned.bin
[  13.7670 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t194_aligned.bin zerosbk
[  13.7738 ] adding BCH for blob_spe_t194_aligned.bin
[  13.9269 ] tegrasign_v3.py --key None --list blob_spe_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  13.9273 ] Assuming zero filled SBK key
[  13.9628 ] Warning: pub_key.key is not found
[  13.8258 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_aligned_sigheader.bin.encrypt blob_spe_t194_aligned_sigheader.bin.hash zerosbk
[  13.8593 ] tegrahost_v2 --chip 0x19 --align blob_tos-optee_t194_aligned.img
[  13.8859 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-optee_t194_aligned.img zerosbk
[  13.8878 ] adding BCH for blob_tos-optee_t194_aligned.img
[  14.0789 ] tegrasign_v3.py --key None --list blob_tos-optee_t194_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key
[  14.0793 ] Assuming zero filled SBK key
[  14.1058 ] Warning: pub_key.key is not found
[  13.9706 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-optee_t194_aligned_sigheader.img.encrypt blob_tos-optee_t194_aligned_sigheader.img.hash zerosbk
[  14.0086 ] tegrahost_v2 --chip 0x19 --align blob_eks_aligned.img
[  14.0629 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks_aligned.img zerosbk
[  14.0653 ] adding BCH for blob_eks_aligned.img
[  14.0654 ] 
[  14.2189 ] tegrasign_v3.py --key None --list blob_eks_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key
[  14.2193 ] Assuming zero filled SBK key
[  14.2360 ] Warning: pub_key.key is not found
[  14.1057 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_aligned_sigheader.img.encrypt blob_eks_aligned_sigheader.img.hash zerosbk
[  14.1490 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-all-p3509-0000_aligned.dtb
[  14.1597 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-p3668-all-p3509-0000_aligned.dtb zerosbk
[  14.1613 ] adding BCH for blob_tegra194-p3668-all-p3509-0000_aligned.dtb
[  14.3386 ] tegrasign_v3.py --key None --list blob_tegra194-p3668-all-p3509-0000_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  14.3390 ] Assuming zero filled SBK key
[  14.3452 ] Warning: pub_key.key is not found
[  14.2039 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-all-p3509-0000_aligned_sigheader.dtb.encrypt blob_tegra194-p3668-all-p3509-0000_aligned_sigheader.dtb.hash zerosbk
[  14.2513 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[  14.2657 ] number of images in blob are 11
[  14.2667 ] blobsize is 6460664
[  14.2690 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 232736
[  14.2748 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 206016
[  14.2769 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[  14.2806 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 145184
[  14.2887 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[  14.2910 ] Added binary blob_bpmp-2_t194_sigheader.bin.encrypt of size 1007392
[  14.2930 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 446640
[  14.3003 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 95232
[  14.3026 ] Added binary blob_tos-optee_t194_sigheader.img.encrypt of size 550288
[  14.3048 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[  14.3068 ] Added binary blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt of size 317424
[  14.3271 ] Sending bootloader and pre-requisite binaries
[  14.3429 ] tegrarcm_v2 --download blob blob.bin
[  14.3448 ] Applet version 01.00.0000
[  14.3766 ] Sending blob
[  14.3767 ] [................................................] 100%
[  15.3136 ] tegrarcm_v2 --boot recovery
[  15.3158 ] Applet version 01.00.0000
[  16.3677 ] tegrarcm_v2 --isapplet
[  16.9696 ] tegrarcm_v2 --ismb2
[  17.0273 ] tegradevflash_v2 --iscpubl
[  17.0293 ] Bootloader version 01.00.0000
[  17.0456 ] Bootloader version 01.00.0000
[  17.0614 ] Retrieving storage infomation
[  17.0769 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[  17.0806 ] Applet is not running on device. Continue with Bootloader
[  17.1372 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[  17.1402 ] Bootloader version 01.00.0000
[  17.1453 ] Saved platform info in storage_info.bin
[  17.1689 ] Flashing the device
[  17.1728 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[  17.1752 ] gpt_secondary_3_0.bin:
[  17.1766 ] partition_id	partition_name			      StartingLba	EndingLba
[  17.1789 ]            1	BCT                                 	       0	     255
[  17.1825 ]            2	mb1                                 	     256	     767
[  17.1917 ]            3	mb1_b                               	     768	    1279
[  17.2021 ]            4	MB1_BCT                             	    1280	    1407
[  17.2021 ]            5	MEM_BCT                             	    1408	    1919
[  17.2021 ]            6	spe-fw                              	    1920	    2431
[  17.2022 ]            7	mb2                                 	    2432	    2943
[  17.2022 ]            8	mts-preboot                         	    2944	    3071
[  17.2023 ]            9	mts-mce                             	    3072	    3455
[  17.2023 ]           10	mts-proper                          	    3456	   11647
[  17.2023 ]           11	sc7                                 	   11648	   11903
[  17.2024 ]           12	xusb-fw                             	   11904	   12287
[  17.2024 ]           13	cpu-bootloader                      	   12288	   20479
[  17.2024 ]           14	bootloader-dtb                      	   20480	   21375
[  17.2025 ]           15	secure-os                           	   21376	   26495
[  17.2025 ]           16	eks                                 	   26496	   26623
[  17.2025 ]           17	adsp-fw                             	   26624	   28671
[  17.2026 ]           18	rce-fw                              	   28672	   30719
[  17.2026 ]           19	sce-fw                              	   30720	   32767
[  17.2026 ]           20	bpmp-fw                             	   32768	   35839
[  17.2027 ]           21	bpmp-fw-dtb                         	   35840	   37887
[  17.2027 ]           22	reserved_for_chain_A_boot           	   37888	   41983
[  17.2027 ]           23	MB1_BCT_b                           	   41984	   42111
[  17.2028 ]           24	MEM_BCT_b                           	   42112	   42623
[  17.2028 ]           25	spe-fw_b                            	   42624	   43135
[  17.2028 ]           26	mb2_b                               	   43136	   43647
[  17.2029 ]           27	mts-preboot_b                       	   43648	   43775
[  17.2029 ]           28	mts-mce_b                           	   43776	   44159
[  17.2029 ]           29	mts-proper_b                        	   44160	   52351
[  17.2030 ]           30	sc7_b                               	   52352	   52607
[  17.2030 ]           31	xusb-fw_b                           	   52608	   52991
[  17.2030 ]           32	cpu-bootloader_b                    	   52992	   61183
[  17.2031 ]           33	bootloader-dtb_b                    	   61184	   62079
[  17.2031 ]           34	reserved_for_chain_B_boot           	   62080	   63359
[  17.2031 ]           35	uefi_variables                      	   63360	   63615
[  17.2032 ]           36	uefi_ftw                            	   63616	   63999
[  17.2032 ]           37	BCT-boot-chain_backup               	   64768	   64895
[  17.2032 ]           38	reserved_partition                  	   64896	   65023
[  17.2033 ]           39	secondary_gpt_backup                	   65024	   65151
[  17.2033 ]           40	VER_b                               	   65152	   65279
[  17.2033 ]           41	VER                                 	   65280	   65407
[  17.2034 ] gpt_primary_1_3.bin:
[  17.2034 ] partition_id	partition_name			      StartingLba	EndingLba
[  17.2034 ]            1	APP                                 	      40	 8388647
[  17.2035 ]            2	kernel                              	 8388648	 8519719
[  17.2035 ]            3	kernel-dtb                          	 8519720	 8520615
[  17.2035 ]            4	reserved_for_chain_A_user           	 8520616	 8587263
[  17.2036 ]            5	secure-os_b                         	29558784	29563903
[  17.2036 ]            6	eks_b                               	29563904	29564031
[  17.2036 ]            7	adsp-fw_b                           	29564032	29566079
[  17.2037 ]            8	rce-fw_b                            	29566080	29568127
[  17.2037 ]            9	sce-fw_b                            	29568128	29570175
[  17.2037 ]           10	bpmp-fw_b                           	29570176	29573247
[  17.2038 ]           11	bpmp-fw-dtb_b                       	29573248	29575295
[  17.2038 ]           12	kernel_b                            	29575296	29706367
[  17.2038 ]           13	kernel-dtb_b                        	29706368	29707263
[  17.2039 ]           14	reserved_for_chain_B_user           	29707264	29773823
[  17.2039 ]           15	recovery                            	29773824	29902847
[  17.2040 ]           16	recovery-dtb                        	29902848	29903871
[  17.2040 ]           17	RECROOTFS                           	29903872	30518271
[  17.2040 ]           18	esp                                 	30518272	30649343
[  17.2041 ]           19	UDA                                 	30649344	30777310
[  17.2041 ] gpt_secondary_1_3.bin:
[  17.2041 ] partition_id	partition_name			      StartingLba	EndingLba
[  17.2042 ]            1	APP                                 	      40	 8388647
[  17.2042 ]            2	kernel                              	 8388648	 8519719
[  17.2042 ]            3	kernel-dtb                          	 8519720	 8520615
[  17.2043 ]            4	reserved_for_chain_A_user           	 8520616	 8587263
[  17.2043 ]            5	secure-os_b                         	29558784	29563903
[  17.2138 ]            6	eks_b                               	29563904	29564031
[  17.2138 ]            7	adsp-fw_b                           	29564032	29566079
[  17.2139 ]            8	rce-fw_b                            	29566080	29568127
[  17.2139 ]            9	sce-fw_b                            	29568128	29570175
[  17.2139 ]           10	bpmp-fw_b                           	29570176	29573247
[  17.2140 ]           11	bpmp-fw-dtb_b                       	29573248	29575295
[  17.2140 ]           12	kernel_b                            	29575296	29706367
[  17.2140 ]           13	kernel-dtb_b                        	29706368	29707263
[  17.2141 ]           14	reserved_for_chain_B_user           	29707264	29773823
[  17.2141 ]           15	recovery                            	29773824	29902847
[  17.2141 ]           16	recovery-dtb                        	29902848	29903871
[  17.2142 ]           17	RECROOTFS                           	29903872	30518271
[  17.2142 ]           18	esp                                 	30518272	30649343
[  17.2143 ]           19	UDA                                 	30649344	30777310
[  17.2143 ] 
[  17.2144 ] Start flashing
[  17.2195 ] tegradevflash_v2 --pt flash.xml.bin --create
[  17.2219 ] Bootloader version 01.00.0000
[  17.2454 ] Erasing spi: 0 ......... [Done]
[ 131.3122 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin [ 16896 bytes ]
[ 131.3128 ] [................................................] 100%

[ 131.5538 ] Erasing sdmmc_user: 3 ......... [Done]
[ 131.8599 ] Writing partition master_boot_record with mbr_1_3.bin [ 512 bytes ]
[ 131.8605 ] [................................................] 100%
[ 131.8628 ] Writing partition primary_gpt with gpt_primary_1_3.bin [ 16896 bytes ]
[ 131.8702 ] [................................................] 100%
[ 131.8730 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin [ 16896 bytes ]
[ 131.8936 ] [................................................] 100%

[ 131.9161 ] Writing partition mb1 with mb1_t194_prod_aligned_sigheader.bin.encrypt [ 248944 bytes ]
[ 131.9181 ] [................................................] 100%
[ 131.9280 ] Writing partition mb1_b with mb1_t194_prod_aligned_sigheader.bin.encrypt [ 248944 bytes ]
[ 135.2442 ] [................................................] 100%
[ 135.2570 ] Writing partition spe-fw with spe_t194_sigheader.bin.encrypt [ 95232 bytes ]
[ 138.5618 ] [................................................] 100%
[ 138.5675 ] Writing partition mb2 with nvtboot_t194_sigheader.bin.encrypt [ 207584 bytes ]
[ 139.8310 ] [................................................] 100%
[ 139.8411 ] Writing partition mts-preboot with preboot_c10_prod_cr_sigheader.bin.encrypt [ 24016 bytes ]
[ 142.5956 ] [................................................] 100%
[ 142.5983 ] Writing partition mts-mce with mce_c10_prod_cr_sigheader.bin.encrypt [ 145184 bytes ]
[ 142.9198 ] [................................................] 100%
[ 142.9280 ] Writing partition mts-proper with mts_c10_prod_cr_sigheader.bin.encrypt [ 3430416 bytes ]
[ 144.8556 ] [................................................] 100%
[ 186.6500 ] Writing partition sc7 with warmboot_t194_prod_sigheader.bin.encrypt [ 55264 bytes ]
[ 190.4099 ] [................................................] 100%
[ 190.4173 ] Writing partition xusb-fw with xusb_sil_rel_fw_sigheader.encrypt [ 133120 bytes ]
[ 191.1528 ] [................................................] 100%
[ 191.1643 ] Writing partition cpu-bootloader with uefi_jetson_sigheader.bin.encrypt [ 3149824 bytes ]
[ 192.9254 ] [................................................] 100%
[ 234.7353 ] Writing partition bootloader-dtb with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt [ 317424 bytes ]
[ 234.7922 ] [................................................] 100%
[ 234.8073 ] Writing partition secure-os with tos-optee_t194_sigheader.img.encrypt [ 550288 bytes ]
[ 239.0121 ] [................................................] 100%
[ 239.0388 ] Writing partition eks with eks_sigheader.img.encrypt [ 5136 bytes ]
[ 246.3259 ] [................................................] 100%
[ 246.3342 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt [ 396880 bytes ]
[ 246.4097 ] [................................................] 100%
[ 246.4467 ] Writing partition rce-fw with camera-rtcpu-t194-rce_sigheader.img.encrypt [ 529776 bytes ]
[ 251.7081 ] [................................................] 100%
[ 251.7407 ] Writing partition bpmp-fw with bpmp-2_t194_sigheader.bin.encrypt [ 1007392 bytes ]
[ 258.7580 ] [................................................] 100%
[ 258.7996 ] Writing partition bpmp-fw-dtb with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt [ 446640 bytes ]
[ 272.1397 ] [................................................] 100%
[ 272.1573 ] Writing partition spe-fw_b with spe_t194_sigheader.bin.encrypt [ 95232 bytes ]
[ 278.0754 ] [................................................] 100%
[ 278.0809 ] Writing partition mb2_b with nvtboot_t194_sigheader.bin.encrypt [ 207584 bytes ]
[ 279.3436 ] [................................................] 100%
[ 279.3534 ] Writing partition mts-preboot_b with preboot_c10_prod_cr_sigheader.bin.encrypt [ 24016 bytes ]
[ 282.1070 ] [................................................] 100%
[ 282.1116 ] Writing partition mts-mce_b with mce_c10_prod_cr_sigheader.bin.encrypt [ 145184 bytes ]
[ 282.4319 ] [................................................] 100%
[ 282.4393 ] Writing partition mts-proper_b with mts_c10_prod_cr_sigheader.bin.encrypt [ 3430416 bytes ]
[ 284.3670 ] [................................................] 100%
[ 326.1398 ] Writing partition sc7_b with warmboot_t194_prod_sigheader.bin.encrypt [ 55264 bytes ]
[ 329.9168 ] [................................................] 100%
[ 329.9213 ] Writing partition xusb-fw_b with xusb_sil_rel_fw_sigheader.encrypt [ 133120 bytes ]
[ 330.6565 ] [................................................] 100%
[ 330.6679 ] Writing partition cpu-bootloader_b with uefi_jetson_sigheader.bin.encrypt [ 3149824 bytes ]
[ 332.4291 ] [................................................] 100%
[ 374.2267 ] Writing partition bootloader-dtb_b with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt [ 317424 bytes ]
[ 374.2849 ] [................................................] 100%
[ 374.3096 ] Writing partition VER_b with jetson-xavier-nx-devkit-emmc_bootblob_ver.txt [ 109 bytes ]
[ 378.5139 ] [................................................] 100%
[ 378.5173 ] Writing partition VER with jetson-xavier-nx-devkit-emmc_bootblob_ver.txt [ 109 bytes ]
[ 378.5309 ] [................................................] 100%
[ 378.5369 ] Writing partition master_boot_record with mbr_1_3.bin [ 512 bytes ]
[ 378.5555 ] [................................................] 100%
[ 378.5659 ] Writing partition APP with core-image-minimal.ext4.img [ 4113424748 bytes ]
Error: Return value 3                                         ] 000%
Command tegradevflash_v2 --pt flash.xml.bin --create

Hi elie.genard,

Sorry, Yocto is not officially supported and maintained by us, but our partner have the Yocto support for Jetson boards, please refer to Announcing Yocto support for Jetson Boards

It’s also not recommended to use Ubuntu on VM because flash process need reboot and VM might not detect the board. Please use the standalone Ubuntu 18.04 for SDKM.

You could provide the full UART console log for further check.

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