From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] why to have separate uboot-tools?
Date: Mon, 24 Jun 2013 18:46:17 +0200 [thread overview]
Message-ID: <51C877D9.8070705@mind.be> (raw)
In-Reply-To: <51C825B8.6070800@gmail.com>
On 24/06/13 12:55, Jan Pohanka wrote:
> Hi all,
>
> currently I'm trying to customize buildroot a bit to allow it to be used
> by my colleagues as a base of their development environment.
> I have noticed that there is separate package for u-boot-tools (mkimage,
> etc.) Can please someone tell me why these tools are not installed from
> u-boot package defined in bootloaders section?
uboot-tools are the tools for the _target_, e.g. fw_printenv and
friends. mkimage is sometimes also useful on the target.
For the host, it would be possible to use the tools from uboot instead,
but for consistency it is just the host version of the uboot-tools package.
Note also that it is possible and sometimes useful to build uboot-tools
when you don't actually build U-boot. For instance, many devboards have
U-boot in SPI flash so you don't need to build it.
> Once we use our own u-boot with its own tools (uflash from TI) I need to
> alter two packages and also u-boot sources are downloaded two times.
> I can prepare a patch to use just u-boot in bootloaders section, but the
> question is if it is not worthless...
Indeed, it would be nice if it would be possible to have uboot-tools
reuse the source of uboot itself (if uboot is selected). However, we
currently have no infrastructure to do that. I think there has been a
patch on the list to implement such a reuse of the source code, but it
was considered too much of a hack.
When/if the out-of-tree build directory packages by Thomas are
accepted, it would be much easier/cleaner to rewrite the uboot-tools
package to use the uboot source.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
prev parent reply other threads:[~2013-06-24 16:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 10:55 [Buildroot] why to have separate uboot-tools? Jan Pohanka
2013-06-24 11:15 ` Gustavo Zacarias
2013-06-24 11:18 ` Jan Pohanka
2013-06-24 16:46 ` Arnout Vandecappelle [this message]
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=51C877D9.8070705@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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