summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@gmail.com>2025-03-10 10:35:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-11 11:20:34 +0000
commit66ba0ddcc4a0676cf1913113bc84f7aea9b16b12 (patch)
tree3f1e7398680d1bf66cda5462dbe5c45ee4ba4a48 /meta/classes-recipe
parentdabd582240ce51604621d8fd72ac2b5ded942974 (diff)
downloadpoky-66ba0ddcc4a0676cf1913113bc84f7aea9b16b12.tar.gz
uboot, kernel: use hex address for UBOOT_ENTRYPOINT
Compiling a FIT image with this default values and dump it with dumpimage shows decimal converted values. For example the default value 20008000 looks like this: Image 0 (kernel-1) ... Load Address: 0x01314c40 Entry Point: 0x01314c40 With this change the expected value is printed by dumpimage. (From OE-Core rev: e6f2ca9135ef7da8f8b5925957532734c06e55cc) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/kernel.bbclass2
-rw-r--r--meta/classes-recipe/uboot-config.bbclass2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index 64a685a964..36ce659762 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -233,7 +233,7 @@ KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
233PACKAGE_ARCH = "${MACHINE_ARCH}" 233PACKAGE_ARCH = "${MACHINE_ARCH}"
234 234
235# U-Boot support 235# U-Boot support
236UBOOT_ENTRYPOINT ?= "20008000" 236UBOOT_ENTRYPOINT ?= "0x20008000"
237UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" 237UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
238 238
239# Some Linux kernel configurations need additional parameters on the command line 239# Some Linux kernel configurations need additional parameters on the command line
diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass
index 74992182c3..f44605cb6a 100644
--- a/meta/classes-recipe/uboot-config.bbclass
+++ b/meta/classes-recipe/uboot-config.bbclass
@@ -19,7 +19,7 @@ def removesuffix(s, suffix):
19 return s[:-len(suffix)] 19 return s[:-len(suffix)]
20 return s 20 return s
21 21
22UBOOT_ENTRYPOINT ?= "20008000" 22UBOOT_ENTRYPOINT ?= "0x20008000"
23UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" 23UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
24 24
25# Some versions of u-boot use .bin and others use .img. By default use .bin 25# Some versions of u-boot use .bin and others use .img. By default use .bin