diff options
author | Andrew Davis <afd@ti.com> | 2023-07-05 17:07:37 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-07-07 08:45:10 -0500 |
commit | 6b741edf5fda4cd771fb3c8e0602974866cc8b86 (patch) | |
tree | 07f7a7e6df8a0b456623486fb49a3b385167bd51 /meta-ti-bsp | |
parent | cc14f9eb41cd9e6c7d3fd816e34cfc4bc0ebb245 (diff) | |
download | meta-ti-6b741edf5fda4cd771fb3c8e0602974866cc8b86.tar.gz |
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 FIT
set the address to 0x81000000 which gives the kernel 32MB before running
into the FDT at 0x83000000.
If you get this error someday then your kernel is too large and either it
or FDT needs relocated in memory:
ERROR: image is not a fdt - must RESET the board to recover.
Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index eb25fa78..366db16d 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -19,8 +19,8 @@ KERNEL_IMAGETYPES = "Image fitImage" | |||
19 | KERNEL_CLASSES += "kernel-fitimage" | 19 | KERNEL_CLASSES += "kernel-fitimage" |
20 | 20 | ||
21 | UBOOT_ARCH = "arm" | 21 | UBOOT_ARCH = "arm" |
22 | UBOOT_ENTRYPOINT = "0x80008000" | 22 | UBOOT_ENTRYPOINT = "0x81000000" |
23 | UBOOT_LOADADDRESS = "0x80008000" | 23 | UBOOT_LOADADDRESS = "0x81000000" |
24 | UBOOT_RD_LOADADDRESS = "0x84000000" | 24 | UBOOT_RD_LOADADDRESS = "0x84000000" |
25 | UBOOT_RD_ENTRYPOINT = "0x84000000" | 25 | UBOOT_RD_ENTRYPOINT = "0x84000000" |
26 | UBOOT_DTB_LOADADDRESS = "0x83000000" | 26 | UBOOT_DTB_LOADADDRESS = "0x83000000" |