Tegrarcm_v2 fails with return value 8

Whenever I try to flash AGX Xavier devkits from my ubuntu 18.04 laptop I get the following error:

[   9.1324 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   9.1330 ] Applet version 01.00.0000
[  10.4433 ] Sending bct_bootrom
[  10.4434 ] [................................................] 100%
[  10.4446 ] Sending bct_mb1
[  10.4495 ] [................................................] 100%
[  10.4530 ] Sending bct_mem
[  10.4989 ] [................................................] 100%
[  10.6163 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
Failed flashing t186ref.

I am not running in a VM like other people who have a similar issue, and I have also tried 3 different AGX Xavier’s and various differenct USB-C cables. I am able to flash Xavier NX’s and TX2’s fine from this computer. Also, I am using Jetpack 4.4.1.

What exactly is Error Return Value 8?

  1. Can you try jetpack4.6.1 or jetpack4.5.1 to flash this board?

  2. Can you check the uart log during flash? Please be aware that I am talking about the uart log… so not current flash log you shared.

I will check the uart log but I can’t use a newer Jetpack version due to other limitations.

This is just for debug. Not asking you to always use new jetpack.

So, please try to flash with new jetpack first.

This is what the serial console logs when I am running the flashing script and it hits that error:


[004
[0026.100] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0026.109] I> MB1 (prd-version: 1.5.1.3-t194-41334769-d2a21c57)
[0026.114] I> Boot-mode: RCM
[0026.117] I> Chip revision : A02P
[0026.120] I> Bootrom patch version : 15 (correctly patched)
[0026.125] I> ATE fuse revision : 0x200
[0026.128] I> Ram repair fuse : 0x0
[0026.132] I> Ram Code : 0x2
[0026.134] I> rst_source : 0xb
[0026.137] I> rst_level : 0x1
[0026.141] I> USB configuration success
[0030.909] I> bct_bootrom image downloaded
[0030.917] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0030.923] I> Temperature = 31000
[0030.926] W> Skipping boost for clk: BPMP_CPU_NIC
[0030.930] W> Skipping boost for clk: BPMP_APB
[0030.934] W> Skipping boost for clk: AXI_CBB
[0030.938] W> Skipping boost for clk: AON_CPU_NIC
[0030.943] W> Skipping boost for clk: CAN1
[0030.946] W> Skipping boost for clk: CAN2
[0030.951] I> Boot-device: eMMC
[0030.954] I> Boot-device: eMMC
[0030.956] I> bct_mb1 image downloaded
[0030.966] I> ECC region[0]: Start:0x0, End:0x0
[0030.970] I> ECC region[1]: Start:0x0, End:0x0
[0030.974] I> ECC region[2]: Start:0x0, End:0x0
[0030.978] I> ECC region[3]: Start:0x0, End:0x0
[0030.983] I> ECC region[4]: Start:0x0, End:0x0
[0030.987] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0030.992] I> Non-ECC region[1]: Start:0x0, End:0x0
[0030.997] I> Non-ECC region[2]: Start:0x0, End:0x0
[0031.001] I> Non-ECC region[3]: Start:0x0, End:0x0
[0031.006] I> Non-ECC region[4]: Start:0x0, End:0x0
[0031.012] E> FAILED: Thermal config
[0031.019] E> FAILED: MEMIO rail config
[0031.034] E> Task 50 failed (err: 0x7979061c)
[0031.038] E> Top caller module: ALIASCHECKER, error module: ALIASCHECKER, reason: 0x1c, aux_info: 0x06
[0031.047] I> MB1(1.5.1.3-t194-41334769-d2a21c57) BIT boot status dump :
0000000000011111111110000111111111111110011000111110000000000000000000000000000000000000000000000000000000000000000000000000000011001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

I tried another Xavier AGX Devkit and get the same exact output

Please also try new jetpack. Especially jetpack4.6.

With a New Jetpack I get the following error with the flash script:

l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x20bf808 to offset  0x8 in sig file
/tmp/tmpofw_384e/l4t_sign_image.sh: line 95: xxd: command not found

but I have xxd on the machine

Could you also tell me what Error: Return Value 8 means?

Ok, I fixed the xxd issue and now with Jetpack 4.6 I get the same Error: Return Value 8. Also has an identical serial log

Can you share the flash command you are using here?

BTW, are you sure these modules are Xavier 16GB but not 8GB module?

./flash.sh jetson-xavier mmcblk0p1

We have the 32GB variant of the AGX Xavier

What does Error: Return Value 8 mean? If I had more details on the error I would be able to debug this better.

I don’t think analyzing “value 8” would help. For example, you can use that value 8 error as keyword to search over this forum. And you will find out lots of boards have this problem but the causes are all different.

Honestly, I don’t think this is an issue you could debug.
Please just attach me your flash serial console log again from jetpack4.6. Need to check this internally.

Here is the serial console output:


[004
[0026.100] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0026.109] I> MB1 (prd-version: 1.5.1.3-t194-41334769-d2a21c57)
[0026.114] I> Boot-mode: RCM
[0026.117] I> Chip revision : A02P
[0026.120] I> Bootrom patch version : 15 (correctly patched)
[0026.125] I> ATE fuse revision : 0x200
[0026.128] I> Ram repair fuse : 0x0
[0026.132] I> Ram Code : 0x2
[0026.134] I> rst_source : 0xb
[0026.137] I> rst_level : 0x1
[0026.141] I> USB configuration success
[0030.909] I> bct_bootrom image downloaded
[0030.917] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0030.923] I> Temperature = 31000
[0030.926] W> Skipping boost for clk: BPMP_CPU_NIC
[0030.930] W> Skipping boost for clk: BPMP_APB
[0030.934] W> Skipping boost for clk: AXI_CBB
[0030.938] W> Skipping boost for clk: AON_CPU_NIC
[0030.943] W> Skipping boost for clk: CAN1
[0030.946] W> Skipping boost for clk: CAN2
[0030.951] I> Boot-device: eMMC
[0030.954] I> Boot-device: eMMC
[0030.956] I> bct_mb1 image downloaded
[0030.966] I> ECC region[0]: Start:0x0, End:0x0
[0030.970] I> ECC region[1]: Start:0x0, End:0x0
[0030.974] I> ECC region[2]: Start:0x0, End:0x0
[0030.978] I> ECC region[3]: Start:0x0, End:0x0
[0030.983] I> ECC region[4]: Start:0x0, End:0x0
[0030.987] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0030.992] I> Non-ECC region[1]: Start:0x0, End:0x0
[0030.997] I> Non-ECC region[2]: Start:0x0, End:0x0
[0031.001] I> Non-ECC region[3]: Start:0x0, End:0x0
[0031.006] I> Non-ECC region[4]: Start:0x0, End:0x0
[0031.012] E> FAILED: Thermal config
[0031.019] E> FAILED: MEMIO rail config
[0031.034] E> Task 50 failed (err: 0x7979061c)
[0031.038] E> Top caller module: ALIASCHECKER, error module: ALIASCHECKER, reason: 0x1c, aux_info: 0x06
[0031.047] I> MB1(1.5.1.3-t194-41334769-d2a21c57) BIT boot status dump :
0000000000011111111110000111111111111110011000111110000000000000000000000000000000000000000000000000000000000000000000000000000011001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Hello,

Can you share the sticker of your module?

What is the sticker?

There should be some sticker for the S/N and mac address info of that module. Physcially stick on the module itself…

No, not this one. This is the carrier board.
Is there any sticker on the module?

Do you know that a devkit is formed by a module and a carrier board, right…?

There is no sticker on the module

Do you have other Jetson Xavier to validate that your host setup is fine?

I said earlier in the post that I tried 3 other AGX Xavier’s and it fails the same way, but I am able to flash Xavier NX’s and TX2’s