Linux Framebuffer Layer development
 help / color / mirror / Atom feed
From: Ran Shalit <ranshalit@gmail.com>
To: kernelnewbies@lists.kernelnewbies.org
Subject: wipe framebuffer with dd command
Date: Sat, 05 Dec 2015 06:03:56 +0000	[thread overview]
Message-ID: <CAJ2oMhJ3scGVqVCzaseCgcUTFhtpJ0bMPy9QxASVUTib98eDCw@mail.gmail.com> (raw)

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
Hbp\x100
HSW\x14
Vfp=1
Vbp=1
VSW\x10

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

             reply	other threads:[~2015-12-05  6:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05  6:03 Ran Shalit [this message]
2015-12-05 10:45 ` wipe framebuffer with dd command Ran Shalit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ2oMhJ3scGVqVCzaseCgcUTFhtpJ0bMPy9QxASVUTib98eDCw@mail.gmail.com \
    --to=ranshalit@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox