summaryrefslogtreecommitdiff
path: root/libre/uboot-am335x_bone/mkscr
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-03-20 15:05:57 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-03-20 15:05:57 +0100
commitbb465742c679d4775c512255e05cf7ba726ba94b (patch)
treec80ed07731dbc23de5aed2842352db2675ce3a13 /libre/uboot-am335x_bone/mkscr
parent017c6b9a87283416d0169d345335950e25d71694 (diff)
downloadabslibre-bb465742c679d4775c512255e05cf7ba726ba94b.tar.gz
abslibre-bb465742c679d4775c512255e05cf7ba726ba94b.tar.bz2
abslibre-bb465742c679d4775c512255e05cf7ba726ba94b.zip
libre/uboot-am335x_bone: updated to 2017.07
Diffstat (limited to 'libre/uboot-am335x_bone/mkscr')
-rwxr-xr-xlibre/uboot-am335x_bone/mkscr9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/uboot-am335x_bone/mkscr b/libre/uboot-am335x_bone/mkscr
new file mode 100755
index 000000000..272b6a7a5
--- /dev/null
+++ b/libre/uboot-am335x_bone/mkscr
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [[ ! -x /usr/bin/mkimage ]]; then
+ echo "mkimage not found. Please install uboot-tools:"
+ echo " pacman -S uboot-tools"
+ exit 1
+fi
+
+mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr