2.3
Flash memory programming
This section describes flash memory programming.
Note
If you are using the recovery images or following the Linaro software release instructions, the firmware
or configuration files do not need to be changed.
For an image file to be programmed into the V2M-Juno motherboard flash memory, it must first be
placed onto the SD card filesystem. Each image must also have a corresponding entry in the
SITE1/
HBI0262[B/C/D]/images.txt
file. This file is used by the V2M-Juno motherboard firmware to
determine which images to program into flash memory at boot time.
Note
ARM recommends that all SoC software images to be loaded are placed in the
SOFTWARE
directory of the
SD card.
The following example illustrates the required format for the
images.txt file
. The number of entries
is likely to differ on a newly received V2M-Juno motherboard.
Example 2-1 Images.txt file format
TITLE: Versatile Express Images Configuration File
[IMAGES]
TOTALIMAGES: 2 ;Number of Images (Max: 32)
NOR0UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR0ADDRESS: 0x00000000 ;Image Flash Address
NOR0FILE: \SOFTWARE\fip.bin ;Image File Name
NOR0LOAD: 00000000 ;Image Load Address
NOR0ENTRY: 00000000 ;Image Entry Point
NOR1UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR1ADDRESS: 0x03EC0000 ;Image Flash Address
NOR1FILE: \SOFTWARE\bl1.bin ;Image File Name
NOR1LOAD: 00000000 ;Image Load Address
NOR1ENTRY: 00000000 ;Image Entry Point
The
TOTALIMAGES
value informs the V2M-Juno motherboard firmware of the number of images to be
programmed into the flash memory of the board. It must match the number of entries that follow it. If the
value is too low, that is, smaller than the number of images, some images are not programmed into the
flash memory. If it is too high, then the behavior of the V2M-Juno motherboard firmware is
UNDEFINED
.
Note
The numbering for images begins at zero. For example,
NOR0UPDATE
,
NOR1UPDATE
.
Each entry must have a consistent format that matches the examples that are given. The
NOR[x]
naming
prefix must increment with every new entry.
You can define a maximum of 32 entries, with
NOR31
being the highest possible prefix name. Above this
value, the behavior of the motherboard firmware is
UNDEFINED
.
For each
NOR[x]
image, the following fields are required:
UPDATE
2 Configuration
2.3 Flash memory programming
ARM DEN0928F
Copyright © 2015 ARM. All rights reserved.
2-19
Non-Confidential