Finish up support for the ATSTK1000/ATSTK1002 boards
Subsystems (2)
PATCH 1/1 Finish up support for the ATSTK1000/ATSTK1002 boards
Add atstk1002_config target to Makefile and move the AVR32 section down below Blackfin so that it doesn't end up in the middle of MIPS.
Drop the autogenerated linker script thing for now. Will have to revisit how to handle chips with different flash and RAM layout later.
---
NOTE: This patch will only work when using the git tools, i.e. git-apply, git-am or git-applymbox due to the rename detection (which makes the patch much smaller and nicer.)
Please let me know if you want me to create a proper non-git patch as well.
Makefile | 17 ++++++++++-------
board/atmel/atstk1000/{u-boot.lds.S => u-boot.lds} | 10 ++++------
2 files changed, 14 insertions(+), 13 deletions(-)Makefile +10 -7
@@ -2122,13 +2122,6 @@ pb1000_config : unconfig @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h @$(MKCONFIG) -a pb1x00 mips mips pb1x00 -#======================================================================== -# AVR32 -#======================================================================== -######################################################################### -## AT32AP7xxx -######################################################################### - ######################################################################### ## MIPS64 5Kc #########################################################################
@@ -2248,6 +2241,16 @@ stamp_config : unconfig dspstamp_config : unconfig @$(MKCONFIG) $(@:_config=) blackfin bf533 dsp_stamp +#======================================================================== +# AVR32 +#======================================================================== +######################################################################### +## AT32AP7xxx +######################################################################### + +atstk1002_config : unconfig + @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000 + ######################################################################### ######################################################################### #########################################################################
board/atmel/atstk1000/u-boot.lds renamed from board/atmel/atstk1000/u-boot.lds.S +4 -6
@@ -20,27 +20,25 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ -#include <config.h> - OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32") OUTPUT_ARCH(avr32) ENTRY(_start) SECTIONS { - . = CFG_FLASH_BASE; + . = 0; _text = .; .text : { *(.text) *(.text.*) } - . = ALIGN(CFG_ICACHE_LINESZ); + . = ALIGN(32); __flashprog_start = .; .flashprog : { *(.flashprog) } - . = ALIGN(CFG_ICACHE_LINESZ); + . = ALIGN(32); __flashprog_end = .; . = ALIGN(8);
@@ -51,7 +49,7 @@ SECTIONS _etext = .; __data_lma = ALIGN(8); - . = CFG_INTRAM_BASE; + . = 0x24000000; _data = .; .data : AT(__data_lma) { *(.data)
Signature · 1 line
1.4.1.1
Wolfgang Denk
AppliedPATCH 1/1 Finish up support for the ATSTK1000/ATSTK1002 boards
Quoted 9 lines · In message <[email protected]> you wrote:
Add
atstk1002_configtarget toMakefileand move the AVR32 section down below Blackfin so that it doesn't end up in the middle of MIPS.Drop the autogenerated linker script thing for now. Will have to revisit how to handle chips with different flash and RAM layout later.
Signed-off-by Haavard Skinnemoen <[email protected]>
Applied.
Quoted 2 lines
Please let me know if you want me to create a proper non-git patch as well.
git patches are perfectly fine.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The last thing one knows in constructing a work is what to put first. - Blaise Pascal