MVME7100 Single Board Computer Installation and Use (6806800E08A)
MOTLoad Firmware User Images
96
z IMAGE_POST
If set, this flag defines the image as being a power-on self-test image. This bit flag is used
to indicate that the image is a diagnostic and should be run prior to running either USER or
MCG boot images. POST images are expected, but not required, to return to the boot block
code upon completion.
z DONT_AUTO_RUN
If set, this flag indicates that the image is not to be selected for automatic execution. A user,
through the interactive command facility, may specify the image to be executed.
6.7.3 User Images
These images are user-developer boot code; for example, a VxWorks bootrom image. Such
images may expect the system software state to be as follows upon entry:
z The MMU is disabled.
z L1 instruction cache has been initialized and is enabled.
z L1 data cache has been initialized (invalidated) and is disabled.
z L2 cache is disabled.
z L3 cache is disabled.
z RAM has been initialized and is mapped starting at CPU address 0.
z If RAM ECC or parity is supported, RAM has been scrubbed of ECC or parity errors.
z The active flash bank (boot) is mapped from the upper end of the address space.
z If specified by COPY_TO_RAM, the image has been copied to RAM at the address
specified by ImageRamAddress.
z CPU register R1 (the stack pointer) has been initialized to a value near the end of RAM.
z CPU register R3 is added to the following structure:
typedef struct altBootData {
unsigned int ramSize;/* board's RAM size in MB */
void flashPtr;/* ptr to this image in flash */
char boardType[16];/* name string, eg MVME7100 */
void globalData;/* 16K, zeroed, user defined */
unsigned int reserved[12];
} altBootData_t;
MOTLoad currently uses an Image Flag value of 0x3, which identifies itself as an
Alternate MOTLoad image that executes from RAM. MOTLoad currently does not
support execution from flash.