public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] AM335x : failure to boot SPL from NAND
Date: Fri, 15 Feb 2013 16:13:32 -0500	[thread overview]
Message-ID: <20130215211332.GA19902@bill-the-cat> (raw)
In-Reply-To: <511D08AF.7070501@mimc.co.uk>

On Thu, Feb 14, 2013 at 03:54:23PM +0000, Mark Jackson wrote:

> I'm trying to diagnose why our AM335x based CPU board (based on the
> AM335x Starter Kit) can boot SPL and U-Boot from an MMC card, but is
> unable to boot from NAND (connected to CS0).
> 
> Following the TI wiki
> (http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Flashing_images_to_NAND_in_SD_boot)
> I:-
> 
> (1) boot from MMC
> (2) erase the nand
> (3) copy MLO from MMC into NAND
> (4) verified it copied correctly (using crc32)
> 
> When I reboot the board in NAND mode, I get nothing on UART0.
> 
> If I reboot in MMC mode, SPL and U-Boot load correctly.
> 
> Can anyone give me some pointers on the boot sequence, and where I
> might look to help debug the problem ?

Assuming you're using mainline U-Boot and can rule out "vendor
problems", if you can access the SYSBOOT pins, set it up for a mode that
does NAND and UART.  If you never see the 'CCC' on console (or only see
it the first time if you do UART then NAND), then you are starting SPL
and dying in there.  If you just see a stream of C then your file is not
written to NAND correctly.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130215/93e765d7/attachment.pgp>

  reply	other threads:[~2013-02-15 21:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 15:54 [U-Boot] AM335x : failure to boot SPL from NAND Mark Jackson
2013-02-15 21:13 ` Tom Rini [this message]
2013-02-18 14:43   ` Mark Jackson
2013-02-18 14:54     ` Tom Rini
2013-02-19 14:55       ` Mark Jackson
2013-02-21 12:10         ` Mark Jackson

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=20130215211332.GA19902@bill-the-cat \
    --to=trini@ti.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox