I've built the android source code and run the emulator successfully except one thing - SD card couldn't be mounted. Here is how I tried to mount it. 1. create a sdcard.img by mksdcard tool under /out/host/linux-x86/bin/ mksdcard 256M out/target/product/generic/sdcard.img
- sdcard.img is rw
- run emulator with command line: out/host/linux-x86/bin/emulator -sysdir out/target/product/generic/ -system out/target/product/generic/system.img -ramdisk out/target/product/generic/ramdisk.img -data out/target/product/generic/userdata.img -kernel prebuilt/android-arm/kernel/kernel-qemu -skindir sdk/emulator/skins -skin WVGA800 -scale 0.7 -memory 512 -partition-size 2024 -sdcard out/target/product/generic/sdcard.img the file under /system/etc/vold.conf is ok. system log shows: <6>mmc0: new SD card at address e118 <6>mmcblk0: mmc0:e118 SU02G 256 MiB <6> mmcblk0:
But the truth is that it failed to mount sdcard. It will get a "read only" error if trying to write data in /mnt/sdcard/
Anyone can help on this? thanks in advance.