Hi all

I had fellow  the "To check out the cupcake branch (http://
source.android.com/roadmap/cupcake)" instruction to check out the
"cupcake" branch of android.

After "make" the cupcake source code, i copy those three image files
(ramdisk.img,system.img,userdata.img) @ /out/target/product/generic/
to  /SDK/tools/image/goldfish_cupcake.

Then use "./emulator -shell -show-kernel -verbose -system ./lib/
images/
goldfish_cupcake -kernel ./lib/images/kernel-qemu" to load those image
files.

After the emulator load finished, I can use the console command (like
" ls" ),and the console works.

But the GUI interface did not show at the emulator screen,I just saw
the "ANDROID" screen saver.
And Home,dial and the others key did not work.

If anyone have any ideal to help me get through this?

Thanks!

Best regards
                       Sherman



Below shows the messages of the emulator and the kernel console.
*****************************************************************
emulator: autoconfig: -datadir /home/sherman/.android/SDK-1.0
emulator: autoconfig: -ramdisk ./lib/images/goldfish_cupcake/
ramdisk.img
emulator: autoconfig: -image ./lib/images/goldfish_cupcake/system.img
emulator: autoconfig: -initdata ./lib/images/goldfish_cupcake/
userdata.img
emulator: autoconfig: -skindir ./lib/images/goldfish_cupcake/skins
emulator: autoconfig: -sdcard /home/sherman/.android/SDK-1.0/
sdcard.img
emulator: autoconfig: -data /home/sherman/.android/SDK-1.0/
userdata.img
emulator: autoconfig: -data /home/sherman/.android/SDK-1.0/userdata-
qemu.img
emulator: parsing built-in skin layout file (size=7714)
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: argv[00] = "./emulator"
emulator: argv[01] = "-kernel"
emulator: argv[02] = "./lib/images/kernel-qemu"
emulator: argv[03] = "-initrd"
emulator: argv[04] = "./lib/images/goldfish_cupcake/ramdisk.img"
emulator: argv[05] = "-nand"
emulator: argv[06] = "system,size=0x4200000,initfile=./lib/images/
goldfish_cupcake/system.img"
emulator: argv[07] = "-nand"
emulator: argv[08] = "userdata,size=0x4200000,file=/home/
sherman/.android/SDK-1.0/userdata-qemu.img"
emulator: argv[09] = "-nand"
emulator: argv[10] = "cache,size=0x4200000"
emulator: argv[11] = "-serial"
emulator: argv[12] = "android-kmsg"
emulator: argv[13] = "-serial"
emulator: argv[14] = "stdio"
emulator: argv[15] = "-serial"
emulator: argv[16] = "android-qemud"
emulator: argv[17] = "-append"
emulator: argv[18] = "qemu=1 console=ttyS0 androidboot.console=ttyS1
android.checkjni=1 android.qemud=ttyS2 android.ndns=2"
emulator: template: /tmp/android/emulator-XXXXXX
emulator: mapping 'system' NAND image to /tmp/android/emulator-Fk26nO
emulator: template: /tmp/android/emulator-XXXXXX
emulator: mapping 'cache' NAND image to /tmp/android/emulator-hhFd7L
emulator: using 'unix' alarm timer
emulator: using 'alsa' audio input backend
emulator: using 'alsa' audio output backend
emulator: warning: opening audio output failed

emulator: control console listening on port 5554, ADB on port 5555
emulator: can't connect to ADB server: errno 111: Connection refused
emulator: ping program: /home/sherman/android-sdk-linux_x86-1.0_r2/
tools/ddms
emulator: ping command: /home/sherman/android-sdk-linux_x86-1.0_r2/
tools/ddms ping emulator 1.7
Uncompressing
Linux....................................................................................
done, booting the kernel.

Linux version 2.6.25-00350-g40fff9a (android-
[email protected]) (gcc version 4.2.1) #1 Wed Jul 23
18:10:44 PDT 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00003137
Machine: Goldfish
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-through cache
CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
24384
Kernel command line: qemu=1 console=ttyS0 androidboot.console=ttyS1
android.checkjni=1 android.qemud=ttyS2 android.ndns=2
Unknown boot option `androidboot.console=ttyS1': ignoring
Unknown boot option `android.checkjni=1': ignoring
Unknown boot option `android.qemud=ttyS2': ignoring
Unknown boot option `android.ndns=2': ignoring
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 94268KB available (2380K code, 445K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
android_power_init
android_power_init done
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 142K
goldfish_new_pdev goldfish_interrupt_controller at ff000000 irq -1
goldfish_new_pdev goldfish_device_bus at ff001000 irq 1
goldfish_new_pdev goldfish_timer at ff003000 irq 3
goldfish_new_pdev goldfish_rtc at ff010000 irq 10
goldfish_new_pdev goldfish_tty at ff002000 irq 4
goldfish_new_pdev goldfish_tty at ff011000 irq 11
goldfish_new_pdev goldfish_tty at ff012000 irq 12
goldfish_new_pdev smc91x at ff013000 irq 13
goldfish_new_pdev goldfish_fb at ff014000 irq 14
goldfish_new_pdev goldfish_memlog at ff006000 irq -1
goldfish_new_pdev goldfish-battery at ff015000 irq 15
goldfish_new_pdev goldfish_events at ff016000 irq 16
goldfish_new_pdev goldfish_nand at ff017000 irq -1
goldfish_new_pdev goldfish-switch at ff018000 irq 17
goldfish_new_pdev goldfish-switch at ff019000 irq 18
goldfish_pdev_worker registered goldfish-switch
goldfish_pdev_worker registered goldfish-switch
goldfish_pdev_worker registered goldfish_nand
goldfish_pdev_worker registered goldfish_events
goldfish_pdev_worker registered goldfish-battery
goldfish_pdev_worker registered goldfish_memlog
goldfish_pdev_worker registered goldfish_fb
goldfish_pdev_worker registered smc91x
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_rtc
goldfish_pdev_worker registered goldfish_timer
goldfish_pdev_worker registered goldfish_device_bus
goldfish_pdev_worker registered goldfish_interrupt_controller
ashmem: initialized
Installing knfsd (copyright (C) 1996 [email protected]).
yaffs Jul 23 2008 18:10:35 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
allocating frame buffer 320 * 480, got ffc00000
Console: switching to colour frame buffer device 40x30
console [ttyS0] enabled
brd: module loaded
loop: module loaded
nbd: registered device at major 43
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
No IRQF_TRIGGER set_type function for IRQ 13 (goldfish)
eth0: SMC91C11xFD (rev 1) at c6800000 IRQ 13 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
goldfish nand dev0: size 4000000, page 2048, extra 64, erase 131072
goldfish nand dev1: size 4000000, page 2048, extra 64, erase 131072
goldfish nand dev2: size 4000000, page 2048, extra 64, erase 131072
mice: PS/2 mouse device common for all mice
*** events probe ***
events_probe() addr=0xc6804000 irq=16
events_probe() keymap=qwerty2
input: qwerty2 as /class/input/input0
goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as rtc0
logger: created 64K log 'log_main'
logger: created 64K log 'log_events'
logger: created 64K log 'log_radio'
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev
0
goldfish_rtc goldfish_rtc: setting system clock to 2009-04-08 07:28:14
UTC (1239175694)
Freeing init memory: 100K
init: cannot open '/initlogo.rle'
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
# init: cannot find '/system/bin/playmp3', disabling 'bootsound'
eth0: link up
init: sys_prop: mis-match msg size recieved: -1 expected: 128
warning: `rild' uses 32-bit capabilities (legacy support in use)
*****************************************************************


The install-files.txt @ /out/target/product/

*****************************************************************
       1311  /system/build.prop
     177176  /system/fonts/DroidSerif-Italic.ttf
     117072  /system/fonts/DroidSansMono.ttf
     184836  /system/fonts/DroidSerif-Bold.ttf
     189916  /system/fonts/DroidSerif-BoldItalic.ttf
    3081908  /system/fonts/DroidSansFallback.ttf
     172532  /system/fonts/DroidSerif-Regular.ttf
     191032  /system/fonts/DroidSans-Bold.ttf
     190044  /system/fonts/DroidSans.ttf
       1086  /system/etc/init.goldfish.sh
       1471  /system/etc/apns-conf.xml
      53945  /system/etc/NOTICE.html.gz
         25  /system/etc/hosts
       2032  /system/etc/bookmarks.xml
        366  /system/etc/pvplayer.conf
      15321  /system/etc/event-log-tags
        935  /system/etc/dbus.conf
       6491  /system/etc/permissions/platform.xml
      47159  /system/etc/security/cacerts.bks
       1107  /system/etc/security/otacerts.zip
        192  /system/etc/dhcpcd/dhcpcd.conf
       1007  /system/etc/dhcpcd/dhcpcd-run-hooks
        705  /system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf
        179  /system/etc/dhcpcd/dhcpcd-hooks/01-test
        808  /system/etc/dhcpcd/dhcpcd-hooks/95-configured
     363732  /system/lib/libsrec_jni.so
     798196  /system/lib/libicuuc.so
     619260  /system/lib/libopencoreauthor.so
       5168  /system/lib/libhardware.so
       5124  /system/lib/libstdc++.so
     291904  /system/lib/libutils.so
     707148  /system/lib/libicui18n.so
       9764  /system/lib/libwbxml_jni.so
     391524  /system/lib/libandroid_runtime.so
      35772  /system/lib/libmedia_jni.so
      92572  /system/lib/libexpat.so
      71804  /system/lib/libjni_pinyinime.so
      18068  /system/lib/libandroid_servers.so
      27184  /system/lib/libril.so
     252292  /system/lib/libc_debug.so
       9228  /system/lib/libpagemap.so
      37656  /system/lib/libaes.so
     315296  /system/lib/libopencoremp4.so
    1776636  /system/lib/libopencoreplayer.so
      36896  /system/lib/libEGL.so
     155760  /system/lib/libssl.so
    4064552  /system/lib/libwebcore.so
      18420  /system/lib/libopencoremp4reg.so
      21896  /system/lib/libreference-ril.so
     330404  /system/lib/libopencorenet_support.so
     482344  /system/lib/libopencorertsp.so
      13488  /system/lib/liblog.so
    1212364  /system/lib/libsgl.so
       9340  /system/lib/libjni_latinime.so
     120012  /system/lib/libvorbisidec.so
      13368  /system/lib/libthread_db.so
      54576  /system/lib/libcorecg.so
     111908  /system/lib/libopencoredownload.so
      34068  /system/lib/libdrm1.so
       9076  /system/lib/libdl.so
      84384  /system/lib/libcameraservice.so
     107804  /system/lib/libpixelflinger.so
    1598028  /system/lib/libicudata.so
      13948  /system/lib/libopencorertspreg.so
      13624  /system/lib/libdrm1_jni.so
      40768  /system/lib/libexif.so
     105732  /system/lib/libagl.so
     243948  /system/lib/libc.so
     235944  /system/lib/libnativehelper.so
     301464  /system/lib/libdbus.so
     544248  /system/lib/libdvm.so
      52940  /system/lib/libwbxml.so
      92988  /system/lib/libmediaplayerservice.so
      56416  /system/lib/libGLESv1_CM.so
      17564  /system/lib/libnetutils.so
     125028  /system/lib/libaudioflinger.so
     766988  /system/lib/libcrypto.so
       9616  /system/lib/libemoji.so
      13948  /system/lib/libopencoredownloadreg.so
     302948  /system/lib/libsqlite.so
      59340  /system/lib/libcutils.so
     198064  /system/lib/libFFTEm.so
      26500  /system/lib/libsoundpool.so
      38996  /system/lib/libskiagl.so
       9548  /system/lib/browsertestplugin.so
     205152  /system/lib/libui.so
     243272  /system/lib/libsurfaceflinger.so
       9768  /system/lib/libsystem_server.so
     214248  /system/lib/libmedia.so
     136148  /system/lib/libm.so
      79192  /system/lib/libz.so
       9444  /system/lib/libwpa_client.so
       5144  /system/lib/libctest.so
       9476  /system/lib/libxml2wbxml.so
      31856  /system/lib/libhardware_legacy.so
     342464  /system/lib/libsonivox.so
     458808  /system/lib/libopencorecommon.so
       9812  /system/lib/hw/sensors.goldfish.so
      28188  /system/xbin/sqlite3
       9588  /system/xbin/showslab
      22220  /system/xbin/scp
      52956  /system/xbin/oprofiled
      84936  /system/xbin/netserver
      84904  /system/xbin/netperf
      88520  /system/xbin/check-lost+found
       5316  /system/xbin/timeinfo
      13800  /system/xbin/dbus-send
     153336  /system/xbin/strace
       5404  /system/xbin/cpueater
      35640  /system/xbin/dexdump
       9584  /system/xbin/showmap
      76200  /system/xbin/su
       9552  /system/xbin/procmem
       5456  /system/xbin/daemonize
      80568  /system/xbin/ssh
       9692  /system/xbin/latencytop
      18204  /system/xbin/nc
       9656  /system/xbin/dbus-monitor
      76052  /system/xbin/add-property-tag
      14236  /system/xbin/opcontrol
       5444  /system/xbin/crasher
       9700  /system/xbin/librank
     142476  /system/xbin/pppd
       9600  /system/xbin/procrank
          7  /system/bin/sync
       5604  /system/bin/rild
       9724  /system/bin/dumpsys
       5616  /system/bin/netcfg
          7  /system/bin/hd
        205  /system/bin/monkey
      66700  /system/bin/check_prereq
          7  /system/bin/sleep
     121728  /system/bin/dbus-daemon
          7  /system/bin/df
          7  /system/bin/renice
          7  /system/bin/smd
          7  /system/bin/iftop
          7  /system/bin/sendevent
          7  /system/bin/notify
       5412  /system/bin/mediaserver
          7  /system/bin/start
          7  /system/bin/wipe
          7  /system/bin/kill
          7  /system/bin/top
          7  /system/bin/schedtop
      10688  /system/bin/showlease
          9  /system/bin/bugreport
          7  /system/bin/netstat
       9736  /system/bin/logcat
     276464  /system/bin/recovery
          7  /system/bin/chmod
          7  /system/bin/date
          7  /system/bin/rmmod
      72604  /system/bin/toolbox
      86944  /system/bin/sh
        194  /system/bin/ime
          9  /system/bin/dumpcrash
        201  /system/bin/input
       5304  /system/bin/schedtest
          7  /system/bin/log
      14024  /system/bin/installd
       9828  /system/bin/servicemanager
          7  /system/bin/id
          7  /system/bin/mkdir
          7  /system/bin/watchprops
      39004  /system/bin/vold
          7  /system/bin/ps
        189  /system/bin/am
          7  /system/bin/dd
          7  /system/bin/dmesg
          7  /system/bin/ls
          7  /system/bin/cmp
          7  /system/bin/stop
          7  /system/bin/rm
          7  /system/bin/printenv
          7  /system/bin/route
       9644  /system/bin/dexopt
          7  /system/bin/setprop
          7  /system/bin/ioctl
       5328  /system/bin/radiooptions
          7  /system/bin/getprop
       5340  /system/bin/surfaceflinger
          7  /system/bin/setconsole
      80552  /system/bin/linker
     151868  /system/bin/gdbserver
       5420  /system/bin/dalvikvm
          7  /system/bin/getevent
          7  /system/bin/lsmod
        191  /system/bin/pm
          7  /system/bin/mkdosfs
          7  /system/bin/chown
       5564  /system/bin/app_process
          7  /system/bin/rmdir
      38572  /system/bin/dosfsck
          7  /system/bin/ln
          7  /system/bin/insmod
       9620  /system/bin/sdutil
     109020  /system/bin/iptables
       5460  /system/bin/dvz
      26628  /system/bin/ping
      13732  /system/bin/qemud
          7  /system/bin/umount
       5496  /system/bin/gzip
          7  /system/bin/reboot
          7  /system/bin/cat
       9672  /system/bin/logwrapper
          7  /system/bin/mv
          7  /system/bin/ifconfig
       9640  /system/bin/flash_image
       5332  /system/bin/system_server
          7  /system/bin/mount
      44536  /system/bin/dhcpcd
      18028  /system/bin/debuggerd
     144684  /system/bin/applypatch
          7  /system/bin/vmstat
      14188  /system/bin/dumpstate
       9764  /system/bin/service
        192  /system/bin/svc
      70434  /system/framework/android.test.runner.jar
    2072421  /system/framework/framework.jar
    2634482  /system/framework/framework-res.apk
       6700  /system/framework/com.android.im.plugin.jar
      70320  /system/framework/android.policy.jar
     369723  /system/framework/ext.jar
       9876  /system/framework/pm.jar
       2507  /system/framework/input.jar
     408940  /system/framework/services.jar
       7009  /system/framework/am.jar
     437266  /system/framework/android.awt.jar
       3400  /system/framework/ime.jar
       3709  /system/framework/svc.jar
      11507  /system/framework/framework-tests.jar
    1570834  /system/framework/core.jar
      20141  /system/framework/monkey.jar
       1353  /system/usr/keylayout/tuttle2.kl
        199  /system/usr/keylayout/AVRCP.kl
       1699  /system/usr/keylayout/qwerty.kl
      29016  /system/usr/share/zoneinfo/zoneinfo.idx
     169880  /system/usr/share/zoneinfo/zoneinfo.dat
          6  /system/usr/share/zoneinfo/zoneinfo.version
      12862  /system/usr/share/bmd/RFFspeed_501.bmd
      19586  /system/usr/share/bmd/RFFstd_501.bmd
        896  /system/usr/keychars/tuttle2.kcm.bin
        896  /system/usr/keychars/qwerty.kcm.bin
        896  /system/usr/keychars/qwerty2.kcm.bin
       4623  /system/usr/srec/config/en.us/baseline.par
       4896  /system/usr/srec/config/en.us/baseline11k.par
       4895  /system/usr/srec/config/en.us/baseline8k.par
      22693  /system/usr/srec/config/en.us/g2p/en-US-ttp.data
     283917  /system/usr/srec/config/en.us/models/generic8_m.swimdl
      42996  /system/usr/srec/config/en.us/models/generic.swiarb
      10954  /system/usr/srec/config/en.us/models/generic8.lda
     280321  /system/usr/srec/config/en.us/models/generic8_f.swimdl
     286565  /system/usr/srec/config/en.us/models/generic11_f.swimdl
      10954  /system/usr/srec/config/en.us/models/generic11.lda
     287087  /system/usr/srec/config/en.us/models/generic11_m.swimdl
      55373  /system/usr/srec/config/en.us/grammars/VoiceDialer.g2g
     628151  /system/usr/srec/config/en.us/dictionary/cmu6plus.ok.zip
        419  /system/usr/srec/config/en.us/dictionary/enroll.ok
        254  /system/usr/srec/config/en.us/dictionary/basic.ok
     176082  /system/app/LatinIME.apk
      14202  /system/app/SubscribedFeedsProvider.apk
      20878  /system/app/SettingsProvider.apk
     432558  /system/app/Contacts.apk
      58125  /system/app/SoundRecorder.apk
    1250412  /system/app/Settings.apk
      45910  /system/app/ContactsProvider.apk
       6006  /system/app/HTMLViewer.apk
      71173  /system/app/DownloadProvider.apk
     782279  /system/app/Launcher.apk
     560971  /system/app/Mms.apk
      21283  /system/app/SpareParts.apk
       6436  /system/app/UserDictionaryProvider.apk
      13479  /system/app/DrmProvider.apk
      39527  /system/app/Term.apk
     458544  /system/app/Music.apk
      93149  /system/app/Development.apk
      12424  /system/app/GoogleSearch.apk
      36690  /system/app/MediaProvider.apk
     231855  /system/app/AlarmClock.apk
      37523  /system/app/TelephonyProvider.apk
     490490  /system/app/Camera.apk
     129784  /system/app/CalendarProvider.apk
     301042  /system/app/Calendar.apk
    1229684  /system/app/Browser.apk
     680050  /system/app/Phone.apk
      66869  /system/app/PackageInstaller.apk
*************************************************************************

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to