Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 09:40:06 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538299 - in head/sysutils/u-boot-beaglebone: . files
Message-ID:  <202006090940.0599e6Ib041221@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Tue Jun  9 09:40:05 2020
New Revision: 538299
URL: https://svnweb.freebsd.org/changeset/ports/538299

Log:
  sysutils/u-boot-beaglebone: Fix eMMC boot
  
  Due to rename of CONFIG_NAND -> CONFIG_MTD_RAW_NAND the BBB will not boot from eMMC.
  
  https://github.com/u-boot/u-boot/commit/88718be3001055fa2801a44ab10570279b3f2cb7
  
  https://github.com/u-boot/u-boot/commit/d4c2f6b7e3e2bfd297367d292aa641095c7a18e2
  
  Submitted by:	 Oskar Holmund (oskar.holmlund@ohdata.se)
  Differential Revision:	https://reviews.freebsd.org/D25190

Modified:
  head/sysutils/u-boot-beaglebone/Makefile
  head/sysutils/u-boot-beaglebone/files/bbb_fragment

Modified: head/sysutils/u-boot-beaglebone/Makefile
==============================================================================
--- head/sysutils/u-boot-beaglebone/Makefile	Tue Jun  9 09:32:55 2020	(r538298)
+++ head/sysutils/u-boot-beaglebone/Makefile	Tue Jun  9 09:40:05 2020	(r538299)
@@ -6,6 +6,8 @@ MODEL=		beaglebone
 BOARD_CONFIG=	am335x_evm_defconfig
 FAMILY=		omap
 
+U_BOOT_SLAVE_PORTREVISION_2020.04=	1
+
 CONFIG_FRAGMENT=	${.CURDIR}/files/bbb_fragment
 FRAGMENT_NAME=		bbb_fragment
 

Modified: head/sysutils/u-boot-beaglebone/files/bbb_fragment
==============================================================================
--- head/sysutils/u-boot-beaglebone/files/bbb_fragment	Tue Jun  9 09:32:55 2020	(r538298)
+++ head/sysutils/u-boot-beaglebone/files/bbb_fragment	Tue Jun  9 09:40:05 2020	(r538299)
@@ -2,7 +2,8 @@ CONFIG_API=y
 CONFIG_ARMV7_NONSEC=n
 CONFIG_CMD_CACHE=y
 CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; setenv boot_targets mmc0 mmc1 pxe dhcp; run distro_bootcmd"
-CONFIG_NAND=n
+CONFIG_MTD=n
+CONFIG_MTD_RAW_NAND=n
 CONFIG_SPL_NAND_SUPPORT=n
 CONFIG_CMD_NAND=n
 CONFIG_DFU_NAND=n



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