I built AOSP 2.3.7 from sources for my device (htc vision) but while I want to test if it works on emulator I doesn't boot, I noticed that theres missing
in /system/lib/hw, is this a problem? Board use msm7x30 chip. Do I need to compile my own kernel to get
under /system/lib/hw? Or is it issue due to ext4 partitions that I want to use and thats why they cannot be mounted?
building at ubuntu 12.04 x64, build system works ok, I've used gcc/g++ v.4.4 and sun java6 with it.
how can I change default emulator config parameters as my devices use 800x480 resolution and has 512mb ram. When I edit file it got recreated with old parameters.
mesaj@Mesaj-FX610:~/aosp$ emulator -show-kernel -verbose -kernel prebuilt/android-arm/kernel/kernel-qemu-armv7
emulator: found Android build root: /home/mesaj/aosp
emulator: found Android build out: /home/mesaj/aosp/out/target/product/vision
emulator: Found target ABI=armeabi-v7a, architecture=arm
emulator: Found target API level: 10
emulator: using core hw config path: /home/mesaj/aosp/out/target/product/vision/hardware-qemu.ini
emulator: found skin-specific hardware.ini: /home/mesaj/aosp/development/tools/emulator/skins/HVGA/hardware.ini
emulator: autoconfig: -skin HVGA
emulator: autoconfig: -skindir /home/mesaj/aosp/development/tools/emulator/skins
emulator: keyset loaded from: /home/mesaj/.android/default.keyset
emulator: trying to load skin file '/home/mesaj/aosp/development/tools/emulator/skins/HVGA/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -ramdisk /home/mesaj/aosp/out/target/product/vision/ramdisk.img
emulator: autoconfig: -sysdir /home/mesaj/aosp/out/target/product/vision
emulator: Using initial system image: /home/mesaj/aosp/out/target/product/vision/system.img
emulator: WARNING: system partition size adjusted to match image file (93 MB > 66 MB)
emulator: autoconfig: -data /home/mesaj/aosp/out/target/product/vision/userdata-qemu.img
emulator: autoconfig: -initdata /home/mesaj/aosp/out/target/product/vision/userdata.img
emulator: Physical RAM size: 256MB
Content of hardware configuration file:
hw.cpu.arch = arm
hw.cpu.model =
hw.ramSize = 256
hw.touchScreen = yes
hw.trackBall = yes
hw.keyboard = yes
hw.keyboard.lid = yes
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 =
disk.cachePartition.size = 66m
hw.lcd.width = 320
hw.lcd.height = 480
hw.lcd.depth = 16
hw.lcd.density = 160
hw.lcd.backlight = yes
vm.heapSize = 48
hw.sensors.proximity = yes
kernel.path = prebuilt/android-arm/kernel/kernel-qemu-armv7
kernel.parameters = android.checkjni=1
disk.ramdisk.path = /home/mesaj/aosp/out/target/product/vision/ramdisk.img
disk.systemPartition.initPath = /home/mesaj/aosp/out/target/product/vision/system.img
disk.systemPartition.size = 93m
disk.dataPartition.path = /home/mesaj/aosp/out/target/product/vision/userdata-qemu.img
disk.dataPartition.size = 66m
disk.snapStorage.path =
.
QEMU options list:
emulator: argv[00] = "/home/mesaj/aosp/out/host/linux-x86/bin/emulator-arm"
emulator: argv[01] = "-cpu"
emulator: argv[02] = "cortex-a8"
emulator: argv[03] = "-show-kernel"
emulator: argv[04] = "-android-hw"
emulator: argv[05] = "/home/mesaj/aosp/out/target/product/vision/hardware-qemu.ini"
Concatenated QEMU options:
/home/mesaj/aosp/out/host/linux-x86/bin/emulator-arm -cpu cortex-a8 -show-kernel -android-hw /home/mesaj/aosp/out/target/product/vision/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0x5d00000,initfile=/home/mesaj/aosp/out/target/product/vision/system.img
emulator: mapping 'system' NAND image to /tmp/android-mesaj/emulator-9dgA1p
emulator: rounding devsize up to a full eraseunit, now 5d12000
emulator: nand_add_dev: userdata,size=0x4200000,file=/home/mesaj/aosp/out/target/product/vision/userdata-qemu.img
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
emulator: nand_add_dev: cache,size=0x4200000
emulator: mapping 'cache' NAND image to /tmp/android-mesaj/emulator-WGijaA
emulator: Kernel parameters: qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=1
emulator: Trace file name is not set
serial0 console
emulator: control console listening on port 5554, ADB on port 5555
emulator: can't connect to ADB server: Connection refused
emulator: ping program: /home/mesaj/aosp/out/host/linux-x86/bin/ddms
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
CPU: ARMv7 Processor [410fc080] revision 0 (ARMv7), cr=10c5387f
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: 65024
Kernel command line: qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=1
Unknown boot option `android.qemud=ttyS1': ignoring
Unknown boot option `android.checkjni=1': ignoring
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 256000KB available (2588K code, 681K data, 104K init)
Calibrating delay loop... 318.66 BogoMIPS (lpj=1593344)
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_namespace: 520 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 140K
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
yaffs Mar 31 2010 11:31:39 Installing.
msgmni has been set to 500
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
allocating frame buffer 320 * 480, got ffa10000
Console: switching to colour frame buffer device 40x30
console [ttyS0] enabled
brd: module loaded
loop: module loaded
nbd: registered device at major 43
eth0 (smc91x): not using net_device_ops yet
eth0: SMC91C11xFD (rev 1) at d084c000 IRQ 13 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
goldfish nand dev0: size 5a40000, 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=0xd0854000 irq=17
events_probe() keymap=qwerty2
input: qwerty2 as /devices/virtual/input/input0
goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as rtc0
device-mapper: uevent: version 1.0.3
logger: created 64K log 'log_main'
logger: created 256K 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 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 0
goldfish_rtc goldfish_rtc: setting system clock to 2012-04-28 10:16:31 UTC (1335608191)
Freeing init memory: 104K
init: cannot open '/initlogo.rle'
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
block 305 is bad
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs_read_super: isCheckpointed 0
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/bin/keystore', disabling 'keystore'
init: cannot find '/system/bin/qemud', disabling 'qemud'
init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
emulator: User-config was not changed.