Unable to mount FS after loading kernel on my custom board

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

Unable to mount FS after loading kernel on my custom board

2,616 次查看
ASTRIHK
Contributor III

My platform is KK443, I used fsl-sdcard-partition.sh to download all images. But after loading kernel, the following messages were shown. It seems the file system can't be mounted, please kindly advise.

 

 

init: /dev/hw_random not found

 

init: cannot open '/initlogo.rle'

 

fs_mgr: Cannot mount filesystem o*�ɽ�5v/block/mmcblk3p5 at /system

Original Attachment has been moved to: unableMountFS.txt.zip

标签 (1)
0 项奖励
回复
5 回复数

1,873 次查看
chenguoyin
NXP Employee
NXP Employee

you need to match the SD slot with the mmc number in your custom board. That mmc number in Freescale reference board may be not same as yours

0 项奖励
回复

1,873 次查看
ASTRIHK
Contributor III

Hi Guoyin Chen,

My image can be booted from SD but the following messages are still printed in console. Please kindly advise.

init: /dev/hw_random not found

init: cannot open '/initlogo.rle'

0 项奖励
回复

1,873 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Jackie,

    It seems that you are using SD card to boot your board with android4.4.3 images, if it is true, please refter to Android User's guide on page 8 :

3.3.2 Building Android images for the SD card on the SABRE-SD board, you will have to patch android source code. the attachment is user's guide, hope it can help you !

Regards,

Weidong

0 项奖励
回复

1,873 次查看
chenguoyin
NXP Employee
NXP Employee

Your kernel log shows your SD Card as mmc2. You should align the fstab.freescale with the SD Card device

mmc2: new high speed SDHC card at address 0001

mmcblk2: mmc2:0001 SD8GB 7.32 GiB

*********************************jackie***************************

mmcblk2: p1 p2 p3 < p5 p6 p7 p8 > p4

0 项奖励
回复

1,873 次查看
ASTRIHK
Contributor III

For this built image, I have followed Android user guide Rev KK4.4.3_2.0.0-ga, 02/2015,

remove out/target/product/sabresd_6dq/root directory and boot*.img

remove /out/target/product/sabresd_6dq/recovery directory and recovery*.img

make bootimage BUILD_TARGET_DEVIC=sd

then Follow Section 3.4 to build the images.

Should this "bootimage BUILD_TARGET_DEVIC" -> "bootimage BUILD_TARGET_DEVICE"?

0 项奖励
回复