summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:12:56 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:12:56 +0000
commit157b3795d552178119c14ec4bbb8a68adc5859e4 (patch)
tree071a57d0f60fdf30f9c883af5ec903a7ab55f2ec /firmware
parent10171996455103f2b4e0adce75966b0a130734c8 (diff)
cleanup, added volatile storage space at the end of flash memory
git-svn-id: https://svn.openpcd.org:2342/trunk@292 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware')
-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