public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] Add instruction file (based on the README for the sabrelite) for booting the Congatec board from SD-Card.
Date: Mon, 13 May 2013 15:02:21 +0200	[thread overview]
Message-ID: <5190E45D.9050504@denx.de> (raw)
In-Reply-To: <3465D313FDFB824F9A9C8CD24FA4F6BC0108CCF4@frontmail.adetel.com>

On 13/05/2013 14:02, SARTRE Leo wrote:
> Signed-off-by: Leo Sartre <lsartre@adeneo-embedded.com>
> ---
>  board/freescale/cgtqmx6/README |   35 +++++++++++++++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 board/freescale/cgtqmx6/README
> 
> diff --git a/board/freescale/cgtqmx6/README b/board/freescale/cgtqmx6/README
> new file mode 100644
> index 0000000..bcacc71
> --- /dev/null
> +++ b/board/freescale/cgtqmx6/README
> @@ -0,1 +1,35 @@
> +U-Boot for the Congatec Conga-QEVAl Evaluation Carrier board
> +
> +This file contains information for the port of U-Boot to the Congatec
> +Conga-QEVAl Evaluation Carrier board.
> +
> +1. Boot source, boot from SD card
> +---------------------------------
> +
> +This version of u-boot works only on the SD card. By default, the
> +Congatec board boot from the SPI-NOR.
> +With the uboot version provided with the board you can write boot
> +registers to force the board to reboot and boot from the SD slot:
> +
> +conga-QMX6 U-Boot > mw.l 0x20d8040 0x3850
> +conga-QMX6 U-Boot > mw.l 0x020d8044 0x10000000
> +conga-QMX6 U-Boot > reset
> +resetting ...

But is this not exactly the purpose of the "bmode" command ? Anyway, at
next power-on, the board boots again from SPI-NOR. There should be
indication here how to erase the SPI Flash

> +
> +The the board will reboot and, if you burnt your SD correctly the
> +board (see (2) for instructions) will use u-boot that live into the SD
> +card.
> +
> +2. Build
> +--------
> +
> +To build U-Boot for the Congatec board:
> +
> + make cgtqmx6_config
> + make u-boot.imx

You do not need it. This is the general instruction to build any board
in u-boot, and u-boot.imx is automatically generated for i.MX6 boards.

> +
> +To copy the resulting u-boot.imx to the SD card:
> +
> + sudo dd if=u-boot.imx of=/dev/sXx bs=512 seek=2&&sudo sync
> +
> +Note: Replace sXx with the device representing the SD card in your system.

This can be wrong if the Linux PC uses /dev/mmcblk* instead of /dev/sXx

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
=====================================================================

      parent reply	other threads:[~2013-05-13 13:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1368446578-13390-1-git-send-email-lsartre@adeneo-embedded.com>
2013-05-13 12:02 ` [U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module SARTRE Leo
2013-05-13 12:58   ` Stefano Babic
2013-05-13 15:09     ` SARTRE Leo
2013-05-13 22:32       ` Wolfgang Denk
2013-05-13 15:03   ` Eric Bénard
2013-05-13 12:02 ` [U-Boot] [PATCH 2/2] Add instruction file (based on the README for the sabrelite) for booting the Congatec board from SD-Card SARTRE Leo
2013-05-13 13:00   ` Wolfgang Denk
2013-05-13 13:02   ` 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=5190E45D.9050504@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox