Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 15:07:44 +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: r512180 - in head/sysutils/u-boot-beaglebone: . files
Message-ID:  <201909161507.x8GF7iBs052997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Mon Sep 16 15:07:44 2019
New Revision: 512180
URL: https://svnweb.freebsd.org/changeset/ports/512180

Log:
  u-boot-beaglebone: Add some fragment data to disable NAND
  
  Since u-boot merged the beaglebone defconfig with the am335x_evm ones
  eMMC support is seriously broken.
  Disabling NAND support (which isn't present on BBB) make this works again
  as they share some pins.
  Also remove the legacy_mmc targets as it is Linux centric.

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	Mon Sep 16 14:02:47 2019	(r512179)
+++ head/sysutils/u-boot-beaglebone/Makefile	Mon Sep 16 15:07:44 2019	(r512180)
@@ -2,6 +2,8 @@
 
 MASTERDIR=	${.CURDIR}/../u-boot-master
 
+U_BOOT_SLAVE_PORTREVISION_2019.07=	1
+
 MODEL=		beaglebone
 BOARD_CONFIG=	am335x_evm_defconfig
 FAMILY=		omap

Modified: head/sysutils/u-boot-beaglebone/files/bbb_fragment
==============================================================================
--- head/sysutils/u-boot-beaglebone/files/bbb_fragment	Mon Sep 16 14:02:47 2019	(r512179)
+++ head/sysutils/u-boot-beaglebone/files/bbb_fragment	Mon Sep 16 15:07:44 2019	(r512180)
@@ -1,4 +1,10 @@
 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; run distro_bootcmd"
+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_SPL_NAND_SUPPORT=n
+CONFIG_CMD_NAND=n
+CONFIG_DFU_NAND=n
+CONFIG_ENV_IS_IN_MMC=y
+CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"



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