]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
uboot, kernel: use hex address for UBOOT_ENTRYPOINT
authorAdrian Freihofer <adrian.freihofer@gmail.com>
Mon, 10 Mar 2025 09:35:45 +0000 (10:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Mar 2025 11:20:32 +0000 (11:20 +0000)
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.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel.bbclass
meta/classes-recipe/uboot-config.bbclass

index 64a685a964dab942db05b8d9e08cc22a3bbb152e..36ce659762ee44cba72a3304e6d1f955bb1c9eab 100644 (file)
@@ -233,7 +233,7 @@ KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 # U-Boot support
-UBOOT_ENTRYPOINT ?= "20008000"
+UBOOT_ENTRYPOINT ?= "0x20008000"
 UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
 
 # Some Linux kernel configurations need additional parameters on the command line
index 74992182c36d21c24961b2810973ae9dbae44c29..f44605cb6aeccaa7dd98bce1118e0561d723474d 100644 (file)
@@ -19,7 +19,7 @@ def removesuffix(s, suffix):
         return s[:-len(suffix)]
     return s
 
-UBOOT_ENTRYPOINT ?= "20008000"
+UBOOT_ENTRYPOINT ?= "0x20008000"
 UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
 
 # Some versions of u-boot use .bin and others use .img.  By default use .bin