SSD NVME boot and hanging kernel on ls1046ardb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SSD NVME boot and hanging kernel on ls1046ardb

跳至解决方案
1,625 次查看
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...

标签 (1)
0 项奖励
回复
1 解答
1,568 次查看
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 项奖励
回复
2 回复数
1,569 次查看
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 项奖励
回复
1,576 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复