This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

移植android系统



最近在往AM335x evm上移植android,过程都是按着processors.wiki.ti.com/.../TI-Android-GingerBread-2.3.4-DevKit-2.1.1_DeveloperGuide,自己编译的uImage,文件系统是下载官网上的,但是移植时遇到了麻烦。。。

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.txt

214 bytes read

Loaded environment from uEnv.txt

Importing environment from mmc ...

Running uenvcmd ...

reading uImage

2631064 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

OK

Starting 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 Wed Sep 19 20:39:01 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 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.000267] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)

[    0.058630] pid_max: default: 32768 minimum: 301

[    0.058805] Security Framework initialized

[    0.058892] Mount-cache hash table entries: 512

[    0.059371] CPU: Testing write buffer coherency: ok

[    0.064464] print_constraints: dummy:

[    0.064716] NET: Registered protocol family 16

[    0.064949] GPMC revision 6.0

[    0.066034] OMAP GPIO hardware version 0.1

[    0.066884] omap_l3_smx omap_l3_smx.0: couldn't find resource

[    0.067003] omap_mux_init: Add partition: #1: core, flags: 0

[    0.069742]  omap_i2c.1: alias fck already exists

[    0.070646]  omap2_mcspi.1: alias fck already exists

[    0.070778]  omap2_mcspi.2: alias fck already exists

[    0.080351] bio: create slab <bio-0> at 0

[    0.081433] SCSI subsystem initialized

[    0.082421] usbcore: registered new interface driver usbfs

[    0.082550] usbcore: registered new interface driver hub

[    0.082719] usbcore: registered new device driver usb

[    0.083638] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz

[    0.084543] Advanced Linux Sound Architecture Driver Version 1.0.24.

[    0.085207] Bluetooth: Core ver 2.16

[    0.085313] NET: Registered protocol family 31

[    0.085331] Bluetooth: HCI device and connection manager initialized

[    0.085355] Bluetooth: HCI socket layer initialized

[    0.085372] Bluetooth: L2CAP socket layer initialized

[    0.085411] Bluetooth: SCO socket layer initialized

[    0.085623] Switching to clocksource gp timer

[    0.088709] Switched to NOHz mode on CPU #0

[    0.094990] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

[    0.095188] musb-hdrc musb-hdrc.0: dma type: pio

[    0.095978] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18

[    0.096276] musb-hdrc musb-hdrc.1: dma type: pio

[    0.096942] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19

[    0.097317] NET: Registered protocol family 2

[    0.097569] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.098004] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

[    0.098233] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

[    0.098371] TCP: Hash tables configured (established 8192 bind 8192)

[    0.098391] TCP reno registered

[    0.098411] UDP hash table entries: 256 (order: 0, 4096 bytes)

[    0.098447] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[    0.098736] NET: Registered protocol family 1

[    0.099118] RPC: Registered named UNIX socket transport module.

[    0.099139] RPC: Registered udp transport module.

[    0.099154] RPC: Registered tcp transport module.

[    0.099169] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.099460] NetWinder Floating Point Emulator V0.97 (double precision)

[    0.099543] omap_init_opp_table: no hwmod or odev for iva, [8] cannot add OPPs.

[    0.256045] Gpio value is :117

[    0.256631] ashmem: initialized

[    0.257684] msgmni has been set to 494

[    0.258756] io scheduler noop registered

[    0.258776] io scheduler deadline registered

[    0.258867] io scheduler cfq registered (default)

[    0.259403] Could not set LED4 to fully on

[    0.260536] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.261778] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

[    0.771537] console [ttyO0] enabled

[    0.775527] WL1271: BT Enable

[    0.778915] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1

[    0.786752] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

[    0.794426] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3

[    0.802173] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4

[    0.809874] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5

[    0.824711] brd: module loaded

[    0.831910] loop: module loaded

[    0.835438] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

[    0.895673] No daughter card found

[    0.899310] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

[    0.906653] AM335x:EVM Config Without Read E2PROM

[    1.025674] Board name: A335ABCD

[    1.029255] Board version: 00AA

[    1.032558] SKU: SKU#01

[    1.035292] The board is general purpose EVM in profile 0

[    1.040989] Found invalid GP EVM revision, falling back to Rev1.1A

[    1.047834]  omap_hsmmc.0: alias fck already exists

[    1.053478]  omap_hsmmc.2: alias fck already exists

[    1.058883] Configure Bluetooth Enable pin...

[    1.064605] omap2-nand driver initializing

[    1.069110] OneNAND driver initializing

[    1.073667] Initializing USB Mass Storage driver...

[    1.078969] usbcore: registered new interface driver usb-storage

[    1.085286] USB Mass Storage support registered.

[    1.092550]  gadget: Mass Storage Function, version: 2009/09/11

[    1.098841]  gadget: Number of LUNs=1

[    1.102696]  lun0: LUN: removable file: (no medium)

[    1.108158]  gadget: android_usb ready

[    1.112150] musb-hdrc musb-hdrc.0: MUSB HDRC host driver

[    1.117781] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1

[    1.126326] hub 1-0:1.0: USB hub found

[    1.130266] hub 1-0:1.0: 1 port detected

[    1.134955] mousedev: PS/2 mouse device common for all mice

[    1.142191] using rtc device, omap_rtc, for alarms

[    1.147155] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0

[    1.154128] i2c /dev entries driver

[    1.158762] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[    1.165360] device-mapper: uevent: version 1.0.3

[    1.170495] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: dm-devel@redhat.com

[    1.179408] Bluetooth: HCI UART driver ver 2.2

[    1.184084] Bluetooth: HCI H4 protocol initialized

[    1.189142] Bluetooth: HCILL protocol initialized

[    1.195585] usbcore: registered new interface driver usbhid

[    1.201504] usbhid: USB HID core driver

[    1.206332] logger: created 256K log 'log_main'

[    1.211238] logger: created 256K log 'log_events'

[    1.216363] logger: created 256K log 'log_radio'

[    1.221344] logger: created 256K log 'log_system'

[    1.227663] ALSA device list:

[    1.230790]   No soundcards found.

[    1.234522] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)

[    1.241423] ip_tables: (C) 2000-2006 Netfilter Core Team

[    1.247202] TCP cubic registered

[    1.250606] NET: Registered protocol family 17

[    1.255870] Bluetooth: RFCOMM TTY layer initialized

[    1.261019] Bluetooth: RFCOMM socket layer initialized

[    1.266458] Bluetooth: RFCOMM ver 1.11

[    1.270405] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[    1.276009] Bluetooth: BNEP filters: protocol multicast

[    1.281508] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[    1.287948] Registering the dns_resolver key type

[    1.292998] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

[    1.301101] ThumbEE CPU extension supported.

[    1.306611] omap2_set_init_voltage: unable to get clk dpll1_ck

[    1.312750] omap2_set_init_voltage: unable to set vdd_mpu_iva

[    1.318838] omap2_set_init_voltage: unable to get clk l3_ick

[    1.324790] omap2_set_init_voltage: unable to set vdd_core

[    1.335973] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

[    1.345419] Waiting for root device /dev/mmcblk0p2...

[    1.388941] mmc0: new high speed SD card at address 1234

[    1.395181] mmcblk0: mmc0:1234 SA02G 1.85 GiB

[    1.402344]  mmcblk0: p1 p2 p3

[    3.591119] kjournald starting.  Commit interval 5 seconds

[    3.801011] EXT3-fs (mmcblk0p2): using internal journal

[    3.824970] EXT3-fs (mmcblk0p2): 1 truncate cleaned up

[    3.830413] EXT3-fs (mmcblk0p2): recovery complete

[    4.100170] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode

[    4.107697] VFS: Mounted root (ext3 filesystem) on device 179:2.

[    4.114444] Freeing init memory: 208K

[    4.256710] WL1271: BT Disable

[    4.641525] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'

# [    8.293808] adb_open

[    8.850115] warning: `dhcpcd' uses 32-bit capabilities (legacy support in use)

[    9.762024]  gadget: Gadget Zero, version: Cinco de Mayo 2008

[    9.768186]  gadget: zero ready

[    9.771526] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

[    9.777150] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2

[    9.785869] hub 2-0:1.0: USB hub found

[    9.789842] hub 2-0:1.0: 1 port detected

[    9.806718] android_usb: already disabled

[    9.811373] adb_bind_config

[   10.271628] Compat-wireless backport release: compat-wireless-2011-07-27

[   10.278802] Backport based on wl12xx.git v2.6.39-1152-g0c08ddf

[   11.392223] cfg80211: Calling CRDA to update world regulatory domain

[   12.277805] cfg80211: World regulatory domain updated:

[   12.283290] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[   12.292138] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[   12.300490] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[   12.308838] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[   12.317184] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[   12.325516] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[   15.377801] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   20.920532] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   26.566005] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   29.883521] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   34.920659] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   37.971716] request_suspend_state: wakeup (3->0) at 37966035577 (2000-01-01 00:00:37.125526275 UTC)

[   40.370108] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   45.209325] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   47.529243] request_suspend_state: wakeup (0->0) at 47523563119 (2000-01-01 00:00:46.683053400 UTC)

[   47.547628] init: untracked pid 207 exited

[   50.298461] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   55.911521] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   57.939165] request_suspend_state: wakeup (0->0) at 57933486329 (2000-01-01 00:00:57.092977360 UTC)

[   57.958808] init: untracked pid 246 exited

[   60.755899] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   65.905166] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   66.116944] request_suspend_state: wakeup (0->0) at 66111266414 (2000-01-01 00:01:05.270758445 UTC)

[   71.044840] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   76.071047] request_suspend_state: wakeup (0->0) at 76065370081 (2000-01-01 00:01:15.224861238 UTC)

[   76.141732] omaplfb: OMAPLFB_Init: OMAPLFBInit failed

[   78.248376] init: untracked pid 325 exited

不知道是哪里的问题,等待回答啊