Summary

Description

Warning This program is has no real-world application. It is only useful for embedded systems with an OS without File-system support.

Program takes one or more input files, and generates a word (32bit) aligned memory image. If more then one file is specified an TOC is perpended. The TOC is constructed as follow:

uint32_t

number of files

void *

pointer to start of first file

void *

pointer to start of second file

..

..

void *

pointer to start of last file.

void *

pointer to end of last file.

Note The utility is big-endian. To change, replace htobe32 with htole32

Dependencies

  • C compiler

Usage

This utility is written for and currently used at the Technical University of Eindhoven.

Limitation

To avoid long uploads, the current image size is limited to 16 mbytes.

License

The program is licensed under the GPL-v2 license.

Download

The source code can be found here.