Return-Path: Received: from webmail1.louhi.net (webmail.louhi.net [77.240.18.35]) by arago-project.org (Postfix) with ESMTP id 9E278529AA for ; Tue, 28 Jan 2014 08:17:12 +0000 (UTC) Received: by webmail1.louhi.net (Postfix, from userid 33) id A64EF19C0B1; Tue, 28 Jan 2014 10:17:11 +0200 (EET) To: MIME-Version: 1.0 Date: Tue, 28 Jan 2014 10:17:11 +0200 From: jose.alarcon@kuviovision.com In-Reply-To: <1390871192-3063-1-git-send-email-denis@denix.org> References: <1390871192-3063-1-git-send-email-denis@denix.org> Message-ID: <25a2617e42192ee8409b5072a91434b7@kuviovision.com> X-Sender: jose.alarcon@kuviovision.com User-Agent: Louhi Webmail/0.8.4 Subject: ti-mpm-transport broken on MCSDK X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 08:17:13 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, ti-mpm-transport is broken on MCSDK 3.0.3: ERROR: Logfile of failure stored in: /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/temp/log.do_compile.14714 Log data follows: | DEBUG: Executing shell function do_compile | mkdir -p /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/lib | make -C /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/src/transport all | arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/sysroots/keystone-evm -I. -I/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/include -I/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/src/utils -I./sharedmem -I./hyplnk -I/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/sysroots/keystone-evm/usr/include -I/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/src/utils/edma3 -D__ARMv7 -DDEVICE_`echo k2h | tr a-z A-Z` -D_VIRTUAL_ADDR_SUPPORT -c -o mpm_transport.o mpm_transport.c | In file included from mpm_transport_cfg.h:42:0, | from mpm_transport.c:45: | /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/src/utils/edma3/mpm_transport_edma3.h:49:40: fatal error: ti/sdo/edma3/drv/edma3_drv.h: No such file or directory | compilation terminated. | make[1]: *** [mpm_transport.o] Error 1 | make: *** [transport] Error 2 This same version of the MCSDK used to build correctly for me couple of months ago. I went to the recipe file for ti-mpm-transport and found that it clones the source from the top of the git repo: BRANCH ?= "master" #SRCREV = "DEV.MPM-TRANSPORT-01.00.00.00" SRCREV = "${AUTOREV}" So I changed the revision to DEV.MPM-TRANSPORT-01.00.00.00 instead. Now it compiles, but it fails to install: ERROR: Logfile of failure stored in: /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/temp/log.do_install.15271 Log data follows: | DEBUG: Executing shell function do_install | install: cannot stat `/home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/git/src/transport/test/sharedmem/mpm_transport_test.out': No such file or directory | ERROR: Function failed: do_install (see /home/jose/environments/kuvio-newserver/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-oe-linux-gnueabi/ti-mpm-transport-git-r4/temp/log.do_install.15271 for further information) ERROR: Task 2 (/home/jose/environments/kuvio-newserver/sources/meta-arago/meta-arago-extras/recipes-bsp/ti-mpm-transport/ti-mpm-transport_git.bb, do_install) failed with exit code '1' I went to my old build and search for the particular git commit that happened to be the top of the git repo at that time. Using this commit, it builds OK. This is how I modified ti-mpm-transport.bb: BRANCH ?= "master" #SRCREV = "DEV.MPM-TRANSPORT-01.00.00.00" #SRCREV = "${AUTOREV}" SRCREV = "ffa58d41aaf2a3ab4800eed91d6356b58b46a1e7" BTW, I reported another issue with this same recipe last Novemeber on TI's e2e community (it uses a wrong SRC_URI) [1] Could you please take a look at those for the next MCSDK release? Thanks, -- Jose Alarcon [1] http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/b/announcements/archive/2013/11/25/mcsdk-3-0-3-maintenance-update-for-k2h-k2k.aspx#comments