public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Danny Gale <Daniel.Gale@coloradoengineeringinc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL with NAND: programming addresses
Date: Thu, 26 Jun 2014 02:25:59 -0600	[thread overview]
Message-ID: <53ABD917.2090902@coloradoengineeringinc.com> (raw)

Hello everybody,

We're trying to boot a custom board loosely based on the T4240QDS. We 
have the T4240 coming up and getting its RCW / PBL from a SPI EEPROM, 
and it reads 8 KB of program from NAND flash into SRAM, then dies. I 
think we just don't have things in the right places. I'm a little 
confused and have a couple of questions on addresses and what goes where:

1. The SPL image itself should go at address 0 in the NAND flash, 
correct? That's where our PowerPC will start to look for it.

2. The u-boot.bin image should be programmed to 
CONFIG_SYS_NAND_U_BOOT_OFFS in the NAND flash, right? (pretty sure this 
is true -- just sanity-checking myself here)

3. How does CONFIG_SYS_TEXT_BASE relate to CONFIG_SYS_NAND_U_BOOT_DST 
and CONFIG_SYS_NAND_U_BOOT_START? Why aren't all three of these the same?

4.  What are RESET_VECTOR_OFFSET and BOOT_PAGE_OFFSET?

Thanks. I'm looking forward to booting soon :)

Danny Gale

             reply	other threads:[~2014-06-26  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  8:25 Danny Gale [this message]
2014-07-07 21:17 ` [U-Boot] SPL with NAND: programming addresses Scott Wood

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=53ABD917.2090902@coloradoengineeringinc.com \
    --to=daniel.gale@coloradoengineeringinc.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