AnsweredAssumed Answered

about running IPC demo in bsc9131rdb

Question asked by Sym song on Jun 21, 2016
Latest reply on Jun 28, 2016 by Yiping Wang


     I'm working with bsc9131rdb and want to run the ipc demo,I read the IPC_README.txt and follow the step but there comes errors when I run make:

/opt/fsl-qoriq/1.9/environment-setup-ppce500v2-fsl-linux-gnu-gcc -c ./lib/fsl_usmmgr.c -Wall -O3 -lpthread -I ./include -I../fsl_shm/include -I /data_nmg/ashish/linux-2.6//drivers/misc -Wall -o ./lib/fsl_usmmgr.o

make: /opt/fsl-qoriq/1.9/environment-setup-ppce500v2-fsl-linux-gnu-gcc: Command not found

make: *** [mem_lib] Error 127


the steps are:

1. Set KERNEL_DIR as the path of linux soruce code

Eg: export KERNEL_DIR=/data_nmg/ashish/linux-2.6/

2. Set CROSS_COMPILE as the <path of toolchain>/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-

Eg: export CROSS_COMPILE=/toolchain/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-


My PC's linux is Ubuntu 12.04.5,and my toolchain's dir is /opt/fsl-qoriq/1.9/environment-setup-ppce500v2-fsl-linux-gnuspe

what should I set for KERNEL_DIR and CROSS_COMPILE?Or do I have something wrong with my toolchain?