I have tried many things, and seen many different results but i cannot get the LCD to display anything useful.
In LOLO i do:
video-open 6 16
draw-test
I see the boxes like the manual says. I then tried to get DirectFB to build, but it complains that the Kernel Headers must be included. When i select DirectFB, i cannot select Include Kernel Header, so i am assuming it is set automatically, but it does not build. Qtopia complains about Qtopia-tslib. I am not sure if i even need these packages.
So next i tried the patch information from
http://tdg.logicpd.com/viewtopic.php?f=29&t=1135&st=0&sk=t&sd=a&start=45
There is a patch included, but it is intended for 2.6.19.2, so i added the code to the files myself. I used these settings for the LCD:
xres: 240,
yres: 320,
pixel_clock 35285,
hsync_len: 13, /* hsw */
vsync_len: 2, /* vsw */
left_margin: 21, /* hbp */
upper_margin: 5, /* vbp */
right_margin: 11, /* hfp */
lower_margin: 5, /* vfp */
sync: FB_SYNC_VERT_HIGH_ACT
I am not completely sure about FB_SYNC_VERT_HIGH_ACT, if i implemented it correctly. The patch was intended for the 10" LCD. When i start the board up, the screen starts out with garbage, then when the kernel is loading, the screen goes white. Thats all it does after that. When i am working in linux, the screen never changes.
When I do fbset and i get:
mode "240x320-300"
geometry 240 320 240 640 16
timings 35285 21 11 5 5 13 2
accel false
rgba 5/11,6/5,5/0,0/0
I set in the command line both console=tty and console=fbcon.
When the kernel boots the logo never appears and i see:
[ 51.490000] mxc_ipu mxc_ipu: Warning: channel already initialized
[ 52.490000] Console: switching to colour frame buffer device 30x40
[ 54.490000] mxcfb: fb registered, using mode Sharp-QVGA
So where am i going wrong?
Thanks
Rico