Skip to content

Commit

Permalink
AArch64: bump ram_min to hold kernel image
Browse files Browse the repository at this point in the history
Reserved 64M for payload to hold kernel image. So, bump ram_min to 0x44400000

Signed-off-by: Jianyong Wu <[email protected]>
  • Loading branch information
jongwu committed Nov 24, 2023
1 parent fa7ac4f commit 07d04b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aarch64-unknown-none.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 07d04b5

Please sign in to comment.