Skip to contentSkip to conversation

[email protected]: Metronomefb porting details

DISCUSSION Yauhen Kharuzhy 1 participant 1 message Mar 23, 2009 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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

----- Forwarded message from Yauhen Kharuzhy <[email protected]> -----

From: Yauhen Kharuzhy <[email protected]>
To: Jaya Kumar <[email protected]>
Cc: [email protected]
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 -----

Signature · 12 lines
Yauhen Kharuzhy		jekhor _at_ gmail.com
			JID: [email protected]

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