But it ultimately failed, the terminal printed as follows! flash_3-7_0_20230818-124226.log (11.4 KB)
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Cleaning up…
if your custom board has some customization in usb and that causes usb device mode fails to work by default, then flashing from initrd flash tool will fail.
fine, But didn’t change any customization on flashing USB port, eventhough initrd flash would be hit.
can i know more details about initrd flash mechanism?
NO, its not working again i faced same issue. No Flash command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --network usb0 jetson-agx-orin-devkit mmcblk0p1
This command successfully generate a flash package. Flash command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --network usb0 --showlogs
Flash.sh → the hardware pull the module into recovery mode. Flash.sh will flash the QSPI + the eMMC directly
initrd flash-> the hardware pull the module into recovery mode. Flash.sh will flash the QSPI first. Initrd is installed and then used to boot up. Initrd will see what you want to flash and flash it. But initrd is same as kernel, which means it reads the device tree and then search the I/O peripherals.
In this stage, usb device mode is needed and this part depends on device tree. If usb device mode is not able to be up, then initrd will not be able to flash anything.
fine, But didn’t change any customization on flashing USB port, even though initrd flash would be hit.
Based on my experience, most users say “my board is same as devkit” turns out they are not.
The correct procedure is you should use flash.sh to flash your board first. Make sure usb device mode can work fine after kernel boots up. (Make sure that device tree is fine) Then, use that device tree on initrd flash case.
one more clarification about to generate flash images for Jetson AGX Orin Reg
The below Command is used to generate a flash image:
$ sudo BOARDID= FAB= BOARDSKU= BOARDREV= ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --network usb0 --massflash 3 jetson-agx-orin-devkit mmcblk0p1
If you want to clarify the situation, provide more logs may help there.
Also, your previous log got truncated in each line so actually you didn’t provide a clear log yet.