Image loading via USB broken?

Sascha Hauer s.hauer at pengutronix.de
Tue May 6 05:03:41 PDT 2014


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 |



More information about the barebox mailing list