diff --git a/configs/ea3131/ostest/defconfig b/configs/ea3131/ostest/defconfig index 49f231774446d66a36271c31a73875c5c48e412d..661de94770c62214344533ed1136ee123de010b6 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 5eee3d3572b1f9e057e673103ada8470b9e175d2..1e1f0ff391bae6196e49d0c5d24c4d89b6f56883 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*)