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