public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Can CPU write video memory directly?
Date: Fri, 23 May 2008 16:49:34 +0200	[thread overview]
Message-ID: <m2abihoz29.fsf@ohwell.denx.de> (raw)
In-Reply-To: <17340898.post@talk.nabble.com> (zhanglei's message of "Tue, 20 May 2008 06:54:14 -0700 (PDT)")

Hi Zhanglei459,

>       Now I am debugging video chip MB86297A.Reference to hardware manual,I
> have configured PCI registers ,Carmine Control registers and DRAM Control
> registers under U-boot , other modules registers have not been configured.I
> dont know how to verify DRAM is configured correctly. When I "md" video
> memory,they are all zero,and after I "mm" video memory,they are "md" still
> display all zero .

Something must be wrong in your configuration.  I recently did a
standard "mtest" on a CoralP attached graphics memory *after* correctly
setting up the CoralP control registers.  Note that I had to setup CCF
and MMR registers correctly (swapping endinanness by hand!).

> Are DRAM Control registers configured wrong? 

Most likely.

> Does CPU modify video memory?

No, why should it?

Cheers
  Detlev

-- 
five monkeys, two typewriters, ten minutes
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

      reply	other threads:[~2008-05-23 14:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 13:54 [U-Boot-Users] Can CPU write video memory directly? zhanglei459
2008-05-23 14:49 ` Detlev Zundel [this message]

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=m2abihoz29.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /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