I’m currently attempting to flash Jetson Linux on a J202 Carrier with Xavier-NX board attached.
I followed the instructions per https://wiki.seeedstudio.com/reComputer_J2021_J202_Flash_Jetpack/#flashing-to-emmc-with-command-line
However, I ran the following as my flash command:
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
The flash script fails after it completes sending its binary blob, at which point it enters a loop with tegradevflash_v2 where the following repeats:
[ 9.7465 ] tegrarcm_v2 --isapplet
[ 10.4982 ] tegrarcm_v2 --ismb2
[ 11.2503 ] tegradevflash_v2 --iscpubl
[ 11.2519 ] CPU Bootloader is not running on device.
After about a minute of those error messages repeating, the script fails with the following result.
Error: None of the bootloaders are running on device. Check the UART log.
Failed flashing t186ref.
The troubleshooting guide at the end of the wiki page did not include this scenario. I did notice that my error shared similar traits to this topic getting-cpu-bootloader-is-not-running-on-device-error-when-flashing-nvidia-jetson-xavier-nx-to-jetson-linux-35-1 though unlike that user I have not been able to have success using the SDKManager either.
I was able to attach a USB to TTY cable to the tty pins on the carrier, and got the following output:
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyUSB0, 15:47:17Press CTRL-A Z for help on special keys
��
[0013.584] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0013.592] I> MB1 (prd-version: 2.3.0.0-t194-41334769-0a17edc1)
[0013.598] I> Boot-mode: Platform RCM
[0013.601] I> Platform: Silicon
[0013.604] I> Chip revision : A02P
[0013.607] I> Bootrom patch version : 15 (correctly patched)
[0013.612] I> ATE fuse revision : 0x200
[0013.615] I> Ram repair fuse : 0x0
[0013.619] I> Ram Code : 0x0
[0013.621] I> rst_source: 0x0, rst_level: 0x0
[0013.626] I> USB configuration success
[0017.405] I> mb2 image downloaded
[0018.162] I> Recovery boot mode 0
[0018.167] I> UPHY full init done
[0018.174] I> MB1 done[0018.179] I> Welcome to MB2(TBoot-BPMP) Applet (version: default.t194-mobile-27d8d121)
[0018.186] I> DMA Heap @ [0x40020000 - 0x40065800]
[0018.191] I> Default Heap @ [0xd486400 - 0xd48a400]
[0018.196] W> Profiler not initialized
[0018.276] I> sdmmc DDR50 mode
[0018.283] I> QSPI-0l initialized successfully
[0018.290] E> CLK_RST: instance 6 not found in module 44.
[0018.295] E> MPhy CAR configuration failed error = 1747992077
[0018.300] E> UFS initialization failed
[0018.304] I> UFS is not present
[0018.309] W> Cannot find any partition table for 00000003
[0018.314] > PARTITION_MANAGER: Failed to publish partition.
[0018.323] I> Found 19 partitions in SDMMC_USER (instance 3)
[0018.331] I> Found 41 partitions in QSPI_FLASH (instance 0)
[0018.336] W> Profiler not initialized
[0018.340] I> Entering 3p server
[0018.343] I> USB configuration success
[0021.500] I> Populate chip info
[0022.252] I> Populate eeprom info
[0022.256] I> Populate eeprom info for module cvm
[0022.261] > DEVICE_PROD: device prod is not initialized.
[0023.624] I> Rebooting : reboot-recovery[0023.628] I> Reset to recovery mode
��
[0176.960] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0176.968] I> MB1 (prd-version: 2.3.0.0-t194-41334769-0a17edc1)
[0176.974] I> Boot-mode: RCM
[0176.976] I> Platform: Silicon
[0176.979] I> Chip revision : A02P
[0176.982] I> Bootrom patch version : 15 (correctly patched)
[0176.987] I> ATE fuse revision : 0x200
[0176.991] I> Ram repair fuse : 0x0
[0176.994] I> Ram Code : 0x0
[0176.996] I> rst_source: 0xb, rst_level: 0x1
[0177.002] I> USB configuration success
[0180.462] I> bct_bootrom image downloaded
[0180.470] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0180.477] I> Temperature = 36000
[0180.480] W> Skipping boost for clk: BPMP_CPU_NIC
[0180.485] W> Skipping boost for clk: BPMP_APB
[0180.489] W> Skipping boost for clk: AXI_CBB
[0180.493] W> Skipping boost for clk: AON_CPU_NIC
[0180.497] W> Skipping boost for clk: CAN1
[0180.501] W> Skipping boost for clk: CAN2
[0180.505] I> Boot-device: QSPI (instance: 0)
[0180.509] I> Qspi flash params source = mb1bct
[0180.513] I> bct_mb1 image downloaded
[0180.523] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0180.531] W> Thermal config not found in BCT
[0180.539] W> MEMIO rail config not found in BCT
[0180.549] I> bct_mem image downloaded
[0182.672] I> blob image downloaded
[0183.425] I> Recovery boot mode 0
The “Recovery boot mode 0” output happens a while before the flash script sends the blob, however after that there is no new output over the UART while the script outputs the CPU Bootloader not running messages.
Any ideas of what else to look for or if any part of my configuration is wrong is appreciated.