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,599件の閲覧回数
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,565件の閲覧回数
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,513件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

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

Best Regards
Zhiming

0 件の賞賛
返信

1,502件の閲覧回数
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,498件の閲覧回数
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,474件の閲覧回数
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,450件の閲覧回数
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 件の賞賛
返信