Unable to mount FS after loading kernel on my custom board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to mount FS after loading kernel on my custom board

2,615 Views
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

Labels (1)
0 Kudos
Reply
5 Replies

1,872 Views
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 Kudos
Reply

1,872 Views
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 Kudos
Reply

1,872 Views
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 Kudos
Reply

1,872 Views
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 Kudos
Reply

1,872 Views
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 Kudos
Reply