Hi,
I got my problem fixed. Whatever changes, I did previously itself was
enough to fix the issue. The problem is, I checked for sdcard automount
immediately after android terminal prompt appears(using mount command and
checking /sdcard contents)
But, the sdcard get mounted only when complete bootup of android
finishes up. I didn't noticed it early.
regards,
P.Arun
2009/11/26 Arun <[email protected]>
> 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]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting