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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
u-boot-rpi Cross-build das u-boot for model rpi
2024.01 sysutils on this many watch lists=1 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 2024.01Version of this port present on the latest quarterly branch.
Maintainer: uboot@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-12-11 19:47:37
Last Update: 2024-01-12 17:08:45
Commit Hash: 25cd322
People watching this port, also watch:: u-boot-rpi4, u-boot-NONE, u-boot-rpi-arm64, rpi-firmware
License: GPLv2
WWW:
https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi
Description:
U-Boot loader for Raspberry Pi To install this bootloader, copy u-boot.bin in the share/u-boot/u-boot-rpi directory to the first partition, formatted as FAT16 or FAT32, on an SD card. You will also need the firmware files from the rpi-firmware package. This version is patched so that: * ELF and API features are enabled. * The distroboot command knows how to load FreeBSD loader(8) * By default, it loads ubldr.bin (PIE) from file ubldr.bin on the FAT partition to address ${kernel_addr_r}, and launches it. If ubldr.bin is not found, it falls back on ubldr For information about running FreeBSD on RaspberryPi, see For general information about U-Boot see WWW: https://www.denx.de/wiki/U-Boot
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 (6 items)
Collapse this list.
  1. share/u-boot/u-boot-rpi/u-boot.bin
  2. share/u-boot/u-boot-rpi/README
  3. share/u-boot/u-boot-rpi/metadata
  4. /usr/local/share/licenses/u-boot-rpi-2024.01/catalog.mk
  5. /usr/local/share/licenses/u-boot-rpi-2024.01/LICENSE
  6. /usr/local/share/licenses/u-boot-rpi-2024.01/GPLv2
Collapse this list.
Dependency lines:
  • u-boot-rpi>0:sysutils/u-boot-rpi
To install the port:
cd /usr/ports/sysutils/u-boot-rpi/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/u-boot-rpi
  • pkg install u-boot-rpi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: u-boot-rpi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1704888643 SHA256 (u-boot/u-boot-2024.01.tar.bz2) = b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 SIZE (u-boot/u-boot-2024.01.tar.bz2) = 19926911

Packages (timestamps in pop-ups are UTC):
u-boot-rpi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2024.012024.012020.102024.012024.01---
FreeBSD:13:quarterly2024.012024.01-2024.012024.012023.10_12023.10_12023.10_1
FreeBSD:14:latest2024.012024.01-2024.012024.012023.01-2023.01
FreeBSD:14:quarterly2024.012024.01-2024.012024.012023.10_12023.10_12023.10_1
FreeBSD:15:latest2024.012024.01n/a2024.01n/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. py39-setuptools-pkg>=0 : devel/py-setuptools-pkg@py39
  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.3 : devel/gmake
  11. python3.9 : lang/python39
  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-rpi
USES:
bison gmake python:build pkgconfig shebangfix 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: 32

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
2024.01
12 Jan 2024 17:08:45
commit hash: 25cd322adb7a5aa44be259be83da202cf824f173commit hash: 25cd322adb7a5aa44be259be83da202cf824f173commit hash: 25cd322adb7a5aa44be259be83da202cf824f173commit hash: 25cd322adb7a5aa44be259be83da202cf824f173 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-*: Update to 2024.01

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2023.10_1
10 Dec 2023 08:38:31
commit hash: 8b9b8aae81be653e37160b9f23ca4a18b99f4b51commit hash: 8b9b8aae81be653e37160b9f23ca4a18b99f4b51commit hash: 8b9b8aae81be653e37160b9f23ca4a18b99f4b51commit hash: 8b9b8aae81be653e37160b9f23ca4a18b99f4b51 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-rpi*: Fix sd boot after v2023.10 update

U-Boot update broke sd boot for rpi* models, use upstream patch that fixes it.

PR:		275655
Sponsored by:	Beckhoff Automation GmbH & Co.KG
2023.10
09 Dec 2023 11:24:54
commit hash: b907c5e257346bc2bdc77258a3d76b3700a2f18ecommit hash: b907c5e257346bc2bdc77258a3d76b3700a2f18ecommit hash: b907c5e257346bc2bdc77258a3d76b3700a2f18ecommit hash: b907c5e257346bc2bdc77258a3d76b3700a2f18e files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-master: Update to 2023.10

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2022.04_1
08 Sep 2022 15:46:38
commit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757ea files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW lines that have been moved into Makefiles

Approved by:	portmgr (implicit)
2022.04_1
08 Sep 2022 15:43:21
commit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216f files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Move more WWW entries from pkg-descr files into Makefiles

The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.

Approved by:	portmgr (implicit)
2022.04
03 May 2022 08:10:43
commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot: Update to 2022.04
2021.07_1
09 Nov 2021 19:56:54
commit hash: 0de03bbf192d56b2cd125c6048dbd058bac49be6commit hash: 0de03bbf192d56b2cd125c6048dbd058bac49be6commit hash: 0de03bbf192d56b2cd125c6048dbd058bac49be6commit hash: 0de03bbf192d56b2cd125c6048dbd058bac49be6 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-*: Add patch to fix MMC ordering

For FreeBSD we use a dtb overlay that switches between the sdhost and
the sdhci controller for sd card.
Recent changes in u-boot device model changed device numbering and the
sd card controller became "mmc2" for our setup which isn't accounted for
in the possible boot devices.
Patch isn't accepted yet upstream but bring this patch in for our ports anyway.
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
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.
2019.01
04 Feb 2019 18:22:06
Revision:492147Original commit files touched by this commit
manu search for other commits by this committer
Update U-Boot to 2019.01

This removes a lot of local patches

Approved by:	bapt (mentor, implicit)
2018.07_1
29 Jul 2018 17:37:00
Revision:475665Original commit files touched by this commit
imp search for other commits by this committer
Minor cleanup of u-boot's patches

Move to using the 'raw' patches for those patches that are currently
in u-boot's upstream landing zone.  Move to using a u-boot directory
since the numeric names aren't very u-boot specific and might
conflict. Bump PORTREVISION out of an abundance of caution.

Differential Review: https://reviews.freebsd.org/D16409
2018.07
23 Jul 2018 03:04:18
Revision:475142Original commit files touched by this commit
imp search for other commits by this committer
Remove MAINTAINER lines. They are set by the master port and all these
ports are maintained by the uboot@ mailing list.

Approved by: uboot@ (maintainer of these ports)
Differential Review: https://reviews.freebsd.org/D16397
2018.07
23 Jul 2018 03:04:08
Revision:475141Original commit files touched by this commit
imp search for other commits by this committer
Revert r475122, r475123 and r475124.

To manage upstream, we use the exact patches we've submitted upstream
via their patchwork server. This deviates a little from a standard
port, but it's what we do with all the other u-boot ports and isn't
grossly out of line (many other ports pull patches during the build).
We do it this way because the standard way was an unmanageable
nightmare and resulted in divergence of u-boot ports.

Approved by: uboot@ (maintainer of these ports)
Differential Revision: https://reviews.freebsd.org/D16397
2018.07
22 Jul 2018 20:25:39
Revision:475123Original commit files touched by this commit
linimon search for other commits by this committer
Use patchfiles that are in accordance with accepted Ports Collection usage.
2018.07
22 Jul 2018 20:20:12
Revision:475122Original commit files touched by this commit
linimon search for other commits by this committer
Add patchfiles that are in accordance with accepted Ports Collection usage.
2018.07
22 Jul 2018 11:58:23
Revision:475103Original commit files touched by this commit
manu search for other commits by this committer
u-boot: Update to v2018.07

This add:

 - Explicit Depency on bison
 - Remove the DTC= on MAKE_ARGS as we use the BINARY_ALIAS already
 - metadata variables
 - Add cache cmds and disable secure boot
 - All RPI uses some special fragments to enable OF_BOARD.
   This makes u-boot using the DTB loaded by the firmware instead of
   using it's own.
 - For patches accepted but not in mainline due to timing issue use patchwork
   directly instead of putting files in the port
 - All armv7 boards are EFI enabled and boot in secure mode
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2018.03
22 May 2018 17:49:05
Revision:470647Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
2017.09.00
15 Nov 2017 18:50:36
Revision:454262Original commit files touched by this commit
manu search for other commits by this committer
Update the u-boot-rpi port to use the u-boot-master port.
This also bring u-boot to version 2017.09 and the firmware files are no
longer in this port but in sysutils/rpi-firmware.
Also I'm stepping in as maintainer.

Tested On: RPI-B, RPI0v1.2, RPI0v1.3

Reviewed by:	imp
Approved by:	imp
Differential Revision:	https://reviews.freebsd.org/D13048
2016.01_1
24 Dec 2016 18:58:31
Revision:429378Original commit files touched by this commit
antoine search for other commits by this committer
Fix build after arm-none-eabi-gcc was updated to 6.2.0
2016.01_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
2016.01
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
2016.01
19 Feb 2016 23:15:24
Revision:409216Original commit files touched by this commit
ian search for other commits by this committer
Update u-boot-rpi to the latest versions of u-boot and firmware files.

The updated boot firmware reportedly supports the new Rpi Zero as well as
existing models. The latest u-boot now runs with caches enabled for faster
booting.

These changes add the standard freebsd API patch to flush caches on device
close. Also, CONFIG_CMD_ELF is removed from our config changes, because it's
now on by default for rpi in 2016.01.

Approved by:	sbruno(mentor)
Differential Revision:	https://reviews.freebsd.org/D5150
2015.10
23 Oct 2015 19:12:27
Revision:400051Original commit files touched by this commit
brd search for other commits by this committer
Update sysutils/u-boot-rpi to 2015.10

Submitted by:	ian
Approved by:	bdrewery (mentor)
2013.01_2
09 Aug 2015 01:38:56
Revision:393752Original 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 rpi.

Approved by:	rpaulo
2013.01_2
07 May 2015 20:24:16
Revision:385665Original commit files touched by this commit
mat search for other commits by this committer
Update ports in the remaining categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2013.01_2
19 Mar 2015 16:44:59
Revision:381618Original commit files touched by this commit
bdrewery search for other commits by this committer
Update USE_GITHUB so it does not require GH_COMMIT.

Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2013.01_2
19 Jan 2015 02:23:07
Revision:377377Original commit files touched by this commit
ian search for other commits by this committer
Use new RPi boot firmware files.  Also, fix a typo in the ubldr load address.

Approved by:	bapt
2013.01_1
02 Jan 2015 02:18:38
Revision:376038Original commit files touched by this commit
ian search for other commits by this committer
Add all the files required to boot a Raspberry Pi to the port.  Also, change
the default environment variables to be similar to wandboard and beaglebone.

Approved by:	imp
2013.01
20 Dec 2014 19:42:46
Revision:375112Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2013.01
11 Dec 2014 18:33:20
Revision:374545Original commit files touched by this commit
imp search for other commits by this committer
Customized version of uboot for RPi, with extra files for boot
images.

Submitted by: ian@

Number of commits found: 32