[coreboot-gerrit] Patch set updated for coreboot: romcc: Increase base address in linux ld script
Jonathan Neuschäfer (j.neuschaefer@gmx.net)
gerrit at coreboot.org
Thu Apr 7 13:52:14 CEST 2016
Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14277
-gerrit
commit 90bf254a8eededf1287d995b2bd07304b84872bf
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date: Thu Apr 7 12:01:56 2016 +0200
romcc: Increase base address in linux ld script
Newer versions of Linux implement a sysctl variable called vm.mmap_min_addr
that controls the minimum address a virtual memory mapping may have[1]. It is
usually set to 64KiB.
Map the start of start of the start of the segment specified in
util/romcc/tests/ldscript.ld to 128KiB, just to be sure.
[1]: https://www.kernel.org/doc/Documentation/sysctl/vm.txt
Change-Id: I72a5c65ca5e7d3a77d6ec897ae3287e3ea05cc2f
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
util/romcc/tests/ldscript.ld | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/romcc/tests/ldscript.ld b/util/romcc/tests/ldscript.ld
index 249ebd5..593ba8e 100644
--- a/util/romcc/tests/ldscript.ld
+++ b/util/romcc/tests/ldscript.ld
@@ -3,7 +3,7 @@ ENTRY(_start)
SECTIONS
{
- . = 0x1000;
+ . = 0x20000;
__cpu_reset = 0xdeadbeef;
.text . : {
. = ALIGN(16);
@@ -18,4 +18,4 @@ SECTIONS
*(.data)
. = ALIGN(16);
}
-}
\ No newline at end of file
+}
More information about the coreboot-gerrit
mailing list