报错
List of all partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,7)
[ 3.130607] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.168 #11
[ 3.136769] Hardware name: Novatek NS02302 (DT)
[ 3.141283] Call trace:
[ 3.143729] dump_backtrace+0x0/0x190
[ 3.147379] show_stack+0x14/0x30
[ 3.150684] dump_stack+0xc4/0xfc
[ 3.153987] panic+0x174/0x328
[ 3.157032] mount_block_root+0x350/0x36c
[ 3.161028] mount_root+0x6c/0x78
[ 3.164330] prepare_namespace+0x120/0x15c
[ 3.168412] kernel_init_freeable+0x1f8/0x218
[ 3.172756] kernel_init+0x10/0x114
[ 3.176231] ret_from_fork+0x10/0x20
[ 3.179795] SMP: stopping secondary CPUs
[ 3.183706] Kernel Offset: disabled
可能性
1、内核没支持对应的文件系统,支持就好
2、uboot的环境变量设置有问题
3、文件系统本身有问题,无法挂载
以下为文件系统本身问题的报错位置