svn commit: r333506 - stable/11/release/arm
Glen Barber
gjb at FreeBSD.org
Fri May 11 21:46:54 UTC 2018
Author: gjb
Date: Fri May 11 21:46:53 2018
New Revision: 333506
URL: https://svnweb.freebsd.org/changeset/base/333506
Log:
Create a sun7i-a20-bananapi.dtb hard link to bananapi.dtb to fix
a boot failure on the Banana Pi SoC.
This is a direct commit to stable/11, as the sun7i-a20-bananapi.dtb
file exists in head, but appears to have been part of a larger
rework of dtb-related files that may have larger consequences than
hard link creation. Note: creating a hard link to dtb files was
an original fix in 12-CURRENT beforehand, introduced in r319603.
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation
Modified:
stable/11/release/arm/BANANAPI.conf
Modified: stable/11/release/arm/BANANAPI.conf
==============================================================================
--- stable/11/release/arm/BANANAPI.conf Fri May 11 21:42:27 2018 (r333505)
+++ stable/11/release/arm/BANANAPI.conf Fri May 11 21:46:53 2018 (r333506)
@@ -30,6 +30,8 @@ arm_install_uboot() {
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
${FATMOUNT}/ubldr.bin
+ chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/bananapi.dtb \
+ ${UFSMOUNT}/boot/dtb/sun7i-a20-bananapi.dtb
chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
sync
umount_loop ${CHROOTDIR}/${FATMOUNT}
More information about the svn-src-stable
mailing list