TX2 Flashing Tools Bugs (using '-k BCT' option)

Hi, I found some bugs in the flash.sh script. The command:

./flash.sh -k BCT jetson-tx2 mmcblk0p1

This script tries to run tegraflash.py with the argument --updatebct SDRAM but this argument isn’t supported by tegraflash.py so it just prints the usage.

Removing this argument, also leads to other bugs with flashing the BCT.

The --chip and --applet and --bl arguments are not supplied to tegraflash.py so it fails. If you supply these, the TX2 throws the following error:

[0023.734] I> Writing BCT partition.
[0023.737] E> NV3P_SERVER: Accessing offset 418952 after boundary partition size 32768

hello richard.habeeb,

as I knew. flash script did not supported to have partition update to write BCT partition individually.
you should perform a whole flash to have verification. thanks