From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Sascha Hauer" <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re[2]: how to flash barebox and set root variable? - barebox is gone :(
Date: Wed, 12 Jun 2013 20:01:02 +0400 [thread overview]
Message-ID: <1371052862.194674258@f327.mail.ru> (raw)
In-Reply-To: <20130612155401.GX32299@pengutronix.de>
> 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?
---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-06-12 16:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 16:03 how to flash barebox and set root variable? Adam Furmanczuk
2013-06-06 16:21 ` Sascha Hauer
2013-06-07 5:08 ` Adam Furmanczuk
2013-06-07 10:55 ` Sascha Hauer
2013-06-10 12:24 ` Adam Furmanczuk
2013-06-10 17:01 ` how to flash barebox and set root variable? - barebox is gone :( Adam Furmanczuk
2013-06-10 17:07 ` Re[2]: " Alexander Shiyan
2013-06-10 17:23 ` Adam Furmanczuk
2013-06-10 17:29 ` Sascha Hauer
2013-06-11 8:10 ` Adam Furmanczuk
2013-06-12 6:12 ` Adam Furmanczuk
2013-06-12 7:19 ` Adam Furmanczuk
2013-06-12 8:07 ` Sascha Hauer
2013-06-12 8:22 ` Adam Furmanczuk
2013-06-12 8:48 ` Sascha Hauer
2013-06-12 9:02 ` Adam Furmanczuk
2013-06-12 15:54 ` Sascha Hauer
2013-06-12 16:01 ` Alexander Shiyan [this message]
2013-06-12 16:14 ` Adam Furmanczuk
2013-07-03 13:32 ` set root variable for uImage? Adam Furmanczuk
2013-07-03 15:21 ` Adam Furmanczuk
2013-07-03 16:58 ` Sascha Hauer
2013-07-03 18:30 ` Adam Furmanczuk
2013-07-03 18:42 ` Re[2]: " Alexander Shiyan
2013-07-03 20:26 ` Sascha Hauer
2013-07-04 10:30 ` Adam Furmanczuk
2013-07-04 10:39 ` Sascha Hauer
2013-07-04 10:59 ` set root variable for uImage? - SOLVED Adam Furmanczuk
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=1371052862.194674258@f327.mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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