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