All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] memory display question
Date: Thu, 25 Feb 2010 11:27:46 +0100	[thread overview]
Message-ID: <m2k4u1vcd9.fsf@ohwell.denx.de> (raw)
In-Reply-To: <4B8586D3.8010809@grid-net.com> (Steve Iribarne's message of "Wed, 24 Feb 2010 12:06:43 -0800")

Hi Steve,

>
> I'm currently getting an error when I try to do a secure boot (internal 
> to the processor). So the next step is to verify that my u-boot image is 
> loaded where I think it should be loaded (at TEXT_BASE (0x83F0_0000)).
>
> When I do a md.w 0x83F00000 0x20 it display's all zero's which is wrong. 
>   It should have my reset vector and some other things there.  The image 
> header is really at offset 0x400.
>
> So I tried md.w 0x83F00400 0x20 and still all 0's.

Why do you do a "md.w" to explicitely select 16-bit entities?  Did you
try without (i.e. correpsonding to .l) and .b?  Maybe your system has
problems with different access widths.

> This makes no sense because the darn thing boots!
>
> When I hook my Lauterbach to it and do a view memory through the JTAG 
> the memory looks as I expect.  This makes complete sense because if this 
> wasn't the case I wasn't sure how my system was going to boot.

What accesses do you perform in this setup to read the memory?

Cheers
  Detlev

-- 
You get 3 opportunities to advertise your Rock band, no more.
           -- Proposed Symbolics guidelines for mail messages (1984)
--
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:[~2010-02-25 10:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 20:06 [U-Boot] memory display question Steve Iribarne
2010-02-25 10:27 ` Detlev Zundel [this message]
2010-02-25 16:03   ` Steve Iribarne

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=m2k4u1vcd9.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.