summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-07-01 11:17:12 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2015-07-24 13:23:45 +0100
commit3c3c6f52530660a7fb3203e3b8ae41054c22c194 (patch)
treed1b5f04c5980c0b70efc9eb334ac8947e52e8509
parente330bfa72b9c73f994eb03b24d7401a398aa6ace (diff)
tc2: add blank.img
blank.img is placed where the UEFI config is stored. When the user first flashes their board with the firmware, blank.img (which is all zeros) will be written to the NOR flash, effectively erasing the UEFI config. Then, when UEFI starts, it will spot that the config is blank and create a default set. Subsequent reboots will not re-write blank.img, so the config will persist. Users can also erase the UEFI config manually by updating the timestamp of blank.img and rebooting the board. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--SITE1/HBI0249A/images.txt8
-rw-r--r--SOFTWARE/blank.imgbin0 -> 196608 bytes
2 files changed, 7 insertions, 1 deletions
diff --git a/SITE1/HBI0249A/images.txt b/SITE1/HBI0249A/images.txt
index f2d57fb..5e3213f 100644
--- a/SITE1/HBI0249A/images.txt
+++ b/SITE1/HBI0249A/images.txt
@@ -1,7 +1,7 @@
TITLE: Versatile Express Images Configuration File
[IMAGES]
-TOTALIMAGES: 6 ;Number of Images (Max : 32)
+TOTALIMAGES: 7 ;Number of Images (Max : 32)
NOR0UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR0ADDRESS: BOOT ;Image Flash Address
NOR0FILE: \SOFTWARE\bm_v522r.axf ;Image File Name
@@ -36,3 +36,9 @@ NOR5ADDRESS: 0d000000 ;Image Flash Address
NOR5FILE: \SOFTWARE\TC2\boot.bin ;Image File Name
NOR5LOAD: b0000000 ;Image Load Address
NOR5ENTRY: b0000000 ;Image Entry Point
+
+NOR6UPDATE: AUTO ;IMAGE UPDATE:NONE/AUTO/FORCE
+NOR6ADDRESS: 0ffc0000 ;Image Flash Address
+NOR6FILE: \SOFTWARE\blank.img ;Image File Name
+NOR6LOAD: 00000000 ;Image Load Address
+NOR6ENTRY: 00000000 ;Image Entry Point
diff --git a/SOFTWARE/blank.img b/SOFTWARE/blank.img
new file mode 100644
index 0000000..95ea767
--- /dev/null
+++ b/SOFTWARE/blank.img
Binary files differ