From 3bd145652bc33b551a77cceaee37b2fdbd09d4e3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 22 Apr 2019 19:29:45 +0200 Subject: [PATCH] document offsets --- common/ldscript.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/ldscript.common b/common/ldscript.common index 5b2f1e3c4..1be33df95 100644 --- a/common/ldscript.common +++ b/common/ldscript.common @@ -11,6 +11,8 @@ ms of the GNU GPL, version 2 or, /* AT91SAM7S256 has 256k Flash and 64k RAM */ /* AT91SAM7S512 has 512k Flash and 64k RAM */ +/* boot space = 8192bytes (0x2000) */ +/* osimage space = (512k - 0x2000 == 524288 - 8192 == 516096bytes == 0x7E000 ) */ MEMORY { bootphase1 : ORIGIN = 0x00100000, LENGTH = 0x200 /* Phase 1 bootloader: Copies real bootloader to RAM */