why to have separate uboot-tools?
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
Quoted 8 lines · Jan Pohanka
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?
Quoted 4 lines
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.
Dne 24.6.2013 13:15, Gustavo Zacarias napsal(a):
Quoted 14 lines · Jan Pohanka
Quoted 9 lines
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?
Quoted 4 lines
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...
Quoted 9 lines
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
Quoted 7 lines · Jan Pohanka
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.
Quoted 4 lines
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
Signature · 6 lines
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