All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Guillaume Fournier" <gfournier@brioconcept.com>
To: <meta-freescale@yoctoproject.org>
Subject: Re: Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board
Date: Wed, 5 Nov 2014 09:51:08 -0500	[thread overview]
Message-ID: <006c01cff907$ef0233e0$cd069ba0$@brioconcept.com> (raw)
In-Reply-To: <20141105012336.63731653@e6520eb.localdomain>

Éric,

Since I'm using u-boot.BIN, I believe the seek=1 and skip=1 are fine.  I
have tried this method with a "known-to-work" u-boot.bin and u-boot boots up
fine on the board.  So the SD card u-boot.bin write part should work as
expected.  As suggested, I tried it using the .IMX file using :

    <CMD state="Updater" type="push" body="send"
file="axion/u-boot.imx">Sending u-boot.imx</CMD>
    <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk1
bs=1k seek=1 conv=fsync">write u-boot.imx to sd card</CMD>

u-boot does not boot on the board either using this method.

I do not have physical access to the linux box so I need to use my Windows
box to burn the image.  This does not seem to be part of the problem for now
since I have proven that I can get a known-to-work image to boot fine on the
board.

Guillaume

---
Sent: November 4, 2014 7:24 PM

Hi Guillaume,

Le Tue, 4 Nov 2014 17:44:08 -0500,
"Guillaume Fournier" <gfournier@brioconcept.com> a écrit :
>         <CMD state="Updater" type="push" body="send"
> file="axion/u-boot.bin">Sending u-boot.bin</CMD>
>         <CMD state="Updater" type="push" body="$ dd if=$FILE
of=/dev/mmcblk1
> bs=1k seek=1 skip=1 conv=fsync">write u-boot.bin to sd card</CMD>

-> seek & skip is wrong with u-boot.imx you should use with
u-boot-fslc : you only need seek=1

.../...

> 6) Copied u-boot.bin from Linux box ~/axion-dev/u-boot-fslc to Windows
box
> {INSTALL_FOLDER}\Profiles\MX6DL Linux Update\OS Firmware\axion

--> I think you should take u-boot.imx and not u-boot.bin

a far simpler way if you have a SD slot on your Linux host should be :
dd if=u-boot.imx of=/dev/mmcblk0 conv=notrunc seek=2 bs=512 replace mmcblk0
by the right device (and take care to not erase your hard drive ;-)

Eric



  reply	other threads:[~2014-11-05 14:51 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 22:44 Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board Guillaume Fournier
2014-11-05  0:03 ` Fabio Estevam
2014-11-05 14:38   ` Guillaume Fournier
2014-11-05 14:52     ` Wally Yeh
2014-11-05 15:24       ` Guillaume Fournier
2014-11-05 14:56     ` Daiane Angolini
2014-11-05 15:37       ` Guillaume Fournier
2014-11-05 15:45         ` Otavio Salvador
2014-11-05 16:05           ` Guillaume Fournier
2014-11-05 15:42     ` Otavio Salvador
2014-11-05 15:50       ` Guillaume Fournier
2014-11-05 15:54         ` Otavio Salvador
2014-11-05 15:59           ` Wally Yeh
2014-11-05 16:15           ` Guillaume Fournier
2014-11-05 16:21             ` Gary Thomas
2014-11-05 16:40               ` Otavio Salvador
2014-11-05 16:41               ` Guillaume Fournier
2014-11-05  0:23 ` Eric Bénard
2014-11-05 14:51   ` Guillaume Fournier [this message]
2014-11-05 17:25     ` Eric Bénard
  -- strict thread matches above, loose matches on Subject: below --
2014-11-05 20:43 Guillaume Fournier
2014-11-05 21:04 ` Otavio Salvador
2014-11-05 21:50   ` Guillaume Fournier
2014-11-06 17:31 Guillaume Fournier
2014-11-06 17:47 ` Otavio Salvador
2014-11-06 17:53   ` Gary Thomas
2014-11-06 17:56     ` Otavio Salvador

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='006c01cff907$ef0233e0$cd069ba0$@brioconcept.com' \
    --to=gfournier@brioconcept.com \
    --cc=meta-freescale@yoctoproject.org \
    /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.