imx8mq evk Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) issue

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

imx8mq evk Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) issue

1,606 次查看
Ichi_
Contributor I

Hi All

I use yocto repo sync (Linux 6.6.23_2.0.0)and bitbake imx-image-core then flash .wic(uuu) to imx8 evk that work fine.

but when rebuild the uboot and kernel (no changed any code ) and  flash .wic(uuu) to imx8 evk that  Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) occur?

The steps to recompile are as follows:

1.

$ bitbake -c compile -f u-boot-imx
$ bitbake -c deploy -f u-boot-imx
 
2.
$ bitbake -c compile -f linux-imx
$ bitbake -c deploy -f linux-imx
 
3.
$ bitbake imx-image-core
 

Attached is the boot information.Thanks

0 项奖励
回复
6 回复数

1,572 次查看
Ichi_
Contributor I

Additional information:

I tried using bitbake -c cleanall and then rebuilding again.

In the attachment I get a different log file , and still kernel panic......... 

Thanks

 

0 项奖励
回复

1,520 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Are you using imx8mq wevk or imx8mq evk(older)?

Best Regards
Zhiming

0 项奖励
回复

1,509 次查看
Ichi_
Contributor I

Hi Zhiming_Liu

The board is imx8mq evk.

The P/N is MCIMX8M-EVKB , and quick start guide document show i.MX 8M Quad Evalation Kit inside. Thanks.

0 项奖励
回复

1,505 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

The L6.6.23 support i.MX8MQ WEVK with NXP wifi, not older EVKB.

After only modifying sources/meta-imx/meta-imx-bsp/conf/machine/imx8mqevk.conf, the older EVK can boot normally.

MACHINEOVERRIDES =. "imx8mq-evk:"
require conf/machine/imx8mq-evk.conf

 

Zhiming_Liu_0-1726644923813.png


Best Regards
Zhiming

0 项奖励
回复

1,481 次查看
Ichi_
Contributor I

Hi Zhiming_Liu

After modified file and rebuilt the u-boot & kernel, the error still occurs.

Attached is the boot information.Thanks

IChi__0-1726654539804.png

Strangely, I built the .wic file this morning and boot successfully.

but in the second built(imx8mqevk.conf and other code no any changed )

the error occurs again.

my step is:

$bitbake -c cleanall imx-image-core
$ bitbake -c compile -f u-boot-imx
$ bitbake -c deploy -f u-boot-imx
$ bitbake -c compile -f linux-imx
$ bitbake -c deploy -f linux-imx
$ bitbake imx-image-core

 

0 项奖励
回复

1,457 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Ichi_ 

Have you modified the uboot or linux source code? If yes, you can try to discard changes. Or you can try sd boot.

0 项奖励
回复