Skip to contentSkip to conversation

conf: machine: k3: Use ARM64 kernel load address in FIT

PATCH Superseded Andrew Davis 1 participant 1 message Jul 5, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: machine: k3: Use ARM64 kernel load address in FIT

The address 0x80008000 was used in pre-K3 devices. ARM64 requires the kernel loaded to a 2MB aligned address when not using KASLR. For non-FIT we use 0x82000000, let's use the same when loading from FIT.

---
 meta-ti-bsp/conf/machine/include/k3.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/machine/include/k3.inc +2 -2
index 494c667e..8e145084 100644
@@ -19,8 +19,8 @@ KERNEL_IMAGETYPES = "Image fitImage"
 KERNEL_CLASSES += "kernel-fitimage"
 
 UBOOT_ARCH = "arm"
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
+UBOOT_ENTRYPOINT = "0x82000000"
+UBOOT_LOADADDRESS = "0x82000000"
 UBOOT_RD_LOADADDRESS = "0x84000000"
 UBOOT_RD_ENTRYPOINT = "0x84000000"
 UBOOT_DTB_LOADADDRESS = "0x83000000"
Signature · 1 line
2.39.2