David, my bad, I thought this thread was about the SD card not working in emulator of the official released binary. That's the reason I said it hasn't worked for months ...
In case it is you now who is lost, see this discussion: http://groups.google.com/group/android-developers/browse_thread/thread/8cc165f810c062d9/9d229f422baa9926 On Tue, Apr 7, 2009 at 9:58 AM, David Turner <[email protected]> wrote: > > > On Tue, Apr 7, 2009 at 7:47 AM, Mariano Kamp <[email protected]>wrote: > >> Thanks David, but I was more expecting something without compiling a new >> version of the SDK. >> Anyway, I tested my SD card stuff on the actual device for months now, so >> I should be able to wait a little bit longer. >> > > Well, what do you expect if you build your own system image? Getting > sources right from the depot means > getting a work in progress, and it is expected that not all stuff might > work as cleanly as they should. > > >> >> On Mon, Apr 6, 2009 at 10:57 PM, David Turner <[email protected]> wrote: >> >>> the change has been submitted to the depot, so you can do the following >>> to get a working system: >>> >>> repo sync >>> touch system/core/init/init.c >>> make >>> >>> the second line is needed because the build system is not smart enough to >>> rebuild the system image if >>> the Makefile was changed in certain ways. It is likely to be un-needed if >>> other changes were synced in though >>> >>> >>> On Mon, Apr 6, 2009 at 2:33 PM, Mariano Kamp <[email protected]>wrote: >>> >>>> Sounds great. Just wondering if there is any workaround for today's >>>> problems? >>>> >>>> >>>> On Mon, Apr 6, 2009 at 12:23 PM, David Turner <[email protected]>wrote: >>>> >>>>> See https://review.source.android.com/Gerrit#change,9452 >>>>> >>>>> there is a packaging bug that prevents the mount daemon from properly >>>>> mounting the SD Card at startup. >>>>> The proposed changed fixes it. >>>>> >>>>> >>>>> On Mon, Apr 6, 2009 at 4:10 AM, max <[email protected]> wrote: >>>>> >>>>>> >>>>>> Hi Guys, >>>>>> >>>>>> This is a question that raised before, but I can't find answer for my >>>>>> case. >>>>>> >>>>>> I get the latest android source code, compile, and then set $PATH >>>>>> including the "android_src/out/host/linux-x86/bin/" >>>>>> >>>>>> mksdcard 100M card.img >>>>>> emulator -sdcard card.img >>>>>> >>>>>> Then in another xterm window, I use >>>>>> >>>>>> adb push song.mp3 /sdcard >>>>>> >>>>>> but it reports "failed to copy 'song.mp3' to '/sdcard/song.mp3': Read- >>>>>> only file system" >>>>>> >>>>>> I do the same operations many times before, always successfully, but >>>>>> why it fails for the latest source code, >>>>>> >>>>>> I do some debugging into the source code, but no answer for this >>>>>> moment yet. >>>>>> >>>>>> Can anyone give me some light on this? >>>>>> >>>>>> Max >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

