diff options
| author | Fabio Estevam <festevam@denx.de> | 2025-01-06 22:37:49 -0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-09 15:26:50 +0000 |
| commit | b98fae135cced651b149f8f9887bd5ed11e9c786 (patch) | |
| tree | 7f087d2392fe783adaa77c2ba8bd03aa10e0fa84 | |
| parent | d6ae2c0decc0e71f1d0c1a752d9cc0602e727557 (diff) | |
| download | poky-b98fae135cced651b149f8f9887bd5ed11e9c786.tar.gz | |
u-boot: upgrade 2024.10 -> 2025.01
Upgrade to U-Boot 2025.01.
Remove the patch as it has been upstreamed.
(From OE-Core rev: e16a24f04b56ca3fec6509a3286e2e3bb5c21c1e)
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>
| -rw-r--r-- | meta/recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch | 60 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-common.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-tools_2025.01.bb (renamed from meta/recipes-bsp/u-boot/u-boot-tools_2024.10.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2025.01.bb (renamed from meta/recipes-bsp/u-boot/u-boot_2024.10.bb) | 0 |
4 files changed, 1 insertions, 62 deletions
diff --git a/meta/recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch b/meta/recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch deleted file mode 100644 index 2eeef99b21..0000000000 --- a/meta/recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | From e093607e9a08e9c29b7bbaa6aeb137036db798a6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Wed, 30 Oct 2024 05:46:00 +0100 | ||
| 4 | Subject: [PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Swig has changed language specific AppendOutput functions. The helper | ||
| 10 | macro SWIG_AppendOutput remains unchanged. Use that instead | ||
| 11 | of SWIG_Python_AppendOutput, which would require an extra parameter | ||
| 12 | since swig 4.3.0. | ||
| 13 | |||
| 14 | /home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u-boot/2024.10/git/arch/x86/cpu/u-boot-64.lds | ||
| 15 | | scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’: | ||
| 16 | | scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ | ||
| 17 | | 5581 | resultobj = SWIG_Python_AppendOutput(resultobj, val); | ||
| 18 | | | ^~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 19 | |||
| 20 | Upstream-Status: Backport [https://github.com/u-boot/u-boot/commit/a63456b9191fae2fe49f4b121e025792022e3950] | ||
| 21 | |||
| 22 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 23 | --- | ||
| 24 | scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++--- | ||
| 25 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 26 | |||
| 27 | diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped | ||
| 28 | index 56cc5d48f4..e4659489a9 100644 | ||
| 29 | --- a/scripts/dtc/pylibfdt/libfdt.i_shipped | ||
| 30 | +++ b/scripts/dtc/pylibfdt/libfdt.i_shipped | ||
| 31 | @@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; | ||
| 32 | fdt_string(fdt1, fdt32_to_cpu($1->nameoff))); | ||
| 33 | buff = PyByteArray_FromStringAndSize( | ||
| 34 | (const char *)($1 + 1), fdt32_to_cpu($1->len)); | ||
| 35 | - resultobj = SWIG_Python_AppendOutput(resultobj, buff); | ||
| 36 | + resultobj = SWIG_AppendOutput(resultobj, buff); | ||
| 37 | } | ||
| 38 | } | ||
| 39 | |||
| 40 | @@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t; | ||
| 41 | |||
| 42 | %typemap(argout) int *depth { | ||
| 43 | PyObject *val = Py_BuildValue("i", *arg$argnum); | ||
| 44 | - resultobj = SWIG_Python_AppendOutput(resultobj, val); | ||
| 45 | + resultobj = SWIG_AppendOutput(resultobj, val); | ||
| 46 | } | ||
| 47 | |||
| 48 | %apply int *depth { int *depth }; | ||
| 49 | @@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t; | ||
| 50 | if (PyTuple_GET_SIZE(resultobj) == 0) | ||
| 51 | resultobj = val; | ||
| 52 | else | ||
| 53 | - resultobj = SWIG_Python_AppendOutput(resultobj, val); | ||
| 54 | + resultobj = SWIG_AppendOutput(resultobj, val); | ||
| 55 | } | ||
| 56 | } | ||
| 57 | |||
| 58 | -- | ||
| 59 | 2.47.0 | ||
| 60 | |||
diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc index fe3afb33b5..fc860248ed 100644 --- a/meta/recipes-bsp/u-boot/u-boot-common.inc +++ b/meta/recipes-bsp/u-boot/u-boot-common.inc | |||
| @@ -12,10 +12,9 @@ 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 |
| 15 | SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd" | 15 | SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72" |
| 16 | 16 | ||
| 17 | SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" | 17 | SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" |
| 18 | SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" | ||
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 21 | B = "${WORKDIR}/build" | 20 | B = "${WORKDIR}/build" |
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2024.10.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2025.01.bb index 7eaf721ca8..7eaf721ca8 100644 --- a/meta/recipes-bsp/u-boot/u-boot-tools_2024.10.bb +++ b/meta/recipes-bsp/u-boot/u-boot-tools_2025.01.bb | |||
diff --git a/meta/recipes-bsp/u-boot/u-boot_2024.10.bb b/meta/recipes-bsp/u-boot/u-boot_2025.01.bb index db8b2d58b4..db8b2d58b4 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2024.10.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2025.01.bb | |||
