From 858efc230ea2e575c4562cab948752d55675b185 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 12 Jan 2010 01:59:00 +0000 Subject: [PATCH] lpc313x config update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2505 42af7a65-404d-4744-a932-0658087f49c3 --- configs/ea3131/ostest/defconfig | 2 +- configs/ea3131/ostest/ld.script | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/configs/ea3131/ostest/defconfig b/configs/ea3131/ostest/defconfig index 49f2317744..661de94770 100755 --- a/configs/ea3131/ostest/defconfig +++ b/configs/ea3131/ostest/defconfig @@ -195,7 +195,7 @@ CONFIG_UART_2STOP=0 CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n -CONFIG_RAW_BINARY=n +CONFIG_RAW_BINARY=y CONFIG_HAVE_LIBM=n # diff --git a/configs/ea3131/ostest/ld.script b/configs/ea3131/ostest/ld.script index 5eee3d3572..1e1f0ff391 100755 --- a/configs/ea3131/ostest/ld.script +++ b/configs/ea3131/ostest/ld.script @@ -34,12 +34,14 @@ ****************************************************************************/ /* The LPC3131 has 192Kb of ISRAM beginning at virtual address 0x1102:8000. - * All program segments are configured to execute from ISRAM. + * LPC313x boot ROM expects the boot image be compiled with entry point at + * 0x1102:9000. A 128b header will appear at this address (applied by + * lpc313xImgCreator) and the executable code must begin at 0x1102:9080. */ MEMORY { - isram (rwx) : ORIGIN = 0x11028000, LENGTH = 192K + isram (rwx) : ORIGIN = 0x11029080, LENGTH = 192K - 4224 } OUTPUT_ARCH(arm) @@ -70,7 +72,7 @@ SECTIONS *(.gnu.linkonce.d.*) CONSTRUCTORS _edata = ABSOLUTE(.); - } > isram AT > isram + } > isram .ARM.extab : { *(.ARM.extab*)