How to massflash in jetpack5.1 BSP

hi
I’m trying to do massflash on jetpack 5.1 BSP

I followed the workflow procedure in README_initrd_flash.txt.

First, create a massflash image with the command below:

sudo BOARDID=2888 FAB=400 BOARDSKU=0004 BOARDREV=K.0 ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --network usb0 --massflash 5 jetson-agx-xavier-devkit mmcblk0p1

Go into the created mfi_jetson-agx-xaiver-devkit folder and
Press the recovery button to set the target board to RCM mode and enter the command below.

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --network usb0 --massflash 1 --showlogs

However, if you try this, the message “waiting for target to boot-up” appears in the terminal and the flash does not work.

It is not a cable problem as I can see that the flash operation is performed with the default flash.sh.

Am I missing something?

Hi,

This may not be the case because the process of flash.sh is different from that of initrd flash.

We need the serial console log during flashing to identify the real issue.

These are target log and host log.
Did I miss anything?

target_log.txt (67.6 KB)
host_log.txt (7.4 KB)

Hi,

Are you using a DevKit or a custom board?
Can you see if you flash the device with flash.sh, would it be detected with lsusb on your host after it boots into eMMC?

I am using a custom board.
After setting the recovery mode on the target flashed with flash.sh,
By typing the lsusb command on the host, NVIDIA Corp. APX
I confirmed that it came out.

Hi,

Please don’t put the device into recovery mode; instead, just let it boot into the Linux system, and check lsusb again to see if the USB device mode driver is loaded correctly.

After booting with EMMC and connecting the cable,
I typed lsusb on host, but nothing came up.
Is this a problem?

YES.
You need to maybe revise your hardware design or device tree to make it work.

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