1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6EMBEDDED_TARGET_ARCH="aarch64" 7EMBEDDED_TARGET="arm64" 8EMBEDDEDBUILD=1 9EMBEDDEDPORTS="sysutils/u-boot-pine64-lts" 10FAT_SIZE="54m -b 1m" 11FAT_TYPE="16" 12IMAGE_SIZE="5120M" 13KERNEL="GENERIC" 14MD_ARGS="-x 63 -y 255" 15PART_SCHEME="GPT" 16FDT_OVERLAYS="sun50i-a64-timer" 17export BOARDNAME="PINE64-LTS" 18 19arm_install_uboot() { 20 UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64-lts" 21 UBOOT_FILES="u-boot-sunxi-with-spl.bin" 22 chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \ 23 of=/dev/${mddev} bs=128k seek=1 conv=sync 24 25 return 0 26} 27