Arm Image Format Explained

Arm Image Format
Owner:Acorn Computers
Genre:Binary, executable

In computer programming, the Arm Image Format (AIF) is an object file format used primarily for software intended to run on ARM microprocessors. It was introduced by Acorn Computers for use with their Archimedes computer. It can optionally facilitate debugging, including under operating systems running on other processor architectures.

Format

The file can be either executable or non-executable and is loaded at 0x8000 unless otherwise specified.[1] Executable files can relocate themselves if necessary and non-executable files are prepared for execution by an image loader. An extended AIF is a type of non-executable which includes information to enable the placement of code and data within specific areas of memory.

The file includes a header and separate areas of read-only and read-write code/data. It can optionally include data for debugging and the code (with list) for self-relocation.

AIF header

The header includes information about self-relocation, entry point, exit instruction, area sizes and locations, debug type, addressing mode and memory placement (in the case of the extended file).

An allocation was later made in the header to mark executables as being "StrongARM-ready", to address some backward compatibility issues.[2]

Debugging

The files can be run for debugging under DOS and SunOS using the ARM Windowing Debugger.[3]

Other uses

Microsoft's MMLite modular system architecture supports the loading of various image formats,[4] including AIF files.[5] [6] Porting of Wind River Systems' VxWorks operating system to the StrongARM EBSA-285 board involved using AIF files.[7]

Notes and References

  1. Web site: ARM Software Development Toolkit Reference Guide. ARM Holdings. 28 June 2012.
  2. Web site: Application Note 295. Engineering Support Application Note. Acorn Computers. 28 June 2012. 4 October 1996. https://archive.today/20130104150342/http://acorn.riscos.com/riscos3/37/37DiscImage/Manuals/AppNote. 2013-01-04. dead.
  3. Web site: armwd - The ARM Windowing Debugger. Man Pages for ARM Tools. University of Cambridge. 28 June 2012.
  4. 10.1145/319195.319210 . MMLite: a highly componentized system architecture . Proceedings of the 8th ACM SIGOPS European Workshop on Support for Composing Distributed Applications . 96–103 . 1998 . Helander . Johannes . Forin . Alessandro . free .
  5. Web site: Everything You Always Wanted To Know About MMLite (but were afraid to ask): The FAQ for MMLite. Microsoft Invisible Computing. Microsoft. 28 June 2012. 2004.
  6. Web site: aif_ldr.c. Microsoft Invisible Computing. Microsoft. 28 June 2012. 2004.
  7. Web site: Porting VxWorks to an Intel StrongARM SA-110 Based Platform . . 28 June 2012 . April 2001 .