L4T34.1.1 UEFI boot error on Xavier NX

Hi,

I’m using L4T34.1.1 on Xavier NX.
The UEFI boot fail sometimes. Maybe 1/50. It’s a random issue.
Is it a know issue on JetPack 5.0.1 DP?

This is the log of uefi.
JetPack5.0.1DP_UEFI_boot fail…txt (12.5 KB)

[   30.216195] nvidia: loading out-of-tree module taints kernel.
[   81.180887] nvgpu: 17000000.gv11b     nvgpu_timeout_expired_msg_cpu:112  [ERR]  Timeout detected @ 0000000077ba254b
[   81.181213] nvgpu: 17000000.gv11b      ▒▒▒
[0000.025] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 2 from HW fuses.
[0000.034] I> MB1 (prd-version: 2.2.0.0-t194-41334769-3540ffaa)
[0000.039] I> Boot-mode: Coldboot
[0000.042] I> Platform: Silicon
[0000.045] I> Chip revision : A02P
[0000.048] I> Bootrom patch version : 15 (correctly patched)
[0000.053] I> ATE fuse revision : 0x200
[0000.056] I> Ram repair fuse : 0x0
[0000.060] I> Ram Code : 0x0
[0000.062] I> rst_source: 0xb, rst_level: 0x1
[0000.067] I> Boot-device: QSPI (instance: 0)
[0000.071] I> Qspi flash params source = brbct
[0000.075] I> Qspi using bpmp-dma
[0000.078] I> Qspi clock source : pllp
[0000.081] I> QSPI Flash Size = 32 MB
[0000.085] I> Qspi initialized successfully
[0000.088] I> Boot chain mechanism: A/B
[0000.092] I> Current Boot-Chain Slot: 0
[0000.096] W> No valid slot number is found in scratch register
[0000.101] W> Return default slot: _a
[0000.104] I> Qspi flash params source = brbct
[0000.111] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0000.116] I> Temperature = 44000
[0000.119] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.124] W> Skipping boost for clk: BPMP_APB
[0000.128] W> Skipping boost for clk: AXI_CBB
[0000.132] W> Skipping boost for clk: AON_CPU_NIC
[0000.136] W> Skipping boost for clk: CAN1
[0000.140] W> Skipping boost for clk: CAN2
[0000.144] I> Boot-device: QSPI (instance: 0)
[0000.148] I> Qspi flash params source = mb1bct
[0000.152] I> Qspi using bpmp-dma
[0000.155] I> Qspi clock source : pllc_out0
[0000.159] I> Qspi reinitialized
[0000.162] I> Qspi flash params source = mb1bct
[0000.175] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0000.182] W>  Thermal config not found in BCT
[0000.190] W>  MEMIO rail config not found in BCT
[0000.200] I> Qspi flash params source = mb1bct
[0000.213] I> Qspi flash params source = mb1bct
[0000.247] I> Qspi flash params source = mb1bct
[0000.811] I> Qspi flash params source = mb1bct
[0000.828] I> Qspi flash params source = mb1bct
[0000.861] W>  Platform config not found in BCT
[0000.888] I> Qspi flash params source = mb1bct
[0000.914] I> MB1 done

▒▒▒▒main enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
▒▒
  [0000.923] I> Welcome to MB2(TBoot-BPMP) (version: default.t194-mobile-f46b9673)
[0000.923] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.924] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.925] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.930] W> device prod register failed
[0000.934] I> Boot_device: QSPI_FLASH instance: 0
[0000.939] I> qspi flash-0 params source = boot args
[0000.944] I> QSPI-0l initialized successfully
[0000.948] I> sdmmc-3 params source = safe params
[0001.274] I> sdmmc DDR50 mode
[0001.283] I> Found 42 partitions in QSPI_FLASH (instance 0)
[0001.284] W> Cannot find any partition table for 00000003
[0001.285]  > PARTITION_MANAGER: Failed to publish partition.
[0001.290] I> Found 19 partitions in SDMMC_USER (instance 3)
[0001.291] W> No valid slot number is found in scratch register
[0001.291] W> Return default slot: _a
[0001.291] I> Active Boot chain : 0
[0001.900] I> Relocating BR-BCT
[0001.902]  > DEVICE_PROD: device prod is not initialized.
[0001.927] E> I2C: slave not found in slaves.
[0001.928] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0001.929] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.930] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 0.
[0001.931] E> eeprom: Failed to read I2C slave device
[0001.934] I> Failed to read CVB eeprom data @ AE
[0001.939] I> Retrying CVB eeprom read @ AC ...
[0001.944] E> I2C: slave not found in slaves.
[0001.948] E> I2C: Could not write 0 bytes to slave: 0x00ac with repeat start true.
[0001.955] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.961] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xac at 0x00000000 via instance 0.
[0001.970] E> eeprom: Failed to read I2C slave device
[0001.975] I> Failed to read CVB eeprom data @ AC
[0002.174] I> Relocating OP-TEE dtb from: 0x6bfff0f0 to 0x70050000, size: 703
[0002.174] I> [0] START: 0x80000000, SIZE: 0x2f000000
[0002.175] I> [1] START: 0xaf200000, SIZE: 0x18a00000
[0002.175] I> dram_block larger than 80000000
[0002.176] I> [2] START: 0x100000000, SIZE: 0x180000000
[0002.179] I> Setting NS memory ranges to OP-TEE dtb finished.
[0002.280] I> EKB detected (length: 0x410) @ VA:0x52709400
[0002.281] I> Setting EKB blob info to OPTEE dtb finished.
▒▒NOTICE:  BL31: v2.5(release):ef8af0b99
NOTICE:  BL31: Built : 20:57:59, May 16 2022
I/TC:
▒▒
  bpmp: init
bpmp: tag is 128431eec76692047e1ac1ebc0392266
sku_dt_init: not sku 0x00
▒▒I/TC: No▒▒clk_early initialized
▒▒n-se▒▒mail_early initialized
▒▒cu▒▒fuse initialized
hwwdt initialized
▒▒re ex▒▒t194_ec_get_ec_list: found 45 ecs
▒▒ternal DT ▒▒ec initialized
▒▒f▒▒vmon_setup_monitors: found 3 monitors
vmon initialized
▒▒oun▒▒adc initialized
fmon_populate_monitors: found 73 monitors
▒▒d
▒▒fmon initialized
mc initialized
reset initialized
nvhs initialized
uphy_early initialized
emc_early initialized
392 clocks registered
clk initialized
io_dpd initialized
thermal initialized
thermal_mrq initialized
i2c initialized
vrmon_dt_init: vrmon node not found
vrmon_chk_boot_state: found 0 rail monitors
vrmon initialized
regulator initialized
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
▒▒I/TC: OP-TEE version: 6f444acf (gcc version 9.3.0 (Buildroot 2020.08)) #2 Tue May 17 04:00:18 UTC 2022 ▒▒dvs initialized
▒▒aa▒▒pm initialized
▒▒r▒▒suspend initialized
▒▒ch64▒▒pg_late initialized
▒▒pg_mrq_init initialized
strap initialized
▒▒
  ▒▒nvl initialized
▒▒I/TC: ▒▒emc initialized
emc_mrq initialized
▒▒Primary CPU initializing
▒▒clk_dt initialized
tj_init initialized
uphy_dt initialized
uphy_mrq initialized
uphy initialized
ec_swd_poll_start: 281 reg polling start w period 47 ms
ec_late initialized
hwwdt_late initialized
reset_mrq initialized
ec_mrq initialized
fmon_mrq initialized
clk_mrq initialized
avfs_mrq initialized
mail_mrq initialized
i2c_mrq initialized
tag_mrq initialized
console_mrq initialized
mrq initialized
clk_sync_fmon_post initialized
clk_dt_late initialized
noc_late initialized
pm_post initialized
dbells initialized
dmce initialized
cvc initialized
avfs_clk_mach_post initialized
avfs_clk_platform_post initialized
cvc_late initialized
regulator_post initialized
rm initialized
console_late initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
profile initialized
fuse_late initialized
extras_post initialized
bpmp: init complete
entering main console loop
] ▒▒I/TC: Primary CPU switching to normal world boot
▒▒
  Jetson UEFI firmware (version r34.1-975eef6 built on 2022-05-16T20:58:45-07:00)




Jetson UEFI firmware (version r34.1-975eef6 built on 2022-05-16T20:58:45-07:00)
Press ESCAPE for boot options **  WARNING: Test Key is used.  **
......
      ExtLinuxBoot: Unable to load image: \boot\Image Not Found
L4TLauncher: Unable to boot via extlinux: Not Found
Failed to read disk
Failed to boot kernel:0 partition

>>Start PXE over IPv4.
  PXE-E18: Server response timeout.

>>Start PXE over IPv6.
  PXE-E16: No valid offer received.

>>Start HTTP Boot over IPv4.
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Server response timeout.

>>Start HTTP Boot over IPv6.
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Unexpected network error.
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
      FS1: Alias(s):F1:
          MemoryMapped(0xB,0xA0600000,0xA089F877)
      FS0: Alias(s):F0:
          Fv(49A79A15-8F69-4BE7-A30C-A172F44ABCE7)
      FS2: Alias(s):HD2b:;BLK1:
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(1,GPT,3100A992-278E-4E89-A786-18345F776A3B,0x
28,0x1C00000)
      FS3: Alias(s):HD2s:;BLK10:
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(18,GPT,46BF0AA6-01CE-463E-9935-0A585EBA736C,0
x1D23400,0x20000)
     BLK0: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)
    BLK20: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x1)
    BLK21: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x2)
    BLK12: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(2,GPT,14B3C782-6610-4F42-A014-88395452627D,0x
1C00028,0x20000)
    BLK13: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(3,GPT,77015FE7-0182-4B79-926E-222270A4F225,0x
1C20028,0x380)
    BLK14: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(4,GPT,065CDCF3-1655-4DA8-8515-6804F8F6914D,0x
1C203A8,0x10458)
    BLK15: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(5,GPT,2EDF02E8-A4FC-4CDF-AB4C-7B729DB64915,0x
1C30800,0x1400)
    BLK16: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(6,GPT,45755799-0682-455A-8A00-83207DE7AA79,0x
1C31C00,0x80)
    BLK17: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(7,GPT,75FB0881-F4BE-4CBD-BCD0-4B3CFB071A0A,0x
1C31C80,0x800)
    BLK18: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(8,GPT,244878E3-B2E9-406A-8424-2B7575224955,0x
1C32480,0x800)
    BLK19: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(9,GPT,3EF3DA77-AA2B-4943-9599-B310F9A1A753,0x
1C32C80,0x800)
     BLK2: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(10,GPT,4886103B-AE35-4A3B-8DF4-09512270873F,0
x1C33480,0xC00)
     BLK3: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(11,GPT,25B4AFB8-625F-432C-9214-7A65AB8C112C,0
x1C34080,0x800)
     BLK4: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(12,GPT,70D478B4-29D8-49E2-A383-A3799D7BB31F,0
x1C34880,0x20000)
     BLK5: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(13,GPT,16C1CED4-D04E-4C1E-BA32-FD346D26375C,0
x1C54880,0x380)
     BLK6: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(14,GPT,3178D6D1-3284-4580-AA0D-E25552DF7327,0
x1C54C00,0x10400)
     BLK7: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(15,GPT,723E2743-DE26-422D-8DE7-8D3126A08616,0
x1C65000,0x28000)
     BLK8: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(16,GPT,2298910F-0B51-46B9-9CC2-CF6B876B8C61,0
x1C8D000,0x400)
     BLK9: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(17,GPT,4FFCB57C-5C71-4C83-800D-3435B7C58218,0
x1C8D400,0x96000)
    BLK11: Alias(s):
          VenHw(1E5A432C-0466-4D31-B009-D4D9239271D3)/MemoryMapped(0xB,0x3460000
,0x347FFFF)/eMMC(0x0)/Ctrl(0x0)/HD(19,GPT,796A642D-4A6C-4D84-8947-8518E2DC3E6A,0
x1D43400,0x16BDF)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>

Hi,

According to above log, it is not a common scenario to hit this issue. For example, looks like those basic binaries (kernel/extlinux) are gone on your emmc.

What is your purpose here?

Hi Wayne,

I have to check the boot stability in our case.
If the situation was not solved. We will use JetPack4.6.1 in our case.
Is it updated in JP5.0GA ot 5.1? Or do I have other way to fix it?

Hi,

What is the test requirement here?
Does your boot stability need to break the kernel ? If you want to test the A/B redundancy, then it will be supported in JP5.0 GA.

I just want to say this is not a bug on UEFI itself, it is more related to A/B redundancy not supported on DP version.

Also, this is also weird that you said “It’s a random issue”.

The log looks like the kernel is gone. Are you sure you can still boot up in next boot after this error happened?

Hi Wayne,

It can boot up in next boot.

I just flash a new pure Image in Xavier NX and reboot many times.
Then the uefi boot fail that will be happend.
But it will boot up in next boot.
If I keep reboot many times again, it will be happend again.

I think something error(or other things) let the uefi unable to load image.

Ok, if that is the case, then it sounds like a bug. The error symptom should be “sometimes uefi fails to read kernel/extlinux”.

Is this devkit or custom board?

Hi Wayne,

It happen on devkit and custom board both.

We will test this in next release and see if we can reproduce. But I cannot guarantee it will be resolved in time because next release will be released soon.

Hi Wayne,
Thanks your help. I’m looking forward to the next release.

Hi Wilson,

We tried to reboot 550 times on next release and cannot hit the error you mentioned.

Hi, I had the same problem, this is a random problem in NX JP5.0 GA.

Hi,

JP5.0 GA is not yet released. Could you clarify the version here?

cat etc/nv_tegra_release

R35 (release), REVISION: 0.0, GCID: 30719433, BOARD: t186ref, EABI: aarch64, DATE: Tue Jun 28 10:06:53 UTC 2022

This is still not the GA version. This is EA.

OK, the point is I have the same problem.

How many boot iterations did you try to get one failure?

2 times out of 10.

Please wait for the next JetPack 5.0 GA release. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.