public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/uboot-tools] rawhide: Fix Jetson Nano build, re-enable
Date: Sun, 22 Nov 2026 10:38:00 GMT [thread overview]
Message-ID: <179534388095.1.8336430797190639398.rpms-uboot-tools-599271ccded5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/uboot-tools
Branch : rawhide
Commit : 599271ccded5a9edb9ec4fdd6c55f8611734d0d3
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-11-22T10:37:28+00:00
Stats : +69/-28 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/uboot-tools/c/599271ccded5a9edb9ec4fdd6c55f8611734d0d3?branch=rawhide
Log:
Fix Jetson Nano build, re-enable
---
diff --git a/0001-Makefile-Move-PLATFORM_LIBS-outside-the-the-whole-ar.patch b/0001-Makefile-Move-PLATFORM_LIBS-outside-the-the-whole-ar.patch
new file mode 100644
index 0000000..ac28166
--- /dev/null
+++ b/0001-Makefile-Move-PLATFORM_LIBS-outside-the-the-whole-ar.patch
@@ -0,0 +1,34 @@
+From ebdac735718b4a91245bb4d665d9ee4917d027ee Mon Sep 17 00:00:00 2001
+From: Peter Robinson <pbrobinson@gmail.com>
+Date: Sat, 21 Nov 2026 09:15:24 +0000
+Subject: [PATCH] Makefile: Move PLATFORM_LIBS outside the the whole-archive
+ region
+
+The LTO link passes $(PLATFORM_LIBS) (-lgcc) inside the --whole-archive
+region, forcing every libgcc.a member to be linked. On AArch64 this pulls
+in members needing libc symbols U-Boot lacks (__getauxval, abort, stderr),
+so the link fails, e.g. on p3450-0000. Place $(PLATFORM_LIBS) after
+--no-whole-archive, as the non-LTO link already does.
+
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 840d02aa6ca..4323d5ec701 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2103,8 +2103,8 @@ quiet_cmd_u-boot__ ?= LTO $@
+ -Wl,--whole-archive \
+ $(u-boot-main) \
+ $(u-boot-keep-syms-lto) \
+- $(PLATFORM_LIBS) \
+ -Wl,--no-whole-archive \
++ $(PLATFORM_LIBS) \
+ -Wl,-Map,u-boot.map; \
+ $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
+ else
+--
+2.56.1
+
diff --git a/aarch64-boards b/aarch64-boards
index bc23aa6..b7abab4 100644
--- a/aarch64-boards
+++ b/aarch64-boards
@@ -65,6 +65,7 @@ orangepi_zero_plus2
p212
p2371-2180
p2771-0000-500
+p3450-0000
pine64-lts
pine64_plus
pinebook
diff --git a/jetson-nano-Disable-some-unused-bits.patch b/jetson-nano-Disable-some-unused-bits.patch
new file mode 100644
index 0000000..fcb3e15
--- /dev/null
+++ b/jetson-nano-Disable-some-unused-bits.patch
@@ -0,0 +1,26 @@
+From 10ca1e0f9087bce32845bdd87590ff124fa76fa9 Mon Sep 17 00:00:00 2001
+From: Peter Robinson <pbrobinson@gmail.com>
+Date: Fri, 20 Nov 2026 13:52:02 +0000
+Subject: [PATCH] jetson nano: Disable some unused bits
+
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+---
+ configs/p3450-0000_defconfig | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/configs/p3450-0000_defconfig b/configs/p3450-0000_defconfig
+index f6e09ba1fee..8e34d49aec2 100644
+--- a/configs/p3450-0000_defconfig
++++ b/configs/p3450-0000_defconfig
+@@ -70,3 +70,7 @@ CONFIG_USB_ETHER_ASIX=y
+ CONFIG_USB_GADGET=y
+ CONFIG_CI_UDC=y
+ CONFIG_USB_GADGET_DOWNLOAD=y
++# CONFIG_LEGACY_IMAGE_FORMAT is not set
++# CONFIG_HUSH_OLD_PARSER is not set
++# CONFIG_CMD_XIMG is not set
++# CONFIG_SYS_DTC_PAD_BYTES is not set
++CONFIG_LTO=y
+--
+2.56.1
+
diff --git a/p3450-fix-board.patch b/p3450-fix-board.patch
deleted file mode 100644
index 74475d5..0000000
--- a/p3450-fix-board.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c9b65320d64a60cde74c4c1f9cb4a05198a456c2 Mon Sep 17 00:00:00 2001
-From: Peter Robinson <pbrobinson@gmail.com>
-Date: Wed, 10 Sep 2025 13:27:52 +0100
-Subject: [PATCH] further size reductions
-
----
- configs/p3450-0000_defconfig | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/configs/p3450-0000_defconfig b/configs/p3450-0000_defconfig
-index 2ebcf8b83fc..a5e717a02ed 100644
---- a/configs/p3450-0000_defconfig
-+++ b/configs/p3450-0000_defconfig
-@@ -27,6 +27,8 @@ CONFIG_CONSOLE_MUX=y
- CONFIG_SYS_STDIO_DEREGISTER=y
- CONFIG_SYS_PROMPT="Tegra210 (P3450-0000) # "
- # CONFIG_BOOTM_PLAN9 is not set
-+# CONFIG_SYS_DTC_PAD_BYTES is not set
-+# CONFIG_LEGACY_IMAGE_FORMAT is not set
- # CONFIG_BOOTM_RTEMS is not set
- # CONFIG_BOOTM_VXWORKS is not set
- # CONFIG_CMD_ELF is not set
---
-2.51.0
-
diff --git a/uboot-tools.spec b/uboot-tools.spec
index e5ff5d7..d6d297b 100644
--- a/uboot-tools.spec
+++ b/uboot-tools.spec
@@ -10,7 +10,7 @@
Name: uboot-tools
Version: 2027.01
-Release: 0.2%{?candidate:.%{candidate}}%{?dist}
+Release: 0.3%{?candidate:.%{candidate}}%{?dist}
Epoch: 1
Summary: U-Boot utilities
# Automatically converted from old format: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+ - review is highly recommended.
@@ -35,15 +35,17 @@ Patch5: uefi-initial-find_fdt_location-for-finding-the-DT-on-disk.patch
Patch6: uefi-enable-SetVariableRT-with-volotile-storage.patch
# Enable UEFI HTTPS boot for all Fedora firmware
Patch7: uefi-enable-https-boot-by-default.patch
+# Fix some LTO builds
+Patch8: 0001-Makefile-Move-PLATFORM_LIBS-outside-the-the-whole-ar.patch
# Device improvments
# USB-PD improvements
Patch10: USB-PD-TCPM-improvements.patch
# Rockchips improvements
Patch11: rockchip-Enable-preboot-start-for-pci-usb.patch
-Patch13: rockchip-rk356x-Stop-overriding-sdhci-mmc-aliases.patch
+Patch12: rockchip-rk356x-Stop-overriding-sdhci-mmc-aliases.patch
# Jetson fixes
-Patch14: p3450-fix-board.patch
+Patch14: jetson-nano-Disable-some-unused-bits.patch
Patch15: JetsonTX2-Fix-upstream-device-tree-naming.patch
# Fix AllWinner
Patch16: Allwinner-fix-booting-on-a-number-of-devices.patch
@@ -316,6 +318,9 @@ install -p -m 0755 builds/tools/env/fw_printenv %{buildroot}%{_bindir}
%endif
%changelog
+* Sun Nov 22 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 1:2027.01-0.3.rc2
+- Fix Jetson Nano build, re-enable
+
* Fri Nov 20 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 1:2027.01-0.2.rc2
- Update patches for RPi5 NVME boot, DTB loading
reply other threads:[~2026-11-22 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179534388095.1.8336430797190639398.rpms-uboot-tools-599271ccded5@fedoraproject.org \
--to=pbrobinson@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox