SSD NVME boot and hanging kernel on ls1046ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSD NVME boot and hanging kernel on ls1046ardb

Jump to solution
1,247 Views
howard12005
Contributor II

I have a customized LS1046ARDB Board and used LSDK1812-update, there is a ssd nvme on board via pcie serdes which can recognize the nvme disk in uboot,

the following is my bootcmd env setting:

setenv bootcmd_nvme0'setenv devnum 0; nvme scan; run nvme_boot'

setenv nvme_boot'if nvme dev ${devnum}; then setenv devtype nvme; run scan_dev_for_boot_part; fi';saveenv


Through "run bootcmd_nvme0", it will boot and hang in the kernel,
It seems to stop at mount rootfs, is there any solution?

Kernel hang:
Waiting for root device PARTUUID=f105b7ef-03...

Labels (1)
0 Kudos
1 Solution
1,190 Views
howard12005
Contributor II

Hi,

I fixed it,

When I change the kernel config nvme build module to build-in,

It can boot up to OS, Thanks

CONFIG_NVME_CORE=y
CONFIG_NVME_FABRICS=y
CONFIG_NVME_FC=y
CONFIG_NVME_TARGET=y
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y

View solution in original post

0 Kudos
2 Replies
1,191 Views
howard12005
Contributor II

Hi,

I fixed it,

When I change the kernel config nvme build module to build-in,

It can boot up to OS, Thanks

CONFIG_NVME_CORE=y
CONFIG_NVME_FABRICS=y
CONFIG_NVME_FC=y
CONFIG_NVME_TARGET=y
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y

0 Kudos
1,198 Views
yipingwang
NXP TechSupport
NXP TechSupport

Would you please provide your u-boot environment and boot console log?

0 Kudos