Re[2]: how to flash barebox and set root variable? - barebox is gone :(

Alexander Shiyan shc_work at mail.ru
Wed Jun 12 12:01:02 EDT 2013


> On Wed, Jun 12, 2013 at 11:02:03AM +0200, Adam Furmanczuk wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > OK, I compiled with gcc imx-usb-loader.c -I/usr/include/libusb-1.0/
> > And had some "undefined reference" errors [1]. Probably have to adjust
> > some path when running in barebox/scripts/imx/ directory?
> > 
> > I use also debian (wheezy) as host. Details about libusb-dev package [2].
> > 
> 
> Ok, here is exactly what to do:
> 
> export ARCH=arm
> export CROSS_COMPILE=/path/to/arm-linux-gcc-
> make freescale_mx51_babbage_defconfig
> make menuconfig
>   System Type  --->
>     i.MX specific settings  --->
>         [*] compile imx-usb-loader
> make
> 
> This should compile without errors and the imx-usb-loader tool should be
> compiled, provided you have the libusb host tool installed.

Probably some usb-related headers on Adam system placed in non-standard
directories, since tool is not builded or makes some errors.
Maybe we need to use pkg-config for these stuffs?

---


More information about the barebox mailing list