Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 21:46:53 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r333506 - stable/11/release/arm
Message-ID:  <201805112146.w4BLkr7l088271@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805112146.w4BLkr7l088271>