CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

sysutils/u-boot-rpi2 2026.10

Cross-build das u-boot for model rpi2

Maintainer
uboot@FreeBSD.org
Packages
latest: 2026.10
Upstream
up to date
Last update
to 2026.10 via sysutils/u-boot-master · 4989d5bddf
Quarterly
2026Q4: 2026.07
WWW
https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi
Links
cgit · VuXML

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2026.10.

Fixed (0)

No VuXML entries for this package.

Problem reports (1) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
287647maintainer-feedback? sysutils/u-boot-rpi2 does not enable saving u-boot environment variables between sessionsNew2025-07-27

Commits (25)

Emmanuel Vadot (manu)
sysutils/u-boot-*: Update to 2024.01

Sponsored by:	Beckhoff Automation GmbH & Co. KG
25cd322adb
Emmanuel Vadot (manu)
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
8b9b8aae81
Emmanuel Vadot (manu)
sysutils/u-boot-master: Update to 2023.10

Sponsored by:	Beckhoff Automation GmbH & Co. KG
b907c5e257
Stefan Eßer (se)
Remove WWW lines that have been moved into Makefiles

Approved by:	portmgr (implicit)
ade2a047e0
Stefan Eßer (se)
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)
986beaaabc
Emmanuel Vadot (manu)
sysutils/u-boot: Update to 2022.04
ecad553eda
Emmanuel Vadot (manu)
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.
0de03bbf19
Emmanuel Vadot (manu)
u-boot-*: Remove U_BOOT_SLAVE_PORTREVISION_2021.04

This is not needed anymore as we have 2921.07 now.
a92d150593
Emmanuel Vadot (manu)
sysutils/u-boot-rpi2: Add CONFIG_EFI_GRUB_ARM32_WORKAROUND

We need this config to flush the caches, it was added to the generic
FreeBSD_Fragment but this ports uses a dedicated fragment to add it
there too.
While here remove CONFIG_API and CONFIG_CMD_CACHE as those aren't usefull
for EFI boot flow.
6192585487
Emmanuel Vadot (manu)
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.
0d6e5081eb
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148f48
Emmanuel Vadot (manu)
Update U-Boot to 2019.01

This removes a lot of local patches

Approved by:	bapt (mentor, implicit)
97dfdb9cd8
Emmanuel Vadot (manu)
sysutils/u-boot: Update to 2018.11

Tested-On: RPI*
Tested-On: OrangePi One
Tested-On: Pine*

sysutils/u-boot-pinebook: Update to latest upstream patches

All those patches have been merged upstream but have not made into the
latest u-boot release, add them here as they have bugfixes and hardware support
improvement.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D18312, https://reviews.freebsd.org/D18314
11cd261f9f
Warner Losh (imp)
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
434b2b7423
Warner Losh (imp)
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
6fd043e09b
Warner Losh (imp)
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
5da9b25ce5
Mark Linimon (linimon)
Add and use patchfiles that are in accordance with accepted Ports Collection usage.
b8623ee004
Emmanuel Vadot (manu)
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

More on metadata file :

The goal is to have a u-boot-install package that will read those and auto
install u-boot either on a dir (method copy) or on a device (method raw)
As all the u-boots are either one file to be dd'ed or one/multiple files
to be copied this simple method is good enough.
Since the maximum variable is 4 (for the raw method), simply use echo instead
of a .in files (ok bapt@)

Reviewed by:	imp
Approved by:	imp (implicit)
Differential Revision:	https://reviews.freebsd.org/D16241
953f0408fa
Sunpoet Po-Chuan Hsieh (sunpoet)
Update WWW

Approved by:	portmgr (blanket)
2b67696a2c
Emmanuel Vadot (manu)
Update the u-boot-rpi2 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: RPI2v1.1, RPI2v1.2

Reviewed by:	imp
Approved by:	imp
Differential Revision:	https://reviews.freebsd.org/D13049
8b560bb51c
Antoine Brodin (antoine) · 2015.04
Fix build after arm-none-eabi-gcc was updated to 6.2.0
c8b8d9aff4
Pawel Pekala (pawel) · 2015.04
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
d9ed9ba794
Mathieu Arnold (mat) · 2015.04
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
597afc47ba
Luiz Otavio O Souza (loos) · 2015.04
U-Boot loader and related files for Raspberry Pi 2

To install this bootloader, copy ALL the files in the share/u-boot/u-boot-rpi2
directory to the first partition, formatted as FAT32, on an SD card.

This version is patched so that:
 * ELF and API features are enabled.
 * The default environment is trimmed to just what's needed to boot.
 * The saveenv command writes to the file uboot.env on the FAT partition.

For information about running FreeBSD on RaspberryPi, see
WWW: http://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi

For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot

Approved by:	garga
3156a26503