summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld7
-rw-r--r--firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld7
-rw-r--r--firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld7
-rw-r--r--firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld6
4 files changed, 14 insertions, 13 deletions
diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld
index f5a3e56..ebac6d4 100644
--- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld
+++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld
@@ -2,9 +2,10 @@
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000)
- DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00008000 - 0x28)
- STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
+ /* reserve 1K config area on top of flash */
+ FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000 - 0x400)
+ DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00008000 - 0x28)
+ STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
}
diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
index 1c5a15f..a4436a9 100644
--- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
+++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
@@ -2,12 +2,11 @@
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000
- DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00008000
- STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
+ FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00004000
+ DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00008000
+ STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
}
-
/* Section Definitions */
SECTIONS
diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld
index a5eb057..85bf7b8 100644
--- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld
+++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld
@@ -2,9 +2,10 @@
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00040000 - 0x4000)
- DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00010000 - 0x28)
- STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000
+ /* reserve 1K config area on top of flash */
+ FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00040000 - 0x4000 - 0x400)
+ DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00010000 - 0x28)
+ STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000
}
diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
index 908f818..fcea409 100644
--- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
+++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
@@ -2,9 +2,9 @@
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000
- DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000
- STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000
+ FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00004000
+ DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000
+ STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000
}
personal git repositories of Harald Welte. Your mileage may vary