How to flash U-boot only on jetson-tx2-nx?

I downloaded and compiled the u-boot successfully,and replaced the uboot.bin to Linux_for_Tegra/bootloader/t186ref/p3636-0001/u-boot.bin

But when I flash it with the following command, It didn`t successfully
sudo ./flash.sh -k LNX jetson-xavier-nx-devkit-tx2-nx mmcblk0p1

the failure log is below

[ 7.2247 ] Sending bootloader and pre-requisite binaries
[ 7.2277 ] tegrarcm_v2 --download blob blob.bin
[ 7.2293 ] Applet version 01.00.0000
[ 7.4746 ] Sending blob
[ 7.4747 ] […] 100%
[ 8.2892 ]
[ 8.2923 ] tegrarcm_v2 --boot recovery
[ 8.2940 ] Applet version 01.00.0000
[ 8.5673 ]
[ 9.5713 ] tegrarcm_v2 --isapplet
[ 9.5724 ] USB communication failed.Check if device is in recovery
[ 10.3770 ]
[ 10.3804 ] tegradevflash_v2 --iscpubl
[ 10.3824 ] Bootloader version 01.00.0000
[ 10.6900 ] Bootloader version 01.00.0000
[ 10.7586 ]
[ 10.7586 ] Writing partition
[ 10.7819 ] tegradevflash_v2 --write DTB /data/share/jetson_xavier_nx/Linux_for_Tegra/bootloader/kernel_tegra186-p3636-0001-p3509-0000-a01.dtb
[ 10.8296 ] Bootloader version 01.00.0000
[ 10.9752 ] Writing partition DTB with /data/share/jetson_xavier_nx/Linux_for_Tegra/bootloader/kernel_tegra186-p3636-0001-p3509-0000-a01.dtb
[ 10.9771 ] 000000000d0d000d: o open partition %s.
[ 11.0155 ]
[ 11.0155 ]
Error: Return value 13
Command tegradevflash_v2 --write DTB /data/share/jetson_xavier_nx/Linux_for_Tegra/bootloader/kernel_tegra186-p3636-0001-p3509-0000-a01.dtb
Failed to flash/read t186ref.
root@ubuntu:/share/jetson_xavier_nx/Linux_for_Tegra#

Hi xe366,

Are you using the devkit or custom board for TX2-NX?
What’s your Jetpack version in use?

Could you just try to use the following command to flash the whole board?

$ sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1

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