On Monday, August 13, 2012 9:55:34 AM UTC+6, Allen Teng wrote: > I have build the kernel successfully with following message, > > Kernel: arch/arm/boot/zImage is ready, > > and run the emulator with following command, > > ./emulator @AllenTeng -debug init,asconnector -kernel > ~/WorkSpace/Android/emulator/goldfish_3.4/kernel/arch/arm/boot/zImage, > > > and following are the messages emulator showing. > > emulator: found SDK root at > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86 > emulator: Android virtual device file at: > /home/allenteng/.android/avd/AllenTeng.ini > emulator: virtual device content at /home/allenteng/.android/avd/AllenTeng.avd > emulator: virtual device config file: > /home/allenteng/.android/avd/AllenTeng.avd/config.ini > emulator: using core hw config path: > /home/allenteng/.android/avd/AllenTeng.avd/hardware-qemu.ini > emulator: Target AVD api level is not a number > emulator: Defaulting to API level 1000 > emulator: found skin 'WVGA800' in directory: > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/platforms/android-4.0.9.99.999.9999.99999/skins > emulator: autoconfig: -skin WVGA800 > emulator: autoconfig: -skindir > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/platforms/android-4.0.9.99.999.9999.99999/skins > emulator: found skin-specific hardware.ini: > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/platforms/android-4.0.9.99.999.9999.99999/skins/WVGA800/hardware.ini > emulator: keyset loaded from: /home/allenteng/.android/default.keyset > emulator: trying to load skin file > '/home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/platforms/android-4.0.9.99.999.9999.99999/skins/WVGA800/layout' > emulator: skin network speed: 'full' > emulator: skin network delay: 'none' > emulator: autoconfig: -ramdisk > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/system-images/android-4.0.9.99.999.9999.99999/armeabi-v7a//ramdisk.img > emulator: Using initial system image: > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/system-images/android-4.0.9.99.999.9999.99999/armeabi-v7a//system.img > emulator: autoconfig: -data > /home/allenteng/.android/avd/AllenTeng.avd/userdata-qemu.img > emulator: autoconfig: -initdata > /home/allenteng/.android/avd/AllenTeng.avd/userdata.img > emulator: autoconfig: -cache > /home/allenteng/.android/avd/AllenTeng.avd/cache.img > emulator: autoconfig: -sdcard sdcard.img > emulator: Physical RAM size: 512MB > > Content of hardware configuration file: > hw.cpu.arch = arm > hw.cpu.model = cortex-a8 > hw.ramSize = 512 > hw.screen = touch > hw.mainKeys = yes > hw.trackBall = yes > hw.keyboard = no > hw.keyboard.lid = no > hw.keyboard.charmap = qwerty2 > hw.dPad = yes > hw.gsmModem = yes > hw.gps = yes > hw.battery = yes > hw.accelerometer = yes > hw.audioInput = yes > hw.audioOutput = yes > hw.sdCard = yes > hw.sdCard.path = sdcard.img > disk.cachePartition = yes > disk.cachePartition.path = > /home/allenteng/.android/avd/AllenTeng.avd/cache.img > disk.cachePartition.size = 66m > hw.lcd.width = 480 > hw.lcd.height = 800 > hw.lcd.depth = 16 > hw.lcd.density = 240 > hw.lcd.backlight = yes > hw.gpu.enabled = no > hw.camera.back = emulated > hw.camera.front = none > vm.heapSize = 48 > hw.sensors.proximity = yes > hw.sensors.magnetic_field = yes > hw.sensors.orientation = yes > hw.sensors.temperature = yes > kernel.path = > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/kernel/arch/arm/boot/zImage > kernel.parameters = android.checkjni=1 > > disk.systemPartition.initPath = > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/system-images/android-4.0.9.99.999.9999.99999/armeabi-v7a//system.img > disk.systemPartition.size = 200m > disk.dataPartition.path = > /home/allenteng/.android/avd/AllenTeng.avd/userdata-qemu.img > disk.dataPartition.size = 200m > avd.name = AllenTeng > . > QEMU options list: > emulator: argv[00] = "./emulator64-arm" > emulator: argv[01] = "-android-hw" > emulator: argv[02] = > "/home/allenteng/.android/avd/AllenTeng.avd/hardware-qemu.ini" > Concatenated QEMU options: > ./emulator64-arm -android-hw > /home/allenteng/.android/avd/AllenTeng.avd/hardware-qemu.ini > emulator: registered 'boot-properties' qemud service > emulator: nand_add_dev: > system,size=0xc800000,initfile=/home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/system-images/android-4.0.9.99.999.9999.99999/armeabi-v7a//system.img > emulator: mapping 'system' NAND image to > /tmp/android-allenteng/emulator-yHHvxA > emulator: rounding devsize up to a full eraseunit, now c810000 > > emulator: nand_add_dev: > userdata,size=0xc800000,file=/home/allenteng/.android/avd/AllenTeng.avd/userdata-qemu.img > emulator: rounding devsize up to a full eraseunit, now c810000 > > emulator: registered 'boot-properties' qemud service > emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m' > emulator: Adding boot property: 'qemu.sf.lcd_density' = '240' > emulator: Adding boot property: 'qemu.hw.mainkeys' = '1' > emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back' > emulator: nand_add_dev: > cache,size=0x4200000,file=/home/allenteng/.android/avd/AllenTeng.avd/cache.img > emulator: Initializing hardware OpenGLES emulation support > Failed to create Context 0x3005 > emulator: Can't start OpenGLES renderer? > emulator: WARNING: Could not initialize OpenglES emulation, using software > renderer. > emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 > android.qemud=ttyS1 android.checkjni=1 ndns=2 > emulator: Trace file name is not set > > emulator: autoconfig: -scale 0.85363 > emulator: emulator window was out of view and was recentered > > emulator: Could not open file: (null)/system/build.prop: No such file or > directory > emulator: control console listening on port 5554, ADB on port 5555 > emulator: sent '0012host:emulator:5555' to ADB server > emulator: ping program: > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/tools/ddms > emulator: ping command: > /home/allenteng/WorkSpace/Android/emulator/goldfish_3.4/system/host/linux-x86/sdk/android-sdk_eng.allenteng_linux-x86/tools/ddms > ping emulator 21.0 "" "" "" > emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> > Connection refused > emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 21 > > > The emulator screen is frozen, and the terminal always repeats the last two > messages. > > Can anyone help me solve this problem? > > Notes: > 1. My platform is ubuntu 10.04 LTS 64-bit. > 2. The kernel source version is android-goldfish-3.4. > 3. The SDK is build from the android source code.
which config file did you use? in 3.4 i cant find goldfish_defconfig. i also get this error: scripts/Makefile.build:115: scripts/Makefile.host: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.host'. Stop. make: *** [scripts_basic] Error 2 -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel