* [U-Boot-Users] Can CPU write video memory directly?
@ 2008-05-20 13:54 zhanglei459
2008-05-23 14:49 ` Detlev Zundel
0 siblings, 1 reply; 2+ messages in thread
From: zhanglei459 @ 2008-05-20 13:54 UTC (permalink / raw)
To: u-boot
Hi all,
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 .Are DRAM Control registers configured wrong? Does CPU
modify video memory?
Thanks!
--
View this message in context: http://www.nabble.com/Can-CPU-write-video-memory-directly--tp17340898p17340898.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread* [U-Boot-Users] Can CPU write video memory directly?
2008-05-20 13:54 [U-Boot-Users] Can CPU write video memory directly? zhanglei459
@ 2008-05-23 14:49 ` Detlev Zundel
0 siblings, 0 replies; 2+ messages in thread
From: Detlev Zundel @ 2008-05-23 14:49 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-23 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-20 13:54 [U-Boot-Users] Can CPU write video memory directly? zhanglei459
2008-05-23 14:49 ` Detlev Zundel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox