NX update issue

@WayneWWW

hi WayneWWW
i have a problem with flash command.
my nx is emmc version jetpack is 4.5.1

the test step as below:

  1. sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

after boot up i use flash qspi command in same jetpack

  1. sudo ./flash.sh jetson-xavier-nx-devkit-qspi mmcblk0p1

after step 2 i can’t boot up my device

the log is as below

[0001.962] I> Hit any key to stop autoboot:     4       3       2       1
[0003.969] initializing target
[0003.969] calling apps_init()
[0003.970] starting app kernel_boot_app
[0003.980] I> found decompressor handler: lz4-legacy
[0003.981] I> decompressing BMP blob ...
[0003.992] I> Kernel type = Normal
[0003.992] I> Loading kernel-bootctrl from partition
[0003.993] E> Cannot find partition kernel-bootctrl
[0003.993] E> Cannot open partition kernel-bootctrl
[0003.993] W> tegrabl_get_kernel_bootctrl: failed to read primary bootctrl data
[0003.994] I> Loading kernel-bootctrl_b from partition
[0003.996] E> Cannot find partition kernel-bootctrl_b
[0004.001] E> Cannot open partition kernel-bootctrl_b
[0004.006] W> tegrabl_get_kernel_bootctrl: failed to read recovery bootctrl data
[0004.013] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0004.020] I> ########## SD (0) boot ##########
[0004.024] W> Error: failed to get sd-card params
[0004.029] I> -0 params source = 
[0004.032] W> Failed to initialize device 6-0
[0004.036] E> SD boot failed, err: 252641293
[0004.040] I> ########## USB (0) boot ##########
[0004.049] W> No valid slot number is found in scratch register
[0004.050] W> Return default slot: _a
[0004.061] I> USB Firmware Version: 60.06 release
[0004.116] I> regulator of usb2-0 already enabled
[0004.121] I> regulator of usb2-1 already enabled
[0004.126] I> regulator of usb2-2 already enabled
[0005.193] I> USB 2.0 port 2 new high-speed USB device detected
[0005.195] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa9ad0000, cmd_ring.dma = 0xa9ad0040
[0005.295] I> Start to enumerate device
[0005.297] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa9ad0000, cmd_ring.dma = 0xa9ad0040
[0005.301] I> 
[0005.302] I> Enumerated USB Device 0451:8442
[0005.302] I> 
[0005.303] I> Hub:
[0005.303] I>   Downstream ports        : 6
[0005.304] I>   Power switching         : Ganged
[0005.304] I>   Compound device         : No
[0005.304] I>   Over-current protection : Global
[0005.308] I>   Hub avg delay           : 4 ns
[0005.312] I> Set interface = 1 (alt setting)
[0005.318] I> Enable hub ports
[0005.331] I> Device detected on port 5
[0006.355] I> Reset port 5
[0006.410] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa9ad0000, cmd_ring.dma = 0xa9ad0040
[0006.511] I> Start to enumerate device
[0006.512] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa9ad0000, cmd_ring.dma = 0xa9ad0040
[0006.516] I> This device is non-MSD, skip enumeration
[0006.516] E> failed to start xhci controller
[0006.517] E> Error in init of XUSB host driver, err: 7979000d
[0006.517] W> Failed to initialize device 5-0
[0006.518] E> USB boot failed, err: 2037973005
[0006.522] I> ########## Fixed st���
[0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0000.033] I> MB1 (prd-version: 1.5.1.6-t194-41334769-1740dd39)
[0000.038] I> Boot-mode: Coldboot
[0000.041] I> Chip revision : A02P
[0000.044] I> Bootrom patch version : 15 (correctly patched)
[0000.049] I> ATE fuse revision : 0x200
[0000.053] I> Ram repair fuse : 0x0
[0000.056] I> Ram Code : 0x0
[0000.058] I> rst_source : 0xb
[0000.061] I> rst_level : 0x1
[0000.065] I> Boot-device: QSPI
[0000.067] I> Qspi flash params source = brbct
[0000.071] I> Qspi using bpmp-dma
[0000.074] I> Qspi clock source : pllp
[0000.078] I> QSPI Flash Size = 32 MB
[0000.081] I> Qspi initialized successfully
[0000.085] W> No valid slot number is found in scratch register
[0000.091] W> Return default slot: _a
[0000.094] I> Active Boot chain : 0
[0000.097] I> Boot-device: QSPI
[0000.100] I> Qspi flash params source = brbct
[0000.106] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0000.112] I> Temperature = 83500
[0000.115] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.119] W> Skipping boost for clk: BPMP_APB
[0000.123] W> Skipping boost for clk: AXI_CBB
[0000.127] W> Skipping boost for clk: AON_CPU_NIC
[0000.132] W> Skipping boost for clk: CAN1
[0000.135] W> Skipping boost for clk: CAN2
[0000.139] I> Boot-device: QSPI
[0000.142] I> Boot-device: QSPI
[0000.145] I> Qspi flash params source = mb1bct
[0000.149] I> Qspi using bpmp-dma
[0000.152] I> Qspi clock source : pllc_out0
[0000.156] I> Qspi reinitialized
[0000.159] I> Qspi flash params source = mb1bct
[0000.164] I> ECC region[0]: Start:0x0, End:0x0
[0000.168] I> ECC region[1]: Start:0x0, End:0x0
[0000.173] I> ECC region[2]: Start:0x0, End:0x0
[0000.177] I> ECC region[3]: Start:0x0, End:0x0

what’s wrong for my device??
after step 1 i can boot up

Are you using devkit or custom board?
Can you try 32.6.1?

Hi WayneWWW

this issue can’t happened on jetpack 4.6.1
what’s is this issue about cboot?

can i correct it on jetpack4.5.1
because now we base 4.5.1 to porting and modify.

I am not sure why this issue happened. We just checked and both rel-32.5.1 and rel-32.6.1 work fine with same steps as your case.

Can you share the module FAB id with us?

/proc/device-tree/chosen/plugin-managers/ids shall tell.

Hi WayneWWW

module FAB is 3668-0001-200

Hi WayneWWW

any update??

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

I have no idea about this issue as this cannot reproduce on my board.

Can you try different carrier board and modules and see if issue can be reproduce too?