summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/k3.inc
diff options
context:
space:
mode:
authorSinthu Raja <sinthu.raja@ti.com>2023-03-20 11:24:18 +0000
committerRyan Eatmon <reatmon@ti.com>2023-03-21 13:03:29 -0500
commite619334e9c1af8d4770a2905b9e22abebb4275a2 (patch)
treebebbc2369b30f7149eb68d9935dc74f32db5b07b /meta-ti-bsp/conf/machine/include/k3.inc
parent05fb51715fac1f00ce9a71d66fe944ae31c30107 (diff)
downloadmeta-ti-e619334e9c1af8d4770a2905b9e22abebb4275a2.tar.gz
conf: machine: k3: Define RD, DTB and DTBO load address for FIT image
K3 platforms include the FIT image-based kernel by default. The bootloader loads the kernel and DTB from the FIT image. The DTB/DTBOs are added to the FIT image but the load address is not included in the image section of each DTB/DTBO. This load address is determined by the LOADADDRESS macros in the kernel-fitmage class. Hence, define the RD/DTB/DTBOs LOADADDRESS and OFFSET macros in the K3 common include, and remove those macros defined in the K3 board specific config files. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Reviewed-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/k3.inc')
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index e4ef2f94..93bcea76 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -21,6 +21,11 @@ KERNEL_CLASSES += "kernel-fitimage"
21UBOOT_ARCH = "arm" 21UBOOT_ARCH = "arm"
22UBOOT_ENTRYPOINT = "0x80008000" 22UBOOT_ENTRYPOINT = "0x80008000"
23UBOOT_LOADADDRESS = "0x80008000" 23UBOOT_LOADADDRESS = "0x80008000"
24UBOOT_RD_LOADADDRESS = "0x84000000"
25UBOOT_RD_ENTRYPOINT = "0x84000000"
26UBOOT_DTB_LOADADDRESS = "0x83000000"
27UBOOT_DTBO_LOADADDRESS = "0x83080000"
28UBOOT_DTBO_OFFSET = "0x00010000"
24 29
25SPL_BINARY = "tispl.bin" 30SPL_BINARY = "tispl.bin"
26SPL_BINARYNAME = "tispl.bin" 31SPL_BINARYNAME = "tispl.bin"