I also found this discussion:
https://devtalk.nvidia.com/default/topic/1050471/-install-jet-pack-4-2-on-jetson-tx2/
and tried the same code change:
bootauth="";
if [ "${fuselevel}" = "" ]; then
echo "hwchipid = ${hwchipid}";
echo "get fuse level";
get_fuse_level fuselevel hwchipid bootauth;
echo "hwchipid = ${hwchipid}";
these are the results:
ken@minibeast:~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2 mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 2.1
###############################################################################
hwchipid =
get fuse level
hwchipid =
Error: probing the target board failed.
Make sure the target board is connected through
USB port and is in recovery mode.