summaryrefslogtreecommitdiff
path: root/libre/uboot-sunxi-linux-libre/mkscr
blob: b79add361740c42bf040935ef7c529df15554a3a (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/uboot-sunxi-linux-libre/boot.txt /boot/uboot-sunxi-linux-libre/boot.scr