aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 19:14:52 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 19:14:52 +0000
commit5a88ea3214999f71c5de25d647345f81851e47fa (patch)
tree3c0cc118c1a9f49682a8c92d8e9e239331981943 /release/arm64
parenta8d0ee755c89eb0986e45fbcc7d45cad437d8f9e (diff)
downloadsrc-5a88ea3214999f71c5de25d647345f81851e47fa.tar.gz
src-5a88ea3214999f71c5de25d647345f81851e47fa.zip
release: arm64: Add PINE64-LTS configuration file
Pine64 isn't produced anymore but Pine64-LTS is. This image works on the LTS release and the Sopine module. Reviewed by: gjb Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16487
Notes
Notes: svn path=/head/; revision=337000
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/PINE64-LTS.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/release/arm64/PINE64-LTS.conf b/release/arm64/PINE64-LTS.conf
new file mode 100644
index 000000000000..388adc9551ed
--- /dev/null
+++ b/release/arm64/PINE64-LTS.conf
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+EMBEDDED_TARGET_ARCH="aarch64"
+EMBEDDED_TARGET="arm64"
+EMBEDDEDBUILD=1
+EMBEDDEDPORTS="sysutils/u-boot-sopine"
+FAT_SIZE="54m -b 1m"
+FAT_TYPE="16"
+IMAGE_SIZE="2560M"
+KERNEL="GENERIC"
+MD_ARGS="-x 63 -y 255"
+NODOC=1
+PART_SCHEME="MBR"
+export BOARDNAME="PINE64-LTS"
+
+arm_install_uboot() {
+ UBOOT_DIR="/usr/local/share/u-boot/u-boot-sopine"
+ UBOOT_FILES="u-boot-sunxi-with-spl.bin"
+ chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
+ of=/dev/${mddev} bs=1k seek=8 conv=sync
+
+ return 0
+}