svn commit: r512180 - in head/sysutils/u-boot-beaglebone: . files
Emmanuel Vadot
manu at FreeBSD.org
Mon Sep 16 15:07:45 UTC 2019
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"
More information about the svn-ports-head
mailing list