aboutsummaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld7
1 files changed, 5 insertions, 2 deletions
diff --git a/linker.ld b/linker.ld
index 7f3ee57..0cbd1fb 100644
--- a/linker.ld
+++ b/linker.ld
@@ -3,8 +3,11 @@ ENTRY(_start)
SECTIONS
{
/* Starts at LOADER_ADDR. */
- . = 0x8000;
- /* For AArch64, use . = 0x80000; */
+ /* Warning! Internet says RPis in 32-bit mode load kernel at 0x8000! */
+ /* My experiments do, however, show, that qemu emulating RPi2 */
+ /* Loads the kernel at 0x10000! (took some pain to find out) */
+ . = 0x10000;
+ /* For AArch64, use . = 0x80000; Unless this too is wrong */
__start = .;
__text_start = .;
.text :