mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Holger Schurig <holgerschurig@gmail.com>
To: barebox@lists.infradead.org
Subject: Image loading via USB broken?
Date: Tue, 6 May 2014 13:20:18 +0200	[thread overview]
Message-ID: <CAOpc7mG8aTfoqMyZ4+GQfs08JW-xHLApe=V8sp5FZgY650anMQ@mail.gmail.com> (raw)

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.imx
$ sudo scripts/imx/imx-usb-loader -v -c barebox.imx
found i.MX6q USB device [15a2:0054]
main dcd length 310
sub dcd length 30c
loading binary file(barebox.imx) to 20000000, skip=0x0, fsize=240912 type=170...
binary file successfully loaded
verifying file...
file successfully verified
jumping to 0x20000400

However, I don't get any output on the serial port.

Now, I do the same with u-boot, I get a serial prompt from u-boot on
the Sabre Lite. The same happens on my own hardware: works with
u-boot, but not with barebox. I'd rather use barebox than u-boot, but
I'm puzzled as of now.


One difference, however, is that I use "imx_usb" from
https://github.com/boundarydevices/imx_usb_loader to download to
download the u-boot.imx image. Not sure if that is relevant, or
actually, I think it is not relevant, because imx-usb-loader
downloaded and verified the barebox image successfully.

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

             reply	other threads:[~2014-05-06 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 11:20 Holger Schurig [this message]
2014-05-06 12:03 ` Sascha Hauer
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='CAOpc7mG8aTfoqMyZ4+GQfs08JW-xHLApe=V8sp5FZgY650anMQ@mail.gmail.com' \
    --to=holgerschurig@gmail.com \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox