Hello Im trying to build the OMAP-L137 SDK
http://processors.wiki.ti.com/index.php/Building_The_OMAP-L137_SDK
Step 3: build the binary
and get the following after make
user@ubuntu:~/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem$ make
Making all in subdirectory src...
make[1]: Entering directory `/home/user/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src'
Making all in subdirectory interface...
make[2]: Entering directory `/home/user/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/interface'
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -I. -Wall -c -g -D__DEBUG -o debug/cmem.o470MV cmem.c
make[2]: /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc: Command not found <------- PROBLEM ?
make[2]: *** [debug/cmem.o470MV] Error 127
make[2]: Leaving directory `/home/user/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/interface'
make[1]: *** [interface] Error 2
make[1]: Leaving directory `/home/user/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src'
make: *** [src] Error 2
user@ubuntu:~/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem$
I did edit the Rules.make file
as this
# Where to copy the resulting executables and data to (when executing 'make
# install') in a proper file structure. This EXEC_DIR should either be visible
# from the target, or you will have to copy this (whole) directory onto the
# target filesystem.
# BEF bulds
EXEC_DIR=/home/user/workdir/filesys <------ MY ADDITION
#EXEC_DIR=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/opt/dvevm
# The prefix to be added before the GNU compiler tools (optionally including
# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".
# BEF builds
MVTOOL_PREFIX=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le- <------------- MY ADDITION
# For OMAP builds
#MVTOOL_PREFIX=/db/toolsrc/library/vendors2005/cs/arm/arm-2008q1-126/bin/arm-none-linux-gnueabi-
# For Davinci builds
#MVTOOL_PREFIX=/db/toolsrc/library/vendors2005/mvl/arm/mvl5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
# The following are kept around for TI developer convenience ...
#MVTOOL_PREFIX=/db/toolsrc/library/vendors2005/mvl/arm/mvl4.0.1-root-new/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
# Equivalent path for uClibc compiler tools
#UCTOOL_PREFIX=/db/toolsrc/library/vendors2005/opensource/buildroot/10122007/build_arm/staging_dir/usr/bin/arm-linux- <--- MY COMMENT OUT
# The directory that points to your kernel source directory. This is used
# for building the cmemk.ko kernel module, as the kernel's build system
# gets invoked. Note that this also means that the below C_FLAGS etc. will
# be ignored when building this particular module.
# BEF builds
LINUXKERNEL_INSTALL_DIR=/home/user/workdir/lsp/ti-davinci/linux-2.6.18_pro500 <--------------- MY ADDITION
# For OMAP3530 2.6.29 Linux kernel
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/kernel_org/arm/KERNEL_02.01.00.02/REL_OMAP35x_02.01.00.02/OMAP35x/linux-02.01.00.02
# LSP 2.00 used for DM6446
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/LSP_20/REL_LSP_02_00_00_100/dm6446/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500
# LSP 2.10 used for DM365
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/LSP_210/REL_LSP_02_10_00_08/dm365/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500
# LSP 2.20 used for OMAPL137
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/LSP_220/REL_LSP_02_20_00_03/da830/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500
# The following are kept around for TI developer convenience ...
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/DaVinci-Linux-Rel_mvl401c/Linux
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mistral/arm/omap2530evm-1.2/linux-2.6.23
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/omap3/OMAP35x_SDK_0.9.7/src/linux/kernel_org/2.6_kernel
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/wtsd/omap3430/CSSD_Linux_12.9baseport/src/linux/kernel_org/2.6_kernel
# If we're a subcomponent, allow larger product settings to override our
# defaults. The variable $(RULES_MAKE) can be overridden on the 'make'
# command-line if the location below is not correct (for example, when this
# module is not part of an overlying DVSDK).
RULES_MAKE := ../../../../../../../../Rules.make
-include $(RULES_MAKE)
# Whether or not to use the udev pseudo filesystem to generate the /dev
# filesystem for cmem. This depends on your kernel configuration. If udev is
# not used, the /dev/cmem file has to be created manually using mknod.
USE_UDEV=1
# The maximum number of memory pools for cmem.
MAX_POOLS=128
I did not tuch the Makefile.
The file its looking for appears to be there as well not locked
user@ubuntu:~/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin$ ls
apr-1-config arm_v5t_le-ksymoops arm_v5t_le-shellconfig
apu-1-config arm_v5t_le-ld arm_v5t_le-size
apxs arm_v5t_le-ldconfig arm_v5t_le-strings
arm_v5t_le-addr2line arm_v5t_le-ldd arm_v5t_le-strip
arm_v5t_le-ar arm_v5t_le-libindex audiofile-config
arm_v5t_le-as arm_v5t_le-libopt freetype-config
arm_v5t_le-c++ arm_v5t_le-libtoolize glib-genmarshal
arm_v5t_le-c++filt arm_v5t_le-nm glib-gettextize
arm_v5t_le-cpp arm_v5t_le-objcopy glib-mkenums
arm_v5t_le-g++ arm_v5t_le-objdump gobject-query
arm_v5t_le-gcc <----ITS HEAR arm_v5t_le-prelink orbit-idl-2
arm_v5t_le-gcov arm_v5t_le-prelink-rtld pcre-config
arm_v5t_le-gprof arm_v5t_le-ranlib xml2-config
arm_v5t_le-initdconfig arm_v5t_le-readelf
user@ubuntu:~/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin$
Can you help ? thanks