From 3d4c7fcadd7f3d1beabc6f5a1705ab2bb1b97f12 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 12 Jan 2010 01:59:00 +0000 Subject: lpc313x config update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2505 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/ea3131/ostest/defconfig | 2 +- nuttx/configs/ea3131/ostest/ld.script | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'nuttx/configs/ea3131/ostest') diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig index 49f231774..661de9477 100755 --- a/nuttx/configs/ea3131/ostest/defconfig +++ b/nuttx/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/nuttx/configs/ea3131/ostest/ld.script b/nuttx/configs/ea3131/ostest/ld.script index 5eee3d357..1e1f0ff39 100755 --- a/nuttx/configs/ea3131/ostest/ld.script +++ b/nuttx/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*) -- cgit v1.2.3