Update [jetson-xavier] is not supported

Hi,
When I use this command to flash, there will be errors.
$ sudo ./flash.sh -r -k jetson-xavier mmcblk0p1

Reusing existing system.img…
done.
Existing tbcfile(/home/lion/nvidia/xavier16G-jp4.4dp/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/lion/nvidia/xavier16G-jp4.4dp/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)… done.
copying cfgfile(/home/lion/nvidia/xavier16G-jp4.4dp/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t194_sdmmc.xml) to flash.xml… done.
Existing flasher(/home/lion/nvidia/xavier16G-jp4.4dp/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/lion/nvidia/xavier16G-jp4.4dp/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Update [jetson-xavier] is not supported. ***
flash-error.log (14.9 KB)
Thanks.

Where do you see such command? It is wrong.

“-k” means you want to flash only specific partition and you have to add the partition name right after -k.
Obviously, jetson-xavier is not a partition name.

hi WayneWWW. thank you for your help.

I used the following command to successfully flash.
sudo ./flash.sh -r -K kernel/Image jetson-xavier mmcblk0p1
sudo ./flash.sh -r -k APP jetson-xavier mmcblk0p1