Hi,
I am referring to this document - http://www.omappedia.com/wiki/4AI.1.7_OMAP4_Icecream_Sandwich_Release_Notes
I am using OMAP4 processor with ICS on Blaze 2 tablet. I downloaded the sources and followed all the steps till -
Setting up build environment
export YOUR_PATH=`pwd` export PATH=$PATH:<toolchain_parent_dir>/arm-2010q1/bin export MYDROID=${YOUR_PATH}/mydroid mkdir ${MYDROID}/logs export CROSS_COMPILE=arm-none-linux-gnueabi- export PATH=${YOUR_PATH}/u-boot/tools:$PATH
I verified that all the paths above all set correctly in my terminal.
palakshah@ubuntu:/$ echo $PATH
{HOME}/bin:{HOME}/TI_OMAP4_ICS/4AI.1.7/u-boot/tools:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/arm-2010q1/bin
But still when I run
make ift 2>&1 |tee ${MYDROID}/logs/x-loader_make.out
I get the following error -
ubuntu:~/TI_OMAP4_ICS/4AI.1.7/u-boot$ make 2>&1 |tee ${MYDROID}/logs/u-boot_make.out
make: arm-none-linux-gnueabi-gcc: Command not found
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80e80000 -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c gen_eth_addr.c bmp_logo.c > .depend
make[1]: Leaving directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/tools'
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/tools'
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/post'
arm-none-linux-gnueabi-gcc -M -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv7-a -mabi=apcs-gnu -Wall -Wstrict-prototypes cache_8xx.S cache.c codec.c cpu.c dsp.c ether.c i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c watchdog.c > .depend
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
make[1]: *** No rule to make target `.depend'. Stop.
make[1]: Leaving directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/post'
make[1]: arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/examples'
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
arm-none-linux-gnueabi-gcc -M -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv7-a -mabi=apcs-gnu -Wall -Wstrict-prototypes hello_world.c stubs.c > .depend
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
make[1]: *** No rule to make target `.depend'. Stop.
make[1]: Leaving directory `/home/palakshah/TI_OMAP4_ICS/4AI.1.7/u-boot/examples'
make[1]: arm-none-linux-gnueabi-gcc: Command not found
I have set the path to the tool chain in PATH variable then why am I still getting error? What am I missing here?
Thanks in advance for your help.
- Palak Shah