FreeCalypso > hg > freecalypso-sw
changeset 629:e7ba9fcb3637
target-utils: move loadagent to 0x838000 in preparation for ramImages that
load iram.text directly into IRAM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Sep 2014 08:32:22 +0000 |
parents | c2f2f7d78451 |
children | 4cd1dcc167e4 |
files | target-utils/env/iram.lds target-utils/helloapp/Makefile target-utils/loadagent/Makefile target-utils/pirexplore/Makefile |
diffstat | 4 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/env/iram.lds Mon Sep 01 07:42:59 2014 +0000 +++ b/target-utils/env/iram.lds Mon Sep 01 08:32:22 2014 +0000 @@ -4,7 +4,7 @@ SECTIONS { /* code */ - . = 0x800750; + . = Base_addr; .text : { /* regular code */ *(.text*)
--- a/target-utils/helloapp/Makefile Mon Sep 01 07:42:59 2014 +0000 +++ b/target-utils/helloapp/Makefile Mon Sep 01 08:32:22 2014 +0000 @@ -18,7 +18,8 @@ ln -s $< . ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} - ${LD} -N --defsym stack_bottom=0x83FFFC -T ${LDS} -o $@ ${OBJS} \ + ${LD} -N --defsym Base_addr=0x800750 --defsym stack_bottom=0x83FFFC \ + -T ${LDS} -o $@ ${OBJS} \ --start-group ${LIBS} --end-group \ --start-group ${TC_LIBS} --end-group
--- a/target-utils/loadagent/Makefile Mon Sep 01 07:42:59 2014 +0000 +++ b/target-utils/loadagent/Makefile Mon Sep 01 08:32:22 2014 +0000 @@ -20,7 +20,8 @@ ln -s $< . ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} - ${LD} -N --defsym stack_bottom=0x81FFFC -T ${LDS} -o $@ ${OBJS} \ + ${LD} -N --defsym Base_addr=0x838000 --defsym stack_bottom=0x83FFFC \ + -T ${LDS} -o $@ ${OBJS} \ --start-group ${LIBS} --end-group \ --start-group ${TC_LIBS} --end-group
--- a/target-utils/pirexplore/Makefile Mon Sep 01 07:42:59 2014 +0000 +++ b/target-utils/pirexplore/Makefile Mon Sep 01 08:32:22 2014 +0000 @@ -19,7 +19,8 @@ ln -s $< . ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} - ${LD} -N --defsym stack_bottom=0x87FFFC -T ${LDS} -o $@ ${OBJS} \ + ${LD} -N --defsym Base_addr=0x800750 --defsym stack_bottom=0x87FFFC \ + -T ${LDS} -o $@ ${OBJS} \ --start-group ${LIBS} --end-group \ --start-group ${TC_LIBS} --end-group