uboot-mvebu: update to v2022.07
authorAndre Heider <a.heider@gmail.com>
Mon, 11 Jul 2022 17:49:21 +0000 (19:49 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 6 Aug 2022 20:25:43 +0000 (22:25 +0200)
- Release announcement:
https://lore.kernel.org/u-boot/20220711134339.GV1146598@bill-the-cat/

- Changes between 2022.04 and 2022.07:
https://source.denx.de/u-boot/u-boot/-/compare/v2022.04...v2022.07?from_project_id=531

Remove one upstreamed patch and add patch to fix issue with sunxi tool
as it uses function from newer version libressl (3.5.0).

Signed-off-by: Andre Heider <a.heider@gmail.com>
Tested-by: Josef Schlehofer <pepe.schlehofer@gmail.com> [Turris Omnia]
(cherry picked from commit 24bf6813bad98a8eba5430ed5e4da89d54797274)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[Improve commit message]

package/boot/uboot-mvebu/Makefile
package/boot/uboot-mvebu/patches/100-fix-build.patch [new file with mode: 0644]
package/boot/uboot-mvebu/patches/103-arm-mvebu-clearfog_defconfig-enable-setexpr-command.patch [deleted file]

index 25abcbeb4fc3cbc9695fee45098f40ba56583521..5bf5d59b023efd00c5edd8876e971dddccd3e23d 100644 (file)
@@ -8,10 +8,10 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
-PKG_VERSION:=2022.04
+PKG_VERSION:=2022.07
 PKG_RELEASE:=$(AUTORELEASE)
 
-PKG_HASH:=68e065413926778e276ec3abd28bb32fa82abaa4a6898d570c1f48fbdb08bcd0
+PKG_HASH:=92b08eb49c24da14c1adbf70a71ae8f37cc53eeb4230e859ad8b6733d13dcf5e
 
 include $(INCLUDE_DIR)/u-boot.mk
 include $(INCLUDE_DIR)/package.mk
diff --git a/package/boot/uboot-mvebu/patches/100-fix-build.patch b/package/boot/uboot-mvebu/patches/100-fix-build.patch
new file mode 100644 (file)
index 0000000..c39f5bf
--- /dev/null
@@ -0,0 +1,20 @@
+The build fails on a sunxi tool:
+
+/usr/bin/ld: tools/sunxi_toc0.o: in function `toc0_set_header':
+sunxi_toc0.c:(.text+0x363): undefined reference to `RSA_get0_d'
+
+The missing function was added in libressl v3.5.0. We don't
+really care, so just cut it out for now.
+
+--- a/tools/Makefile
++++ b/tools/Makefile
+@@ -96,8 +96,7 @@ AES_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(
+ # Cryptographic helpers and image types that depend on openssl/libcrypto
+ LIBCRYPTO_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := \
+-                      lib/fdt-libcrypto.o \
+-                      sunxi_toc0.o
++                      lib/fdt-libcrypto.o
+ ROCKCHIP_OBS = lib/rc4.o rkcommon.o rkimage.o rksd.o rkspi.o
diff --git a/package/boot/uboot-mvebu/patches/103-arm-mvebu-clearfog_defconfig-enable-setexpr-command.patch b/package/boot/uboot-mvebu/patches/103-arm-mvebu-clearfog_defconfig-enable-setexpr-command.patch
deleted file mode 100644 (file)
index dae43ea..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From 40a67a9403deafdac05564b7350af49a71e12373 Mon Sep 17 00:00:00 2001
-From: Josef Schlehofer <pepe.schlehofer@gmail.com>
-Date: Fri, 29 Apr 2022 17:34:53 +0200
-Subject: [PATCH] arm: mvebu: clearfog_defconfig: enable setexpr command
-
-This command is useful in U-boot scripts and it is being used by
-OpenWrt bootscript for this board [1]. Otherwise shell scripting
-commands are enabled by default in cmd/Kconfig.
-
-[1] https://github.com/openwrt/openwrt/blob/852126680e21edc71c0c66561ae5a6d7479dcc67/target/linux/mvebu/image/clearfog.bootscript#L7
-
-[2] https://source.denx.de/u-boot/u-boot/-/blob/e95afa56753cebcd20a5114b6d121f281b789006/cmd/Kconfig#L1504
-
-Fixes: 0299c90f396c5b2971a4bac596339f4b03661c27 ("arm: mvebu: Add
-SolidRun ClearFog Armada 38x initial support")
-
-Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
----
- configs/clearfog_defconfig | 1 -
- 1 file changed, 1 deletion(-)
-
---- a/configs/clearfog_defconfig
-+++ b/configs/clearfog_defconfig
-@@ -35,7 +35,6 @@ CONFIG_CMD_MMC=y
- CONFIG_CMD_PCI=y
- CONFIG_CMD_SPI=y
- CONFIG_CMD_USB=y
--# CONFIG_CMD_SETEXPR is not set
- CONFIG_CMD_TFTPPUT=y
- CONFIG_CMD_CACHE=y
- CONFIG_CMD_TIME=y