Nx platform: system flash issue

hi,guys,i have a issue confused me.when i flash nx soc with flash.sh,the result of each flash is different,sometime,the system startup normally,but in other time,the system not work,and the system is constantly rebooting,boot log is as follow:
09:18:43:633

09:18:43:639 [0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
09:18:43:641 [0000.033] I> MB1 (prd-version: 1.5.1.3-t194-41334769-d2a21c57)
09:18:43:642 [0000.038] I> Boot-mode: Coldboot
09:18:43:643 [0000.041] I> Chip revision : A02P
09:18:43:644 [0000.044] I> Bootrom patch version : 15 (correctly patched)
09:18:43:645 [0000.049] I> ATE fuse revision : 0x200
09:18:43:645 [0000.053] I> Ram repair fuse : 0x0
09:18:43:646 [0000.056] I> Ram Code : 0x0
09:18:43:646 [0000.058] I> rst_source : 0x0
09:18:43:647 [0000.061] I> rst_level : 0x0
09:18:43:648 [0000.065] I> Boot-device: QSPI
09:18:43:648 [0000.067] I> Qspi flash params source = brbct
09:18:43:649 [0000.071] I> Qspi using bpmp-dma
09:18:43:650 [0000.074] I> Qspi clock source : pllp
09:18:43:650 [0000.078] I> QSPI Flash Size = 32 MB
09:18:43:651 [0000.081] I> Qspi initialized successfully
09:18:43:652 [0000.085] W> No valid slot number is found in scratch register
09:18:43:652 [0000.091] W> Return default slot: _a
09:18:43:652 [0000.094] I> Active Boot chain : 0
09:18:43:652 [0000.097] I> Boot-device: QSPI
09:18:43:652 [0000.100] I> Qspi flash params source = brbct
09:18:43:653 [0000.106] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
09:18:43:653 [0000.113] I> Temperature = 29000
09:18:43:654 [0000.116] W> Skipping boost for clk: BPMP_CPU_NIC
09:18:43:654 [0000.121] W> Skipping boost for clk: BPMP_APB
09:18:43:655 [0000.125] W> Skipping boost for clk: AXI_CBB
09:18:43:655 [0000.129] W> Skipping boost for clk: AON_CPU_NIC
09:18:43:655 [0000.133] W> Skipping boost for clk: CAN1
09:18:43:656 [0000.137] W> Skipping boost for clk: CAN2
09:18:43:657 [0000.141] I> Boot-device: QSPI
09:18:43:658 [0000.144] I> Boot-device: QSPI
09:18:43:658 [0000.147] I> Qspi flash params source = mb1bct
09:18:43:658 [0000.151] I> Qspi using bpmp-dma
09:18:43:659 [0000.154] I> Qspi clock source : pllc_out0
09:18:43:659 [0000.157] I> Qspi reinitialized
09:18:43:659 [0000.160] I> Qspi flash params source = mb1bct
09:18:43:660 [0000.166] I> ECC region[0]: Start:0x0, End:0x0
09:18:43:660 [0000.170] I> ECC region[1]: Start:0x0, End:0x0
09:18:43:661 [0000.174] I> ECC region[2]: Start:0x0, End:0x0
09:18:43:661 [0000.178] I> ECC region[3]: Start:0x0, End:0x0
09:18:43:662 [0000.182] I> ECC region[4]: Start:0x0, End:0x0
09:18:43:662 [0000.186] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
09:18:43:663 [0000.192] I> Non-ECC region[1]: Start:0x0, End:0x0
09:18:43:663 [0000.197] I> Non-ECC region[2]: Start:0x0, End:0x0
09:18:43:663 [0000.201] I> Non-ECC region[3]: Start:0x0, End:0x0
09:18:43:664 [0000.206] I> Non-ECC region[4]: Start:0x0, End:0x0
09:18:43:665 [0000.211] E> FAILED: Thermal config
09:18:43:668 [0000.218] E> FAILED: MEMIO rail config
09:18:43:668 [0000.228] I> Boot-device: QSPI
09:18:43:669 [0000.231] I> Qspi flash params source = mb1bct
09:18:43:669 [0000.241] I> Qspi flash params source = mb1bct
09:18:43:669 [0000.252] I> Qspi flash params source = mb1bct
09:18:43:735 [0000.319] I> Qspi flash params source = mb1bct
09:18:43:735 [0000.328] I> Qspi flash params source = mb1bct
09:18:43:761 [0000.355] I> Qspi flash params source = mb1bct
09:18:43:791 [0000.367] I> MB1 done
09:18:43:791
09:18:43:791 main enter
09:18:43:832 SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21
09:18:43:832 HW Function test
09:18:43:833 Start Scheduler.
09:18:43:833 in late init
09:18:43:863
[0000.375] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-389501e9)
09:18:43:863 [0000.376] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
09:18:43:864 [0000.376] I> Default Heap @ [0xd486400 - 0xd48a400]
09:18:43:864 [0000.377] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
09:18:43:864 [0000.383] W> device prod register failed
09:18:43:874 [0000.386] I> Boot-device: QSPI
09:18:43:876 [0000.389] I> Boot_device: QSPI_FLASH instance: 0
09:18:43:902 [0000.394] I> QSPI Flash Size = 32 MB
09:18:43:903 [0000.400] I> Qspi initialized successfully
09:18:43:906 [0000.401] I> qspi flash-0 params source = boot args
09:18:44:185 [0000.762] I> sdmmc DDR50 mode
09:18:44:373 [0000.764] I> sdmmc-3 params source = safe params
09:18:44:374 [0000.769] I> Found 47 partitions in QSPI_FLASH (instance 0)
09:18:44:374 [0000.771] W> Cannot find any partition table for 00000003
09:18:44:375 [0000.776] I> Found 11 partitions in SDMMC_USER (instance 3)
09:18:44:375 [0000.777] W> No valid slot number is found in scratch register
09:18:44:376 [0000.777] W> Return default slot: _a
09:18:44:376 [0000.777] I> Active Boot chain : 0
09:18:44:377 [0000.778] I> parsing oem signed section of bpmp-fw header done
09:18:44:377 [0000.779] I> bpmp-fw binary init read from storage
09:18:44:378 [0000.784] I> oem authentication of bpmp-fw header done
09:18:44:378 [0000.797] I> bpmp-fw binary done read from storage
09:18:44:378 [0000.798] I> bpmp-fw: Authentication init Done
09:18:44:379 [0000.799] I> parsing oem signed section of cpubl header done
09:18:44:379 [0000.803] I> cpubl binary init read from storage
09:18:44:380 [0000.807] I> bpmp-fw: Authentication Finalize Done
09:18:44:381 [0000.812] I> oem authentication of cpubl header done
09:18:44:382 [0000.819] I> cpubl binary done read from storage
09:18:44:382 [0000.821] I> cpubl: Authentication init Done
09:18:44:383 [0000.826] I> parsing oem signed section of rce header done
09:18:44:384 [0000.831] I> rce binary init read from storage
09:18:44:384 [0000.835] I> Relocating BR-BCT
09:18:44:385 [0000.838] I> cpubl: Authentication Finalize Done
09:18:44:386 [0000.842] I> oem authentication of rce header done
09:18:44:387 [0000.847] I> rce binary done read from storage
09:18:44:387 [0000.851] I> rce: Authentication init Done
09:18:44:388 [0000.855] I> parsing oem signed section of ape header done
09:18:44:388 [0000.860] I> ape binary init read from storage
09:18:44:389 [0000.865] I> rce: Authentication Finalize Done
09:18:44:389 [0000.869] I> oem authentication of ape header done
09:18:44:390 [0000.874] I> ape binary done read from storage
09:18:44:390 [0000.878] I> ape: Authentication init Done
09:18:44:390 [0000.882] I> parsing oem signed section of tos header done
09:18:44:391 [0000.887] I> tos binary init read from storage
09:18:44:391 [0000.891] I> ape: Authentication Finalize Done
09:18:44:392 [0000.896] I> oem authentication of tos header done
09:18:44:392 [0000.902] I> tos binary done read from storage
09:18:44:392 [0000.905] I> tos: Authentication init Done
09:18:44:393 [0000.909] I> parsing oem signed section of bpmp-fw-dtb header done
09:18:44:393 [0000.915] I> bpmp-fw-dtb binary init read from storage
09:18:44:394 [0000.919] I> tos: Authentication Finalize Done
09:18:44:394 [0000.925] I> oem authentication of bpmp-fw-dtb header done
09:18:44:395 [0000.929] I> bpmp-fw-dtb binary done read from storage
09:18:44:395 [0000.934] I> bpmp-fw-dtb: Authentication init Done
09:18:44:395 [0000.939] I> parsing oem signed section of cpubl-dtb header done
09:18:44:398 [0000.945] I> cpubl-dtb binary init read from storage
09:18:44:425 [0000.949] I> bpmp-fw-dtb: Authentication Finalize Done
09:18:44:499 [0001.007] I> oem authentication of cpubl-dtb header done
09:18:44:500 [0001.008] I> cpubl-dtb binary done read from storage
09:18:44:501 [0001.009] I> cpubl-dtb: Authentication init Done
09:18:44:502 [0001.010] I> parsing oem signed section of eks header done
09:18:44:503 [0001.010] I> eks binary init read from storage
09:18:44:504 [0001.011] I> cpubl-dtb: Authentication Finalize Done
09:18:44:504 [0001.012] I> oem authentication of eks header done
09:18:44:505 [0001.016] I> eks binary done read from storage
09:18:44:506 [0001.020] I> eks: Authentication init Done
09:18:44:507 [0001.024] I> eks: Authentication Finalize Done
09:18:44:508 [0001.028] I> EKB detected (length: 0x410) @ VA:0x52714400
09:18:44:509 NOTICE: BL31: v1.3(release):de895fd9e
09:18:44:509 NOTICE: BL31: Built : 12:15:31, Oct 16 2020
09:18:44:510 ipc-unittest-main: 1519: Welcome to IPC unittest!!!
09:18:44:510 ipc-unittest-main: 1531: waiting forever
09:18:44:511 ipc-unittest-srv: 329: Init unittest services!!!
09:18:44:511 hwkey-agent: 40: hwkey-agent is running!!
09:18:44:512 hwkey-agent: 182: key_mgnt_processing …
09:18:44:512 hwkey-agent: 157: Init hweky-agent services!!
09:18:44:513 platform_bootstrap_epilog: trusty bootstrap complete
09:18:44:514

09:18:44:514 welcome to lk
09:18:44:546 calling constructors
09:18:44:547 initializing heap
09:18:44:586 creating bootstrap completion thread
09:18:44:587 top of bootstrap2()
09:18:44:587 initializing platform
09:18:44:588 bpmp: platform_init
09:18:44:588 tag is 57f8a77779f848bf2ecf21dabee5645f
09:18:44:591 tag_show initialized
09:18:44:668 dt initialized
09:18:44:669 mail initialized
09:18:44:669 chipid initialized
09:18:44:670 fuse initialized
09:18:44:671 sku initialized
09:18:44:671 speedo initialized
09:18:44:671 ec_get_ec_list: found 45 ecs
09:18:44:672 ec initialized
09:18:44:672 ec_mrq initialized
09:18:44:673 vmon_populate_monitors: found 3 monitors
09:18:44:673 vmon initialized
09:18:44:673 adc initialized
09:18:44:674 fmon_populate_monitors: found 73 monitors
09:18:44:674 fmon initialized
09:18:44:675 fmon_mrq initialized
09:18:44:675 reset initialized
09:18:44:675 nvhs initialized
09:18:44:676 391 clocks registered
09:18:44:676 clk_mrq_init: mrq handler registered
09:18:44:676 clk initialized
09:18:44:677 nvlink initialized
09:18:44:677 io_dpd initialized
09:18:44:678 io_dpd initialized
09:18:44:678 thermal initialized
09:18:44:678 i2c5 controller initialized
09:18:44:679 initialized i2c mrq handling
09:18:44:680 i2c initialized
09:18:44:682 regulator initialized
09:18:44:710 avfs_clk_platform_init: bad clk id in clock@cluster1_avfs
09:18:44:729 avfs_clk_platform initialized
09:18:44:729 soctherm initialized
09:18:44:729 aotag initialized
09:18:44:730 powergate initialized
09:18:44:751 dvs initialized
09:18:44:752 pm initialized
09:18:44:752 pg_late initialized
09:18:44:753 strap initialized
09:18:44:757 tag initialized
09:18:45:083 emc initialized
09:18:45:083 clk_dt initialized
09:18:45:083 avfs_ccplex_platform initialized
09:18:45:084 tj_max: dt node not found
09:18:45:084 tj_init initialized
09:18:45:084 uphy_mrq_init: mrq handler registered
09:18:45:084 uphy_dt initialized
09:18:45:084 uphy initialized
09:18:45:084 safereg_init: period 80 ms
09:18:45:084 ec_late initialized
09:18:45:084 mrq initialized
09:18:45:085
[0001.371] I> Welcome to Cboot
09:18:45:085 [0001.371] I> Cboot Version: t194-aad9d75eWARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
09:18:45:085 fmon_post initialized
09:18:45:085

09:18:45:085 [0001.373] I> CPU-BL Params @ 0xf2820000
09:18:45:085 [0001.377] I> 0) Base:0x00000000 Size:0x00000000
09:18:45:085 [0001.381] I> 1) Base:0xf1100000 Size:0x00100000
09:18:45:085 [0001.385] I> 2) Base:0xf2000000 Size:0x00200000
09:18:45:086 clk_set_parent failed for clk can1, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk can2, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk dmic5, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk i2c2, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk i2c8, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk spi2, parent pll_aon (-22)
09:18:45:086 clk_set_parent failed for clk pwm4, parent pll_aon (-22)
09:18:45:087 clk_dt_late initialized
09:18:45:087 machine_check initialized
09:18:45:087 pm_post initialized
09:18:45:087 dbells initialized
09:18:45:088 avfs_clk_platform_post initialized
09:18:45:088 dmce initialized
09:18:45:088 cvc initialized
09:18:45:088 ccplex_avfs_hw_init: nafll_cluster0: not monitored
09:18:45:089 ccplex_avfs_hw_init: nafll_cluster2: not monitored
09:18:45:089 ccplex_avfs_hw_init: nafll_cluster3: not monitored
09:18:45:089 avfs_clk_mach_post initialized
09:18:45:089 regulator_post initialized
09:18:45:089 rm initialized
09:18:45:089 sc7_diag initialized
09:18:45:089 thermal_test initialized
09:18:45:089 serial_late initialized
09:18:45:090 clk_post initialized
09:18:45:090 clk_dt_post initialized
09:18:45:090 mc_reg initialized
09:18:45:090 pg_post initialized
09:18:45:090 dyn_modules initialized
09:18:45:090 sku_debugfs initialized
09:18:45:090 speedo_debugfs initialized
09:18:45:090 adc_debugfs initialized
09:18:45:090 Failed to register PTO counter for id 281
09:18:45:090 Failed to register PTO counter for id 281
09:18:45:090 Failed to register PTO counter for id 281
09:18:45:091 Failed to register PTO counter for id 281
09:18:45:091 clk_debugfs initialized
09:18:45:091 emc_debugfs initialized
09:18:45:091 dvs_debugfs initialized
09:18:45:091 fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1
09:18:45:091 fmon_debugfs initialized
09:18:45:091 vmon_debugfs initialized
09:18:45:091 pg_debugfs initialized
09:18:45:091 profile_fs initialized
09:18:45:091 debugfs_cons initialized
09:18:45:091 mail_fs initialized
09:18:45:092 profile initialized
09:18:45:092 cvc_debugfs initialized
09:18:45:092 dmce_debugfs initialized
09:18:45:092 ec_debugfs initialized
09:18:45:094 rm_rail_debugfs_init: /rm/vdd_cpu: failed
09:18:45:094 rm_rail_debugfs_init: /rm/vdd_cpu: failed
09:18:45:095 rm_debugfs initialized
09:18:45:095 soctherm_debug initialized
09:18:45:095 gr_reader initialized
09:18:45:095 mods initialized
09:18:45:095 dt_fs initialized
09:18:45:095 debugfs_mrq initialized
09:18:45:095 debug_mrq initialized
09:18:45:095 debug_safereg initialized
09:18:45:095 initializing target
09:18:45:095 calling apps_init()
09:18:45:095 starting app shell
09:18:45:095 entering main console loop
09:18:45:096 ] [0001.390] I> 3) Base:0xf1200000 Size:0x00200000
09:18:45:096 [0001.570] I> 4) Base:0xf1000000 Size:0x00100000
09:18:45:096 [0001.574] I> 5) Base:0xf0f00000 Size:0x00100000
09:18:45:096 [0001.578] I> 6) Base:0xf3800000 Size:0x00400000
09:18:45:096 [0001.583] I> 7) Base:0xf1c00000 Size:0x00400000
09:18:45:096 [0001.587] I> 8) Base:0xf0e00000 Size:0x00100000
09:18:45:096 [0001.592] I> 9) Base:0xf0d00000 Size:0x00100000
09:18:45:096 [0001.596] I> 10) Base:0xf3000000 Size:0x00800000
09:18:45:096 [0001.601] I> 11) Base:0x40000000 Size:0x00040000
09:18:45:096 [0001.605] I> 12) Base:0xf0c00000 Size:0x00100000
09:18:45:097 [0001.610] I> 13) Base:0x40046000 Size:0x00002000
09:18:45:097 [0001.614] I> 14) Base:0x40048000 Size:0x00002000
09:18:45:097 [0001.619] I> 15) Base:0xac000000 Size:0x00004000
09:18:45:097 [0001.623] I> 16) Base:0x4004a000 Size:0x00002000
09:18:45:097 [0001.628] I> 17) Base:0xf0b00000 Size:0x00100000
09:18:45:097 [0001.632] I> 18) Base:0x4004c000 Size:0x00002000
09:18:45:097 [0001.636] I> 19) Base:0xf2200000 Size:0x00600000
09:18:45:097 [0001.641] I> 20) Base:0x4004e000 Size:0x00002000
09:18:45:097 [0001.645] I> 21) Base:0xf09d0000 Size:0x0000c000
09:18:45:097 [0001.650] I> 22) Base:0x00000000 Size:0x00000000
09:18:45:098 [0001.654] I> 23) Base:0xf09e0000 Size:0x00020000
09:18:45:098 [0001.659] I> 24) Base:0xf6000000 Size:0x02000000
09:18:45:098 [0001.663] I> 25) Base:0x40050000 Size:0x00002000
09:18:45:098 [0001.668] I> 26) Base:0x40040000 Size:0x00006000
09:18:45:098 [0001.672] I> 27) Base:0xf1800000 Size:0x00400000
09:18:45:098 [0001.677] I> 28) Base:0xf4c00000 Size:0x01400000
09:18:45:430 [0001.681] I> 29) Base:0xf1400000 Size:0x00400000
09:18:45:430 [0001.686] I> 30) Base:0xf0a00000 Size:0x00100000
09:18:45:431 [0001.690] I> 31) Base:0x00000000 Size:0x00000000
09:18:45:431 [0001.694] I> 32) Base:0xf8000000 Size:0x08000000
09:18:45:431 [0001.699] I> 33) Base:0x00000000 Size:0x00000000
09:18:45:431 [0001.703] I> 34) Base:0xf3c00000 Size:0x01000000
09:18:45:431 [0001.708] I> 35) Base:0xab000000 Size:0x01000000
09:18:45:431 [0001.712] I> 36) Base:0xa0000000 Size:0x0b000000
09:18:45:431 [0001.717] I> 37) Base:0xf2800000 Size:0x00800000
09:18:45:431 [0001.721] I> 38) Base:0x80000000 Size:0x20000000
09:18:45:431 [0001.726] I> 39) Base:0xb0000000 Size:0x08000000
09:18:45:432 [0001.730] I> 40) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.735] I> 41) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.739] I> 42) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.744] I> 43) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.748] I> 44) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.752] I> 45) Base:0x00000000 Size:0x00000000
09:18:45:432 [0001.757] GIC-SPI Target CPU: 0
09:18:45:432 [0001.760] Interrupts Init done
09:18:45:433 [0001.763] calling constructors
09:18:45:433 [0001.766] initializing heap
09:18:45:433 [0001.768] I> Heap: [0xa0691568 … 0xab000000]
09:18:45:433 [0001.773] initializing threads
09:18:45:433 [0001.776] initializing timers
09:18:45:433 [0001.778] creating bootstrap completion thread
09:18:45:434 [0001.783] top of bootstrap2()
09:18:45:434 [0001.785] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
09:18:45:434 [0001.790] initializing platform
09:18:45:434 [0001.793] E> DEVICE_PROD: Invalid value data = 0, size = 0.
09:18:45:434 [0001.798] W> device prod register failed
09:18:45:434 [0001.802] I> Bl_dtb @0xaaf00000
09:18:45:434 [0001.808] W> “plugin-manager” doesn’t exist, creating
09:18:45:435 [0001.810] W> “ids” doesn’t exist, creating
09:18:45:435 [0001.814] W> “connection” doesn’t exist, creating
09:18:45:435 [0001.819] W> “configs” doesn’t exist, creating
09:18:45:435 [0001.830] I> Find /i2c@3160000’s alias i2c0
09:18:45:435 [0001.830] I> Reading eeprom i2c=0 address=0x50
09:18:45:435 [0001.856] I> Device at /i2c@3160000:0x50
09:18:45:435 [0001.857] I> Reading eeprom i2c=0 address=0x57
09:18:45:435 [0001.857] E> I2C: slave not found in slaves.
09:18:45:436 [0001.858] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
09:18:45:436 [0001.859] E> I2C_DEV: Failed to send register address 0x00000000.
09:18:45:436 [0001.859] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 0.
09:18:45:436 [0001.867] E> eeprom: Failed to read I2C slave device
09:18:45:436 [0001.871] I> Eeprom read failed 0x3526070d
09:18:45:436 [0001.877] I> Find /i2c@c240000’s alias i2c1
09:18:45:436 [0001.879] I> Reading eeprom i2c=1 address=0x50
09:18:45:436 [0001.885] E> I2C: slave not found in slaves.
09:18:45:437 [0001.888] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
09:18:45:437 [0001.896] E> I2C_DEV: Failed to send register address 0x00000000.
09:18:45:437 [0001.901] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
09:18:45:437 [0001.911] E> eeprom: Retry to read I2C slave device.
09:18:45:437 [0001.916] E> I2C: slave not found in slaves.
09:18:45:437 [0001.920] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
09:18:45:437 [0001.927] E> I2C_DEV: Failed to send register address 0x00000000.
09:18:45:438 [0001.933] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
09:18:45:438 [0001.942] E> eeprom: Failed to read I2C slave device
09:18:45:438 [0001.947] I> Eeprom read failed 0x3526070d
09:18:45:438 [0001.951] I> create_pm_ids: id: 3668-0001-200-G, len: 15
09:18:45:438 [0001.956] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
09:18:45:438 [0001.967] I> Adding plugin-manager/ids/3668-0001-200=/i2c@3160000:module@0x50
09:18:45:440 [0001.975] W> “i2c@3160000” doesn’t exist, creating
09:18:45:441 [0001.979] W> “module@0x50” doesn’t exist, creating
09:18:45:441 [0001.986] I> Adding plugin-manager/cvm
09:18:45:441 [0001.988] W> “chip-id” doesn’t exist, creating
09:18:45:441 [0001.992] I> Adding plugin-manager/chip-id/A02P
09:18:45:441 [0001.996] I> Plugin-manager override starting
09:18:45:441 [0002.001] I> node /plugin-manager/fragment-pcie-c5-rp matches
09:18:45:442 [0002.010] I> node /plugin-manager/fragement-tegra-wdt-en matches
09:18:45:442 [0002.015] I> node /plugin-manager/fragement-tegra-sdhci-sd-dis matches
09:18:45:443 [0002.021] I> Disable plugin-manager status in FDT
09:18:45:451 [0002.023] I> Plugin-manager override finished successfully
09:18:45:639 [0002.028] I> gpio framework initialized
09:18:45:639 [0002.033] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra194-gpio’ driver
09:18:45:639 [0002.040] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra194-gpio-aon’ driver
09:18:45:639 [0002.047] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
09:18:45:639 [0002.054] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
09:18:45:639 [0002.062] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
09:18:45:640 [0002.068] W> tegrabl_tca9539_init: failed to fetch phandle from dt
09:18:45:640 [0002.074] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
09:18:45:640 [0002.082] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
09:18:45:640 [0002.090] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
09:18:45:640 [0002.096] W> tegrabl_tca9539_init: failed to fetch phandle from dt
09:18:45:640 [0002.103] I> fixed regulator driver initialized
09:18:45:640 [0002.111] I> register ‘maxim’ power off handle
09:18:45:640 [0002.112] I> virtual i2c enabled
09:18:45:640 [0002.114] I> registered ‘maxim,max20024’ pmic
09:18:45:641 [0002.119] I> tegrabl_gpio_driver_register: register ‘max20024-gpio’ driver
09:18:45:641 [0002.125] I> Boot-device: QSPI
09:18:45:641 [0002.128] I> Boot_device: QSPI_FLASH instance: 0
09:18:45:641 [0002.133] I> QSPI source rate = 204000 Khz
09:18:45:641 [0002.136] I> Requested rate for QSPI clock = 34000 Khz
09:18:45:641 [0002.141] I> BPMP-set rate for QSPI clk = 34000 Khz
09:18:45:641 [0002.146] I> QSPI Flash Size = 32 MB
09:18:45:641 [0002.154] I> Qspi initialized successfully
09:18:45:641 [0002.154] I> qspi flash-0 params source = boot args
09:18:45:641 [0002.158] I> create_pm_ids: id: 3668-0001-200-G, len: 15
09:18:45:642 [0002.163] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
09:18:45:642 [0002.178] I> sdmmc-3 params source = safe params
09:18:45:642 [0002.180] I> Found 47 partitions in QSPI_FLASH (instance 0)
09:18:45:642 [0002.200] W> Cannot find any partition table for 00000003
09:18:45:642 [0002.213] I> Found 11 partitions in SDMMC_USER (instance 3)
09:18:45:642 [0002.221] I> regulator ‘vdd-hdmi-5v0’ already enabled
09:18:45:642 [0002.225] I> regulator ‘vdd-hdmi-5v0’ already enabled
09:18:45:642 [0002.225] I> hdmi cable connected
09:18:45:642 [0002.226] W> set volts not configured for ‘vdd-1v0’
09:18:45:645 [0002.227] W> set volts not configured for ‘vdd-1v8-hs’
09:18:45:662 [0002.231] E> invalid display type
09:18:45:663 [0002.231] E> cannot find any other nvdisp nodes
09:18:45:768 [0002.358] I> edid read success
09:18:45:922 [0002.482] I> edid read success
09:18:45:923 [0002.483] I> width = 1280, height = 16, frequency = 61440000
09:18:45:923 [0002.483] I> Best mode Width = 640, Height = 480, freq = 25174825
09:18:45:923 [0002.487] I> hdmi_enable, starting HDMI initialisation
09:18:45:923 [0002.492] I> hdmi_enable, HDMI initialisation complete
09:18:45:923 [0002.494] I> Load in CBoot Boot Options partition and parse it
09:18:45:923 [0002.495] E> Error -9 when finding node with path /boot-configuration
09:18:45:924 [0002.496] E> tegrabl_cbo_parse_info: “boot-configuration” not found in CBO file.
09:18:47:984 [0002.501] I> Hit any key to stop autoboot: 4 3 2 1
09:18:47:984 [0004.509] initializing target
09:18:47:984 [0004.509] calling apps_init()
09:18:47:984 [0004.510] starting app kernel_boot_app
09:18:47:984 [0004.516] I> found decompressor handler: lz4-legacy
09:18:47:984 [0004.516] I> decompressing BMP blob …
09:18:47:985 [0004.520] I> Kernel type = Normal
09:18:47:985 [0004.520] I> Loading kernel-bootctrl from partition
09:18:47:985 [0004.521] I> Loading partition kernel-bootctrl at 0xa4400000 from device(0x1)
09:18:47:985 [0004.529] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
09:18:47:985 [0004.529] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
09:18:47:985 [0004.530] I> ########## SD boot ##########
09:18:47:985 [0004.535] W> Error: failed to get sd-card params
09:18:47:985 [0004.539] I> -0 params source =
09:18:47:985 [0004.542] E> Failed to initialize device 6-0
09:18:47:985 [0004.546] E> SD boot failed, err: 252641293
09:18:47:985 [0004.550] I> ########## USB boot ##########
09:18:47:988 [0004.559] W> No valid slot number is found in scratch register
09:18:48:005 [0004.560] W> Return default slot: _a
09:18:48:006 [0004.571] I> USB Firmware Version: 60.06 release
09:18:48:031 [0004.625] I> regulator of usb2-0 already enabled
09:18:48:032 [0004.630] I> regulator of usb2-1 already enabled
09:18:48:043 [0004.635] I> regulator of usb2-2 already enabled
09:18:49:124 [0005.701] I> USB 2.0 port 2 new high-speed USB device detected
09:18:49:125 [0005.703] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa07df800, cmd_ring.dma = 0xa07df840
09:18:49:208 [0005.803] I> Start to enumerate device
09:18:49:250 [0005.805] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa07df800, cmd_ring.dma = 0xa07df840
09:18:49:250 [0005.813] I>
09:18:49:251 [0005.813] I> Enumerated USB Device 0bda:5411
09:18:49:251 [0005.813] I>
09:18:49:251 [0005.814] I> Hub:
09:18:49:251 [0005.814] I> Downstream ports : 4
09:18:49:253 [0005.815] I> Power switching : Ganged
09:18:49:253 [0005.815] I> Compound device : No
09:18:49:253 [0005.815] I> Over-current protection : Global
09:18:49:253 [0005.817] I> Hub avg delay : 4 ns
09:18:49:254 [0005.821] I> Set interface = 1 (alt setting)
09:18:49:269 [0005.826] I> Enable hub ports
09:18:49:270 [0005.835] I> Device detected on port 3
09:18:49:272 [0005.836] I> Device detected on port 4
09:18:49:754 [0006.347] I> Reset port 3
09:18:49:820 [0006.401] I> Port 3 device is low speed, skip enumeration
09:18:49:820 [0006.404] I> Reset port 4
09:18:49:923 [0006.458] I> Port 4 device is low speed, skip enumeration
09:18:49:923 [0006.458] E> Enumerated device doesn’t belong to MSD class or protocol is not bulk-only!!
09:18:49:923 [0006.459] E> USBMSD: Failed to initialize Enumerated USB device either not an MSD device or supported protoco[0006.460] E> USBMSD: Failed to open usbmsd open, 0.
09:18:49:923 [0006.461] E> Error opening USBMSD driver 0, err: 7c7c0312
09:18:49:923 [0006.466] E> Failed to initialize device 5-0
09:18:49:923 [0006.470] E> USB boot failed, err: 2088502034
09:18:49:923 [0006.474] I> ########## Fixed storage boot ##########
09:18:49:923 [0006.479] I> Already published: 00010003
09:18:49:923 [0006.483] I> Look for boot partition
09:18:49:924 [0006.486] I> Fallback: assuming 0th partition is boot partition
09:18:49:924 [0006.492] I> Detect filesystem
09:18:49:925 [0006.519] I> Loading extlinux.conf …
09:18:49:935 [0006.519] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
09:18:49:986 [0006.562] I> L4T boot options
09:18:49:987 [0006.562] I> [1]: “primary kernel”
09:18:52:985 [0006.563] I> Enter choice:
09:18:52:985 [0009.564] I> Continuing with default option: 1
09:18:52:985 [0009.564] I> Loading kernel sig file from rootfs …
09:18:52:985 [0009.564] I> rootfs path: /sdmmc_user/boot/Image.sig
09:18:52:987 [0009.583] I> Loading kernel binary from rootfs …
09:18:52:997 [0009.583] I> rootfs path: /sdmmc_user/boot/Image
09:18:53:442 [0010.012] I> Validate kernel …
09:18:53:444 [0010.013] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
09:18:53:785 [0010.347] I> No kernel-dtb binary path
09:18:53:785 [0010.347] W> No valid slot number is found in scratch register
09:18:53:785 [0010.347] W> Return default slot: _a
09:18:53:785 [0010.348] I> A/B: bin_type (38) slot 0
09:18:53:785 [0010.348] I> Loading kernel-dtb from partition
09:18:53:785 [0010.348] I> Loading partition kernel-dtb at 0x91000000 from device(0x1)
09:18:53:785 [0010.360] I> Validate kernel-dtb …
09:18:53:785 [0010.360] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
09:18:53:786 [0010.363] I> Loading ramdisk from rootfs …
09:18:53:795 [0010.364] I> rootfs path: /sdmmc_user/boot/initrd
09:18:54:167 [0010.445] I> Kernel hdr @0xa4400000
09:18:54:167 [0010.445] I> Kernel dtb @0x90000000
09:18:54:167 [0010.445] I> decompressor handler not found
09:18:54:168 [0010.446] I> Copying kernel image (34912272 bytes) from 0xa4400000 to 0x80080000 … [0010.456] I> Done
09:18:54:168 [0010.457] I> Updated bpmp info to DTB
09:18:54:168 [0010.458] I> Ramdisk: Base: 0x92000000; Size: 0x54eb56
09:18:54:168 [0010.459] I> Updated initrd info to DTB
09:18:54:168 [0010.459] W> WARN: Fail to override “console=none” in commandline
09:18:54:168 [0010.460] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
09:18:54:168 [0010.465] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
09:18:54:168 [0010.472] W> No valid slot number is found in scratch register
09:18:54:168 [0010.478] W> Return default slot: _a
09:18:54:168 [0010.481] I> Active slot suffix:
09:18:54:168 [0010.485] I> add_boot_slot_suffix: slot_suffix =
09:18:54:169 [0010.489] I> Linux Cmdline: console=ttyTCU0,115200 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt tegra_fbmem=0x140000@0xa069c000 lut_mem=0x2008@0xa0698000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1
09:18:54:169 [0010.519] I> Updated bootarg info to DTB
09:18:54:169 [0010.522] W> MAC addr invalid!
09:18:54:169 [0010.525] E> Failed to get WIFI MAC address
09:18:54:169 [0010.529] W> MAC addr invalid!
09:18:54:169 [0010.532] E> Failed to get Bluetooth MAC address
09:18:54:169 [0010.537] I> eeprom_get_mac_addr: MAC (type: 2): 48:b0:2d:07:5a:63
09:18:54:169 [0010.543] W> “plugin-manager” doesn’t exist, creating
09:18:54:169 [0010.548] I> Adding /chosen/plugin-manager/cvm
09:18:54:169 [0010.552] W> “chip-id” doesn’t exist, creating
09:18:54:169 [0010.556] I> Adding /chosen/plugin-manager/chip-id
09:18:54:170 [0010.561] W> “configs” doesn’t exist, creating
09:18:54:170 [0010.565] I> Adding /chosen/plugin-manager/configs
09:18:54:170 [0010.570] W> “ids” doesn’t exist, creating
09:18:54:170 [0010.574] I> Adding /chosen/plugin-manager/ids
09:18:54:170 [0010.578] W> “odm-data” doesn’t exist, creating
09:18:54:170 [0010.582] I> Adding /chosen/plugin-manager/odm-data
09:18:54:170 [0010.590] W> “memory” doesn’t exist, creating
09:18:54:170 [0010.592] I> [0] START: 0x80000000, END: 0xac000000
09:18:54:170 [0010.596] I> [1] START: 0xac004000, END: 0xf09d0000
09:18:54:170 [0010.601] I> [2] START: 0xf09dc000, END: 0xf09e0000
09:18:54:170 [0010.606] I> dram_block larger than 80000000
09:18:54:170 [0010.610] I> [3] START: 0x100000000, END: 0x280000000
09:18:54:171 [0010.615] I> added [base:0x80000000, size:0x2c000000] to /memory
09:18:54:171 [0010.620] I> added [base:0xac200000, size:0x44600000] to /memory
09:18:54:171 [0010.626] I> added [base:0x100000000, size:0x180000000] to /memory
09:18:54:171 [0010.633] I> Updated memory info to DTB
09:18:54:171 [0010.636] E> add_disp_param: failed to get display params for du=1
09:18:54:171 [0010.642] W> “reset” doesn’t exist, creating
09:18:54:171 [0010.647] I> NVG: Logical CPU: 0; MPIDR: 0x80000000
09:18:54:171 [0010.651] I> NVG: Logical CPU: 1; MPIDR: 0x80000001
09:18:54:171 [0010.656] I> NVG: Logical CPU: 2; MPIDR: 0x80000100
09:18:54:171 [0010.660] I> NVG: Logical CPU: 3; MPIDR: 0x80000101
09:18:54:171 [0010.665] I> NVG: Logical CPU: 4; MPIDR: 0x80000200
09:18:54:171 [0010.670] I> NVG: Logical CPU: 5; MPIDR: 0x80000201
09:18:54:172 [0010.674] I> Deleted cpu@6 node in DT
09:18:54:172 [0010.678] I> Deleted cpu@7 node in DT
09:18:54:172 [0010.682] I> Deleted cluster3 node in FDT
09:18:54:172 [0010.686] I> Update arm-pmu in FDT
09:18:54:172 [0010.689] I> - update property: interrupts
09:18:54:172 [0010.693] I> - update property: interrupt-affinity
09:18:54:172 [0010.698] W> “misc-data” doesn’t exist, creating
09:18:54:172 [0010.702] I> Boot-device: QSPI
09:18:54:172 [0010.704] W> Unknown boot device
09:18:54:172 [0010.708] I> Add storage-qspi to plugin-manager/misc-data
09:18:54:172 [0010.713] W> Unknown storage device
09:18:54:172 [0010.716] I> Add serial number:1422320054215 as DT property
09:18:54:173 [0010.722] I> Plugin-manager override starting
09:18:54:173 [0010.726] I> node /plugin-manager/fragment-pcie-c5-rp matches
09:18:54:173 [0010.733] I> node /plugin-manager/fragement-tegra-wdt-en matches
09:18:54:173 [0010.739] I> node /plugin-manager/fragement-tegra-sdhci-sd-dis matches
09:18:54:173 [0010.746] I> Disable plugin-manager status in FDT
09:18:54:173 [0010.748] I> Plugin-manager override finished successfully
09:18:54:173 [0010.754] I> tegrabl_load_kernel_and_dtb: Done
09:18:54:188 [0010.763] I> Kernel EP: 0x80080000, DTB: 0x90000000
09:18:54:189 [ 0.000000] Booting Linux on physical CPU 0x0
09:18:54:241 [ 0.000000] Linux version 4.9.140-tegra (root@Autel-lee-vm) %s Autel_pilot_kernel_version: v2.0.2-0-gf8fba8b68
09:18:54:241 [ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
09:18:54:241 [ 0.000000] OF: fdt:memory scan node memory, reg size 48,
09:18:54:241 [ 0.000000] OF: fdt: - 80000000 , 2c000000
09:18:54:241 [ 0.000000] OF: fdt: - ac200000 , 44600000
09:18:54:241 [ 0.000000] OF: fdt: - 100000000 , 180000000
09:18:54:242 [ 0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options ‘’)
09:18:54:262 [ 0.000000] bootconsole [tegra_comb_uart0] enabled
09:18:54:262 [ 0.000000] Found tegra_fbmem: 00140000@a069c000
09:18:54:264 [ 0.000000] Found lut_mem: 00002008@a0698000
09:18:56:162 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:56:163 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:56:179 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:56:180 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:56:550 WARNING: pll_d2 has no dyn ramp
09:18:56:663 WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
09:18:56:664 WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
09:18:56:694 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:57:537 WARNING: at platform/drivers/pg/pg-cv-t194.c:73
09:18:57:964 [ 3.264829] cgroup: cgroup2: unknown option “nsdelegate”
09:18:58:823 WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
09:18:58:823 WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
09:18:59:525 [ 4.818105] using random self ethernet address
09:18:59:526 [ 4.818283] using random host ethernet address
09:18:59:721 [ 5.013225] ar0233 8-001b: couldn’t create debugfs
09:18:59:723 [ 5.019802] ar0233 8-001d: couldn’t create debugfs
09:18:59:746 [ 5.043125] ar0233 8-001f: couldn’t create debugfs
09:18:59:747 [ 5.047894] random: crng init done
09:18:59:756 [ 5.048042] random: 7 urandom warning(s) missed due to ratelimiting
09:19:00:316 [ 5.612720] using random self ethernet address
09:19:00:318 [ 5.612897] using random host ethernet address
09:19:23:735 [ 29.019263] systemd-shutdow: 52 output lines suppressed due to ratelimiting
09:19:24:098 [ 29.394157] CPU1: shutdown
09:19:24:158 [ 29.445612] CPU2: shutdown
09:19:24:219 [ 29.507239] CPU3: shutdown
09:19:24:277 [ 29.576377] CPU4: shutdown
09:19:24:375 [ 29.635702] CPU5: shutdown
09:19:24:376 [ 29.657695] reboot: Power down
09:19:24:376 Shutdown state requested 0
09:19:24:377 Shutting down system …

my flash command is as follow:
$ sudo ./flash.sh -r jetson-xavier-nx-devkit-emmc mmcblk0p1

and every time,i use the same system img.

so what happened about this issue,why the system behavior was so different?

appreciate for your help.

@lmmhu please back up your system.img and let the flash utility assemble a new image. The idea is to rule out the possibility of having a corrupted image.

I am assuming you have a custom carrier board, am I correct? Did you validate your bring-up against the hardware and software checklist? Please see the link below:

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/adaptation_and_bringup.html#

Please let me know the outcomes of your testing.

yes,we use our carried board designed by ourself,

i think my system.img is good,i flashed my machine with this image,sometime the system can boot successfully,but on other time ,the system boot fail,that’s my question point,i don’t know why?

when i flashed my machine,there is a ‘etc’ file in ‘Linux_for_Tegra/rootfs’,content of ‘etc’ is:
$ cat etc
TEGRA_OTA_BOOT_DEVICE /dev/mmcblk0boot0
TEGRA_OTA_GPT_DEVICE /dev/mmcblk0boot1
TNSPEC P2771-0000-C04-devkit.default

Please go over the hardware and software checklists to make sure you have all likely problems sorted during bring up