Thread (2 messages) 2 messages, 1 author, 2015-12-05

wipe framebuffer with dd command

From: Ran Shalit <hidden>
Date: 2015-12-05 06:03:56
Also in: kernelnewbies

Hello,

I would like to ask what is the effect of wiping frame buffer (dd
if=/dev/zero of=/dev/fb0) ?
I have some issue with framebuffer timing on LCD 240x320.
I could not find a timing with width$0, height20 which result in
stable picture, but
the following timing gave me stable ppicture with LCD:

Pixel clocke00

Width$0
HeightQ2  <<------------- instead of 320 !!
Hfp=1
Hbp0
HSW
Vfp=1
Vbp=1
VSW

The only strange thing is that I had to use height 512 instead of 320.
When I try to render image it is stable but it starts in different
line every time.
And here comes the important part:
After doing:

     dd if=/dev/zero of=/dev/fb0

It resolved the issue , and a new image starts from line 0.

I don't understand why.
Does anyone have any idea ?
Do you think I still have a timing problem with LCD ?

Regards,
Ran
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help