Hi, everyone

I'm trying to mount yaffs2 system.img in /system direcotry.
But I have failed..

I used mkyaffs2 (or mkyaffs2image) program to convert
/out/target/product/sdmk210/system direcory into system.img.

In above mentioned directory (/out/target/product/sdmk210),
I used the command as below :
# mkyaffs2imgage ./system system.img

The kernel and rootfs in nand device are executed well.
The init is executed according to init.rc.

The mount command "mount yaffs2 mtd@system /system" is executed
and it returns "0" (I can see it because my loglevel is changed to high value.)

However, I cannot see the contents in system directory.
The log sys it cannot find files in /system directory.

I wonder if the mount command returns 0, the mount process make a sucess?
Could it fail though the return value is 0?

I counld extract the directory contents in system.img with the help of "unyaffs2".
So, I think the yaffs2 image has no fault.

How can I fix the problem?
Please give me a hint of this problem.

Thanks in advance.

Best Regards,

J.Hwan Kim.








--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to