If you haven't gotten your Audio fully working, you'll want to make the following changes to your BoardConfig.mk file:
# BOARD_USES_ALSA_AUDIO := true # BUILD_WITH_ALSA_UTILS := true BOARD_USES_GENERIC_AUDIO := true Android needs a working sound system before it will proceed (that got me the first time I tried to get Android 1.6 running), and with the stubbed out audio code and the "USES_GENERIC_AUDIO" flag, I could get Android up and running.. Regards -- Ashwin On Fri, Jul 30, 2010 at 8:58 AM, Retti <[email protected]> wrote: > Here are the logs: > > Boot: > Booting kernel from Legacy Image at 70400000 ... > Image Name: Linux-2.6.32.9 > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 1966272 Bytes = 1.9 MB > Load Address: 70008000 > Entry Point: 70008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing > Linux........................................................................................................................... > done, booting the kernel. > Linux version 2.6.32.9 (x...@y) (gcc version 4.4.0 (GCC) ) # > CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 > CPU: VIVT data cache, VIVT instruction cache > Machine: G45 > Memory policy: ECC disabled, Data cache writeback > Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > 32512 > Kernel command line: mem=128M androidboot.console=ttyS0 > console=tty0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext2, > init=/init nohz=off rootwait > PID hash table entries: 512 (order: -1, 2048 bytes) > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > Memory: 128MB = 128MB total > Memory: 125368KB available (3392K code, 755K data, 136K init, 0K > highmem) > Hierarchical RCU implementation. > NR_IRQS:192 > AT91: 160 gpio irqs in 5 banks > Console: colour dummy device 80x30 > console [tty0] enabled > console [ttyS0] enabled > Calibrating delay loop... 199.47 BogoMIPS (lpj=997376) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > NET: Registered protocol family 16 > bio: create slab <bio-0> at 0 > SCSI subsystem initialized > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > Switching to clocksource pit > 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 > NET: Registered protocol family 1 > RPC: Registered udp transport module. > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > ashmem: initialized > JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. > yaffs Jul 30 2010 14:38:04 Installing. > msgmni has been set to 245 > alg: No test for stdrng (krng) > io scheduler noop registered (default) > io scheduler anticipatory registered > atmel_lcdfb atmel_lcdfb.0: 1406KiB frame buffer at 77a00000 (mapped at > ffa00000) > Console: switching to colour frame buffer device 100x37 > atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00500000 (mapped at > c8866000), irq 23 > atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL > atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL > atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = 8) is a ATMEL_SERIAL > atmel_usart.3: ttyS3 at MMIO 0xfff94000 (irq = 9) is a ATMEL_SERIAL > NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND > 256MiB 3,3V 8-bit) > Scanning device for bad blocks > Bad eraseblock 1252 at 0x000009c80000 > Bad eraseblock 1899 at 0x00000ed60000 > Bad eraseblock 2047 at 0x00000ffe0000 > Creating 3 MTD partitions on "atmel_nand": > 0x000000000000-0x000000200000 : "Kernel" > 0x000000200000-0x000001200000 : "Root" > 0x000001200000-0x000010000000 : "Data" > macb macb: invalid hw address, using random > MACB_mii_bus: probed > eth0: Atmel MACB at 0xfffbc000 irq 25 (06:a8:4d:e0:32:dd) > eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, > irq=-1) > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > atmel-ehci atmel-ehci: Atmel EHCI UHP HS > atmel-ehci atmel-ehci: new USB bus registered, assigned bus number 1 > atmel-ehci atmel-ehci: irq 22, io mem 0x00800000 > atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00 > usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 > usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > usb usb1: Product: Atmel EHCI UHP HS > usb usb1: Manufacturer: Linux 2.6.32.9 ehci_hcd > usb usb1: SerialNumber: atmel-ehci > usb usb1: configuration #1 chosen from 1 choice > hub 1-0:1.0: USB hub found > hub 1-0:1.0: 2 ports detected > ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver > at91_ohci at91_ohci: AT91 OHCI > at91_ohci at91_ohci: new USB bus registered, assigned bus number 2 > at91_ohci at91_ohci: irq 22, io mem 0x00700000 > usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 > usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > usb usb2: Product: AT91 OHCI > usb usb2: Manufacturer: Linux 2.6.32.9 ohci_hcd > usb usb2: SerialNumber: at91 > usb usb2: configuration #1 chosen from 1 choice > hub 2-0:1.0: USB hub found > hub 2-0:1.0: 2 ports detected > Initializing USB Mass Storage driver... > usbcore: registered new interface driver usb-storage > USB Mass Storage support registered. > usbcore: registered new interface driver libusual > mice: PS/2 mouse device common for all mice > i2c /dev entries driver > tfp410 0-0038: chip found > i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL) > Registered led device: pwr > Registered led device: LED1 > usbcore: registered new interface driver usbhid > usbhid: v2.6:USB HID core driver > logger: created 64K log 'log_main' > logger: created 256K log 'log_events' > logger: created 64K log 'log_radio' > usb 2-2: new low speed USB device using at91_ohci and address 2 > logger: created 64K log 'log_system' > TCP cubic registered > NET: Registered protocol family 10 > IPv6 over IPv4 tunneling driver > NET: Registered protocol family 17 > atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff80000 irq 11, 1 > slots > Waiting for root device /dev/mmcblk0p2... > mmc0: host does not support reading read-only switch. assuming write- > enable. > mmc0: new SD card at address b368 > mmcblk0: mmc0:b368 UD 1.87 GiB > mmcblk0: p1 p2 > usb 2-2: New USB device found, idVendor=046a, idProduct=0011 > usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > usb 2-2: configuration #1 chosen from 1 choice > input: HID 046a:0011 as /class/input/input0 > generic-usb 0003:046A:0011.0001: input: USB HID v1.11 Keyboard [HID > 046a:0011] on usb-at91-2/input0 > EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended > VFS: Mounted root (ext2 filesystem) on device 179:2. > Freeing init memory: 136K > Warning: unable to open an initial console. > init: /init.rc: 161: invalid option 'ioprio' > init: /init.rc: 178: group option accepts at most 6 supp. groups > init: cannot open '/initlogo.rle' > init: cannot find '/system/bin/netd', disabling 'netd' > init: cannot find '/system/etc/install-recovery.sh', disabling > 'flash_recovery' > > logcat: > I/vold ( 607): Android Volume Daemon version 2.0 > I/vold ( 607): New MMC card 'UD ' (serial 3827411948) added @ / > class/mmc_host/mmc0/mmc0:b368 > E/vold ( 607): Unable to open '/sys/class/switch' (No such file or > directory) > D/vold ( 607): Bootstrapping complete > I/DEBUG ( 608): debuggerd: Jul 26 2010 13:18:51 > D/AndroidRuntime( 609): > D/AndroidRuntime( 609): >>>>>>>>>>>>>> AndroidRuntime START > <<<<<<<<<<<<<< > D/AndroidRuntime( 609): CheckJNI is OFF > D/AndroidRuntime( 609): --- registering native functions --- > I/ ( 610): ServiceManager: 0xad08 > E/ALSALib ( 610): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 610): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 610): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 610): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 610): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 610): Unable to attach mixer to device default: > No such file or directory > I/SamplingProfilerIntegration( 609): Profiler is disabled. > I/Zygote ( 609): Preloading classes... > D/dalvikvm( 609): GC freed 791 objects / 50408 bytes in 5ms > D/dalvikvm( 609): GC freed 251 objects / 16128 bytes in 5ms > D/dalvikvm( 609): GC freed 295 objects / 18784 bytes in 6ms > D/dalvikvm( 609): GC freed 214 objects / 13696 bytes in 7ms > D/dalvikvm( 609): GC freed 413 objects / 26408 bytes in 12ms > D/skia ( 609): ------ build_power_table 1.4 > D/skia ( 609): ------ build_power_table 0.714286 > D/dalvikvm( 609): GC freed 420 objects / 28728 bytes in 9ms > D/dalvikvm( 609): Trying to load lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Added shared lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Trying to load lib /system/lib/libexif.so 0x0 > D/dalvikvm( 609): Added shared lib /system/lib/libexif.so 0x0 > D/dalvikvm( 609): GC freed 2314 objects / 121424 bytes in 13ms > D/dalvikvm( 609): Trying to load lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Shared lib '/system/lib/libmedia_jni.so' already > loaded in same CL 0x0 > D/dalvikvm( 609): Trying to load lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Shared lib '/system/lib/libmedia_jni.so' already > loaded in same CL 0x0 > D/dalvikvm( 609): Trying to load lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Shared lib '/system/lib/libmedia_jni.so' already > loaded in same CL 0x0 > D/dalvikvm( 609): Trying to load lib /system/lib/libmedia_jni.so 0x0 > D/dalvikvm( 609): Shared lib '/system/lib/libmedia_jni.so' already > loaded in same CL 0x0 > D/dalvikvm( 609): GC freed 3788 objects / 196848 bytes in 25ms > D/dalvikvm( 609): GC freed 461 objects / 26328 bytes in 44ms > D/dalvikvm( 609): GC freed 294 objects / 17064 bytes in 44ms > D/dalvikvm( 609): GC freed 204 objects / 11504 bytes in 57ms > D/dalvikvm( 609): GC freed 178 objects / 9584 bytes in 58ms > D/dalvikvm( 609): Trying to load lib /system/lib/libsrec_jni.so 0x0 > D/dalvikvm( 609): Added shared lib /system/lib/libsrec_jni.so 0x0 > D/dalvikvm( 609): Trying to load lib /system/lib/libsrec_jni.so 0x0 > D/dalvikvm( 609): Shared lib '/system/lib/libsrec_jni.so' already > loaded in same CL 0x0 > D/dalvikvm( 609): GC freed 296 objects / 34792 bytes in 58ms > I/ ( 614): ServiceManager: 0xad08 > D/dalvikvm( 609): GC freed 123 objects / 24512 bytes in 82ms > E/ALSALib ( 614): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 614): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 614): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 614): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 614): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 614): Unable to attach mixer to device default: > No such file or directory > D/dalvikvm( 609): GC freed 337 objects / 38432 bytes in 48ms > D/dalvikvm( 609): GC freed 418 objects / 25832 bytes in 43ms > D/dalvikvm( 609): Trying to load lib /system/lib/libwebcore.so 0x0 > D/dalvikvm( 609): Added shared lib /system/lib/libwebcore.so 0x0 > D/dalvikvm( 609): GC freed 432 objects / 25168 bytes in 43ms > D/dalvikvm( 609): GC freed 489 objects / 30752 bytes in 45ms > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneLayoutInflater > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneWindow > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneWindow$DecorView > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneWindow$DrawableFeatureState > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState > $SavedState > E/Zygote ( 609): Class not found for preloading: > com.android.internal.policy.impl.PhoneWindowManager > D/dalvikvm( 609): GC freed 487 objects / 43224 bytes in 46ms > D/dalvikvm( 609): GC freed 377 objects / 27192 bytes in 45ms > D/dalvikvm( 609): GC freed 1084 objects / 92456 bytes in 59ms > D/dalvikvm( 609): GC freed 664 objects / 35968 bytes in 51ms > D/dalvikvm( 609): GC freed 709 objects / 41208 bytes in 59ms > D/dalvikvm( 609): GC freed 735 objects / 40552 bytes in 112ms > I/ ( 615): ServiceManager: 0xad08 > E/ALSALib ( 615): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 615): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 615): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 615): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 615): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 615): Unable to attach mixer to device default: > No such file or directory > D/dalvikvm( 609): GC freed 14099 objects / 478176 bytes in 72ms > D/dalvikvm( 609): GC freed 10524 objects / 449960 bytes in 66ms > D/dalvikvm( 609): GC freed 10780 objects / 465176 bytes in 82ms > D/dalvikvm( 609): GC freed 8388 objects / 463736 bytes in 71ms > D/dalvikvm( 609): GC freed 7787 objects / 463016 bytes in 80ms > D/dalvikvm( 609): GC freed 8486 objects / 517768 bytes in 73ms > D/dalvikvm( 609): GC freed 6530 objects / 388184 bytes in 82ms > D/dalvikvm( 609): GC freed 847 objects / 51224 bytes in 69ms > D/dalvikvm( 609): GC freed 540 objects / 38848 bytes in 140ms > D/dalvikvm( 609): GC freed 460 objects / 31408 bytes in 140ms > D/dalvikvm( 609): GC freed 426 objects / 29752 bytes in 162ms > I/Zygote ( 609): ...preloaded 1936 classes in 12586ms. > D/dalvikvm( 609): GC freed 131 objects / 15856 bytes in 141ms > I/Zygote ( 609): Preloading resources... > D/dalvikvm( 609): GC freed 5 objects / 224 bytes in 159ms > I/ ( 616): ServiceManager: 0xad08 > E/ALSALib ( 616): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 616): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 616): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 616): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 616): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 616): Unable to attach mixer to device default: > No such file or directory > D/dalvikvm( 609): GC freed 327 objects / 16680 bytes in 71ms > D/dalvikvm( 609): GC freed 269 objects / 12624 bytes in 81ms > I/Zygote ( 609): ...preloaded 48 resources in 816ms. > I/Zygote ( 609): ...preloaded 15 resources in 20ms. > D/dalvikvm( 609): GC freed 116 objects / 9656 bytes in 72ms > D/dalvikvm( 609): GC freed 206 objects / 8160 bytes in 81ms > D/dalvikvm( 609): GC freed 24 objects / 952 bytes in 72ms > I/dalvikvm( 609): Splitting out new zygote heap > I/dalvikvm( 609): System server process 617 has been created > warning: `zygote' uses 32-bit capabilities (legacy support in use) > I/Zygote ( 609): Accepting command socket connections > D/dalvikvm( 617): Trying to load lib /system/lib/ > libandroid_servers.so 0x0 > D/dalvikvm( 617): Added shared lib /system/lib/libandroid_servers.so > 0x0 > E/BatteryService( 617): Could not open /sys/class/power_supply > I/sysproc ( 617): Entered system_init() > I/sysproc ( 617): ServiceManager: 0x13eda8 > I/SurfaceFlinger( 617): SurfaceFlinger is starting > I/SurfaceFlinger( 617): SurfaceFlinger's main thread ready to run. > Initializing graphics H/W... > E/SurfaceFlinger( 617): Couldn't open /sys/power/wait_for_fb_sleep > or /sys/power/wait_for_fb_wake > W/gralloc ( 617): FBIOPUT_VSCREENINFO failed, page flipping not > supported > W/gralloc ( 617): page flipping not supported (yres_virtual=600, > requested=1200) > I/gralloc ( 617): using (fd=19) > I/gralloc ( 617): id = > I/gralloc ( 617): xres = 800 px > I/gralloc ( 617): yres = 600 px > I/gralloc ( 617): xres_virtual = 800 px > I/gralloc ( 617): yres_virtual = 600 px > I/gralloc ( 617): bpp = 24 > I/gralloc ( 617): r = 0:8 > I/gralloc ( 617): g = 8:8 > I/gralloc ( 617): b = 16:8 > I/gralloc ( 617): width = 127 mm (160.000000 dpi) > I/gralloc ( 617): height = 95 mm (160.421051 dpi) > I/gralloc ( 617): refresh rate = 54.91 Hz > I/ ( 627): ServiceManager: 0xad08 > E/ALSALib ( 627): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 627): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 627): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 627): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 627): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 627): Unable to attach mixer to device default: > No such file or directory > I/ ( 628): ServiceManager: 0xad08 > E/ALSALib ( 628): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > W/AudioHardwareALSA( 628): Unable to attach mixer to device > AndroidOut: No such file or directory > E/AudioHardwareALSA( 628): Unable to attach mixer to device default: > No such file or directory > E/ALSALib ( 628): external/alsa-lib/src/control/control.c:909: > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > W/AudioHardwareALSA( 628): Unable to attach mixer to device > AndroidIn: No such file or directory > E/AudioHardwareALSA( 628): Unable to attach mixer to device default: > No such file or directory > > I know that there are some sound errors, but I don't think thats the > reason why I only see a black sceen. > I hope you can see more than me :) > Thanks > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
