Hi,
I read a lot of topics discussing about problems flashing the TX2. Mine was flashed (not be me) successfully, but to install a camera driver, I need to reflash the kernel dtb after replacing the boot Image.
I plugged my tx2 on my host pc running Ubuntu 16.04 (no VM) and put it into recovery mode. Cable is USB micro B (took it from a cellphone charger). Port on host is USB 3.0 (no USB 2 at all).
So my TX2 is visible through lsusb with the right product id
Bus 001 Device 028: ID 0955:7c18 NVidia Corp.
Here is the output of the command I ran when I try running the command for the second (and next) time : sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1
./tegraflash.py --chip 0x18 --applet "/home/user/Téléchargements/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --skipuid
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0013 ] Generating RCM messages
[ 0.0020 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/user/Téléchargements/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0025 ] RCM 0 is saved as rcm_0.rcm
[ 0.0029 ] RCM 1 is saved as rcm_1.rcm
[ 0.0029 ] List of rcm files are saved in rcm_list.xml
[ 0.0029 ]
[ 0.0029 ] Signing RCM messages
[ 0.0035 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0040 ] Assuming zero filled SBK key
[ 0.0068 ]
[ 0.0068 ] Copying signature to RCM mesages
[ 0.0073 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0080 ]
[ 0.0080 ] Boot Rom communication
[ 0.0086 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[ 0.0095 ] Boot Rom communication failed
[ 3.1151 ]
Error: Return value 3
Command tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
Reading board information failed.
All I did was following the camera’s constructor’s instructions so I did not come up with this command by myself.
More info: the “Linux_for_Tegra” folder comes from this archive “Tegra186_Linux_R28.1.0_aarch64.tbz2” and I replaced the dtb file “tegra186-quill-p3310-1000-c03-00-base.dtb” by the one provided by the camera constructor.
Any help would be much appreciated.
EDIT: The second error message (below) only appears the first time I run the command after putting the tx2 into recovery mode. Every other times after this one get to the first error message. So I need to find out how to solve the second error message.
I will get a USB A male male cable tomorrow, which I will try with the included NVidia cable micro B to USB A female, as a replacement for my cellphone charger cable. I will also try to test on Ubuntu 14 if the administration finds me one.
Thanks for your future help.
./tegraflash.py --chip 0x18 --applet "/home/user/Téléchargements/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --skipuid
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0014 ] Generating RCM messages
[ 0.0021 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/user/Téléchargements/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0027 ] RCM 0 is saved as rcm_0.rcm
[ 0.0030 ] RCM 1 is saved as rcm_1.rcm
[ 0.0030 ] List of rcm files are saved in rcm_list.xml
[ 0.0030 ]
[ 0.0031 ] Signing RCM messages
[ 0.0037 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0042 ] Assuming zero filled SBK key
[ 0.0070 ]
[ 0.0071 ] Copying signature to RCM mesages
[ 0.0076 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0085 ]
[ 0.0085 ] Boot Rom communication
[ 0.0091 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[ 0.0099 ] RCM version 0X180001
[ 0.0111 ] Boot Rom communication completed
[ 1.0197 ]
[ 1.0219 ] tegrarcm_v2 --isapplet
[ 1.0238 ] Applet version 01.00.0000
[ 1.0267 ]
[ 1.0287 ] Retrieving EEPROM data
[ 1.0289 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/user/Téléchargements/Linux_for_Tegra/bootloader/cvm.bin
[ 1.0307 ] Applet version 01.00.0000
[ 1.0677 ] Saved platform info in /home/user/TTraceback (most recent call last):
File "./tegraflash.py", line 1101, in <module>
tegraflash_run_commands()
File "./tegraflash.py", line 1008, in tegraflash_run_commands
interpreter.onecmd(command)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "./tegraflash.py", line 664, in do_dump
tegraflash_dump(exports, args)
File "/home/user/Téléchargements/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 884, in tegraflash_dump
tegraflash_dumpeeprom(args, dump_args[1:])
File "/home/user/Téléchargements/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 924, in tegraflash_dumpeeprom
run_command(command)
File "/home/user/Téléchargements/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 167, in run_command
print_process(process)
File "/home/user/Téléchargements/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 135, in print_process
outputchar = output.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
Reading board information failed.