I have run into a handful of problems preventing nvmassflash.sh from working with our system. It’s frustrating that Nvidia seems to have completely overlooked this module as a product they sell and support.
-
The TX2-4GB is not even listed in the documentation. BOARDID=3489, FAB=A00, and SKU is 0888?
-
nvmassflash.sh fails when trying to create the tarball because some files are missing.
copying emmc_bootblob_ver.txt … succeeded.
Error: gpt_secondary_0_3.bin does not exist.
I am not sure why the files are located in ./bootloader/signed/ but the script is only looking in ./bootloader/. I copied them to ./bootloader/ and then the nvmassflash.sh completed (after about 45 minutes).
-
Running ./nvmflash.sh on the factory floor fails because the script does not properly look for the USB ID of a TX2-4GB device.
dir="$(dirname "${fn_devnum}")" vendor="$(cat "${dir}/idVendor")" if [ "${vendor}" != "0955" ]; then continue fi product="$(cat "${dir}/idProduct")" case "${product}" in "7721") ;; "7f21") ;; "7018") ;; "7c18") ;; "7121") ;; "7019") ;; "7e19") ;; "7418") ;; ### ADDED THIS LINE *)
I added USB ID 7418 to the list, and now the board is detected, but it fails almost immediately with the following log:
*** Boot Rom communication
/home/ubuntu/secureboot/redacted_encrypt_signed/tegrarcm_v2 --instance 3-1 --chip 0x18 0 --rcm rcm_1_signed.rcm
BootRom is not running
*** Boot Rom communication succeeded.
*** Checking applet
/home/ubuntu/secureboot/redacted_encrypt_signed/tegrarcm_v2 --instance 3-1 --isapplet
USB communication failed.Check if device is in recovery
*** Error: Checking applet failed.
It should be noted that our carrier board does not have an EEPROM with Board ID, etc.
Can Nvidia provide some patches to this soon so we can implement this on our production line. Thanks.