Hi,
I was trying to build Optee for jetson orin nano. I build as per the kernel customization docs and Optee docs and flashed on the jetson using ./flash.sh utility, It flashed successfully but when I ran jetson, it gave some issue, so I rebuilt kernel from scratch , including optee, and tried flashing again and got:
[ 0.2876 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.2876 ] Boot Rom communication
[ 0.2884 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.2893 ] BR_CID: 0x80012344705DF8C38C00000002FE0100
[ 0.3182 ] Sending bct_br
[ 0.3653 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 10.4936 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.4987 ] Retrieving board information
[ 10.5016 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[ 10.5043 ] Retrieving EEPROM data
[ 10.5044 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/sanket/Music/jetson_build/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[ 10.5122 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.5138 ] Dumping customer Info
[ 10.5156 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[ 10.5194 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /home/sanket/Music/jetson_build/Linux_for_Tegra/bootloader/custinfo_out.bin
[ 10.5209 ] File tmp.bct open failed
[ 10.5211 ] Error: try getting custinfo fail. Moving on
[ 10.5212 ] Rebooting to recovery mode
[ 10.5226 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 10.5241 ] Rebooting to recovery mode
[ 10.5256 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
Parsing board information failed.
Because jetson was already flashed once, I flashed Sd-card directly using the jetson .img file and balena.
Though I can now boot normally into jetson but still cannot flash if i want to as getting Parsing board information failed.
How to solve this issue.
Thanks
*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing seems to be related to the flashing process of the Jetson Orin Nano. You’ve already flashed the device once, and now you’re trying to flash it again, but you’re encountering errors.
Firstly, let’s break down the error messages you’ve provided:
-
02876 pscbl1t234prodalignedsigheaderbinencrypt filename is from imageslist: This line indicates that the flashing process is trying to download the pscbl1t234prodalignedsigheaderbinencrypt file from the imageslist.
-
02884 tegrarcmv2 newsession chip 0x23 0 uid download bctbr brbctBRbct download mb1 mb1t234prodalignedsigheaderbinencrypt download pscbl1 pscbl1t234prodalignedsigheaderbinencrypt download bctmb1 mb1bctMB1sigheaderbctencrypt: This line shows the commands being executed by the tegrarcmv2 tool to download the bootloader and firmware files.
-
03182 Sending bctbr: This line indicates that the bctbr file is being sent to the device.
-
03653 ERROR might be timeout in USB write Error Return value 3 Command tegrarcmv2 newsession chip 0x23 0 uid download bctbr brbctBRbct download mb1 mb1t234prodalignedsigheaderbinencrypt download pscbl1 pscbl1t234prodalignedsigheaderbinencrypt download bctmb1 mb1bctMB1sigheaderbctencrypt: This line shows an error message indicating a timeout in the USB write operation.
-
105209 File tmpbct open failed: This line indicates that the tmpbct file could not be opened.
-
105211 Error try getting custinfo fail Moving on: This line shows an error message indicating that the customer information could not be retrieved.
-
105212 Rebooting to recovery mode: This line indicates that the device is being rebooted into recovery mode.
-
105226 tegrarcmv2 chip 0x23 0 ismb2: This line shows the tegrarcmv2 tool executing the ismb2 command.
-
105241 Rebooting to recovery mode: This line indicates that the device is being rebooted into recovery mode again.
-
105256 tegrarcmv2 chip 0x23 0 reboot recovery Parsing board information failed: This line shows an error message indicating that the board information could not be parsed.
To solve this issue, you can try the following steps:
- Reflash the device: Try reflashing the device using the
flash.sh script with the --no-flash option. This will recreate the bootloader and firmware files.
sudo BOARDID=<board_id> FAB=<fab> BOARDSKU=<sku_number> BOARDREV=<reversion> ./flash.sh --no-flash -u pv_priv.pem -k A_cpu-bootloader jetson-agx-orin-devkit internal
- Recreate the
tmpbct file: Try recreating the tmpbct file by running the tegrabctv2 tool with the brbct option.
tegrabctv2 brbct tmpbct chip 0x23 0 custinfo homesanketMusicjetsonbuildLinuxforTegrabootloadercustinfooutbin
- Reboot the device: Try rebooting the device into recovery mode using the
tegrarcmv2 tool.
tegrarcmv2 chip 0x23 0 reboot recovery
- Check the board information: Try checking the board information using the
tegrarcmv2 tool.
tegrarcmv2 chip 0x23 0 oem platformdetails chip chipinfobin
- Try flashing again: After trying the above steps, try flashing the device again using the
flash.sh script.
If none of the above steps work, you may need to try a different approach, such as:
- Flashing the device using the SD card: Try flashing the device using the SD card image file and the
balena tool.
- Using a different flashing tool: Try using a different flashing tool, such as the
tegrarcmv2 tool with the --no-flash option.
- Checking the device’s USB connection: Try checking the device’s USB connection to ensure that it is stable and not causing any issues.
It’s also worth noting that the error messages you’ve provided seem to indicate that there are issues with the bootloader and firmware files, as well as the device’s USB connection. You may need to try troubleshooting these issues separately to resolve the problem.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Hi @carolyuu !
I tried the steps you mentioned but still same. I have another Jetson Orin Nano as well but it’s fine on that.
I can try sd card method but I am not able to generate image from my custom kernel.
USB connection seems to be fine as other jets is working well.
Can it be related to OPTEE?
Hi,
Have you put the device into recovery mode and verified its status using lsusb, as described in the official Quick Start — NVIDIA Jetson Linux Developer Guide, before proceeding with the flashing process?
Thanks
Yes @DavidDDD ! It’s visible there
There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks ~1202
Hi,
Thus, is the issue resolved?
If not, please share the full log.
Thanks