diff options
| author | Sinthu Raja <sinthu.raja@ti.com> | 2023-03-20 11:24:18 +0000 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2023-03-21 13:03:29 -0500 |
| commit | e619334e9c1af8d4770a2905b9e22abebb4275a2 (patch) | |
| tree | bebbc2369b30f7149eb68d9935dc74f32db5b07b /meta-ti-bsp/conf/machine/include/k3.inc | |
| parent | 05fb51715fac1f00ce9a71d66fe944ae31c30107 (diff) | |
| download | meta-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.inc | 5 |
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" | |||
| 21 | UBOOT_ARCH = "arm" | 21 | UBOOT_ARCH = "arm" |
| 22 | UBOOT_ENTRYPOINT = "0x80008000" | 22 | UBOOT_ENTRYPOINT = "0x80008000" |
| 23 | UBOOT_LOADADDRESS = "0x80008000" | 23 | UBOOT_LOADADDRESS = "0x80008000" |
| 24 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 25 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 26 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
| 27 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
| 28 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
| 24 | 29 | ||
| 25 | SPL_BINARY = "tispl.bin" | 30 | SPL_BINARY = "tispl.bin" |
| 26 | SPL_BINARYNAME = "tispl.bin" | 31 | SPL_BINARYNAME = "tispl.bin" |
