diff options
Diffstat (limited to 'nuttx/configs/ea3131/ostest')
-rwxr-xr-x | nuttx/configs/ea3131/ostest/defconfig | 2 | ||||
-rwxr-xr-x | nuttx/configs/ea3131/ostest/ld.script | 8 |
2 files changed, 6 insertions, 4 deletions
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*) |