I am looking for recommendations for a tool that will allow me to build a binary image from a series of smaller images.
I have a built-in flash ROM system that I program using a single image. This image consists of a series of small objects (data, compiled code, etc.) Placed at certain offsets. The build system I inherited uses the troubling amalgam of old 16-bit DOS utilities to crack an image together. I was hoping to find a modern tool that would make the work less mysterious (and less error prone) manner.
The tool should be able to run from the configuration file. That is, I indicate that the A.bin file should be placed at a 4KB offset, the B.bin file should be placed at a 16KB offset, etc. In the configuration file so that the tool does not require repeated manual command prompts. This is mainly because we have another system that will automatically generate these configuration files.
The tool must also be open source (or at least cross-platform). We have developers using Windows and automated build systems using Linux, and the tool should work on both.
I discussed how to hack my own utility in C, but before I went through all the problems associated with development and debugging, I wanted to ask and find out if anyone knew about the tool that was already there that I missed.
Edit: Unfortunately, Cygwin-related tools are not an option for us. One of our mission-critical build tools will work if it is run on a system with Cygwin installed (I think it uses a specific, older cygwin DLL, but this is a completely different fiasco for itself).
source
share