diff options
author | Erich Eckner <git@eckner.net> | 2019-09-19 10:19:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-19 10:19:40 +0200 |
commit | b24ce6d769146e9dceda85dfb537864fa72e0f53 (patch) | |
tree | 6516013686637e673b45beda5c3aaccd48d50b74 /uboot-sunxi/mkscr | |
parent | 14ae93e0b1b8a16863ede35bdc4b1e84a8ca363f (diff) | |
download | archlinuxewe.git.save-b24ce6d769146e9dceda85dfb537864fa72e0f53.tar.xz |
uboot-sunxi: first trial
Diffstat (limited to 'uboot-sunxi/mkscr')
-rwxr-xr-x | uboot-sunxi/mkscr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/uboot-sunxi/mkscr b/uboot-sunxi/mkscr new file mode 100755 index 00000000..272b6a7a --- /dev/null +++ b/uboot-sunxi/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 |