Hi, thank you for your reply. I tried a flash to emmc again.
It ends with “The target is in a bad state”.
Below you find the logs.
Any suggestions :)
Serial Console log:
[0145.267] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0145.275] I> MB1 (prd-version: 2.6.0.0-t194-41334769-cab45716)
[0145.280] I> Boot-mode: Platform RCM
[0145.284] I> Platform: Silicon
[0145.286] I> Chip revision : A02P
[0145.289] I> Bootrom patch version : 15 (correctly patched)
[0145.295] I> ATE fuse revision : 0x200
[0145.298] I> Ram repair fuse : 0x0
[0145.301] I> Ram Code : 0x2
[0145.304] I> rst_source: 0x0, rst_level: 0x0
[0145.309] I> USB configuration success
[0147.470] I> mb2 image downloaded
[0147.544] I> Recovery boot mode 0
[0147.558] I> UPHY full init done
[0147.565] I> MB1 done
[0147.570] I> Welcome to MB2(TBoot-BPMP) Applet (version: default.t194-mobile-dba32e6d)
[0147.577] I> DMA Heap @ [0x40020000 - 0x40065800]
[0147.582] I> Default Heap @ [0xd486400 - 0xd48a400]
[0147.586] W> Profiler not initialized
[0147.734] I> sdmmc DDR50 mode
[0147.739] E> SPI_FLASH: Invalid value device id: 7.
[0147.744] I> QSPI Flash is not present.
[0147.750] E> CLK_RST: instance 6 not found in module 44.
[0147.755] E> MPhy CAR configuration failed error = 1747992077
[0147.760] E> UFS initialization failed
[0147.764] I> UFS is not present
[0147.770] I> Found 20 partitions in SDMMC_BOOT (instance 3)
[0147.777] W> Cannot find any partition table for 00010003
[0147.783] > PARTITION_MANAGER: Failed to publish partition.
[0147.788] W> Profiler not initialized
[0147.792] I> Entering 3p server
[0147.795] I> USB configuration success
[0148.800] I> Populate chip info
[0148.925] I> Populate eeprom info
[0148.940] I> Populate eeprom info for module cvm
[0148.945] > DEVICE_PROD: device prod is not initialized.
[0155.596] I> Populate chip info
[0155.724] I> Populate eeprom info
[0155.744] I> Populate eeprom info for module cvb
[0155.926] I> Rebooting : reboot-recovery
[0155.938] I> Reset to recovery mode
[0002.290] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0002.298] I> MB1 (prd-version: 2.6.0.0-t194-41334769-cab45716)
[0002.304] I> Boot-mode: Platform RCM
[0002.307] I> Platform: Silicon
[0002.310] I> Chip revision : A02P
[0002.313] I> Bootrom patch version : 15 (correctly patched)
[0002.318] I> ATE fuse revision : 0x200
[0002.321] I> Ram repair fuse : 0x0
[0002.325] I> Ram Code : 0x2
[0002.327] I> rst_source: 0xb, rst_level: 0x1
[0002.332] I> USB configuration success
[0004.500] I> mb2 image downloaded
[0004.571] I> Recovery boot mode 0
[0004.580] I> UPHY full init done
[0004.587] I> MB1 done
[0004.592] I> Welcome to MB2(TBoot-BPMP) Applet (version: default.t194-mobile-dba32e6d)
[0004.599] I> DMA Heap @ [0x40020000 - 0x40065800]
[0004.604] I> Default Heap @ [0xd486400 - 0xd48a400]
[0004.608] W> Profiler not initialized
[0004.633] I> sdmmc DDR50 mode
[0004.637] E> SPI_FLASH: Invalid value device id: 7.
[0004.642] I> QSPI Flash is not present.
[0004.648] E> CLK_RST: instance 6 not found in module 44.
[0004.653] E> MPhy CAR configuration failed error = 1747992077
[0004.658] E> UFS initialization failed
[0004.662] I> UFS is not present
[0004.669] I> Found 20 partitions in SDMMC_BOOT (instance 3)
[0004.676] W> Cannot find any partition table for 00010003
[0004.682] > PARTITION_MANAGER: Failed to publish partition.
[0004.687] W> Profiler not initialized
[0004.691] I> Entering 3p server
[0004.694] I> USB configuration success
[0005.824] I> Populate chip info
[0005.956] I> Populate eeprom info
[0005.973] I> Populate eeprom info for module cvm
[0005.978] > DEVICE_PROD: device prod is not initialized.
[0006.192] I> Rebooting : reboot-recovery
[0006.201] I> Reset to recovery mode
[0231.014] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0231.022] I> MB1 (prd-version: 2.6.0.0-t194-41334769-cab45716)
[0231.027] I> Boot-mode: RCM
[0231.030] I> Platform: Silicon
[0231.033] I> Chip revision : A02P
[0231.036] I> Bootrom patch version : 15 (correctly patched)
[0231.041] I> ATE fuse revision : 0x200
[0231.045] I> Ram repair fuse : 0x0
[0231.048] I> Ram Code : 0x2
[0231.050] I> rst_source: 0xb, rst_level: 0x1
[0231.055] I> USB configuration success
[0233.154] I> bct_bootrom image downloaded
[0233.205] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0233.212] I> Temperature = 21500
[0233.215] W> Skipping boost for clk: BPMP_CPU_NIC
[0233.219] W> Skipping boost for clk: BPMP_APB
[0233.223] W> Skipping boost for clk: AXI_CBB
[0233.227] W> Skipping boost for clk: AON_CPU_NIC
[0233.232] W> Skipping boost for clk: CAN1
[0233.235] W> Skipping boost for clk: CAN2
[0233.240] I> Boot-device: SDMMC (instance: 3)
[0233.244] I> bct_mb1 image downloaded
[0233.287] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0233.295] W> Thermal config not found in BCT
[0233.303] W> MEMIO rail config not found in BCT
[0233.319] I> bct_mem image downloaded
[0235.430] I> blob image downloaded
[0235.496] I> Recovery boot mode 0
[0235.544] W> Platform config not found in BCT
[0235.577] I> MB1 done
main enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
[0235.588] I> Welcome to MB2(TBoot-BPMP) Recovery (version: default.t194-mobile-405defbc)
[0235.589] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0235.589] I> Default Heap @ [0xd486400 - 0xd48a400]
[0235.591] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0235.596] W> device prod register failed
[0235.612] I> Relocating BR-BCT
[0235.614] > DEVICE_PROD: device prod is not initialized.
[0235.639] E> I2C: slave not found in slaves.
[0235.640] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0235.641] E> I2C_DEV: Failed to send register address 0x00000000.
[0235.642] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 0.
[0235.643] E> eeprom: Failed to read I2C slave device
[0235.645] I> Failed to read CVB eeprom data @ AE
[0235.650] I> Retrying CVB eeprom read @ AC ...
[0235.686] I> Relocating OP-TEE dtb from: 0x6bfffc10 to 0x70050000, size: 1008
[0235.687] I> [0] START: 0x80000000, SIZE: 0x47af0000
[0235.687] I> [1] START: 0xca000000, SIZE: 0x800000
[0235.688] I> dram_block larger than 80000000
[0235.688] I> [2] START: 0x100000000, SIZE: 0x780000000
[0235.693] I> Setting NS memory ranges to OP-TEE dtb finished.
[0235.696] I> found decompressor handler: lz4
[0236.318] I> EKB detected (length: 0x410) @ VA:0x526fa200
[0236.319] I> Setting EKB blob info to OPTEE dtb finished.
NOTICE: BL31: v2.6(release):5e1f8b33d
NOTICE: BL31: Built : 01:34:52, Mar 4 2025
I/TC: Physical secure memory base 0xcb040000 size 0xf00000
bpmp: init
bpmp: tag is 128431eec76692047e1ac1ebc0392266
sku_dt_init: not sku 0x00
I/TC:
clk_early initialized
mail_early initialized
fuse initialized
hwwdt initialized
t194_ec_get_ec_list: found 45 ecs
ec initialized
vmon_setup_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
mc initialized
reset initialized
nvhs initialized
uphy_early initialized
emc_early initialized
392 clocks registered
clk initialized
io_dpd initialized
thermal initialized
thermal_mrq initialized
i2c initialized
vrmon_dt_init: vrmon node not found
vrmon_chk_boot_state: found 0 rail monitors
vrmon initialized
regulator initialized
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
I/TC: Non-secure external DT found
dvs initialized
pm initialized
suspend initialized
pg_late initialized
pg_mrq_init initialized
strap initialized
nvl initialized
emc initialized
emc_mrq initialized
clk_dt initialized
tj_init initialized
/uphy is not enabled status = disabled
uphy_dt initialized
uphy_mrq initialized
uphy initialized
ec_swd_poll_start: 281 reg polling start w period 47 ms
ec_late initialized
hwwdt_late initialized
reset_mrq initialized
ec_mrq initialized
fmon_mrq initialized
clk_mrq initialized
avfs_mrq initialized
mail_mrq initialized
i2c_mrq initialized
tag_mrq initialized
console_mrq initialized
mrq initialized
clk_sync_fmon_post initialized
clk_dt_late initialized
noc_late initialized
pm_post initialized
dbells initialized
dmce initialized
cvc initialized
avfs_clk_mach_post initialized
avfs_clk_platform_post initialized
cvc_late initialized
regulator_post initialized
rm initialized
console_late initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
profile initialized
fuse_late initialized
extras_post initialized
bpmp: init complete
entering main console loop
] I/TC: OP-TEE version: 3.22 (gcc version 9.3.0 (Buildroot 2020.08)) #2 Tue Mar 4 09:47:09 UTC 2025 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
[0237.229] I> Welcome to TBoot-CPU Recovery
[0237.229] I> Heap: [0xa0f00000 ... 0xa9f00000
[0237.229] I> gpio framework initialized
[0237.247] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0237.257] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0237.258] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0237.269] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0237.279] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0237.280] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0237.280] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0237.290] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0237.300] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0237.300] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0237.309] I> fixed regulator driver initialized
[0237.481] I> CPU: Nvidia Carmel
[0237.481] I> CPU: MIDR: 0x4e0f0040, MPIDR: 0x80000000
[0237.482] I> Platform: Silicon
[0237.482] I> chip revision : A02P
[0237.482] I> Boot_device: SDMMC_BOOT instance: 3
[0237.482] I> sdmmc-3 params source = boot args
[0237.925] I> sdmmc-3 params source = boot args
[0237.926] I> sdmmc bdev is already initialized
[0237.953] I> Found 20 partitions in SDMMC_BOOT (instance 3)
[0237.965] W> Cannot find any partition table for 00010003
[0237.966] > PARTITION_MANAGER: Failed to publish partition.
[0237.967] I> Recovery boot_type: 0
[0237.967] I> Entering 3p server
[0237.967] I> USB configuration success
[0238.312] I> Populate storage info
[0238.451] I> Erasing device 0: 3
[0239.592] I> Writing device 0: 3.
[0239.717] I> Found 20 partitions in SDMMC_BOOT (instance 3)
[0239.740] I> Erasing device 1: 3
[0240.261] I> Writing device 1: 3.
[0240.303] I> Writing device 1: 3.
[0240.329] W> Cannot find any partition table for 00010003
[0240.330] E> NV3P_SERVER: Failed to initialize partition table from GPT.
NV_L4T_FLASH_JETSON_LINUX_COMP.log
19:13:29.075 - Info: [ 10.0655 ]
19:13:29.075 - Info: [ 10.0655 ] Start flashing
19:13:29.075 - Info: [ 10.0850 ] tegradevflash_v2 --pt flash.xml.bin --create
19:13:29.075 - Info: [ 10.0912 ] Bootloader version 01.00.0000
19:13:29.075 - Info: [ 10.1295 ] Erasing sdmmc_boot: 3 ......... [Done]
19:13:29.075 - Info: [ 11.2718 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin [ 16896 bytes ]
19:13:30.240 - Info: [ 11.2719 ] [................................................] 100%
19:13:30.240 - Info:
19:13:30.365 - Info:
19:13:30.365 - Info: [ 11.4193 ] Erasing sdmmc_user: 3 ......... [Done]
19:13:30.365 - Info: [ 11.9412 ] Writing partition master_boot_record with mbr_1_3.bin [ 512 bytes ]
19:13:30.907 - Info: [ 11.9414 ] [................................................] 100%
19:13:30.907 - Info:
19:13:30.928 - Info: [ 11.9614 ] Writing partition primary_gpt with gpt_primary_1_3.bin [ 16896 bytes ]
19:13:30.950 - Info: [ 11.9827 ] [................................................] 100%
19:13:30.950 - Info:
19:13:30.976 - Info: [ 12.0052 ] 000000000d0d2c01: E> NV3P_SERVER: Failed to initialize partition table from GPT.
19:13:30.993 - Info: [ 12.0310 ]
19:13:30.993 - Info: [ 12.0311 ]
19:13:30.993 - Info: Error: Return value 1
19:13:30.993 - Info: Command tegradevflash_v2 --pt flash.xml.bin --create
19:13:31.012 - Info: Failed flashing t186ref.
19:13:31.013 - Error: *** ERROR: flashing failed.
19:13:31.023 - Error: [exec_command]: /bin/bash -c /home/vip/.nvsdkm/replays/scripts/JetPack_5.1.5_Linux/NV_L4T_FLASH_JETSON_LINUX_COMP.sh; [error]: *** ERROR: flashing failed.
19:13:31.024 - Info: [ Component Install Finished with Error ]19:13:31.024 - Info: [host] [ 16.84 MB released. Disk Avail on Partition /dev/sda1: 18.20 GB ]19:13:31.024 - Info: [ NV_L4T_FLASH_JETSON_LINUX_COMP Install took 4m18s ]
sdkm-2025-03-18-07-34-49.log
19:13:31.130 - info:
*** Install summary of 28 components ***
Install Jetson - JetPack 5.1.5 Linux for Jetson AGX Xavier - finished failed
Failure root cause: Failed Component ID: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_XAVIER_TARGETS#35.6. Error Code: 608. Error: Jetson board is in a bad state and cannot be recovered. Please manually put board to recovery mode again and retry..
Install started on: 19:09:12 GMT+0100 (Mitteleuropäische Normalzeit).
Install ended on: 19:13:31 GMT+0100 (Mitteleuropäische Normalzeit).
Install duration: 00:04:18.
Install idle time: 0.000s.
Real install duration (duration - idle time): 00:04:18.
Total 28 components: 0 installed, 10 up-to-date, 1 failed, 0 skipped, 17 dependency failures.
Install details:
- NV_CUDA_HOST_COMP@host: Up-to-date.
- NV_CUDA_CROSS_HOST_COMP@host: Up-to-date.
- NV_NVSCI_HOST_COMP@host: Up-to-date.
- NV_VPI_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_SYSTEMS_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_GRAPHICS_HOST_COMP@host: Up-to-date.
- NV_NVIDIA_NSIGHT_COMPUTE_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_PERFSDK_HOST_COMP@host: Up-to-date.
- NV_L4T_DRIVERS_COMP@JETSON_AGX_XAVIER_TARGETS: Up-to-date.
- NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_AGX_XAVIER_TARGETS: Up-to-date.
- NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_XAVIER_TARGETS: Failed - 00:04:18 -start: 19:09:12 GMT+0100 (Mitteleuropäische Normalzeit) - end: 19:13:31 GMT+0100 (Mitteleuropäische Normalzeit).
- NV_DATETIME_SETUP_TARGET_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_CUDA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_CUDNN_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_TENSORRT_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_OPENCV_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_CUPVA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_VPI_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_CUDNN_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_TENSORRT_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- NV_L4T_VPI_TARGET_POST_INSTALL_COMP@JETSON_AGX_XAVIER_TARGETS: DependencyFailure.
- : DependencyFailure.
- : DependencyFailure.
- : DependencyFailure.
*** End of Install Summary ***
19:13:31.134 - info: Event: Session ended - failure
19:13:31.134 - info: Setting SessionInitialStatus with value: Download: 100. Install: 80
19:13:31.134 - info: Setting custom dimension value SessionInitialStatus - Download: 100. Install: 80
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - error: cannot get component by id undefined
19:13:31.135 - info: target duration: all (end time - start time): 00:04:18. duration summary: 00:04:18
19:13:31.137 - error: completeSetup failed. Error:
19:13:31.137 - error: install process failure
19:13:31.138 - info:
********************** Completed install for bundle JetPack 5.1.5 Linux for Jetson AGX Xavier time: 26-Mar-2025-19.13:31 is succeeded: false **********************
19:13:31.217 - info: Engine.install is complete.
19:15:08.749 - info: Detected NVIDIA Device Removed: {"locationId":1,"vendorId":2389,"productId":28697,"deviceName":"APX","manufacturer":"NVIDIA_Corp.","serialNumber":"","deviceAddress":17}
19:15:08.751 - info: Event: Device APX was unplugged from usb port.
19:15:08.751 - info: onNvidiaUSBRemoved, usbBusDevice: 001/017
19:15:08.751 - info: onNvidiaUSBRemoved, connected HW info: Jetson AGX Xavier | 001/017 | 1-1 | 2.00 | Recovery | 0955:7019
19:17:58.558 - info: exporting logs from /home/vip/.nvsdkm/logs/JetPack_5.1.5_Linux