From 07d04b5dd9cbd24824f01037b1400b6e5932ab2b Mon Sep 17 00:00:00 2001 From: Jianyong Wu Date: Thu, 2 Nov 2023 03:42:43 +0000 Subject: [PATCH] AArch64: bump ram_min to hold kernel image Reserved 64M for payload to hold kernel image. So, bump ram_min to 0x44400000 Signed-off-by: Jianyong Wu --- aarch64-unknown-none.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aarch64-unknown-none.ld b/aarch64-unknown-none.ld index 2cbab38c..2a8e7015 100644 --- a/aarch64-unknown-none.ld +++ b/aarch64-unknown-none.ld @@ -4,11 +4,11 @@ ENTRY(ram64_start) DRAM: [0x4000_0000-0xfc00_0000] FDT: [0x4000_0000-0x401f_ffff) ACPI: [0x4020_0000-0x403f_ffff) - payload:[0x4040_0000-0x405f_ffff) - RHF: [0x40600000-] + payload:[0x4040_0000-0x443f_ffff) + RHF: [0x44400000-] Assuming 2MB is enough to load payload. The stack start is at the end of the RHF region. */ -ram_min = 0x40600000; +ram_min = 0x44400000; /* This value must be identical with arch::aarch64::layout::map::dram::KERNEL_START. */ PAYLOAD_START = 0x40400000;