jekhor@gmail.com: Metronomefb porting details

From: Yauhen Kharuzhy <hidden>
Date: 2009-03-23 14:06:17

Forwarded message from me to Jaya Kumar (I forgot to add linux-fbdev-devel to Cc:).

----- Forwarded message from Yauhen Kharuzhy [off-list ref] -----

From: Yauhen Kharuzhy <redacted>
To: Jaya Kumar <redacted>
Cc: openinkpot-hackers@googlegroups.com
Subject: Metronomefb porting details

Hi.

I am porting metronomefb to new 5-inch bookreader (HanWong N516) and
have some questions.

1. metronomefb_var.[xy]res and [xy]res_virtual are set to fw/fh
values, which are not equal to real size of panel. Then this values
sending to X server and it make impropely decision about framebuffer
parameters. In my hardware I was able to set xres of LCDC framebuffer to
800 and set fw field of epd_frame_table entry to 800 for resolving
this, but it only masks the problem.

2. According with specifications, Metronome supports 4 bit per pixel,
but in the metronomefb only 3 bpp format is used (metronomefb_var.red = { 4, 3, 0 }).
Can you explain this moment? Is it real colordepth of panels?

3. X server is works, but when I try to load gradient image directly to
/dev/fb1 (file with blocks of bytes from 0x00 to 0x0f), only black
screen is shown. When I load 0xff bytes to it, screen fills by white
color. Can you comment this? 

4. I found that error messages in the load_waveform function caused oops
because info->dev is not initialised at this stage yet.

5. I think that waveform filesize check is completely useless. I have
two waveforms files for N516 and they have different sizes. I don't know
which file is used in the original firmware, but I tried both and they
work.

6. load_waveform() cannot be called more than one times with one
firmware because it changes fields trc and mc in the wfm_hdr structure.
I think that this is bug.

----- End forwarded message -----

-- 
Yauhen Kharuzhy		jekhor _at_ gmail.com
			JID: jek@jabber.ru

A: No
Q: Should I quote below my post?

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help