天嵌 ARM开发社区

 找回密码
 注册
查看: 2554|回复: 6

lcd驱动移植

[复制链接]
jqx_ah 发表于 2010-9-18 18:00:27 | 显示全部楼层 |阅读模式
按照移植手册上做了LCD移植操作, 选择的是2.6.25.8的内核!
可是开发板只能显示到我添加的LOGO界面, 下不去啦!
什么原因? 谢谢
 楼主| jqx_ah 发表于 2010-9-18 18:05:54 | 显示全部楼层
1# jqx_ah
下面是我的板子的启动过程
Enter your selection: 8
Start 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.25.8-EmbedSky (root@china) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #14 Sat Sep 18 17:49:54 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
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: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing subpending status 00000003
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: 61244KB available (3072K code, 310K data, 212K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
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
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
yaffs Sep 18 2010 13:41:54 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 40x30
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
dm9000 Ethernet Driver
eth%d: Invalid ethernet MAC address.  Please set using ifconfig
Now use the default MAC address: 10:32:54:76:98:ba
eth0: dm9000 at c485e000,c4860004 IRQ 51 MAC: 10:32:54:76:98:ba
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
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 74 at 0x00940000
Bad eraseblock 300 at 0x02580000
Bad eraseblock 316 at 0x02780000
Bad eraseblock 730 at 0x05b40000
Bad eraseblock 1280 at 0x0a000000
Bad eraseblock 1475 at 0x0b860000
Bad eraseblock 1505 at 0x0bc20000
Bad eraseblock 1610 at 0x0c940000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00040000 : "EmbedSky_Board_uBoot"
0x00200000-0x00500000 : "EmbedSky_Board_kernel"
0x00500000-0x10000000 : "EmbedSky_Board_yaffs2"
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.
mice: PS/2 mouse device common for all mice
EmbedSky TouchScreen successfully loaded
input: EmbedSky TouchScreen as /class/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
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
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 35 is bad
block 261 is bad
block 277 is bad
block 691 is bad
block 1241 is bad
block 1436 is bad
block 1466 is bad
block 1571 is bad
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
Partially written block 119 detected
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 212K
mount: mounting tmpfs on /tmp failed: Invalid argument
mount: mounting tmpfs on /dev failed: Invalid argument
mount: mounting var on /dev failed: Invalid argument
hwclock: can't open '/dev/misc/rtc': No such file or directory
/etc/init.d/rcS: line 28: EmbedSky_wdg: not found
/etc/init.d/rcS: line 30: qtopia: not found
insmod: can't insert '/lib/input-polldev.ko': No such file or directory
insmod: can't insert '/lib/mac80211.ko': No such file or directory
insmod: can't insert '/lib/rt2x00lib.ko': No such file or directory
insmod: can't insert '/lib/rt2x00usb.ko': No such file or directory
insmod: can't insert '/lib/rt73usb.ko': No such file or directory
insmod: can't insert '/lib/zd1211rw.ko': No such file or directory
insmod: can't insert '/lib/ov9650.ko': No such file or directory
Try to bring eth0 interface up ...
/etc/rc.d/init.d/leds: line 16: led-player: not found
ifconfig eth0 hw ether 10:23:45:67:89:ab
eth0: link down
ifconfig eth0 10.2.231.100 netmask 255.255.255.0 up
add default gw 10.2.231.254
Done
[01/Jan/1970:00:00:09 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:09 +0000] boa: server built Sep 14 2010 at 23:55:06.
[01/Jan/1970:00:00:09 +0000] boa: starting server pid=831, port 80

Please press Enter to activate this console.
[root@EmbedSky /]#
 楼主| jqx_ah 发表于 2010-9-19 20:56:37 | 显示全部楼层
UPUPUPUPUP!
论坛里我也搜了下, 今天又重新检查了, 还没有解决此问题!
麻烦帮忙分析下
天嵌_support1 发表于 2010-9-20 10:43:30 | 显示全部楼层
2# jqx_ah

你的文件系统怎么那么多错误,你的内核已经加载了文件系统,系统了啊。
而你的文件系统里边很多模块驱动都没有。看门狗程序更没有。
cumtwys 发表于 2010-9-28 13:48:47 | 显示全部楼层
对照配置单好好配置下!
yujinelei 发表于 2011-4-14 10:22:46 | 显示全部楼层
5# cumtwys

我也出现类似的问题:
/etc/init.d/rcs: line 19: insmod/lib/input-polldev.ko: not found
/etc/init.d/rcs: line 20: insmod/lib/mac80211.ko: not found
/etc/init.d/rcs: line 21: insmod/lib/rt2x00lib.ko: not found
/etc/init.d/rcs: line 22: insmod/lib/rt2x00usb.ko: not found
/etc/init.d/rcs: line 23: insmod/lib/rt73usb.ko: not found
/etc/init.d/rcs: line 24: insmod/lib/zd1211rw.ko: not found

不知怎样解决?
天嵌_support1 发表于 2011-4-14 11:03:06 | 显示全部楼层
文件系统中没有相应的网络模块了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-3 00:25 , Processed in 1.038996 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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