* [Buildroot] why to have separate uboot-tools?
@ 2013-06-24 10:55 Jan Pohanka
2013-06-24 11:15 ` Gustavo Zacarias
2013-06-24 16:46 ` Arnout Vandecappelle
0 siblings, 2 replies; 4+ messages in thread
From: Jan Pohanka @ 2013-06-24 10:55 UTC (permalink / raw)
To: buildroot
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?
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...
thanks
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] why to have separate uboot-tools?
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
1 sibling, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2013-06-24 11:15 UTC (permalink / raw)
To: buildroot
On 06/24/2013 07:55 AM, 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?
>
> 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...
Hi.
Because maybe you are just building an uImage and not the bootloader for
your target?
Hence saving time building a complete bootloader and (also) maybe you
lack the customized bootloader source to build a complete target which
would preclude you from building just the tools which don't have
board-specific bits. (not saying this is nice, but it happens sometimes)
Regards.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] why to have separate uboot-tools?
2013-06-24 11:15 ` Gustavo Zacarias
@ 2013-06-24 11:18 ` Jan Pohanka
0 siblings, 0 replies; 4+ messages in thread
From: Jan Pohanka @ 2013-06-24 11:18 UTC (permalink / raw)
To: buildroot
Dne 24.6.2013 13:15, Gustavo Zacarias napsal(a):
> On 06/24/2013 07:55 AM, 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?
>>
>> 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...
> Hi.
> Because maybe you are just building an uImage and not the bootloader for
> your target?
> Hence saving time building a complete bootloader and (also) maybe you
> lack the customized bootloader source to build a complete target which
> would preclude you from building just the tools which don't have
> board-specific bits. (not saying this is nice, but it happens sometimes)
> Regards.
>
Hi,
I'm reconsidering it once again and it seems that current approach is
probably the best... anyway thank you for answer.
regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] why to have separate uboot-tools?
2013-06-24 10:55 [Buildroot] why to have separate uboot-tools? Jan Pohanka
2013-06-24 11:15 ` Gustavo Zacarias
@ 2013-06-24 16:46 ` Arnout Vandecappelle
1 sibling, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2013-06-24 16:46 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-24 16:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox