This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mounting system partition in Android ICS

Hi all,

I am trying to enable booting using android bootimages in my board based on ti am335x.
I am booting my kernel using the boot.img file. But I have problem in mounting the system partition.
I generated the system.img with the flag TARGET_USERIMAGES_USE_EXT4 ommited. So I am supposing that the system.img fs type is yaffs2 that's why I am flashing it in uboot with nand write.yaffs command.
int init.rc file I added :
on fs
mount yaffs2 mtd@system /system
this commands returns : "init: command 'mount' r=-1".
Am I missing anything ?
can anyone explain me how to add a partition and mount it in android ?
Thank you !