mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Image loading via USB broken?
@ 2014-05-06 11:20 Holger Schurig
  2014-05-06 12:03 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Schurig @ 2014-05-06 11:20 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-06 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 11:20 Image loading via USB broken? Holger Schurig
2014-05-06 12:03 ` Sascha Hauer
2014-05-06 12:44   ` Holger Schurig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox