SSD NVME boot and hanging kernel on ls1046ardb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SSD NVME boot and hanging kernel on ls1046ardb

ソリューションへジャンプ
1,624件の閲覧回数
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,567件の閲覧回数
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,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 件の賞賛
返信
1,575件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信