mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Holger Schurig <holgerschurig@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Image loading via USB broken?
Date: Tue, 6 May 2014 14:03:41 +0200	[thread overview]
Message-ID: <20140506120341.GB5858@pengutronix.de> (raw)
In-Reply-To: <CAOpc7mG8aTfoqMyZ4+GQfs08JW-xHLApe=V8sp5FZgY650anMQ@mail.gmail.com>

Hi Holger,

On Tue, May 06, 2014 at 01:20:18PM +0200, Holger Schurig wrote:
> Hi list,
> 
> on my Sabre Lite board I cannot execute an image that I sent to it via
> the USB downloader.
> 
> $ cd barebox-next
> $ git describe
> v2014.04.0-263-g8ffbc0d
> $ export CROSS_COMPILE=~/d/mkarm/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-
> $ export ARCH=arm
> $ make freescale-mx6-sabrelite_defconfig
> #
> # configuration written to .config
> #
> $ make xconfig
> (here I add ARCH_IMX_USBLOADER)
> $ make
> $ scripts/imx/imx-image -c
> arch/arm/boards/boundarydevices-nitrogen6x/flash-header-nitrogen6x-1g.imxcfg
> -f barebox.bin -o barebox.imxi

No need to generate that image manually. Use
images/barebox-freescale-imx6q-sabrelite.img directly instead:

./scripts/imx/imx-usb-loader images/barebox-freescale-imx6q-sabrelite.img

barebox.bin is not directly startable with pbl or multi image support.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-05-06 12:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 11:20 Holger Schurig
2014-05-06 12:03 ` Sascha Hauer [this message]
2014-05-06 12:44   ` Holger Schurig

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=20140506120341.GB5858@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=holgerschurig@gmail.com \
    /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