summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-11-10 16:37:04 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2015-11-12 17:51:36 +0000
commit57cf9f78ef1a4c1686c838dcc3f910edb0bc0acb (patch)
tree37f59d224c686512aa508e17261d9919d60e8ea1
parentfec31e7c243fdaf4a15221366e9aac75f4ec16a0 (diff)
downloadvexpress-firmware-57cf9f78ef1a4c1686c838dcc3f910edb0bc0acb.tar.gz
Add startup.nsh to images.txt
startup.nsh can be used by UEFI Shell to auto-start a kernel. The example startup.nsh included is configured to start up a Linaro kernel with the ARM Development Platform Software releases. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--SITE1/HBI0262B/images.txt21
-rw-r--r--SITE1/HBI0262C/images.txt15
-rw-r--r--SOFTWARE/startup.nsh4
3 files changed, 29 insertions, 11 deletions
diff --git a/SITE1/HBI0262B/images.txt b/SITE1/HBI0262B/images.txt
index 95aaa3a..9d46f70 100644
--- a/SITE1/HBI0262B/images.txt
+++ b/SITE1/HBI0262B/images.txt
@@ -1,7 +1,7 @@
TITLE: Versatile Express Images Configuration File
[IMAGES]
-TOTALIMAGES: 8 ;Number of Images (Max: 32)
+TOTALIMAGES: 9 ;Number of Images (Max: 32)
NOR0UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR0ADDRESS: 0x00000000 ;Image Flash Address
@@ -18,7 +18,7 @@ NOR1ENTRY: 00000000 ;Image Entry Point
NOR2UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR2ADDRESS: 0x00500000 ;Image Flash Address
NOR2FILE: \SOFTWARE\Image ;Image File Name
-NOR2NAME: norkern ;Rename kernel to norkern
+NOR2NAME: norkern ;Rename kernel to norkern
NOR2LOAD: 00000000 ;Image Load Address
NOR2ENTRY: 00000000 ;Image Entry Point
@@ -28,11 +28,11 @@ NOR3FILE: \SOFTWARE\juno.dtb ;Image File Name
NOR3NAME: board.dtb ;Specify target filename to preserve file extension
NOR3LOAD: 00000000 ;Image Load Address
NOR3ENTRY: 00000000 ;Image Entry Point
-
+
NOR4UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR4ADDRESS: 0x01800000 ;Image Flash Address
NOR4FILE: \SOFTWARE\ramdisk.img ;Image File Name
-NOR4NAME: ramdisk.img
+NOR4NAME: ramdisk.img
NOR4LOAD: 00000000 ;Image Load Address
NOR4ENTRY: 00000000 ;Image Entry Point
@@ -49,8 +49,15 @@ NOR6LOAD: 00000000 ;Image Load Address
NOR6ENTRY: 00000000 ;Image Entry Point
NOR7UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
-NOR7ADDRESS: 0x0BFC0000 ;Image Flash Address
-NOR7FILE: \SOFTWARE\blank.img ;Image File Name
-NOR7NAME: BOOTENV
+NOR7ADDRESS: AUTO ;Image Flash Address
+NOR7FILE: \SOFTWARE\startup.nsh ;Image File Name
+NOR7NAME: startup.nsh
NOR7LOAD: 00000000 ;Image Load Address
NOR7ENTRY: 00000000 ;Image Entry Point
+
+NOR8UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
+NOR8ADDRESS: 0x0BFC0000 ;Image Flash Address
+NOR8FILE: \SOFTWARE\blank.img ;Image File Name
+NOR8NAME: BOOTENV
+NOR8LOAD: 00000000 ;Image Load Address
+NOR8ENTRY: 00000000 ;Image Entry Point
diff --git a/SITE1/HBI0262C/images.txt b/SITE1/HBI0262C/images.txt
index ad9848a..a9643fe 100644
--- a/SITE1/HBI0262C/images.txt
+++ b/SITE1/HBI0262C/images.txt
@@ -1,7 +1,7 @@
TITLE: Versatile Express Images Configuration File
[IMAGES]
-TOTALIMAGES: 8 ;Number of Images (Max: 32)
+TOTALIMAGES: 9 ;Number of Images (Max: 32)
NOR0UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
NOR0ADDRESS: 0x00000000 ;Image Flash Address
@@ -49,8 +49,15 @@ NOR6LOAD: 00000000 ;Image Load Address
NOR6ENTRY: 00000000 ;Image Entry Point
NOR7UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
-NOR7ADDRESS: 0x0BFC0000 ;Image Flash Address
-NOR7FILE: \SOFTWARE\blank.img ;Image File Name
-NOR7NAME: BOOTENV
+NOR7ADDRESS: AUTO ;Image Flash Address
+NOR7FILE: \SOFTWARE\startup.nsh ;Image File Name
+NOR7NAME: startup.nsh
NOR7LOAD: 00000000 ;Image Load Address
NOR7ENTRY: 00000000 ;Image Entry Point
+
+NOR8UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
+NOR8ADDRESS: 0x0BFC0000 ;Image Flash Address
+NOR8FILE: \SOFTWARE\blank.img ;Image File Name
+NOR8NAME: BOOTENV
+NOR8LOAD: 00000000 ;Image Load Address
+NOR8ENTRY: 00000000 ;Image Entry Point
diff --git a/SOFTWARE/startup.nsh b/SOFTWARE/startup.nsh
new file mode 100644
index 0000000..c5df665
--- /dev/null
+++ b/SOFTWARE/startup.nsh
@@ -0,0 +1,4 @@
+echo -off
+echo Juno startup.nsh from NOR flash
+echo Example command to start the kernel:
+echo norkern dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200n8 root=/dev/sda2 rw rootwait earlyprintk=pl011,0x7ff80000 debug user_debug=31 androidboot.hardware=juno loglevel=9 sky2.mac_address=0xAA,0xBB,0xCC,0xDD,0xEE,0xFF