硬件:AM3715
软件: ti-Android-ICS-4.0.3-DevKit-3.0.0
问题:按照 TI-Android-ICS-4.0.3-DevKit-3.0.0 DevelopersGuide 进行移植Android4.0.3
1. 显卡加速有问题,不能进入android界面,暂时不知何原因?
2. 按照E2E给提示去掉显卡加速,能进入锁屏了,但触摸屏不能用?(触摸屏在纯linux或者QT里面是可以用的)
编译android使用以下命令:
# make TARGET_PRODUCT= beagleboard OMAPES=5.x -j4
系统启动信息如下:
U-Boot 2010.06-rc1 (10/29/2012 - 15:20:35)
OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 Devkit8500 board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 512 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Devkit8500 xM Rev A
Die ID #3df000029e3800000168263d05013025
Net: dm9000
Hit any key to stop autoboot: 0
No MMC card found
Booting from nand ...
NAND read: device 0 offset 0x280000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.37-g5c414d7-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3339172 Bytes = 3.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37-g5c414d7-dirty (root@lu-pc) (gcc version 4.4.3 (GCC) ) #20Fri Mar 22 00:31:24 HKT 2013
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: OMAP3 Beagle Board
Reserving 12582912 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP3630 ES1.2 (l2cache sgx neon isp 192mhz_clk )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126976
Kernel command line: console=ttyO2,115200n8 mpurate=1000 vram=12M omapdss.def_di
sp=lcd ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs init=/init androidboot.consol
e=ttyO2
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: 500MB = 500MB total
Memory: 499876k/499876k available, 24412k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc003c000 ( 208 kB)
.text : 0xc003c000 - 0xc064f000 (6220 kB)
.data : 0xc0650000 - 0xc0697200 ( 285 kB)
NR_IRQS:409
Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
Reprogramming SDRC clock to 332000000 Hz
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
GPMC revision 5.0
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install interrupt handler for IRQ407
Trying to install interrupt handler for IRQ408
Trying to install type control for IRQ409
Trying to set irq flags for IRQ409
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 505.22 BogoMIPS (lpj=1974272)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
omap_mux_init: Add partition: #1: core, flags: 0
Found NAND on CS0
Registering NAND on CS0
going to omap3devkit8500_display_init
hw-breakpoint: debug architecture 0x4 unsupported.
Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
OMAP DMA hardware revision 5.0
bio: create slab at 0
SCSI subsystem initialized
u***core: registered new interface driver u***fs
u***core: registered new interface driver hub
u***core: registered new device driver u***
omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_u*** twl4030_u***: Initialized TWL4030 USB module
regulator: VIO: 1800 mV normal standby
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource 32k_counter
mu***-hdrc: version 6.0, otg (peripheral+host), debug=0
mu***-hdrc mu***-hdrc.0: dma type: dma-inventra
mu***-hdrc mu***-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
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 udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
omap_init_opp_table: no hwmod or odev for iva, [6] cannot add OPPs.
omap-iommu omap-iommu.0: isp registered
AM37x/DM37x Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
msgmni has been set to 976
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
going to devkit8500_panel_probe
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
brd: module loaded
loop: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "X-Loader"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000680000 : "Kernel"
0x000000680000-0x000020000000 : "File System"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 0
UBI: volume 0 ("rootfs") re-sized from 1220 to 4000 LEBs
UBI: attached mtd4 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 505 MiB
UBI: number of good PEBs: 4044
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4044
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 1/0
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 533
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at e086c000,e0870400 IRQ 185 MAC: 00:11:22:33:44:55 (chip)
u***core: registered new interface driver asix
u***core: registered new interface driver cdc_ether
u***core: registered new interface driver smsc95xx
u***core: registered new interface driver net1080
u***core: registered new interface driver cdc_subset
u***core: registered new interface driver zaurus
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap.0 supply hsu***0 not found, using dummy regulator
ehci-omap.0 supply hsu***1 not found, using dummy regulator
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
u*** u***1: New USB device found, idVendor=1d6b, idProduct=0002
u*** u***1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
u*** u***1: Product: OMAP-EHCI Host Controller
u*** u***1: Manufacturer: Linux 2.6.37-g5c414d7-dirty ehci_hcd
u*** u***1: SerialNumber: ehci-omap.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
u***core: registered new interface driver u***-storage
USB Mass Storage support registered.
android init
android_probe pdata: c06600e4
android_bind
android_u*** gadget: android_u*** ready
mu***-hdrc mu***-hdrc.0: MUSB HDRC host driver
mu***-hdrc mu***-hdrc.0: new USB bus registered, assigned bus number 2
u*** u***2: New USB device found, idVendor=1d6b, idProduct=0002
u*** u***2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
u*** u***2: Product: MUSB HDRC host driver
u*** u***2: Manufacturer: Linux 2.6.37-g5c414d7-dirty mu***-hcd
u*** u***2: SerialNumber: mu***-hdrc.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
f_adb init
android_register_function adb
f_mass_storage init
fsg_probe pdev: c065fc68, pdata: c066012c
android_register_function u***_mass_storage
adb_bind_config
android_u*** gadget: Mass Storage Function, version: 2009/09/11
android_u*** gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input1
ads7846 spi2.0: touchscreen, irq 187
input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.2/spi2.0/input/input2
input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input3
using rtc device, twl_rtc, for alarms
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
u*** 1-1: new high speed USB device using ehci-omap and address 2
i2c /dev entries driver
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
twl4030_wdt twl4030_wdt: Failed to register misc device
twl4030_wdt: probe of twl4030_wdt failed with error -16
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: HCIATH3K protocol initialized
u***core: registered new interface driver u***hid
u***hid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
u***core: registered new interface driver snd-u***-audio
u*** 1-1: New USB device found, idVendor=1a40, idProduct=0101
u*** 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
u*** 1-1: Product: USB 2.0 Hub [MTT]
OMAP3 Beagle/Devkit8000 SoC init
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
ALSA device list:
#0: omap3beagle
oprofile: hardware counters not available
oprofile: using timer interrupt.
nf_conntrack version 0.5.0 (7810 buckets, 31240 max)
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
ThumbEE CPU extension supported.
Power Management for TI OMAP3.
smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
SmartReflex Class3 initialized
clock: disabling unused clocks to save power
platform mpu.0: omap_voltage_scale: Already at the requestedrate 1000000000
platform mpu.0: omap_voltage_scale: Already at the requestedrate 1000000000
going to omapfb_probe.....
probe end...
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 256112640 bytes (250110 KiB, 244 MiB, 1985 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 208K
init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/sgx/rc.pvr', disabling 'pvr'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
enabling adb
adb_open
root@android:/ # UBI: scrubbed PEB 578 (LEB 0:576), data moved to PEB 944
UBI: scrubbed PEB 850 (LEB 0:848), data moved to PEB 902
warning: `zygote' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 47398864749 (2000-01-01 00:00:40.8117980
96 UTC)
init: no such service 'dhcpcd_eth0'
init: no such service 'dhcpcd_eth0'
init: no such service 'dhcpcd_eth0:-h android-6c1e3267763c3be3 eth0'
UBI: scrubbed PEB 161 (LEB 0:159), data moved to PEB 982
binder: 1550:1559 refcount change on invalid ref 9
root@android:/ #
root@android:/ #
|
# getevent -p //可以得到以下设备
root@android:/ # getevent -p
could not get driver version for /dev/input/mice, Not a typewriter
add device 1: /dev/input/event2
name: "ADS7846 Touchscreen"
events:
KEY (0001): 014a
ABS (0003): 0000 : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
0001 : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
0018 : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
input props:
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 2: /dev/input/event0
name: "gpio-keys"
events:
KEY (0001): 0001* 003b*
input props:
add device 3: /dev/input/event1
name: "TWL4030 Keypad"
events:
KEY (0001): 0002 0003 0004 0005 0006 0007 0008 0009
000a 000b 000c 0010 0011 0012 0013 0015
0016 0017 0018 0019 001e 001f 0020 0021
0022 0023 0024 0025 0026 002c 002d 002e
002f 0030 0031 0032
MSC (0004): 0004
input props:
add device 4: /dev/input/event3
name: "twl4030_pwrbutton"
events:
KEY (0001): 0074
input props:
root@android:/ #
|
# getevent //此命令下,点击触摸屏,串口没有任何数值输出
# cat /proc/interrupts //这里显示触摸屏没有任何中断发生
CPU0
83: 13 INTC mmc0
92: 0 INTC mu***-hdrc.0
93: 0 INTC mu***-hdrc.0
95: 126131 INTC gp timer
186: 0 GPIO menu
187: 0 GPIO ads7846
189: 0 GPIO back
369: 0 twl4030 twl4030_keypad
376: 0 twl4030 twl4030_pwrbutton
|
0
|
3个回答
|
|
|