2017-11-03 20:08:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
EMBEDDED_TARGET_ARCH="aarch64"
|
2017-11-17 18:34:52 +01:00
|
|
|
EMBEDDED_TARGET="arm64"
|
|
|
|
EMBEDDEDBUILD=1
|
2017-11-03 20:08:59 +01:00
|
|
|
EMBEDDEDPORTS="sysutils/u-boot-pine64"
|
|
|
|
FAT_SIZE="54m -b 1m"
|
|
|
|
FAT_TYPE="16"
|
2022-07-13 20:36:22 +02:00
|
|
|
IMAGE_SIZE="5120M"
|
2017-11-17 18:34:52 +01:00
|
|
|
KERNEL="GENERIC"
|
2018-02-16 17:22:54 +01:00
|
|
|
MD_ARGS="-x 63 -y 255"
|
2020-11-19 15:27:01 +01:00
|
|
|
PART_SCHEME="GPT"
|
2021-07-24 17:53:57 +02:00
|
|
|
FDT_OVERLAYS="sun50i-a64-timer"
|
2017-11-03 20:08:59 +01:00
|
|
|
export BOARDNAME="PINE64"
|
|
|
|
|
|
|
|
arm_install_uboot() {
|
|
|
|
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64"
|
2017-11-03 20:32:10 +01:00
|
|
|
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
|
|
|
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
2020-11-19 15:27:01 +01:00
|
|
|
of=/dev/${mddev} bs=128k seek=1 conv=sync
|
2017-11-03 20:08:59 +01:00
|
|
|
|
|
|
|
return 0
|
|
|
|
}
|