* [U-Boot] U-boot memory dump
@ 2009-04-25 16:41 alfred steele
2009-04-25 16:45 ` Daniel Mack
0 siblings, 1 reply; 2+ messages in thread
From: alfred steele @ 2009-04-25 16:41 UTC (permalink / raw)
To: u-boot
Hi,
I am using uboot on the MX31 PDk board. I am trying to dump the
contents of a status register found at location 50004004. This status
register shows the status of the SDHC( SD card host controller) like
interrupt , card insertion, card removal etc. According to the MX31
manual, the status register i.e the contents at the corresponding
memory location should change on events like card insertion and
removal. But the contents aren't changing as expected.
I have verified this with Linux and it works.
i) Before card insertion
=> md.l 50004004
50004004: 30004000 00000008 00000000 00000040
ii)After card insertion
=> md.l 50004004
50004004: 30004000 00000008 00000000 00000040
Could anything be wrong with my u-boot image or the memory
initialization(although anything going wrong with the init dosent
make sense).
Thanks in advance!
Thanks,
Alfred
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] U-boot memory dump
2009-04-25 16:41 [U-Boot] U-boot memory dump alfred steele
@ 2009-04-25 16:45 ` Daniel Mack
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Mack @ 2009-04-25 16:45 UTC (permalink / raw)
To: u-boot
On Sat, Apr 25, 2009 at 11:41:43AM -0500, alfred steele wrote:
> I am using uboot on the MX31 PDk board. I am trying to dump the
> contents of a status register found at location 50004004. This status
> register shows the status of the SDHC( SD card host controller) like
> interrupt , card insertion, card removal etc. According to the MX31
> manual, the status register i.e the contents at the corresponding
> memory location should change on events like card insertion and
> removal. But the contents aren't changing as expected.
> I have verified this with Linux and it works.
The difference is most probably that under Linux, your IOMUX is set up
correctly. IOW, the CPU does not see any external peripherals unless
you enable the pins for the specific function you're trying to use.
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-25 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-25 16:41 [U-Boot] U-boot memory dump alfred steele
2009-04-25 16:45 ` Daniel Mack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox