All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
Date: Thu, 19 Jan 2012 10:58:00 +0100	[thread overview]
Message-ID: <4F17E928.3090208@grandegger.com> (raw)
In-Reply-To: <1324884888-9618-1-git-send-email-dirk.behme@gmail.com>

On 12/26/2011 08:34 AM, Dirk Behme wrote:
> From: Jason Liu <jason.hui@linaro.org>
> 
> Add the initial support for Freescale i.MX6Q Sabre Lite board
> 
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
> CC: Jason Liu <jason.hui@linaro.org>
> CC: Eric Nelson <eric.nelson@boundarydevices.com>
> ---

...

> Index: freescale-u-boot-imx.git/doc/README.mx6qsabrelite
> ===================================================================
> --- /dev/null
> +++ freescale-u-boot-imx.git/doc/README.mx6qsabrelite
> @@ -0,0 +1,67 @@
> +U-Boot for the Freescale i.MX6q SabreLite board
> +
> +This file contains information for the port of U-Boot to the Freescale
> +i.MX6q SabreLite board.
> +
> +1. Boot source, boot from SD card
> +---------------------------------
> +
> +The recent mainline U-Boot for the Freescale i.MX6q SabreLite board supports
> +boot from SD card only. However, by default, the early version of SabreLite
> +boards boot from the SPI NOR flash. These boards need to be reflashed with
> +a small SD card loader to support boot from SD card. This small SD card loader
> +will be flashed into the SPI NOR. The board will still boot from SPI NOR, but
> +the loader will in turn request the BootROM to load the U-Boot from SD card.
> +At the moment of writing, please check with Freescale on the availablity of
> +this small SD loader binary.
> +
> +To update the SPI-NOR on the SabreLite board without the Freescale
> +manufacturing tool use the following procedure:
> +
> +1. Write this SD card loader onto a large SD card using:
> +
> + sudo dd if=MX6_SPI_to_SD_loader.bin of=/dev/sXx
> +
> +Note: Replace sXx with the device representing the SD card in your system.
> +
> +Note: This writes SD card loader at address 0
> +
> +2. Put this SD card into the slot for the large SD card (SD3 on the bottom of
> +the board)
> +
> +3. Power-up the SabreLite, press 'space' to enter command mode in the U-Boot
> +(the default one the board is shipped with, starting from the SPI NOR) and
> +enter the following commands:
> +
> + MX6Q SABRELITE U-Boot > mmc dev 0
> + MX6Q SABRELITE U-Boot > mmc read 0x10800000 0 200
> + MX6Q SABRELITE U-Boot > sf probe 1
> + MX6Q SABRELITE U-Boot > sf erase 0 0x40000
> + MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
> +
> +4. done.
> +
> +In case you somehow do not succeed with this procedure you will have to use
> +the Freescale manufacturing tool in order to reflash the SPI-NOR.
> +
> +Note: The board now boots from full size SD3 on the bottom of the board. NOT
> +      the micro SD4/BOOT slot on the top of the board. I.e. you have to use
> +      full size SD cards.
> +
> +This information is taken from
> +
> +https://wiki.linaro.org/Boards/MX6QSabreLite

Where can I find the "SPI_to_SD_loader.bin" image? What means early
version of SabreLite boards? How can I select boot from SD-Card on
newer versions? And will the u-boot.imx image also boot when loaded
to the SPI-NOR fash?

Wolfgang.

  parent reply	other threads:[~2012-01-19  9:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-26  7:34 [U-Boot] [PATCH v3] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board Dirk Behme
2011-12-28 12:32 ` Stefano Babic
2011-12-29  7:09   ` Dirk Behme
2011-12-29  8:06     ` Liu Hui-R64343
2011-12-29 16:13     ` Eric Nelson
2012-01-19  9:58 ` Wolfgang Grandegger [this message]
2012-01-19 10:26   ` Dirk Behme
2012-01-20  0:56     ` [U-Boot] mx6qsabrelite U-Boot from SPI-NOR Eric Nelson
2012-01-20  9:15       ` Wolfgang Grandegger
2012-01-20 13:54         ` Eric Nelson

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=4F17E928.3090208@grandegger.com \
    --to=wg@grandegger.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.