The LCD i use is 680*480.I modify linux-2.6.18_pro500/drivers/video/da8xx/da8xx_fb.h as follow.
*********************************************************************************************************
#define QVGA_HEIGHT 480
#define QVGA_WIDTH 680
*********************************************************************************************************
When i run startx command in linux,there are some yellow lines on the lcd screen and the screen is disordered.When i run qt-embedded-linux-opensource-4.4.3/examples/tools/plugandpaint,I cannot see anything on the screen(it is black) and the information on konsole as follow.
**********************************************************************************************************
root@192.168.0.10:/opt/qt# sh plugandpaint.sh
oom-killer: gfp_mask=0x201d2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: high 6, batch 1 used:0
cpu 0 cold: high 2, batch 1 used:1
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 824kB (0kB HighMem)
Active:4528 inactive:50 dirty:0 writeback:0 unstable:0 free:206 slab:795 mapped:37 pagetables:345
DMA free:824kB min:724kB low:904kB high:1084kB active:18112kB inactive:200kB present:32768kB pages_scanned:497 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 26*4kB 0*8kB 3*16kB 1*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 824kB
DMA32: empty
Normal: empty
HighMem: empty
Free swap: 0kB
8192 pages of RAM
694 free pages
1382 reserved pages
795 slab pages
70 pages shared
0 pages swap cached
Out of Memory: Kill process 988 (portmap) score 414 and children.
Out of memory: Killed process 988 (portmap).
oom-killer: gfp_mask=0x201d2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: high 6, batch 1 used:0
cpu 0 cold: high 2, batch 1 used:1
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 832kB (0kB HighMem)
Active:4542 inactive:13 dirty:0 writeback:0 unstable:0 free:208 slab:794 mapped:38 pagetables:345
DMA free:744kB min:724kB low:904kB high:1084kB active:17884kB inactive:360kB present:32768kB pages_scanned:2311 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 1*4kB 2*8kB 2*16kB 1*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 724kB
DMA32: empty
Normal: empty
HighMem: empty
Free swap: 0kB
8192 pages of RAM
665 free pages
1382 reserved pages
795 slab pages
134 pages shared
0 pages swap cached
Out of Memory: Kill process 1065 (login) score 62 and children.
Out of memory: Killed process 1066 (bash).
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192.168.0.10 login:
********************************************************************************************************
I download glcd_test from Prathap Srinivas replied on Wed, Apr 8 2009 5:06 AM
clcd_test.zip.There is nothing except some yellow lines,and i get information from konsole as follow:
root@192.168.0.10:/opt/glcd_test# ./glcd_test
/*****************************************************************/
GLCD Test program
/*****************************************************************/
The connected display is:
Resolution: 680X480, bits per pixel: 16
Segmentation fault.
What's wrong?