cpu is dm355, lcd is NEC3'5 TFT,240x320 resolution.
when i set to 240x320 ,it seems there is a blank black area on the right side.The kernel logo and "tslib test program" cannot be displayed entirely.a QT program is tested.
here is my setting:
#define DISP_XRES 240
#define DISP_YRES 320
/*These should be set to the max resolution supported */
#define DISP_MEMX 720
#define DISP_MEMY 576
//prgb mode
struct vpbe_fb_videomode prgb[] = {
{.name="PRGB_480",
.vmode=FB_VMODE_NONINTERLACED,
.xres=240, /*240,align to 4 byte*/
.yres=320, /*480*/
.fps=25, /*60*/
.left_margin=25, /*95 left_margin*/
.right_margin=5, /*70 right,*/
.upper_margin=25, /*34 up*/
.lower_margin=5, /*11 down,20~70*/
.hsync_len=9, /*9,hsync_len?*/
.vsync_len=21, /*9,vsync_len*/
.sync=0, /*0,sync*/
.basepx=25,
.basepy=25, /*0x22*/
.std=1 },
.....
see picture:
[img]http://002512.net/images/IMG_0028-827.jpg[\img]
[img]http://002512.net/images/IMG_0029-465.jpg[\img]
BUT, i change xres to 280, THE QT seems to display entirely. but LOGO and TSLIB also has problem, see picture:
struct vpbe_fb_videomode prgb[] = {
{.name="PRGB_480",
.vmode=FB_VMODE_NONINTERLACED,
.xres=280,
.................
others are not changed.
[img]http://002512.net/images/IMG_0027-827.jpg[\img]
[img]http://002512.net/images/IMG_0026-790.jpg[\img]
HOW should i resolve this problem? Thanks.