Hi All,
         I have been trying to boot ICS (prebuilt binaries downloaded from
google) with android 3.0 kernel after adding all goldfish feature to bare
android3.0 kernel (checked out from kernel/common). I am failing to boot
it. Error I can see is service 'Service Manager' exits (below is the output
of kernel verbose.)
I had done same thing for 2.6.35 kernel which works fine with same ICS
binaries. I have used goldfish_armv7_defconfig and arm-eabi-4.4.3 cross
compiler to build the kernel.
Any pointers on this issue will be of great help.

Thanks in advance,
Srinidhi


srinidhi@srinidhi:~/Installed_Applications/android-sdk-linux_x86$ emulator
-kernel /home/srinidhi/repositories/SDK/common/arch/arm/boot/zImage
-verbose -show-kernel -avd ics
emulator: found SDK root at
/home/srinidhi/Installed_Applications/android-sdk-linux_x86
emulator: Android virtual device file at:
/home/srinidhi/.android/avd/ics.ini
emulator: virtual device content at /home/srinidhi/.android/avd/ics.avd
emulator: virtual device config file:
/home/srinidhi/.android/avd/ics.avd/config.ini
emulator: using core hw config path:
/home/srinidhi/.android/avd/ics.avd/hardware-qemu.ini
emulator: Found AVD target API level: 14
emulator: found skin 'WVGA800' in directory:
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/platforms/android-14/skins
emulator: autoconfig: -skin WVGA800
emulator: autoconfig: -skindir
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/platforms/android-14/skins
emulator: keyset loaded from: /home/srinidhi/.android/default.keyset
emulator: trying to load skin file
'/home/srinidhi/Installed_Applications/android-sdk-linux_x86/platforms/android-14/skins/WVGA800/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -ramdisk
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/system-images/android-14/armeabi-v7a//ramdisk.img
emulator: Using initial system image:
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/system-images/android-14/armeabi-v7a//system.img
emulator: autoconfig: -data
/home/srinidhi/.android/avd/ics.avd/userdata-qemu.img
emulator: autoconfig: -initdata
/home/srinidhi/.android/avd/ics.avd/userdata.img
emulator: autoconfig: -cache /home/srinidhi/.android/avd/ics.avd/cache.img
emulator: Physical RAM size: 512MB

Content of hardware configuration file:
 hw.cpu.arch = arm
 hw.cpu.model = cortex-a8
 hw.ramSize = 512
 hw.touchScreen = yes
 hw.mainKeys = yes
 hw.trackBall = yes
 hw.keyboard = yes
 hw.keyboard.lid = no
 hw.keyboard.charmap = qwerty2
 hw.dPad = yes
 hw.gsmModem = yes
 hw.camera = no
 hw.camera.maxHorizontalPixels = 640
 hw.camera.maxVerticalPixels = 480
 hw.gps = yes
 hw.battery = yes
 hw.accelerometer = yes
 hw.audioInput = yes
 hw.audioOutput = yes
 hw.sdCard = yes
 hw.sdCard.path =
 disk.cachePartition = yes
 disk.cachePartition.path = /home/srinidhi/.android/avd/ics.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.fakeCamera = back
 hw.webcam.count = 6
 hw.webcam.0.name = webcam0
 hw.webcam.1.name = webcam1
 hw.webcam.2.name = webcam2
 hw.webcam.3.name = webcam3
 hw.webcam.4.name = webcam4
 hw.webcam.5.name = webcam5
 hw.webcam.0.direction = front
 hw.webcam.1.direction = back
 hw.webcam.2.direction = front
 hw.webcam.3.direction = front
 hw.webcam.4.direction = front
 hw.webcam.5.direction = front
 vm.heapSize = 24
 hw.sensors.proximity = yes
 kernel.path = /home/srinidhi/repositories/SDK/common/arch/arm/boot/zImage
 kernel.parameters =  androidboot.console=ttyS2 android.checkjni=1
androidboot.logcat=ServiceManager

 disk.systemPartition.initPath =
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/system-images/android-14/armeabi-v7a//system.img
 disk.systemPartition.size = 168m
 disk.dataPartition.path =
/home/srinidhi/.android/avd/ics.avd/userdata-qemu.img
 disk.dataPartition.size = 66m
 disk.snapStorage.path =
 avd.name = ics
.
QEMU options list:
emulator: argv[00] =
"/home/srinidhi/Installed_Applications/android-sdk-linux_x86/tools/emulator-arm"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-serial"
emulator: argv[03] = "stdio"
emulator: argv[04] = "-android-hw"
emulator: argv[05] = "/home/srinidhi/.android/avd/ics.avd/hardware-qemu.ini"
Concatenated QEMU options:
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/tools/emulator-arm
-show-kernel -serial stdio -android-hw
/home/srinidhi/.android/avd/ics.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev:
system,size=0xa800000,initfile=/home/srinidhi/Installed_Applications/android-sdk-linux_x86/system-images/android-14/armeabi-v7a//system.img
emulator: mapping 'system' NAND image to
/tmp/android-srinidhi/emulator-Nd1TDy
emulator: rounding devsize up to a full eraseunit, now a818000

emulator: nand_add_dev:
userdata,size=0x4200000,file=/home/srinidhi/.android/avd/ics.avd/userdata-qemu.img
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '24m'
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/srinidhi/.android/avd/ics.avd/cache.img
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0
android.qemud=ttyS1 androidboot.console=ttyS2 android.checkjni=1
androidboot.logcat=ServiceManager ndns=2
emulator: Trace file name is not set

emulator: autoconfig: -scale 1
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program:
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/tools/ddms
emulator: ping command:
/home/srinidhi/Installed_Applications/android-sdk-linux_x86/tools/ddms ping
emulator 15.0
Uncompressing Linux... done, booting the kernel.
goldfish_fb_get_pixel_format:167: display surface,pixel format:
 bits/pixel:  16
 bytes/pixel: 2
 depth:       16
 red:         bits=5 mask=0xf800 shift=11 max=0x1f
 green:       bits=6 mask=0x7e0 shift=5 max=0x3f
 blue:        bits=5 mask=0x1f shift=0 max=0x1f
 alpha:       bits=0 mask=0x0 shift=0 max=0x0
Initializing cgroup subsys cpu
Linux version 3.0.8-g3f4f629-dirty (srinidhi@srinidhi) (gcc version 4.4.3
(GCC) ) #1 Fri Nov 11 15:00:17 IST 2011
CPU: ARMv7 Processor [410fc080] revision 0 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Goldfish
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1
androidboot.console=ttyS2 android.checkjni=1
androidboot.logcat=ServiceManager ndns=2
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 515108k/515108k available, 9180k reserved, 0K highmem
Virtual kernel memory layout:
   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
   fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
   DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
   vmalloc : 0xe0800000 - 0xfc000000   ( 440 MB)
   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
   modules : 0xbf000000 - 0xc0000000   (  16 MB)
     .init : 0xc0008000 - 0xc0026000   ( 120 kB)
     .text : 0xc0026000 - 0xc031c354   (3033 kB)
     .data : 0xc031e000 - 0xc033dc60   ( 128 kB)
      .bss : 0xc033dc9c - 0xc0461480   (1166 kB)
NR_IRQS:256
Console: colour dummy device 80x30
Calibrating delay loop... 486.60 BogoMIPS (lpj=2433024)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource goldfish_timer
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 156K
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_audio at ff004000 irq 15
goldfish_new_pdev goldfish_memlog at ff006000 irq -1
goldfish_new_pdev goldfish-battery at ff015000 irq 16
goldfish_new_pdev goldfish_events at ff016000 irq 17
goldfish_new_pdev goldfish_nand at ff017000 irq -1
goldfish_new_pdev qemu_pipe at ff018000 irq 18
goldfish_new_pdev goldfish-switch at ff01a000 irq 19
goldfish_new_pdev goldfish-switch at ff01b000 irq 20
goldfish_pdev_worker registered goldfish_interrupt_controller
goldfish_pdev_worker registered goldfish_device_bus
goldfish_pdev_worker registered goldfish_timer
goldfish_pdev_worker registered goldfish_rtc
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered smc91x
goldfish_pdev_worker registered goldfish_fb
goldfish_audio_probe
goldfish_pdev_worker registered goldfish_audio
goldfish_pdev_worker registered goldfish_memlog
goldfish_pdev_worker registered goldfish-battery
goldfish_pdev_worker registered goldfish_events
goldfish_pdev_worker registered goldfish_nand
goldfish_pdev_worker registered qemu_pipe
goldfish_pdev_worker registered goldfish-switch
goldfish_pdev_worker registered goldfish-switch
ashmem: initialized
Installing knfsd (copyright (C) 1996 [email protected]).
msgmni has been set to 1006
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
allocating frame buffer 480 * 800, got ffc00000
console [ttyS0] enabled
brd: module loaded
loop: module loaded
nbd: registered device at major 43
goldfish nand dev0: size a300000, 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
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C11xFD (rev 1) at e0806000 IRQ 13 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
mousedev: PS/2 mouse device common for all mice
*** events probe ***
events_probe() addr=0xe0808000 irq=17
events_probe() keymap=qwerty2
input: qwerty2 as /devices/virtual/input/input0
using rtc device, goldfish_rtc, for alarms
goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as rtc0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised:
[email protected]
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
IPv4 over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 0
goldfish_rtc goldfish_rtc: setting system clock to 2011-11-11 09:34:54 UTC
(1321004094)
Freeing init memory: 120K
init: cannot open '/initlogo.rle'
yaffs: dev is 32505856 name is "mtdblock0" rw
yaffs: passed flags ""
yaffs: dev is 32505857 name is "mtdblock1" rw
yaffs: passed flags ""
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj
instead.
init: cannot find '/system/bin/drmserver', disabling 'drm'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'
init: untracked pid 40 exited
init: untracked pid 41 exited
init: untracked pid 49 exited
request_suspend_state: wakeup (3->0) at 1126285827 (2011-11-11
09:34:55.291263232 UTC)
init: untracked pid 63 exited
init: untracked pid 67 exited
request_suspend_state: wakeup (0->0) at 6210038469 (2011-11-11
09:35:00.375113190 UTC)
init: untracked pid 64 exited
init: untracked pid 80 exited
init: untracked pid 81 exited
init: untracked pid 84 exited
request_suspend_state: wakeup (0->0) at 11287153668 (2011-11-11
09:35:05.452228261 UTC)
init: untracked pid 85 exited
emulator: User-config was not changed.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to