U-Boot tools for creating and analyzing u-boot images.
U-Boot images are used to embed kernels into a know format for u-boot.
It can also be FIT (Flattened Image Tree) images when the source describing
the image is written like a DTS (Device Tree Source).
sysutils/u-boot-tools: update to 2025.10 and fix SOURCE_DATE_EPOCH build
This fixes the reproducible build when SOURCE_DATE_EPOCH is specified.
* moved to upstream-default gnutls since it doesn't correctly build with the
USES=ssl and openssl flags
* added BUILD_DEPENDS on gdate from coreutils to handle SOURCE_DATE_EPOCH
correctly
* cleaned up and simplified make target a bit
* removed CONFLICTS since it is nonexistent
Tested by building all dependent sysutils/u-boot* ports.
PR: 292260
Approved by: maintainer timeout (1+ month), lwhsu (mentor, implicitly)
Sponsored by: The FreeBSD Foundation
sysutils/u-boot: Allow building with different openssl
Add ssl to USES and export the needed variables so u-boot can be built
with openssl from ports.
PR: 279531
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)
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 )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
sysutils/u-boot-tools: fix build on non-arm non-x86
Changing target to tools-only_defconfig will omit the parts that need EFI and
will still build the binaries this port needs.
PR: 259118
Mark as BROKEN on powerpc64:
include/config_distro_bootcmd.h:279:3: sandbox EFI support is only supported
on ARM and x86
This is even after adding the fix for 12-STABLE of compiler:c11 to USES,
which at least allows the build to get that far.
I took a look at this one time, thinking it would be easy, but I was not
able to come up with a quick answer.
Approved by: portmgr (tier-2 blanket)
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
u-boot-tools: Update to 2018.11
Version 2019.01 is out but I don't have updated the u-boot-master ports yet
so just to be safe use the same version for the tool.
Approved by: bapt (mentor, implicit)
sysutils/u-boot-tools: Update to 2018.03
This also include the local patch that we had.
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D14866
sysutils/u-boot-tools: Use CC as HOSTCC for building tools
Submitted by: jhibbits
Reviewed by: bapt, manu
Approved by: brd
Differential Revision: https://reviews.freebsd.org/D14264
sysutils/u-boot-tools: Add recently upstream patch to fix endianness checks
Patch originally sent upstream by jhibbits@; fix endianness checks so that
powerpc hosts can actually build powerpc images. Backport it to our 2017.09
since it won't appear in a release until 2018.03 at the earliest.
Reviewed by: manu
Approved by: imp (ports)
Differential Revision: https://reviews.freebsd.org/D14219
CLeanup u-boot-tools
- Do not overwrite do-build, it is not necessary
- Ensure the env variables are respected during configure phase
- Now that we use the regular do-build kernel we can pass gmake variables via
arguments which allows to overwrites predefine ones without custom patches
- Force verbose mode when building to see what command line is invoke, in in
particular which compiler is called
- Overwrite NOSTDINC_FLAGS because on freebsd we do actually want to use our
regular standard include files
- Register the dependency on libssl/libcrypto
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D13543
Add new port sysutils/u-boot-tools
U-Boot tools for creating and analyzing u-boot images.
U-Boot images are used to embed kernels into a know format for u-boot.
It can also be FIT (Flattened Image Tree) images when the source describing
the image is written like a DTS (Device Tree Source).
Reviewed by: imp
Approved by: imp
Differential Revision: https://reviews.freebsd.org/D13455