Hi, I need some help with flashing TX2 NX internal eMMC. I can successfully flash the board with flash.sh but just can’t figure out how to use l4t_initrd_flash.sh
I am using Jetson TX2 NX with A206 Carrier Board from SeeedStudio. I followed all the instructions in the README_Initrd_flash.txt (Release 32.7.1), but I still have no luck.
unpack secureboot_R32.7.1_aarch64.tbz2 to the following directory: JetPack_4.6.1_Linux_JETSON_TX2_TARGETS
cd Linux_for_Tegra
Put device into recovery mode
Flashing the internal storage: sudo ./tools/kernel_flash/l4t_initrd_flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
However, I am getting errors that say “Flash complete (WITH FAILURES)” in the terminal. The log says "Error: Invalid argument during seek for read on /dev/sda
[ 3]: l4t_flash_from_kernel: Error: partprobe failed. This indicates that:
the xml indicates the gpt is larger than the device storage
the xml might be invalid
the device might have a problem.
Please make correction.
Error flashing non-qspi storage"
Is there any usb device connected when you try to use inird flash? Please remove them and try again.
Also, since this is custom board, if there are some usb devices that are not able to remove by you, then I can only suggest you just only use flash.sh.
The only USB devices connected are keyboard and mouse. After removing them, I still can’t get the inird flash to work with it. Still throwing same error.
How to use:
- This tool does not support size discovery for internal emmc/sdcard. Therefore,
you might need to change the "num_sectors" field in the config file under
bootloader/t186ref/cfg if the default "num_sectors" is incompatible. You must
change "num_sectors" so that num_sectors * sector_size is equal to or smaller
the size of the internal emmc/sd card of your Jetson.
- This tool supports T194 and T186 devices. You can use the -h option to find out what options this tool supports.
- Below are listed some sample workflows for initrd flashing.