Hey.
I got some deprecated errors when using flash.sh. It returns as below:
Traceback (most recent call last):
File "/home/nut/local_git/bsp_next/bootloader/./tegraflash.py", line 1284, in <module>
tegraflash_run_commands()
File "/home/nut/local_git/bsp_next/bootloader/./tegraflash.py", line 1150, in tegraflash_run_commands
interpreter.onecmd(command)
File "/usr/lib/python3.9/cmd.py", line 217, in onecmd
return func(arg)
File "/home/nut/local_git/bsp_next/bootloader/./tegraflash.py", line 780, in do_dump
tegraflash_dump(exports, args)
File "/home/nut/local_git/bsp_next/bootloader/tegraflash_internal.py", line 1246, in tegraflash_dump
tegraflash_dumpeeprom(args, dump_args[1:])
File "/home/nut/local_git/bsp_next/bootloader/tegraflash_internal.py", line 1300, in tegraflash_dumpeeprom
tegraflash_boot_mb2_applet()
File "/home/nut/local_git/bsp_next/bootloader/tegraflash_internal.py", line 2350, in tegraflash_boot_mb2_applet
filename = tegraflash_send_mb2_applet()
File "/home/nut/local_git/bsp_next/bootloader/tegraflash_internal.py", line 2344, in tegraflash_send_mb2_applet
filename = tegraflas_oem_sign_file(filename, 'PLDT')
File "/home/nut/local_git/bsp_next/bootloader/tegraflash_internal.py", line 2109, in tegraflas_oem_sign_file
for file_nodes in xml_tree.getiterator('file'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Reading board information failed.
I change all getiterator
to iter
in bootloader/tegraflash_internal.py to fix this error.
The Operating System is Arch Linux, Python version is 3.9.
I did not find where to pull request, hince I post this topic.