[PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

Willy Tarreau w at 1wt.eu
Tue May 7 05:46:07 EDT 2013


On Tue, May 07, 2013 at 11:33:24AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> no you do not need to generate an image (file) you just need to upload it

I disagree with you on this. While this can generally be true, I (as a user)
absolutely want to have an image that I can upload using various tools, as I
had several issues while trying to upload the image on the mirabox the first
time, leading me to try several different tools.

Also, please note that Xmodem is commonly supported by many terminal servers
on many platforms and does not require that you try to build your code on
these platforms.

In my opinion, the C code should provide a portable, multi-platform binary,
and an external tool should transform it to the finally uploadable binary
image for your specific board or CPU. That way you can ship pre-compiled
binary barebox code if you want, and have the end user adapt it to his own
board.

I don't see how this could be a problem.

Willy




More information about the barebox mailing list