AnsweredAssumed Answered

SD卡kernel启动不了

Question asked by qiang xie on Mar 22, 2019
Latest reply on Mar 25, 2019 by qiang xie

大家好,

 

            我用的芯片为imx6solo, BSP为yocto L4.1.15-2.1.0。

         

            目前使用SD卡和micro SD卡启动时出现很奇怪的现象。根据《i.MX_Linux_User's Guide.pdf》文件对SD卡和micro SD卡进行分区,格式化,然后烧写同样的u-boot.imx,zImage,设备树,文件系统。在启动时,SD卡可以正常启动到文件系统,但是使用micro SD卡插上卡套,然后启动时,就只能启动到uboot,到kernel阶段就报错,如下log。另外,我仔细对比了两个SD卡的状态,使用df -h和fdisk -l查看了,基本都是一样的,请教各位大神帮助,谢谢。

 

U-Boot 2016.03-svn1773 (Mar 22 2019 - 14:30:42 +0800)

 


CPU:   Freescale i.MX6SOLO rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 59C
Reset cause: POR
Board: MX6SOLO RIoTboard
I2C:   ready
DRAM:  512 MiB

 

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

 

*** Warning - bad CRC, using default environment
In:    serial
Out:   serial
Err:   serial
config_ipu_di_clk: freq = 148500000.
wait for pll5 lock.
config_ipu_di_clk: set pll5 clock to 294000000Hz.
switch to partitions #0, OK
mmc0 is current device
Net:   Board Net Initialization Failed
No ethernet found.
Normal Boot
switch to partitions #0, OK
mmc0 is current device
reading zImage
6093216 bytes read in 294 ms (19.8 MiB/s)
Booting from mmc ...
reading imx6solo_mehowboard.dtb
33830 bytes read in 19 ms (1.7 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x5cf9a0 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Using Device Tree in place at 18000000, end 1800b425

 

Starting kernel ...

 

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
random: nonblocking pool is initialized

Outcomes