最近在往TI Am335x上移植android系统,是android2.3,自己做的板子改了一点,去掉了EVM的cpld,eeprom等,修改了内核,现在移植从串口输出的信息是卡主了,请教各位是怎么回事,本人菜鸟,求指导。
[    1.324825] omap2_set_init_voltage: unable to set vdd_core
[    1.335992] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    1.345192] Waiting 1sec before mounting root device...
[    1.388966] mmc0: new high speed SD card at address 1234
[    1.395193] mmcblk0: mmc0:1234 SA02G 1.85 GiB 
[    1.402371]  mmcblk0: p1 p2 p3
[    5.849550] kjournald starting.  Commit interval 5 seconds
[    6.098443] EXT3-fs (mmcblk0p2): using internal journal
[    6.103949] EXT3-fs (mmcblk0p2): recovery complete
[    6.112826] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[    6.120345] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    6.127118] Freeing init memory: 208K
[    6.275318] WL1271: BT Disable
[    6.398124] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
# [   10.689071] adb_open
[   10.697969] warning: `dhcpcd' uses 32-bit capabilities (legacy support in use)
[   12.577502]  gadget: Gadget Zero, version: Cinco de Mayo 2008
[   12.583581]  gadget: zero ready
[   12.586969] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[   12.592569] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[   12.601273] hub 2-0:1.0: USB hub found
[   12.605215] hub 2-0:1.0: 1 port detected
[   12.611683] android_usb: already disabled
[   12.616818] adb_bind_config
[   12.873918] Compat-wireless backport release: compat-wireless-2011-07-27
[   12.881078] Backport based on wl12xx.git v2.6.39-1152-g0c08ddf
[   14.435563] cfg80211: Calling CRDA to update world regulatory domain
[   14.986609] cfg80211: World regulatory domain updated:
[   14.992040] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.000889] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.009246] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   15.017592] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   15.025936] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.034268] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.543739] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   27.266181] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   35.315270] request_suspend_state: wakeup (3->0) at 35309564422 (2000-01-01 00:00:34.460223314 UTC)
[   36.232291] request_suspend_state: wakeup (0->0) at 36226586089 (2000-01-01 00:00:35.377243523 UTC)
[   36.257450] init: untracked pid 130 exited
[   37.577927] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   41.526016] request_suspend_state: wakeup (0->0) at 41520311299 (2000-01-01 00:00:40.670970399 UTC)
[   42.598394] init: untracked pid 147 exited
[   44.106761] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   46.356332] request_suspend_state: wakeup (0->0) at 46350628340 (2000-01-01 00:00:45.501287024 UTC)
[   47.933459] init: untracked pid 163 exited
[   49.638517] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   50.907218] request_suspend_state: wakeup (0->0) at 50901513758 (2000-01-01 00:00:50.052171775 UTC)
[   54.178453] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   56.555105] request_suspend_state: wakeup (0->0) at 56549399842 (2000-01-01 00:00:55.700058776 UTC)
[   59.737039] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   60.810059] request_suspend_state: wakeup (0->0) at 60804354426 (2000-01-01 00:00:59.955013734 UTC)
[   64.076343] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   65.918168] request_suspend_state: wakeup (0->0) at 65912463761 (2000-01-01 00:01:05.063122528 UTC)
[   69.403609] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
[   71.742579] request_suspend_state: wakeup (0->0) at 71736874134 (2000-01-01 00:01:10.887532568 UTC)
后面这些会一直出

解决方案 »

  1.   

    请大家帮忙分析下是哪里的问题,是kernel还是文件系统,指导下应该改哪里啊,跪求
      

  2.   

    这是详细的输出信息,求助啊[    0.085352] Bluetooth: HCI device and connection manager initialized
    [    0.085376] Bluetooth: HCI socket layer initialized
    [    0.085393] Bluetooth: L2CAP socket layer initialized
    [    0.085432] Bluetooth: SCO socket layer initialized
    [    0.085648] Switching to clocksource gp timer
    [    0.088710] Switched to NOHz mode on CPU #0
    [    0.095020] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.095223] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.096002] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18
    [    0.096307] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.096959] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19
    [    0.097332] NET: Registered protocol family 2
    [    0.097589] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.098020] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.098247] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.098385] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.098404] TCP reno registered
    [    0.098424] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.098460] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.098747] NET: Registered protocol family 1
    [    0.099115] RPC: Registered named UNIX socket transport module.
    [    0.099136] RPC: Registered udp transport module.
    [    0.099151] RPC: Registered tcp transport module.
    [    0.099166] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.099461] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.099545] omap_init_opp_table: no hwmod or odev for iva, [8] cannot add OPPs.
    [    0.256042] Gpio value is :117
    [    0.256631] ashmem: initialized
    [    0.257700] msgmni has been set to 494
    [    0.258773] io scheduler noop registered
    [    0.258793] io scheduler deadline registered
    [    0.258883] io scheduler cfq registered (default)
    [    0.259412] Could not set LED4 to fully on
    [    0.260556] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.261787] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.772618] console [ttyO0] enabled
    [    0.776635] WL1271: BT Enable
    [    0.779964] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.787828] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.795506] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.803262] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.810982] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.825883] brd: module loaded
    [    0.833017] loop: module loaded
    [    0.836630] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.895700] No daughter card found
    [    0.899332] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.906677] AM335x:EVM Config Without Read E2PROM
    [    1.025701] Board name: A335ABCD
    [    1.029282] Board version: 00AA
    [    1.032585] SKU: SKU#01
    [    1.035320] The board is general purpose EVM in profile 0
    [    1.041017] Found invalid GP EVM revision, falling back to Rev1.1A
    [    1.047863]  omap_hsmmc.0: alias fck already exists
    [    1.053510]  omap_hsmmc.2: alias fck already exists
    [    1.058918] Configure Bluetooth Enable pin...
    [    1.064646] omap2-nand driver initializing
    [    1.069160] OneNAND driver initializing
    [    1.073707] Initializing USB Mass Storage driver...
    [    1.079008] usbcore: registered new interface driver usb-storage
    [    1.085327] USB Mass Storage support registered.
    [    1.092579]  gadget: Mass Storage Function, version: 2009/09/11
    [    1.098873]  gadget: Number of LUNs=1
    [    1.102729]  lun0: LUN: removable file: (no medium)
    [    1.108195]  gadget: android_usb ready
    [    1.112181] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    1.117810] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [    1.126359] hub 1-0:1.0: USB hub found
    [    1.130299] hub 1-0:1.0: 1 port detected
    [    1.134984] mousedev: PS/2 mouse device common for all mice
    [    1.142211] using rtc device, omap_rtc, for alarms
    [    1.147178] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    1.154150] i2c /dev entries driver
    [    1.158808] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.165406] device-mapper: uevent: version 1.0.3
    [    1.170539] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: [email protected]
    [    1.179451] Bluetooth: HCI UART driver ver 2.2
    [    1.184127] Bluetooth: HCI H4 protocol initialized
    [    1.189182] Bluetooth: HCILL protocol initialized
    [    1.195616] usbcore: registered new interface driver usbhid
    [    1.201531] usbhid: USB HID core driver
    [    1.206376] logger: created 256K log 'log_main'
    [    1.211283] logger: created 256K log 'log_events'
    [    1.216403] logger: created 256K log 'log_radio'
    [    1.221387] logger: created 256K log 'log_system'
    [    1.227704] ALSA device list:
    [    1.230830]   No soundcards found.
    [    1.234566] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)
    [    1.241470] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.247248] TCP cubic registered
    [    1.250649] NET: Registered protocol family 17
    [    1.255915] Bluetooth: RFCOMM TTY layer initialized
    [    1.261065] Bluetooth: RFCOMM socket layer initialized
    [    1.266501] Bluetooth: RFCOMM ver 1.11
    [    1.270448] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    1.276055] Bluetooth: BNEP filters: protocol multicast
    [    1.281553] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    1.287991] Registering the dns_resolver key type
    [    1.293025] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.301128] ThumbEE CPU extension supported.
    [    1.306641] omap2_set_init_voltage: unable to get clk dpll1_ck
    [    1.312782] omap2_set_init_voltage: unable to set vdd_mpu_iva
    [    1.318872] omap2_set_init_voltage: unable to get clk l3_ick
    [    1.324825] omap2_set_init_voltage: unable to set vdd_core
    [    1.335992] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    1.345192] Waiting 1sec before mounting root device...
    [    1.388966] mmc0: new high speed SD card at address 1234
    [    1.395193] mmcblk0: mmc0:1234 SA02G 1.85 GiB 
    [    1.402371]  mmcblk0: p1 p2 p3
    [    5.849550] kjournald starting.  Commit interval 5 seconds
    [    6.098443] EXT3-fs (mmcblk0p2): using internal journal
    [    6.103949] EXT3-fs (mmcblk0p2): recovery complete
    [    6.112826] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    [    6.120345] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    6.127118] Freeing init memory: 208K
    [    6.275318] WL1271: BT Disable
    [    6.398124] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    # [   10.689071] adb_open
    [   10.697969] warning: `dhcpcd' uses 32-bit capabilities (legacy support in use)
    [   12.577502]  gadget: Gadget Zero, version: Cinco de Mayo 2008
    [   12.583581]  gadget: zero ready
    [   12.586969] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   12.592569] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   12.601273] hub 2-0:1.0: USB hub found
    [   12.605215] hub 2-0:1.0: 1 port detected
    [   12.611683] android_usb: already disabled
    [   12.616818] adb_bind_config
    [   12.873918] Compat-wireless backport release: compat-wireless-2011-07-27
    [   12.881078] Backport based on wl12xx.git v2.6.39-1152-g0c08ddf
    [   14.435563] cfg80211: Calling CRDA to update world regulatory domain
    [   14.986609] cfg80211: World regulatory domain updated:
    [   14.992040] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   15.000889] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   15.009246] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   15.017592] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   15.025936] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   15.034268] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   15.543739] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
    [   27.266181] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
    [   35.315270] request_suspend_state: wakeup (3->0) at 35309564422 (2000-01-01 00:00:34.460223314 UTC)
    [   36.232291] request_suspend_state: wakeup (0->0) at 36226586089 (2000-01-01 00:00:35.377243523 UTC)
    [   36.257450] init: untracked pid 130 exited
    [   37.577927] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
    [   41.526016] request_suspend_state: wakeup (0->0) at 41520311299 (2000-01-01 00:00:40.670970399 UTC)希望大神指明一个方向,我好去修改
      

  3.   

    http://e2e.ti.com/support/embedded/android/f/509/t/128103.aspx
    这里有篇文章,也出现了OMAPLFBInit failed
    和你相同的问题,他是刚开机的时候,就会出现你这个错误,然后按复位键(热启动),就可以正常
    解决办法是在复位电路上进行优化
      

  4.   

    你的第一个开机画面显示了吗?
    UBOOT启动没
      

  5.   


    U-Boot SPL 2011.09-00001-g95a7849 (Feb 14 2012 - 10:53:14)
    Texas Instruments Revision detection unimplemented
    Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
    read_eeprom() failure
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img
    U-Boot 2011.09-00001-g95a7849 (Feb 14 2012 - 10:53:14)I2C:   ready
    DRAM:  256 MiB
    WARNING: Caches not enabled
    Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
    NAND:  HW ECC Hamming Code selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
    Net:   cpsw
    Hit any key to stop autoboot:  0 
    SD/MMC found on device 0
    reading uEnv.txt226 bytes read
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading uImage2631064 bytes read
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-3.1.0-g62911f8-dirty
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2631000 Bytes = 2.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OKStarting kernel ...Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.1.0-g62911f8-dirty (root@ll-virtual-machine) (gcc version 4.4.3 (GCC) ) #1 Sun Sep 23 19:29:08 CST 2012
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait rootdelay=1 init=/init ip=off
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253292k/253292k available, 8852k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04b5000   (4788 kB)
    [    0.000000]       .init : 0xc04b5000 - 0xc04e9000   ( 208 kB)
    [    0.000000]       .data : 0xc04ea000 - 0xc0532fa0   ( 292 kB)
    [    0.000000]        .bss : 0xc0532fdc - 0xc0669f48   (1244 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000263] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
    [    0.058632] pid_max: default: 32768 minimum: 301
    [    0.058802] Security Framework initialized
    [    0.058889] Mount-cache hash table entries: 512
    [    0.059376] CPU: Testing write buffer coherency: ok
    [    0.064479] print_constraints: dummy: 
    [    0.064735] NET: Registered protocol family 16
    [    0.064970] GPMC revision 6.0
    [    0.066047] OMAP GPIO hardware version 0.1
    [    0.066888] omap_l3_smx omap_l3_smx.0: couldn't find resource
    [    0.067009] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.069765]  omap_i2c.1: alias fck already exists
    [    0.070658]  omap2_mcspi.1: alias fck already exists
    [    0.070796]  omap2_mcspi.2: alias fck already exists
    [    0.080390] bio: create slab <bio-0> at 0
    [    0.081472] SCSI subsystem initialized
    [    0.082454] usbcore: registered new interface driver usbfs
    [    0.082582] usbcore: registered new interface driver hub
    [    0.082751] usbcore: registered new device driver usb
    [    0.083668] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    [    0.084572] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.085236] Bluetooth: Core ver 2.16
    这是前面的启动信息,uboot启动了,内核也没问题,看着fs也挂载上了,就是不知道哪里的问题
      

  6.   

    这个板是你自己修改的吧,那正常启动的LOG有吗?可以对比下不同点在哪里
      

  7.   

    每个LOG的细节都要跟清楚,你把你的LOG发给我[email protected],我来看看