mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
kernel-fitimage: support 64 bits address
The default value of address-cells is "1", so the generated "its" file only supports 32bits address for kernel FIT image. However, some platforms may want to support 64bits address of UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT. Therefore, adds a variable to support both 64bits and 32bits address cells. By default, the address-cell is "1" which is used for 32bits load address. If users would like to use 64bits load address, users are able to set as following for "0x400000000" 64bits load address. 1. FIT_ADDRESS_CELLS = "2" 2. UBOOT_LOADADDRESS= "0x04 0x00000000" (From OE-Core rev: 8ce15c76c50d5d61524fea585d19989baefb5df2) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d5d0b3f785
commit
b6c9cc306a
@@ -92,6 +92,10 @@ FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst
|
||||
# Allow user to select the default DTB for FIT image when multiple dtb's exists.
|
||||
FIT_CONF_DEFAULT_DTB ?= ""
|
||||
|
||||
# length of address in number of <u32> cells
|
||||
# ex: 1 32bits address, 2 64bits address
|
||||
FIT_ADDRESS_CELLS ?= "1"
|
||||
|
||||
# Keys used to sign individually image nodes.
|
||||
# The keys to sign image nodes must be different from those used to sign
|
||||
# configuration nodes, otherwise the "required" property, from
|
||||
@@ -110,7 +114,7 @@ fitimage_emit_fit_header() {
|
||||
|
||||
/ {
|
||||
description = "${FIT_DESC}";
|
||||
#address-cells = <1>;
|
||||
#address-cells = <${FIT_ADDRESS_CELLS}>;
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user