All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] imximage on the MX50
Date: Wed, 02 Oct 2013 22:43:59 +0200	[thread overview]
Message-ID: <524C858F.4020707@denx.de> (raw)
In-Reply-To: <CAPfzE3Z9=5xQNBoh=TbffxWv4kZiyHd_Y=cxuZ379RuDOWcWxg@mail.gmail.com>

Hi Andre,

On 02/10/2013 21:41, Andre Renaud wrote:

> Can you recommend any mechanism for debugging the boot rom execution?
> I can see on the SPI bus that it is trying to read from the boot
> flash, and it is getting the correct data (ie, the u-boot.imx image is
> programmed properly). However it is still failing and ending up in USB
> fall-back mode. Given your comments about the dcd_ptr, I can assume
> that isn't the problem, which leaves me at a bit of a dead end.

Are you sure that the DDR controller is corrctly initialized ? You can
check with the JTAG debugger if the RAM is working as expected. If there
are some errors in your DCD table and the controller is not correctly
set, the processor will fall back to USB.

You could also set a breakpoint to the U-Boot start address - after
loading U-Boot, the SOC jumps to this address. You can check if it is hit.

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

      reply	other threads:[~2013-10-02 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02  3:23 [U-Boot] imximage on the MX50 Andre Renaud
2013-10-02  8:12 ` Stefano Babic
2013-10-02 19:41   ` Andre Renaud
2013-10-02 20:43     ` Stefano Babic [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=524C858F.4020707@denx.de \
    --to=sbabic@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.