summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-07-10 15:45:41 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-14 17:31:06 +0100
commit19118505766ffc222cb9a47c149afb9c402a7477 (patch)
tree3ffb9c6d0546b6a94a24dc2a821ab2b194587776 /meta/recipes-bsp
parentf18cee609bfc47fc21132191e7f317a4f780fca6 (diff)
downloadpoky-19118505766ffc222cb9a47c149afb9c402a7477.tar.gz
u-boot: Upgrade to 2023.07
Upgrade to U-Boot 2023.07. Remove the patch that is now upstream. (From OE-Core rev: 396f66ce025a5b2ae15cc82f2ac53664fd3d9dad) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/u-boot/files/0001-mkimage-Use-PATH_MAX-for-path-length.patch40
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-common.inc2
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-tools_2023.04.bb6
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-tools_2023.07.bb2
-rw-r--r--meta/recipes-bsp/u-boot/u-boot_2023.07.bb (renamed from meta/recipes-bsp/u-boot/u-boot_2023.04.bb)0
5 files changed, 3 insertions, 47 deletions
diff --git a/meta/recipes-bsp/u-boot/files/0001-mkimage-Use-PATH_MAX-for-path-length.patch b/meta/recipes-bsp/u-boot/files/0001-mkimage-Use-PATH_MAX-for-path-length.patch
deleted file mode 100644
index 5c6708e666..0000000000
--- a/meta/recipes-bsp/u-boot/files/0001-mkimage-Use-PATH_MAX-for-path-length.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From dcd3d272975863128e25a4e25453cb6521cddc53 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 14 Jun 2023 16:09:59 +0800
4Subject: [PATCH] mkimage: Use PATH_MAX for path length
5
6Fixed when build xilinx_zynqmp in long directory ( >256):
7 | /buildarea1/testtest/wr_build/wr1023test_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/build/tmp-glibc/work/xilinx_zynqmp-wrs-linux/u-boot-xlnx/1_v2023.01-xilinx-v2023.1+gitAUTOINC+40a08d69e7-r0/build/fitImage-linux: Image file name (uboot-mkimage) too long, can't create tmpfile.
8 | Error: Bad parameters for FIT image type
9
10Upstream-Status: Backport [https://source.denx.de/u-boot/u-boot/-/commit/99d430f344bfdb0641022fd3efa26c29c957df02]
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 tools/mkimage.h | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17diff --git a/tools/mkimage.h b/tools/mkimage.h
18index f5ca65e2ed..d92a3ff811 100644
19--- a/tools/mkimage.h
20+++ b/tools/mkimage.h
21@@ -17,6 +17,7 @@
22 #include <sys/stat.h>
23 #include <time.h>
24 #include <unistd.h>
25+#include <limits.h>
26 #include <u-boot/sha1.h>
27 #include "fdt_host.h"
28 #include "imagetool.h"
29@@ -44,7 +45,7 @@ static inline ulong map_to_sysmem(void *ptr)
30 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) type name[size]
31
32 #define MKIMAGE_TMPFILE_SUFFIX ".tmp"
33-#define MKIMAGE_MAX_TMPFILE_LEN 256
34+#define MKIMAGE_MAX_TMPFILE_LEN PATH_MAX
35 #define MKIMAGE_DEFAULT_DTC_OPTIONS "-I dts -O dtb -p 500"
36 #define MKIMAGE_MAX_DTC_CMDLINE_LEN 2 * MKIMAGE_MAX_TMPFILE_LEN + 35
37
38--
392.25.1
40
diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc
index 8a2e9aef94..56f9be0107 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common.inc
@@ -12,7 +12,7 @@ PE = "1"
12 12
13# We use the revision in order to avoid having to fetch it from the 13# We use the revision in order to avoid having to fetch it from the
14# repo during parse 14# repo during parse
15SRCREV = "fd4ed6b7e83ec3aea9a2ce21baea8ca9676f40dd" 15SRCREV = "05aa6516c6bb419d01d69fac457c0de563bfd694"
16 16
17SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" 17SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master"
18 18
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2023.04.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2023.04.bb
deleted file mode 100644
index b77a49af87..0000000000
--- a/meta/recipes-bsp/u-boot/u-boot-tools_2023.04.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require u-boot-common.inc
2require u-boot-tools.inc
3
4SRC_URI += " \
5 file://0001-mkimage-Use-PATH_MAX-for-path-length.patch \
6"
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2023.07.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2023.07.bb
new file mode 100644
index 0000000000..7eaf721ca8
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-tools_2023.07.bb
@@ -0,0 +1,2 @@
1require u-boot-common.inc
2require u-boot-tools.inc
diff --git a/meta/recipes-bsp/u-boot/u-boot_2023.04.bb b/meta/recipes-bsp/u-boot/u-boot_2023.07.bb
index 4f5b3e5dfd..4f5b3e5dfd 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2023.04.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2023.07.bb