Hi,
       I'm a newbie to android porting. We are porting android 1.6
cupcake version  to our OMAP 3530 based board. Previously,we ported
android 1.1 with 2.6.27 kernel to our board and it works fine.
         Now, we have ported android 1.6 with 2.6.29 kernel. When, we
try to open a music player or a camera application in android, it
reports "no sdcard
found"  "Please insert sdcard".
           Previously in android 1.1,we edit the file system/etc/
mountd.conf to specify mount point as /sdcard and block device as /dev/
block/mmcblk0p2.
I have searched previous mails in the group regarding the similar
issue. I found following suggestions.
Edit the vold.conf and add the following line.
    media_path /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
But, I find that vold.conf is not in system/etc/ folder of the android
version. I tried to copy it from android source code to  system/etc/
folder.But, it didn't worked.
   When I checked the source code, the vold.conf is copied
automatically,only when PRODUCT is choosen as sdk. I recompiled
android source code with
PRODUCT=sdk option in makefile.  Still, I find the same error "no
sdcard found"
>From the forums, I found also the following suggestions.
    Disabling  CONFIG_SYSFS_DEPRECATED
     Enabling MMC_UNSAFE_RESUME.

Still, my sdcard is not getting detected.
FYI, our sdcard has two partitions.
First partition is used as rootfs of ext3 type
Second partition is of vfat type,which needs to be mounted.

Is there anything, I need to change in android source code or
kernel??.Please give me suggestions to fix the issue.

regards,
P.Arun

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

Reply via email to