summaryrefslogtreecommitdiff
path: root/libre/uboot-sunxi/mkscr
blob: 272b6a7a500f1b7d27677e94fae620278b39530c (plain)
1
2
3
4
5
6
7
8
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