|
|
之前发了个贴,LCD裸跑无反应,现在内核驱动也不行!!
如题,由于一开始我就是在内核驱动LCD的,弄了好几天还是没出现logo图片,所以才裸跑13章LCD程序的,但还是没成功,都不知道怎么弄了。我把我的启动信息贴在下面,帮忙看一下LCD驱动是否加载了。
板子是友善2410的,linux-2.6.22.6的内核,arm-linux-gcc版本是3.4.5,8寸TFT夏普(LQ080V3DG01)屏,关于那些lcdcon*寄存器值的设定我是从同目录(arch/arm/mach-s3c2410)下mach-qt2410.c中照搬过来的,这个文件里面有对夏普LQ080V3DG01 lcdcon*值的设定,所以那些值是不会有错的。 Starting kernel ... Uncompressing Linux............................................................................................................................... done, booting the kernel. Linux version 2.6.22.6 (root@209.74.193.202.in-addr.arpa) (gcc version 3.4.5) #34 Thu Feb 12 12:27:34 CST 2009 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177 Machine: SMDK2410 Memory policy: ECC disabled, Data cache writeback CPU S3C2410A (id 0x32410002) MM: CPU does not support supersection mapping for 0x19000000000 at 0xe0000000 MM: CPU does not support supersection mapping for 0x55000000000 at 0xf0d00000 S3C2410: core 200.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. Total pages: 16256 Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc devfs=mount console=ttySAC0,115200 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 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: 60416KB available (3468K code, 896K data, 140K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 S3C2410 Power Management, (c) 2004 Simtec Electronics S3C2410: Initialising architecture 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 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) Registering GDB sysrq handler JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. yaffs Feb 12 2009 12:08:35 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 80x30 fb0: s3c2410fb frame buffer device lp: driver loaded but no devices found ppdev: user-space parallel port driver S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled s3c2410-uart.0: s3c2410_serial0 at MMIO map 0x50000000 mem 0xf0400000 (irq = 70) is a S3C2410 s3c2410-uart.1: s3c2410_serial1 at MMIO map 0x50004000 mem 0xf0404000 (irq = 73) is a S3C2410 s3c2410-uart.2: s3c2410_serial2 at MMIO map 0x50008000 mem 0xf0408000 (irq = 76) is a S3C2410 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: module loaded cs89x0:cs89x0_probe(0x0) cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton <andrewm@uow.edu.au> eth0: cs8900 rev J found at 0xc4c00300 cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line cs89x0 media IRQ 53, programmed I/O, MAC 08 9 9 9 9 9cs89x0_probe1() successful dm9000 Ethernet Driver dm9000: read wrong id 0x2b000000 dm9000: read wrong id 0x2b2a2928 dm9000: wrong id: 0x2b2a2928 dm9000: not found (0). Linux video capture interface: v2.00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c2410-nand s3c2410-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 682 at 0x00aa8000 Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit": 0x00000000-0x00100000 : "u-boot" 0x00100000-0x00300000 : "kernel" 0x00300000-0x02b00000 : "yaffs" 0x02b00000-0x04000000 : "user space" 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. usbcore: registered new interface driver gspca drivers/usb/media/gspcav1-20071224/gspca_core.c: gspca driver 00.60.00 registered mice: PS/2 mouse device common for all mice S3C24XX RTC, (c) 2004,2006 Simtec Electronics s3c2410-i2c s3c2410-i2c: slave address 0x10 s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter mapped channel 0 to 0 s3c2410-sdi s3c2410-sdi: powered down. s3c2410-sdi s3c2410-sdi: initialisation done. usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver mapped channel 10 to 2 UDA1341 audio driver initialized TCP cubic registered NET: Registered protocol family 1 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) UDF-fs: No partition found (1) yaffs: dev is 32505858 name is "mtdblock2" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.2, "mtdblock2" yaffs: block 490 is marked bad block 491 is bad VFS: Mounted root (yaffs filesystem). Freeing init memory: 140K s3c2410-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz). s3c2410-sdi s3c2410-sdi: running at 98kHz (requested: 97kHz). s3c2410-sdi s3c2410-sdi: running at 98kHz (requested: 97kHz). s3c2410-sdi s3c2410-sdi: running at 98kHz (requested: 97kHz). s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #2 op:UNKNOWN(8) arg:0x000001aa flags:0x0875 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #3 op:APP_CMD(55) arg:0x00000000 flags:0x0875 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #4 op:APP_CMD(55) arg:0x00000000 flags:0x0875 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #5 op:APP_CMD(55) arg:0x00000000 flags:0x0875 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #6 op:APP_CMD(55) arg:0x00000000 flags:0x0875 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: CMD[TIMEOUT] #7 op:ALL_SEND_OCR(1) arg:0x00000000 flags:0x0861 retries:0 Status:nothing to complete s3c2410-sdi s3c2410-sdi: powered down. init started: BusyBox v1.7.0 (2008-11-19 15:05:18 CST) starting pid 759, tty '': '/etc/init.d/rcS' eth0: using half-duplex 10Base-T (RJ-45) # mount all........... 从启动信息可以看到: Console: switching to colour frame buffer device 80x30 fb0: s3c2410fb frame buffer device lp: driver loaded but no devices found LCD驱动是否加载了啊?这个lp: driver loaded but no devices found是不是指没找到屏这个设备? |
|
|