Hi,
I’m using Jetpack 5 and I’m following the documentation and burned the PKC and the SBK fuses on a Jetson Orin Nano devkit. I used the following XML:
Then I tried to read the written values back, via sudo ./odmfuseread.sh -i 0x23 -v … -u … jetson-orin-nano-devkit
but ran into the following error:
Traceback (most recent call last):
File "/home/Linux_for_Tegra/bootloader/./tegraflash.py", line 1383, in <module>
tegraflash_run_commands()
File "/home/Linux_for_Tegra/bootloader/./tegraflash.py", line 1217, in tegraflash_run_commands
interpreter.onecmd(command)
File "/usr/lib/python3.10/cmd.py", line 217, in onecmd
return func(arg)
File "/home/Linux_for_Tegra/bootloader/./tegraflash.py", line 855, in do_dump
self.chip_inst.tegraflash_dump(exports, args)
File "/home/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 2405, in tegraflash_dump
self.tegraflash_enc_and_sign_images()
File "/home/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", line 1866, in tegraflash_enc_and_sign_images
for file_nodes in xml_tree.getiterator('file'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Reading board information failed.
I could fix that with replacing in tegraflash_impl_t234.py the call to the deprecated and deleted function of the XML parser “getiterator()” to “iter()” in the python code. Would be nice if this could be fixed by NVIDIA.
Anyway, after this fix, odmfuseread.sh ran into this error:
[ 0.9739 ] File mb1_t234_prod_aligned_sigheader_encrypt.bin.signed open failed
Error: Return value 19
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader_encrypt.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader_encrypt.bct
Reading board information failed
It looks to me, that tegrasign for some reason did not create the aforementioned .sign file, so the call to tegrarcm fails as the file is missing. But how to fix that?
Any help would be appreciated.
Thanks!