# HG changeset patch # User Michael Spacefalcon # Date 1409560342 0 # Node ID e7ba9fcb3637bbe5bb87642dcd5d730747228501 # Parent c2f2f7d784515e2d490e5f888d633c2c3e95ae60 target-utils: move loadagent to 0x838000 in preparation for ramImages that load iram.text directly into IRAM diff -r c2f2f7d78451 -r e7ba9fcb3637 target-utils/env/iram.lds --- 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*) diff -r c2f2f7d78451 -r e7ba9fcb3637 target-utils/helloapp/Makefile --- 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 diff -r c2f2f7d78451 -r e7ba9fcb3637 target-utils/loadagent/Makefile --- 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 diff -r c2f2f7d78451 -r e7ba9fcb3637 target-utils/pirexplore/Makefile --- 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