diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-24 16:32:25 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-24 16:32:25 +0000 |
commit | 0edb2e1d0caa9e90f7e91e494ed5ca57e76fe84d (patch) | |
tree | 99116869c91a00de683091502a49a7272811b587 /release/arm64 | |
parent | 38e4df107d9c6dd5f83fec091939e3721bc6d4fe (diff) | |
download | src-0edb2e1d0caa9e90f7e91e494ed5ca57e76fe84d.tar.gz src-0edb2e1d0caa9e90f7e91e494ed5ca57e76fe84d.zip |
Notes
Diffstat (limited to 'release/arm64')
-rw-r--r-- | release/arm64/ROCKPRO64.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/release/arm64/ROCKPRO64.conf b/release/arm64/ROCKPRO64.conf new file mode 100644 index 000000000000..fc454e30ec72 --- /dev/null +++ b/release/arm64/ROCKPRO64.conf @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +EMBEDDED_TARGET_ARCH="aarch64" +EMBEDDED_TARGET="arm64" +EMBEDDEDBUILD=1 +EMBEDDEDPORTS="sysutils/u-boot-rockpro64" +FAT_SIZE="50m -b 16m" +FAT_TYPE="16" +IMAGE_SIZE="3072M" +KERNEL="GENERIC" +MD_ARGS="-x 63 -y 255" +NODOC=1 +PART_SCHEME="GPT" +export BOARDNAME="ROCKPRO64" + +arm_install_uboot() { + UBOOT_DIR="/usr/local/share/u-boot/u-boot-rockpro64" + UBOOT_FILE_1="idbloader.img" + UBOOT_FILE_2="u-boot.itb" + chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILE_1} \ + of=/dev/${mddev} bs=512 seek=64 conv=sync + chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILE_2} \ + of=/dev/${mddev} bs=512 seek=16384 conv=sync + return 0 +} |