]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
uboot-sign: set load address and entrypoint
authorJamin Lin <jamin_lin@aspeedtech.com>
Fri, 19 Jan 2024 06:19:34 +0000 (14:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Feb 2024 17:12:55 +0000 (17:12 +0000)
commit2060691a56b45f746efdd04ccdae3fb74df60cb5
treea9d5267e69415d0ede97b87bf765d54da313adf8
parentc30437939e0af6fa243cbe6a305491119726f1a1
uboot-sign: set load address and entrypoint

According to the design of uboot-sign.bbclass and kernel-fitimage.bbclass,
both of them use an UBOOT_LOADADDRESS variable to set the load address of
kernel and u-boot image and use an UBOOT_ENTRYPOINT variable to set the entry address of
kernel and u-boot image.

However, users may want to set the different load address of u-boot
and kernel image. Therefore, adds UBOOT_FIT_UBOOT_LOADADDRESS
and UBOOT_FIT_UBOOT_ENTRYPOINT variables to set the
load address and entry point of u-boot image, respectively.

The value of UBOOT_FIT_UBOOT_ENTRYPOINT is UBOOT_LOADADDRESS by default.
The value of UBOOT_FIT_UBOOT_ENTRYPOINT is UBOOT_ENTRYPOINT by default.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/uboot-sign.bbclass