From 75d566a1c0908b3b23418d50bd2d89da71f5394b Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 16 Jan 2010 17:18:54 +0000 Subject: [PATCH] Need to use .bin file, not the ELF git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2508 42af7a65-404d-4744-a932-0658087f49c3 --- configs/ea3131/README.txt | 4 ++++ configs/ea3131/ostest/setenv.sh | 3 ++- configs/ea3131/tools/mklpc.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configs/ea3131/README.txt b/configs/ea3131/README.txt index e52aafbb8a..9cb78cac1f 100755 --- a/configs/ea3131/README.txt +++ b/configs/ea3131/README.txt @@ -12,6 +12,7 @@ Contents o IDEs o NuttX buildroot Toolchain o Boot Sequence + o Image Format o ARM/EA3131-specific Configuration Options o Configurations @@ -158,6 +159,9 @@ Boot Sequence In all configurations, NuttX is loaded directly into ISRAM. NuttX is linked to execute from ISRAM, regardless of the boot source. +Image Format +^^^^^^^^^^^^ + ARM/EA3131-specific Configuration Options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CONFIG_ARCH - Identifies the arch/ subdirectory. This should diff --git a/configs/ea3131/ostest/setenv.sh b/configs/ea3131/ostest/setenv.sh index 908ef9b93a..796add80e0 100755 --- a/configs/ea3131/ostest/setenv.sh +++ b/configs/ea3131/ostest/setenv.sh @@ -41,6 +41,7 @@ if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN="${WD}/../buildroot/build_arm_nofpu/staging_dir/bin" -export PATH="${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +export LPCTOOL_DIR="${WD}/configs/ea3131/tools" +export PATH="${BUILDROOT_BIN}:${LPCTOOL_DIR}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" diff --git a/configs/ea3131/tools/mklpc.sh b/configs/ea3131/tools/mklpc.sh index 8a1ca3be7f..0198a29fc9 100755 --- a/configs/ea3131/tools/mklpc.sh +++ b/configs/ea3131/tools/mklpc.sh @@ -41,7 +41,7 @@ echo "LPCHDR: $LPCHDR" # Now get the path to the NuttX executable -NUTTXPATH="$TOPDIR/nuttx" +NUTTXPATH="$TOPDIR/nuttx.bin" if [ ! -f "$NUTTXPATH" ]; then echo "NuttX binary does not exist at $NUTTXPATH"