We are able to generate the required files from the excel, then convert them with the python script, place them at the correct locations and modify a .conf file so the ./flash.sh script can use them.
However, you can only use the ./flash.sh script on a host system connected to the TX2. We want to be able to update a TX2 in the field without connecting it to a host system. We can already update the device tree by generating an encrypted DTB file with ./flash.sh --no-flash, and then use dd on the target TX2 to update the correct partition.
We also want to be able to do this for updating the pinmux settings. My question thus is which partion (kernel, kernel-dtb etc.) contains this information (this information being the pinmux settings) when generating an encrypted file with --no-flash. You are referring to MB1, I can’t find that as any partition name, might it be contained in any other partition, perhaps bootloader-dtb?
Edit: for example, trying to generate MB1_BCT gives an error:
sudo ./flash.sh --no-flash -r -k MB1_BCT tx2-carrier_revbc mmcblk0p1
[ 0.0036 ] Generating signature
[ 0.0045 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0053 ] Assuming zero filled SBK key
[ 0.0056 ]
Traceback (most recent call last):
File “./tegraflash.py”, line 1280, in
File “./tegraflash.py”, line 1149, in tegraflash_run_commands
File “/usr/lib/python2.7/cmd.py”, line 221, in onecmd
File “./tegraflash.py”, line 665, in do_sign
File “/home/falco/TX2-Projects/Linux_for_Tegra_3220/Linux_for_Tegra/bootloader/tegraflash_internal.py”, line 739, in tegraflash_sign_binary
if not _is_header_present(file_path):
File “/home/falco/TX2-Projects/Linux_for_Tegra_3220/Linux_for_Tegra/bootloader/tegraflash_internal.py”, line 70, in _is_header_present
file_size = os.path.getsize(file_path)
File “/usr/lib/python2.7/genericpath.py”, line 57, in getsize
OSError: [Errno 2] No such file or directory: ‘/home/falco/TX2-Projects/Linux_for_Tegra_3220/Linux_for_Tegra/bootloader/signed/mb1_cold_boot_bct_MB1_sigheader.bct.encrypt’
Failed to flash/read t186ref.