天嵌 ARM开发社区

 找回密码
 注册
查看: 5381|回复: 12

Android移植出错,帮忙看看啊

[复制链接]
zhangxiyu 发表于 2011-4-16 08:33:05 | 显示全部楼层 |阅读模式

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| zhangxiyu 发表于 2011-4-16 09:52:57 | 显示全部楼层
现在正常了,但屏幕上显示不出Android的启动界面啊???[img][/img]
天嵌_support1 发表于 2011-4-16 09:56:09 | 显示全部楼层
我怎么感觉你用错了文件系统呢
 楼主| zhangxiyu 发表于 2011-4-16 10:28:41 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| zhangxiyu 发表于 2011-4-16 10:31:07 | 显示全部楼层
文件系统起来了,但是屏幕上什么都没显示
 楼主| zhangxiyu 发表于 2011-4-16 10:40:08 | 显示全部楼层
查了一下uboot的init没修改成功把init=/init 改了之后

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| zhangxiyu 发表于 2011-4-16 10:42:51 | 显示全部楼层
但是还是显示不出界面啊!!!版主帮帮忙啊!!!
 楼主| zhangxiyu 发表于 2011-4-16 10:50:13 | 显示全部楼层
屏幕黑屏什么都没有啊!!!!
 楼主| zhangxiyu 发表于 2011-4-16 10:52:07 | 显示全部楼层
这是整个的启动过程:


##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
Booting Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux......................................................................................................................................... done, booting the kernel.
Linux version 2.6.27 (root@localhost.localdomain) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #20 PREEMPT Sat Nov 20 17:24:19 HKT 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine:  TQ2440 development board
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=/dev/nfs init=/init nfsroot=192.168.1.58:/opt/EmbedSky/root_nfs ip=192.168.1.6:192.168.1.58:192.168.1.6:255.255.255.0:SKY2440.embedsky.net:eth0:off
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60108KB available (3900K code, 636K data, 224K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
NTFS driver 2.1.29 [Flags: R/W DEBUG].
yaffs Oct 21 2010 18:02:35 Installing.
msgmni has been set to 117
io scheduler noop registered (default)
Console: switching to colour frame buffer device 40x15
fb0: s3c2410fb frame buffer device
adc     initialized
input: buttons as /class/input/input0
buttons initialized
leds    initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 08:90:90:90:90:90
eth0: dm9000e at c4804000,c4806004 IRQ 51 MAC: c3904934 (friendly-arm)
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver zd1201
Linux video capture interface: v2.00
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
usbcore: registered new interface driver ov511
ov511: v1.64 for Linux 2.5 : ov511 USB Camera Driver
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 91 at 0x00b60000
Bad eraseblock 179 at 0x01660000
Bad eraseblock 265 at 0x02120000
Bad eraseblock 445 at 0x037a0000
Bad eraseblock 773 at 0x060a0000
Bad eraseblock 1073 at 0x08620000
Bad eraseblock 1279 at 0x09fe0000
Bad eraseblock 1664 at 0x0d000000
Bad eraseblock 1665 at 0x0d020000
Bad eraseblock 1725 at 0x0d7a0000
Bad eraseblock 2002 at 0x0fa40000
Creating 4 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00060000 : "supervivi"
0x00060000-0x00260000 : "Kernel"
0x00260000-0x40260000 : "root"
mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0xfda0000
0x00000000-0x40000000 : "nand"
mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0x10000000
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver appletouch
input: s3c2410 TouchScreen as /class/input/input1
s3c2410 TouchScreen successfully loaded
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
s3c2440-sdi s3c2440-sdi: powered down.
UDA1341 audio driver initialized
failed to get memory region resouce
s3c2410-iis: probe of s3c2410-iis.0 failed with error -2
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-05-04 05:41:08 UTC (1241415668)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.1.6, mask=255.255.255.0, gw=192.168.1.6,
     host=SKY2440, domain=, nis-domain=embedsky.net,
     bootserver=192.168.1.58, rootserver=192.168.1.58, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.58
eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
Looking up port of RPC 100005/1 on 192.168.1.58
VFS: Mounted root (nfs filesystem).
Freeing init memory: 224K
Failed to execute /init.  Attempting defaults...
cannot run '/etc/init.d/rcS': No such file or director

Please press Enter to activate this console. / #
/ # ls
bin                   init.rc               sdcard
cache                 lib                   sqlite_stmt_journals
data                  linuxrc               sys
default.prop          lost+found            system
dev                   myDev                 var
etc                   proc
init.goldfish.rc      sbin
 楼主| zhangxiyu 发表于 2011-4-16 12:16:02 | 显示全部楼层
好了好了,可以看见了
zr_714 发表于 2011-5-1 21:53:24 | 显示全部楼层
lz有没有移植文档啊?
我是演员 发表于 2011-12-26 19:34:36 | 显示全部楼层
zhangxiyu 发表于 2011-4-16 12:16
好了好了,可以看见了

楼主有移植文档及教程么
kevinwei 发表于 2012-4-22 12:28:20 | 显示全部楼层
你这移植的是Android系统吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-7 11:17 , Processed in 1.046868 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表