aboutsummaryrefslogtreecommitdiff
path: root/release/arm/BANANAPI.conf
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-10-06 01:05:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-10-06 01:05:07 +0000
commit777f366fb635ac3f08773b9c002698e3adb4ee66 (patch)
tree69d600a55e7d9cc0d6a218edc27c3c8ad269e65c /release/arm/BANANAPI.conf
parent20dbf8ef41f95d9a8e8be845cbee0c10dc2082f8 (diff)
downloadsrc-777f366fb635ac3f08773b9c002698e3adb4ee66.tar.gz
src-777f366fb635ac3f08773b9c002698e3adb4ee66.zip
Use UBOOT_FILES in the dd(1) input file, as intended.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=288908
Diffstat (limited to 'release/arm/BANANAPI.conf')
-rw-r--r--release/arm/BANANAPI.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm/BANANAPI.conf b/release/arm/BANANAPI.conf
index 48ade9c38d12..15994f4d5e52 100644
--- a/release/arm/BANANAPI.conf
+++ b/release/arm/BANANAPI.conf
@@ -19,10 +19,10 @@ export BOARDNAME="BANANAPI"
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-bananapi"
- UBOOT_FILES="u-boot.img"
+ UBOOT_FILES="u-boot-sunxi-with-spl.bin"
FATMOUNT="${DESTDIR%${KERNEL}}/fat"
UFSMOUNT="${DESTDIR%${KERNEL}}/ufs"
- chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/u-boot-sunxi-with-spl.bin \
+ 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}