Hi,
There is an on-line video tutorial of Sitara SDK 6, which talked about uboot build with CCS 5. Now I install Sitara SDK 8 on a Ubuntu PC. I try to build uboot after selecting the appropriate the new toolchain in the path in Make Target, CCS 6. It has error:
22:02:15 **** Build of configuration Default for project u-boot-2014.07-g7e537bf ****
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- am335x_evm_config
/bin/sh: 1: uname: not found
/bin/sh: 1: sed: not found
/bin/sh: 1: sed: not found
/bin/sh: 1: uname: not found
/home/ruwan2/ti-sdk-am335x-evm-08.00.00.00/board-support/u-boot-2014.07-g7e537bf/mkconfig: 1: /home/ruwan2/ti-sdk-am335x-evm-08.00.00.00/board-support/u-boot-2014.07-g7e537bf/mkconfig: sed: not found
make: *** [am335x_evm_config] Error 127
In the Makefile, I suspect the following lines generates the error:
HOSTARCH := $(shell uname -m | \
sed -e s/i.86/x86/ \
-e s/sun4u/sparc64/ \
-e s/arm.*/arm/ \
-e s/sa110/arm/ \
-e s/ppc64/powerpc/ \
-e s/ppc/powerpc/ \
-e s/macppc/powerpc/\
-e s/sh.*/sh/)
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
sed -e 's/\(cygwin\).*/cygwin/')
Especailly the last two lines, have all the command names in the error.
I do not remember there are some environment variables needed for these commands. What should I do to remove the error?
Thanks,