summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2017-08-18 16:43:59 +0000
committergjb <gjb@FreeBSD.org>2017-08-18 16:43:59 +0000
commita4f15424db17b0ebd5cd0efd9a4a8698587fd679 (patch)
tree9325010042b910892c1bc7af10db67f7d9077b8c /release
parent505bc21ab0ebc18185b7a6cab2e17c84f7534a47 (diff)
downloadFreeBSD-src-a4f15424db17b0ebd5cd0efd9a4a8698587fd679.zip
FreeBSD-src-a4f15424db17b0ebd5cd0efd9a4a8698587fd679.tar.gz
Create hard links to the installed dtb files for the BEAGLEBONE [1]
and WANDBOARD [2] images to fix a boot issue. This is a direct commit to stable/10, as the change is not needed for head and stable/11. Approved by: re (marius) Help from: manu [1], ian [2] Tested by: gjb [1], ian [2] Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rw-r--r--release/arm/BEAGLEBONE.conf4
-rw-r--r--release/arm/WANDBOARD.conf4
2 files changed, 8 insertions, 0 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
index 5eba7b9..12cd669 100644
--- a/release/arm/BEAGLEBONE.conf
+++ b/release/arm/BEAGLEBONE.conf
@@ -28,6 +28,10 @@ arm_install_uboot() {
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
${FATMOUNT}/ubldr.bin
+ chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/beaglebone.dtb \
+ ${UFSMOUNT}/boot/dtb/am335x-bone.dtb
+ chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/beaglebone-black.dtb \
+ ${UFSMOUNT}/boot/dtb/am335x-boneblack.dtb
chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
sync
umount_loop ${CHROOTDIR}/${FATMOUNT}
diff --git a/release/arm/WANDBOARD.conf b/release/arm/WANDBOARD.conf
index 6b0ff2b..02e40809 100644
--- a/release/arm/WANDBOARD.conf
+++ b/release/arm/WANDBOARD.conf
@@ -31,6 +31,10 @@ arm_install_uboot() {
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
${FATMOUNT}/ubldr.bin
+ chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/imx6dl-wandboard.dtb \
+ ${UFSMOUNT}/boot/dtb/imx6dl-wandboard-revb1.dtb
+ chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/imx6q-wandboard.dtb
+ ${UFSMOUNT}/boot/dtb/imx6q-wandboard-revb1.dtb
chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
sync
umount_loop ${CHROOTDIR}/${FATMOUNT}
OpenPOWER on IntegriCloud