aboutsummaryrefslogtreecommitdiff
path: root/release/arm64/PINE64.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm64/PINE64.conf')
-rw-r--r--release/arm64/PINE64.conf21
1 files changed, 0 insertions, 21 deletions
diff --git a/release/arm64/PINE64.conf b/release/arm64/PINE64.conf
index 74ec1ff22eee..f20dafd5e624 100644
--- a/release/arm64/PINE64.conf
+++ b/release/arm64/PINE64.conf
@@ -19,29 +19,8 @@ export BOARDNAME="PINE64"
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64"
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
- FATMOUNT="${DESTDIR%${KERNEL}}fat"
- UFSMOUNT="${DESTDIR%${KERNEL}}ufs"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
of=/dev/${mddev} bs=1k seek=8 conv=sync
- chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
- chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
- chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}
-
- BOOTFILES="$(chroot ${CHROOTDIR} \
- env TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \
- WITH_UNIFIED_OBJDIR=yes \
- make -C ${WORLDDIR}/stand -V .OBJDIR)"
- BOOTFILES="$(chroot ${CHROOTDIR} realpath ${BOOTFILES})"
-
- chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/EFI/BOOT
- chroot ${CHROOTDIR} cp -p ${BOOTFILES}/efi/loader/loader.efi \
- ${FATMOUNT}/EFI/BOOT/bootaa64.efi
- chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
- sync
- umount_loop ${CHROOTDIR}/${FATMOUNT}
- umount_loop ${CHROOTDIR}/${UFSMOUNT}
- chroot ${CHROOTDIR} rmdir ${FATMOUNT}
- chroot ${CHROOTDIR} rmdir ${UFSMOUNT}
return 0
}