displayer driver screen size problem?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi all,
am using ce.net42 with the smdk2440,my device with CSTN 320*240
panel(LM057QC1T01).
In the bootloader, setting the LCD controller as 8bit single scan, 16bit
color,
it works well. This driver has works well for the TFT 640*480 16bit color
panel.

Now in the ce display driver's construction function, setting this value.
S3C2440DISP::S3C2440DISP (void)
{...
m_nScreenWidth = 320;
m_nScreenHeight = 240;
m_colorDepth = 16;
m_cbScanLineLength = m_nScreenWidth * 2;
m_FrameBufferSize = m_nScreenHeight * m_cbScanLineLength;
....
}
But the problem is, the screen resolution is very small, like only 160*120.

How should these value should been set,or there is other problem?

Thanks in advance.


kavin



.



Relevant Pages

  • Re: Booting Windows CE device from SD card
    ... do in the bootloader is to read a particular file from the root directory. ... SD/MMC memory devices, on the other hand, are peripheral storage devices ... the SD/MMC card and loads it into RAM and *then* jumps to it. ... SD driver has 3 modules involved in it: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: loadcepc for linux
    ... Why does the bootloader need to know about CAN, ... Wouldn't you just have a Windows CE driver for those things and, ... cakewalk in Linux. ...
    (microsoft.public.windowsce.embedded)
  • Re: loadcepc for linux
    ... source code for their bootloader, because of this we need to write a ... complete new bootloader with CAN drivers, USB driver, SD driver etc.. ...
    (microsoft.public.windowsce.embedded)
  • Re: Booting Windows CE device from SD card
    ... SD/MMC memory devices, on the other hand, are peripheral storage devices ... the SD/MMC card and loads it into RAM and *then* jumps to it. ... I want to modify my bootloader to read ... SD driver has 3 modules involved in it: ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH] davinci: fb: Frame Buffer driver for TI DA8xx/OMAP-L1xx
    ... Adds LCD controller driver for TI's DA8xx/OMAP-L1xx ... * GNU General Public License for more details. ...
    (Linux-Kernel)