Skip to contentSkip to conversation

barebox: drop patch file left over during last upgrade

PATCH New Enrico Jörns 1 participant 2 messages Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 barebox: drop patch file left over during last upgrade

The patch was removed from SRC_URI but not deleted from the directory tree.

Fixes 3291a8fa ("barebox: upgrade 2024.10.0 -> 2024.12.0")
---
 ...0001-lib-lz4-use-lz4-instead-of-lz4c.patch | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch
meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch deleted +0 -35
deleted file mode 100644
index 55d4a4556b..0000000000
@@ -1,35 +0,0 @@
-From 24839df617aef8099e4d1ba3fc47a04c52c0cf75 Mon Sep 17 00:00:00 2001
-From: Justin Bronder <[email protected]>
-Date: Wed, 6 Nov 2024 11:59:40 -0500
-Subject: [PATCH] lib: lz4: use lz4 instead of lz4c
-
-lz4c has been considered deprecated by upstream since at least 2018 [1]
-and has been disabled by default recently [2].  openSUSE Tumbleweed is
-no longer packaging the deprecated version and others will likely
-follow.
-
-Going back as far as Ubuntu 16.04/Fedora 25, both lz4 and lz4c are
-installed as part of the same package so switching should be safe.
-
-1. https://github.com/lz4/lz4/pull/553
-2. https://github.com/lz4/lz4/pull/1479
-
-Upstream-Status: Submitted [http://lists.infradead.org/pipermail/barebox/2024-November/048491.html]
-Signed-off-by: Justin Bronder <[email protected]>
----
- scripts/Makefile.lib | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
-index 1881e3c1..1052bcee 100644
---- a/scripts/Makefile.lib
-+++ b/scripts/Makefile.lib
-@@ -492,7 +492,7 @@ cmd_lzo = (cat $(filter-out FORCE,$^) | \
- 
- quiet_cmd_lz4 = LZ4     $@
- cmd_lz4 = (cat $(filter-out FORCE,$^) | \
--	lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
-+	lz4 -l --best stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
- 	(rm -f $@ ; false)
- 
- %.lz4: %
Signature · 1 line
2.39.5
#1 lore raw

PATCH 2/2 barebox: upgrade 2024.12.0 -> 2025.02.0

Due to some musl build issues with 2025.01.0, we skip this version and move forward to 2025.02.0 directly.

Changes in 2025.01.0
--------------------

* Added LLVM/Clang support for the sandbox architecture.
* Enabled command execution from the sandbox command line.
* Improved TFTP with dentry caching and default-disabled window size.
* Introduced hardening features: register zeroing, stack variable initialization, and malloc buffer zeroing.
* Enhanced AM625 support with network support, watchdog driver, and bootsource detection.

Changelog: https://lore.barebox.org/barebox/[email protected]/T/#u

Changes in 2025.02.0
--------------------

* Several memory overflow fixes for different filesystems.
* Added 'Security Considerations' guideline:
https://www.barebox.org/doc/latest/user/security.html
* Added FIT image build target for booting barebox 2nd stage from a U-Boot with the bootm command (for development purpose).
* AM625 1st stage support including DDR, clock and power domain drivers.
* Added support for the AM625-SK board
* Added support for the Pine64 PineTab 2 (Rockchip)
* CVE's fixed:
- CVE-2025-26721
- CVE-2025-26722
- CVE-2025-26723
- CVE-2025-26724
- CVE-2025-26725

Changelog: https://lore.barebox.org/barebox/[email protected]/T/#u

---
 meta/recipes-bsp/barebox/barebox-common.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/barebox/barebox-common.inc +2 -2
index fce3b825ae..4298966714 100644
@@ -3,6 +3,6 @@ SECTION = "bootloaders"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
 
-PV = "2024.12.0"
+PV = "2025.02.0"
 SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
-SRC_URI[sha256sum] = "717a2416b37942f584b0bb2eb61ccbf85dc0f1a5c841318f47cd6967b9c4dcab"
+SRC_URI[sha256sum] = "6da5f9e98a8c93f6eead3badefe133ed5fd865395b1a3c0192fdbdd9eb4f7311"
Signature · 1 line
2.39.5