All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Lilja <lilja.magnus@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] uboot imx31 nand boot
Date: Sat, 16 Oct 2010 20:10:11 +0200	[thread overview]
Message-ID: <4CB9EA83.3010709@gmail.com> (raw)
In-Reply-To: <01737BB727C92747953B676A2B864FA230EE73@brdexchange.beckerdev.co.za>

Hi

On 2010-10-14 12:17, Nico van Wyk wrote:
> Good Day
> 
> I am planning on using uboot to boot linux on the imx31.
> 
> The system will be booting from nandflash( making use of micron nand flash using the quasi standard protocol)
> 
> I would like to know if i need to create a 1st stage bootloader that executes from the 1st 2k of nandflash that will boot uboot or if
> uboot is able to do this (via the nand spl).
> 
> If uboot is capable of doing this how do i go about setting up (compile time options) for this or point me to some documentation?

U-boot is capable of this. The i.MX31 PDK board, which is in the u-boot tree, does this. 

Note 1: The PDK board hasn't been updated to the new ARM relocation code yet so you have to define CONFIG_SYS_ARM_WITHOUT_RELOC in the config file.

Note 2: Commit http://git.denx.de/?p=u-boot.git;a=commitdiff;h=f3bb63a304c4e76010a2a4e99da61f7b6ffffc77 broke support for booting from 8 bit NAND devices. The PDK board uses 16 bit NAND bus and works.


Regards, Magnus Lilja

      reply	other threads:[~2010-10-16 18:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 10:17 [U-Boot] uboot imx31 nand boot Nico van Wyk
2010-10-16 18:10 ` Magnus Lilja [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=4CB9EA83.3010709@gmail.com \
    --to=lilja.magnus@gmail.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 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.