diff --git a/configs/ea3131/ostest/defconfig b/configs/ea3131/ostest/defconfig index 49f23177444..661de94770c 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 5eee3d3572b..1e1f0ff391b 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*)