aboutsummaryrefslogtreecommitdiff
path: root/release/arm/CUBOX-HUMMINGBOARD.conf
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 19:12:31 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 19:12:31 +0000
commit33bec6889a0957d1c06c36378157a46a95fcb004 (patch)
treecde0ec089c9a010c78b751b22f193f68892aed4d /release/arm/CUBOX-HUMMINGBOARD.conf
parent89f81528b34485aaea5331130daae4f44ef06883 (diff)
downloadsrc-33bec6889a0957d1c06c36378157a46a95fcb004.tar.gz
src-33bec6889a0957d1c06c36378157a46a95fcb004.zip
release: arm: Always boot armv6/v7 image with EFI
boot.scr is a u-boot script that loads and execute ubldr.bin If not present u-boot will automatically boot loader.efi which is already installed. This means that all armv6/armv7 images are now booted via EFI Tested-On: RPI-B Tested-On: RPI2 Tested-On: OrangePi One Tested-On: All lot of other boards MFC after: Never Relnotes: yes
Notes
Notes: svn path=/head/; revision=336998
Diffstat (limited to 'release/arm/CUBOX-HUMMINGBOARD.conf')
-rw-r--r--release/arm/CUBOX-HUMMINGBOARD.conf7
1 files changed, 0 insertions, 7 deletions
diff --git a/release/arm/CUBOX-HUMMINGBOARD.conf b/release/arm/CUBOX-HUMMINGBOARD.conf
index 9eaa77cf5dc9..38ba58642d20 100644
--- a/release/arm/CUBOX-HUMMINGBOARD.conf
+++ b/release/arm/CUBOX-HUMMINGBOARD.conf
@@ -19,15 +19,8 @@ export BOARDNAME="CUBOX-HUMMINGBOARD"
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-cubox-hummingboard"
UBOOT_FILES="u-boot.imx"
- FATMOUNT="${DESTDIR%${KERNEL}}/fat"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
of=/dev/${mddev} bs=512 seek=2 conv=sync
- chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}"
- chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
- chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
- sync
- umount_loop ${CHROOTDIR}/${FATMOUNT}
- chroot ${CHROOTDIR} rmdir ${FATMOUNT}
return 0
}