notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
u-boot-beaglebone Cross-build das u-boot for model beaglebone
2024.07 sysutils on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2022.04_1Version of this port present on the latest quarterly branch.
Maintainer: uboot@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-12-09 20:07:38
Last Update: 2022-09-10 17:41:16
Commit Hash: e79fe1a
People watching this port, also watch:: oss, monit, proggy_fonts-ttf, inotify-tools
License: GPLv2
WWW:
https://www.denx.de/wiki/U-Boot
Description:
U-Boot loader for BeagleBone and BeagleBone Black. To install this bootloader, copy the files MLO and bb-uboot.img to the FAT partition on an SD card or the eMMC. Normally this is partition 1, but different partitions can be set with U-Boot environment variables. This version is patched so that: * API features are enabled. * A boot.scr (U-Boot scripts ) that loads ubldr.bin and execute it is included For information about running FreeBSD on BeagleBone or BeagleBone Black, see https://wiki.freebsd.org/FreeBSD/arm/BeagleBone
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (7 items)
Collapse this list.
  1. share/u-boot/u-boot-beaglebone/u-boot.img
  2. share/u-boot/u-boot-beaglebone/MLO
  3. share/u-boot/u-boot-beaglebone/README
  4. share/u-boot/u-boot-beaglebone/metadata
  5. /usr/local/share/licenses/u-boot-beaglebone-2024.07/catalog.mk
  6. /usr/local/share/licenses/u-boot-beaglebone-2024.07/LICENSE
  7. /usr/local/share/licenses/u-boot-beaglebone-2024.07/GPLv2
Collapse this list.
Dependency lines:
  • u-boot-beaglebone>0:sysutils/u-boot-beaglebone
To install the port:
cd /usr/ports/sysutils/u-boot-beaglebone/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/u-boot-beaglebone
  • pkg install u-boot-beaglebone
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: u-boot-beaglebone
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1727176237 SHA256 (u-boot/u-boot-2024.07.tar.bz2) = f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f SIZE (u-boot/u-boot-2024.07.tar.bz2) = 26086110

Packages (timestamps in pop-ups are UTC):
u-boot-beaglebone
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2024.072024.072020.102024.072024.07---
FreeBSD:13:quarterly2024.072024.07-2024.072024.072023.102023.102023.10
FreeBSD:14:latest2024.072024.07-2024.072024.072023.01-2023.01
FreeBSD:14:quarterly2024.072024.07-2024.072024.072023.102023.102023.10
FreeBSD:15:latest2024.072024.07n/a2024.07n/a2024.012024.012024.01
Master port: sysutils/u-boot-master
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gsed : textproc/gsed
  2. swig : devel/swig
  3. dtc>=1.4.1 : sysutils/dtc
  4. mkimage : sysutils/u-boot-tools
  5. py311-setuptools-pkg>=0 : devel/py-setuptools-pkg@py311
  6. arm-none-eabi-gcc : devel/arm-none-eabi-gcc
  7. e2fsprogs-libuuid>=0 : misc/e2fsprogs-libuuid
  8. gnutls>=0 : security/gnutls
  9. bison : devel/bison
  10. gmake>=4.4.1 : devel/gmake
  11. python3.11 : lang/python311
  12. pkgconf>=1.3.0_1 : devel/pkgconf
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_u-boot-beaglebone
USES:
bison compiler:c11 gmake python:build pkgconfig shebangfix ssl tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. ftp://ftp.denx.de/pub/u-boot/
  2. https://ftp.denx.de/pub/u-boot/
Collapse this list.

Number of commits found: 28

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
This is a slave port. You may also want to view the commits to the master port: sysutils/u-boot-master
CommitCreditsLog message
2022.04_1
10 Sep 2022 17:41:16
commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Author: Tobias Kortkamp
Fix WWW in parent/child ports

Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022.04_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2021.07
14 Jul 2021 19:24:43
commit hash: a92d150593114dc99eae154517ce1696b1b417f6commit hash: a92d150593114dc99eae154517ce1696b1b417f6commit hash: a92d150593114dc99eae154517ce1696b1b417f6commit hash: a92d150593114dc99eae154517ce1696b1b417f6 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
u-boot-*: Remove U_BOOT_SLAVE_PORTREVISION_2021.04

This is not needed anymore as we have 2921.07 now.
2021.04_1
11 May 2021 20:22:54
commit hash: 0d6e5081eb0080c4703f1c5cc69c34f38d9149b7commit hash: 0d6e5081eb0080c4703f1c5cc69c34f38d9149b7commit hash: 0d6e5081eb0080c4703f1c5cc69c34f38d9149b7commit hash: 0d6e5081eb0080c4703f1c5cc69c34f38d9149b7 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-*: Remove ubldr support

We have been using loader.efi on armv7 for a long time now.
Remove support for booting with ubldr and the needed patches that were
never upstreamed.
While here add CONFIG_EFI_GRUB_ARM32_WORKAROUND=y in the Fragment as it's
needed to have the cache flushed for us when loader.efi is started.
2021.04
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021.04
07 Apr 2021 07:57:52
commit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aa files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-*: Update to 2021.04
2020.10
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2020.04_1
09 Jun 2020 09:40:06
Revision:538299Original commit files touched by this commit
manu search for other commits by this committer
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
2019.10
08 Nov 2019 09:17:05
Revision:517039Original commit files touched by this commit
lwhsu search for other commits by this committer
Use HTTPS as possible
2019.10
09 Oct 2019 19:15:25
Revision:514185Original commit files touched by this commit
manu search for other commits by this committer
u-boot: Update to v2019.10

Update u-boot to its latest version.
For RK3399 we now use SPL+TPL from u-boot, no need for RockChip blob.
Remove one efi related patch that isn't needed anymore.

Tested-on: Pine64-LTS, Rock64, Rockpro64, BBB, RPI2, OrangePi One
2019.07_1
16 Sep 2019 15:07:44
Revision:512180Original commit files touched by this commit
manu search for other commits by this committer
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.
2019.04
02 May 2019 16:09:46
Revision:500669Original commit files touched by this commit
lwhsu search for other commits by this committer
Clean up trailing spaces

Approved by:	manu
Sponsored by:	The FreeBSD Foundation
2019.04
10 Apr 2019 21:16:48
Revision:498603Original commit files touched by this commit
manu search for other commits by this committer
sysutils/u-boot: Update to 2019.04

Beaglebone slave port change its defconfig.
ZYNC related u-boot are broken.
2018.07_2
10 Aug 2018 15:49:13
Revision:476839Original commit files touched by this commit
manu search for other commits by this committer
sysutils/u-boot-master etc.: u-boot Improvement for 2018.07

 - Add metadata for IMX6 family
 - While here rename the riotboard family to IMX6 as it should have been
 - Remove the cache patches, they aren't needed anymore.
   I should have checked that with the 2018.07 update
 - beaglebone use a custom bootcmd that calls envboot, this command will try
   to load and source the file boot.scr (u-boot script) from the mmc.
   For some reason it seems to corrupts some memory or something because
   loading and executing ubldr.bin after running this command will either
   hang or cause an exception on undefined instruction.
   I'll check with upstream but in the meantime use a special fragment
   that redefine the bootcmd.
   Note that since u-boot will load the environment from the eMMC, one need
   to 'env default -f -a; saveenv' to have the bootcmd variable correctly
redefined.

Reviewed by:	imp
Approved by:	imp
Differential Revision:	https://reviews.freebsd.org/D16599
2018.03
18 Jun 2018 20:22:13
Revision:472714Original commit files touched by this commit
linimon search for other commits by this committer
Consolidate maintainership of various u-boot ports under u-boot@.

Submitted by:		manu
Differential Revision:	D15884
2018.03
18 Jun 2018 19:51:23
Revision:472710Original commit files touched by this commit
linimon search for other commits by this committer
Update the instruction and description of the u-boot ports which use
u-boot-master.

Submitted by:		manu
Differential Revision:	D15883
2017.01
12 Jan 2017 22:49:01
Revision:431326Original commit files touched by this commit
imp search for other commits by this committer
Roll forward to u-boot v2017.01. Many thanks to manu@ for cleaning up
our patches to u-boot and getting them upstreamed.

Future commits will roll other families over to this as testing on
them is completed.
2016.05
26 Oct 2016 21:33:36
Revision:424739Original commit files touched by this commit
imp search for other commits by this committer
Remove the files added as a stupid workaround for git svn.
2016.05
26 Oct 2016 21:09:19
Revision:424735Original commit files touched by this commit Sanity Test Failure
imp search for other commits by this committer
Create a new u-boot-master port to consolidate all different u-boot
ports.  Switch to using my github branch for grabbing ports.  Convert
the Beaglebone family of ports over to using the new setup.
2014.10_1
24 Jul 2016 11:26:58
Revision:419001Original commit files touched by this commit
pawel search for other commits by this committer
Fix hardcoded package description path

Submitted by:	mat
2014.10_1
24 Jul 2016 09:48:39
Revision:418996Original commit files touched by this commit
pawel search for other commits by this committer
Fix few style violations in u-boot ports:

- GMAKE -> MAKE_CMD, MAKE_CMD is always set to required make implementation
- CP -> INSTALL_DATA, INSTALL_DATA makes sure files are always installed
  with proper permissions
- sysutils/u-boot-rpi: include missed files installed in STAGEDIR in PLIST_FILES

PR:		210982
Submitted by:	myself
Approved by:	maintainers timeout
2014.10_1
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
2014.10_1
09 Aug 2015 01:44:23
Revision:393753Original commit files touched by this commit
ian search for other commits by this committer
Use gcc 4.9.2 to cross-compile u-boot for beaglebone.

Approved by:	rpaulo
2014.10_1
02 Jan 2015 02:09:30
Revision:376035Original commit files touched by this commit
ian search for other commits by this committer
Leave caches enabled when launching u-boot, it speeds up loader(8) and
the kernel can tolerate being entered with caches enabled as of r276445.

Approved by:	imp
2014.10
22 Dec 2014 15:07:54
Revision:375242Original commit files touched by this commit
ian search for other commits by this committer
Changes to allow booting from eMMC on a Beaglebone Black.  Using the
right config (am335x_boneblack_defconfig) is a big part of that.  The
u-boot environment is also pretty extensively changed, both to support
eMMC (choosing which device to load freebsd from) and to further trim
and clean up the environment so it's easier to read and understand.

In an ideal world, the 'mmc 0' device would always be the one u-boot was
loaded from and 'mmc 1' would be 'the other' device.  That's what the
Wandboard u-boot does, and it would be easy enough to do on Beaglebone too
except I couldn't find a way to pass the load device number from MLO which
knows it to the main u-boot.  So for now the removable sdcard is device 0
and the onboard eMMC is device 1, and it prefers to boot from sdcard if
it's present and has ubldr on it (unless the user has set the 'fatdev' env
var, in which case it is used).

Approved by:	imp
2014.10
20 Dec 2014 19:42:46
Revision:375112Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2014.10
09 Dec 2014 20:07:29
Revision:374427Original commit files touched by this commit
imp search for other commits by this committer
FreeBSD customized Beagle Bone Black u-boot boot loader.

Number of commits found: 28