<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/include/u-boot.mk, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-01-02T17:07:02Z</updated>
<entry>
<title>treewide: update u-boot URL</title>
<updated>2026-01-02T17:07:02Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2025-12-25T03:44:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=ac755f983ad954b86123d7847349d94dc5812881'/>
<id>urn:sha1:ac755f983ad954b86123d7847349d94dc5812881</id>
<content type='text'>
U-Boot website has been moved to docs.u-boot.org.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
Link: https://github.com/openwrt/openwrt/pull/21279
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: support Python 3.12 and 3.13</title>
<updated>2025-07-01T17:07:46Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2025-07-01T17:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=9105c2d56892a883289162401780748b29c2cd51'/>
<id>urn:sha1:9105c2d56892a883289162401780748b29c2cd51</id>
<content type='text'>
Fixes the following build problem on systems with Python 3.12 or 3.13:

Checking 'python3-setuptools'... failed.
Checking 'swig'... ok.

u-boot: Please install the Python3 setuptools module

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>uboot-mk: Enable specifying defconfig fragments</title>
<updated>2025-06-07T19:10:28Z</updated>
<author>
<name>Andreas Gnau</name>
</author>
<published>2025-05-30T15:47:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=49843b31bc601d52c993530ad5ec185d06e623bf'/>
<id>urn:sha1:49843b31bc601d52c993530ad5ec185d06e623bf</id>
<content type='text'>
U-Boot allows specifying additional KConfig fragments to be applied on
top of a defconfig. These are usually located in the board
sub-directory.

    make foo_defconfig bar.config baz.config

Add support for specifying additional KConfig fragments using the
UBOOT_CONFIG variable. Treat the first word in UBOOT_CONFIG as the name
of the defconfig, any additional words as additional fragments.

This can be useful to distinguish between different variants of U-Boot
builds such as different RAM, storage (NAND/eMMC), security etc.

While c05c0699d479 (u-boot.mk: add support for config customization,
2023-06-02) already added means to modify specific KConfig options
directly from the OpenWrt Makefile, leveraging existing fragments the
U-Boot source-dir provides a more convenient way to extend the config
when customising more than just one or two options. Furthermore it is
desirable to leverage existing fragments from upstream U-Boot where they
exist.

Signed-off-by: Andreas Gnau &lt;andreas.gnau@iopsys.eu&gt;
Link: https://github.com/openwrt/openwrt/pull/18963
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>uboot-bcm4908: fix build with GCC14</title>
<updated>2025-05-22T22:10:23Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2025-05-18T11:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=6229a19d0f35158c5d6bf70939eb08225836f626'/>
<id>urn:sha1:6229a19d0f35158c5d6bf70939eb08225836f626</id>
<content type='text'>
A lot of warnings were treated as errors after the default compiler
switched to GCC14. It's hard to fix them one by one, and this u-boot
is not maintained by upstream, so let's just silence these warnings.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18833
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: pass CROSS_COMPILE during config</title>
<updated>2024-09-02T10:42:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-09-02T08:58:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=fd3d79862290197091678e9211ba071647756206'/>
<id>urn:sha1:fd3d79862290197091678e9211ba071647756206</id>
<content type='text'>
Avoids running into unset architecture specific config symbols

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: override default PATH to avoid pick hostpkg python</title>
<updated>2024-03-02T13:17:31Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2024-02-25T12:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=4f668091bfd608b73f4b98b206358d8f1a7ffade'/>
<id>urn:sha1:4f668091bfd608b73f4b98b206358d8f1a7ffade</id>
<content type='text'>
hostpkg python from packages feed can be picked when do a incremental
build because hostpkg has higher priority in PATH. It may lead build
faliure as it's heavily trimmed (e.g. lacks necessary modules).

For uboot which uses binman and intree dtc, this is forced as hostpkg
python will never provide those modules by default.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
</content>
</entry>
<entry>
<title>u-boot: introduce dependencies check for swig and pyelftools</title>
<updated>2023-11-26T18:44:56Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2023-06-25T16:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=a3ec85507370efd7802837aabebe691c1f6b34db'/>
<id>urn:sha1:a3ec85507370efd7802837aabebe691c1f6b34db</id>
<content type='text'>
They are required by modern u-boot builds,
e.g. uboot-rockchip and uboot-sunxi.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: do not force parallel build</title>
<updated>2023-11-19T16:18:30Z</updated>
<author>
<name>Martin Schiller</name>
</author>
<published>2023-11-16T13:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=5a64a482a24f79d246aea43191157aaf318622b8'/>
<id>urn:sha1:5a64a482a24f79d246aea43191157aaf318622b8</id>
<content type='text'>
Some patched u-boots may have problems with parallel build.
Do not enforce parallel build here so one can set PKG_BUILD_PARALLEL:=0
in the specific u-boot Makefile also before including the u-boot.mk.

Signed-off-by: Martin Schiller &lt;ms@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: add support for config customization</title>
<updated>2023-06-10T19:31:07Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-02T11:54:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=186b97590b9b2f47abc535c9df0687e00e60f78e'/>
<id>urn:sha1:186b97590b9b2f47abc535c9df0687e00e60f78e</id>
<content type='text'>
Make it possible to easily customize U-Boot config options via new
`UBOOT_CUSTOMIZE_CONFIG` variable, so we don't need to patch config
files or override config step with shell hackery.

This generic approach uses `config` CLI to tweak the .config as needed,
for example:

 UBOOT_CUSTOMIZE_CONFIG := \
	--enable CMD_EFIDEBUG \
	--enable CMD_BOOTMENU \
	--enable AUTOBOOT \
	--enable AUTOBOOT_MENU_SHOW \
	--disable AUTOBOOT_KEYED \
	--disable AUTOBOOT_USE_MENUKEY \
	--disable BOOTMENU_DISABLE_UBOOT_CONSOLE \
	--set-val BOOTDELAY 2

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: add LOCALVERSION (explicitly specify OpenWrt build)</title>
<updated>2022-02-28T22:54:52Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2022-02-21T17:55:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=d6aa9d9e071d9f23ed26f5142991bc66aefe20f5'/>
<id>urn:sha1:d6aa9d9e071d9f23ed26f5142991bc66aefe20f5</id>
<content type='text'>
For debugging purposes, we need to know if users are using modified
U-boot versions or not. Currently, the U-boot version is somehow
stripped. This is a little bit problematic when there are
backported/wip/to-upstream patches.

To make it more confusing, there was (before this commit) two U-boot
versioning. U-boot compiled by OpenWrt build bots are missing ``Build:``
This is also the case when the U-boot is compiled locally.

Example:
```
U-Boot SPL 2022.01 (Jan 27 2022 - 00:24:34 +0000)
U-Boot 2022.01 (Jan 27 2022 - 00:24:34 +0000)
```

On the other hand, if you run full build, you can at least see, where it
was compiled. Notice added ``Build:``.

Example:
```
U-Boot 2022.01 (Jan 27 2022 - 00:24:34 +0000), Build: jenkins-turris-os-packages-burstlab-omnia-216
```

In both cases, it is not clear to U-boot developers if it is an unmodified
build. This is also caused that there is a missing ``.git`` file from
U-boot folder, and so there is no history. It leads to that it can not
contain suffix ``-dirty`` (uncommitted modifications) or even something
else like number of commits, etc. [1]

When U-boot is compiled as it should be, the version should look like
this: ``U-Boot 2022.04-rc1-01173-g278195ea1f (Feb 11 2022 - 14:46:50 +0100)``
The date is not changed daily when there are new OpenWrt builds.

This commit adds OpenWrt specific version, which could be verified by
using strings.

```
$ strings bin/targets/mvebu/cortexa9/u-boot-omnia/u-boot-spl.kwb | grep -E "OpenWrt*"
U-Boot SPL 2022.01-OpenWrt-r18942+54-cbfce92367 (Feb 21 2022 - 13:17:34 +0000)
arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r18942+54-cbfce92367) 11.2.0
2022.01-OpenWrt-r18942+54-cbfce92367
U-Boot 2022.01-OpenWrt-r18942+54-cbfce92367 (Feb 21 2022 - 13:17:34 +0000)
```

[1] https://u-boot.readthedocs.io/en/latest/develop/version.html

Reported-by: Pali Rohár &lt;pali@kernel.org&gt;
Suggested-by: Karel Kočí &lt;karel.koci@nic.cz&gt;
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
