[U-Boot] U-boot memory dump

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

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
participants (2)
-
alfred steele
-
Daniel Mack