I would like to reflash a Xavier NX using l4t_initrd_flash.sh, and follow README_initrd_flash to configuration. When burning to a certain stage, it will stuck in “Ongoing processes:11821” for a long time
Here are host log, flash log and serial log, I want to know why causes it host log.txt (1.2 KB) flash_1-8_0_20230831-194909.log (3.5 KB) jetson serial log.txt (1.9 KB)
by the way, it was still printing “ongoing process” for forty minutes in the first time, so this log is cancelled when it started printing “ongoing process”.
It was my first time to reflash Jetson board, so maybe I neglected many key points, and thank you for help!
can you please attach the full flashing log and serial console log, instead of the cropped one?
Assuming it’s an SD card on the carrier board, you should be using mmcblk1p1 instead of mmcblk1.
Did you remember to add the dtb entry for bootloader in the config file?
You should set both dtb for kernel and bootloader like this:
(from p3668.conf.common)
then can you please check your device tree, and make sure only one sdhci instance is enabled?
If you only have one storage device (eMMC/SD card), then it should present as mmcblk0p1 instead of mmcblk1p1.
Either way, you need to flash with mmcblkxp1, but not just mmcblkx.
Also, have you tried flash.sh instead of initrd flash?
thanks,
I’ll check this point, and in the flash log, it stucked in RCM boot BootRom communication
I have already flashed the BSP successfully using by flash.sh, the reason why I want to use initrd flash is that I want to flash the external emmc directly
eMMC and SD cards are directly supported in the MB2 firmware, so whether it’s on the module itself or on the carrier board, you should be able to flash them with flash.sh, and there is no need to use initrd flash.
Sorry, there’s a problem with my expression.
I want to use initrd flash to burn both internal and external EMMC at the same time, and I tried many times is will stuck in bootrom communication
so you have both mmcblk0 (eMMC on the module) and mmcblk1 (eMMC on the carrier board), and you want to flash them at the same time?
Then does flashing them individually with flash.sh work?
(You may need to modify the script so it accepts mmcblk1 as an valid internal device.)
Is this all you can get from serial console?
What if without ROOTFS_AB=1 and using the default partition layout file? Did you design the config correctly so it can support A/B redudancy?
Yes, the perpose is to flash some application into external eMMC while flashing the OS.
the serial console only had these infomation, the reason may is in the flash log stopped in bootrom communication
I’m trying to only use the default way to use initrd flash, and it’s the same phenomenon that flash stucked in the same place, bootrom is not running. And there is no problem in r3521.
I think there is no problem in configueration because using flash.sh is correct
This is expected.
The process of initrd flash is splitted into generating the flashing package with --no-flash and actually flashing with --flash-only.
I didn’t get this one, and in another board using mmcblk1 to flash with initrd did not have any problem
This is expected.
The process of initrd flash is splitted into generating the flashing package with --no-flash and actually flashing with --flash-only .
Then my flash is actually failed in the flash-only stage?