Hi All,
We are currently using TMDXEVM6670L for one of our project and following "Linux-c6x 2.0 Release" procedure to set up the configuration.
The host system being used is Ubuntu 10.4 as prescribed in the release notes.
During the build procedure we are facing following issues:
$ ./prj configscripts/setupSkip setup of CGT for BIOS & bare-metal (not needed)Skip setup of BIOS, IPC, XDC, and XDAIS (not needed)distro == UbuntuPackage `git-core' is not installed.Package `expect' is not installed.Package `bison' is not installed.Package `flex' is not installed.Package `mtd-utils' is not installed.Use dpkg --info (= dpkg-deb --info) to examine archive files,and dpkg --contents (= dpkg-deb --contents) to list their contents.needed packages missing and AUTO_INSTALL != yes]0;root@test-desktop: ~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project root@test-desktop:~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project# ./prj bui ld[ -d /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product ] || mkdir -p /home/test/my-linux-c6x/linux-c6x-2.0.0.63/productcp -a /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/scripts/bootblob /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product/cp -a /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/bootblob-templates /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product/cp -a /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/scripts/make-filesystem /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product/[: 18: little: unexpected operator[: 18: hard: unexpected operator[: 7: little: unexpected operator[: 7: hard: unexpected operator[: 7: little: unexpected operator[: 7: hard: unexpected operator********** sdk0 ENDIAN=little FLOAT=hard[: 6: little: unexpected operator[: 6: little: unexpected operator[: 6: little: unexpected operator[ -d /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product ] || mkdir -p /home/test/my-linux-c6x/linux-c6x-2.0.0.63/product[: 6: little: unexpected operator[: 6: little: unexpected operator[: 6: evmc6670: unexpected operator********** kernel evmc6670 ENDIAN=littlemake -f /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/Makefile -C /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x CROSS_COMPILE=/bin/c6x-uclinux- KNAME=evmc6670 kernel-sub ; \[ -d /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el ] || mkdir -p /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.elcp arch/c6x/configs/ti_evmc6670_defconfig /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.config[ -z "" ] || patch -p1 -d /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el -i /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/kbuilds/[ -z "" ] || /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/kbuilds/ /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.config [ "little" == "little" ] || \ sed -i -e 's,# CONFIG_CPU_BIG_ENDIAN is not set,CONFIG_CPU_BIG_ENDIAN=y,' /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.config[: 2: little: unexpected operator[ "yes" != "yes" ] || \ sed -i -e 's,CONFIG_TI_C6X_COMPILER=y,# CONFIG_TI_C6X_COMPILER is not set,' \ -e 's,CONFIG_TI_C6X_LINKER=y,# CONFIG_TI_C6X_LINKER is not set,' \ /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.config[ -z "-evmc6670.el-dev-root-20120816" ] || \ sed -i -e 's,CONFIG_LOCALVERSION=.*,CONFIG_LOCALVERSION="-evmc6670.el-dev-root-20120816",' /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.config[ -z "console=ttyS0,115200 ip=dhcp root=/dev/nfs nfsroot=158.218.100.25:/opt/min-root-c6x-le-netcp,v3,tcp rw" ] || \ sed -i -e 's%CONFIG_CMDLINE=.*%CONFIG_CMDLINE="console=ttyS0,115200 ip=dhcp root=/dev/nfs nfsroot=158.218.100.25:/opt/min-root-c6x-le-netcp,v3,tcp rw"%' /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/.configmake ARCH=c6x O=/home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/ oldconfig GEN /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/Makefilescripts/kconfig/conf -o arch/c6x/Kconfig## configuration written to .config#make ARCH=c6x O=/home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/make[5]: /bin/c6x-uclinux-gcc: Command not found GEN /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/Makefilescripts/kconfig/conf -s arch/c6x/Kconfigmake[5]: /bin/c6x-uclinux-gcc: Command not found Using /home/test/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x as source for kernel GEN /home/test/my-linux-c6x/linux-c6x-2.0.0.63/Build/kobjs/evmc6670.el/Makefile CHK include/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CC kernel/bounds.s/bin/sh: /bin/c6x-uclinux-gcc: not foundmake[6]: *** [kernel/bounds.s] Error 127make[5]: *** [prepare0] Error 2make[4]: *** [sub-make] Error 2make[3]: *** [kernel-sub] Error 2make[2]: *** [one-kernel] Error 2Build of kernel evmc6670 Failedmake[1]: *** [one-kernels] Error 2make: *** [kernels] Error 2]0;root@test-desktop: ~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project root@test-desktop:~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project# ]0;root@test-desktop: ~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project root@test-desktop:~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project# ]0;root@test-desktop: ~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project root@test-desktop:~/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project#
Because of these errors we are unable to set up the configuration.
Because of these issues we are totally blocked with further activities, please suggest some solutions to get out of these problems.
Thanks in advance..
Best Regards,
Shrinivas
Shrinivas Deshpande/bin/sh: /bin/c6x-uclinux-gcc: not found
You should set full path to c6x-uclinux-gcc
Please install those missing packages mentioned when you ran ./prj config on Ubuntu machine. You can see the auto_install stopped because of these missing packages.
Hi Kirill,
Thanks for the response. I have installed "c6x-uclinux-gcc" and now could able to proceed.
But still i have many compilation and linking errors.....will post in next mail.
Regards,
Hi Rex,
Before the /.prj config cmd, i did set auto_install=yes;
But i am facing some issue with "wget", which i believe issue with network.
I am checking with network team to get it resolved.
I will update my next findings in this post.
BTB, the build and installation procedure is tested by any one on ubuntu 10.04 with LTE L2-L3 applications?
Hi, Shrinivas,
Are you saying that LTE L2-L3 application is running on a Ubuntu 10.04 desktop communicating to the C6670 running Linux-c6x? What application is running on theC6670 Linux-c6x? LTE L2-L3 also? If this is the configuration, no, I don't believe it has been run this way.
Rex
Thanks for the response.
I will clarify your queries.
1. I am compiling LTE L2-L3 code for c6x on host Ubuntu (10.04) using c6x-uclinux-gcc. We are using Nyquist TI board.
2. Objs need to be downloaded to Nyquist (not aware of procedure??)
3. But got the support link : http://processors.wiki.ti.com/index.php/C6000_Linux_Support, which describes step by step procedure.
Please let me know if I missed out any point or your suggestions.
-Shrinivas
C6670 has not run any LTE application. I am not sure what issues you may encounter. There is a ftpget command in linux-c6x which allows you to ftp files from server onto c6670.