各位:
在按照Processor SDK Linux Automotive Software Developers Guide中的【Building Yocto Filesystem】编译sdk时,编译出错。
具体步骤是:
1.export INSTALL_DIR="${HOME}/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf"
2.export PATH=/home/linux/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
3.cd $INSTALL_DIR
4. ./bin/setup-yocto.sh
5.cd yocto-layers
6. ./build-core-sdk.sh dra7xx-evm
=========================================================================================================
执行最后一步时,编译提示ERROR: Function failed: Unpack failure for URL: 'libloki.sourcearchive.com/…/libloki_0.1.7.orig.tar.gz'.
整个log的内容
DEBUG: Executing python function do_unpack
DEBUG: Executing python function base_do_unpack
NOTE: Unpacking /home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/downloads/libloki_0.1.7.orig.tar.gz to /home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libloki/0.1.7-r0/
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
DEBUG: Python function base_do_unpack finished
DEBUG: Python function do_unpack finished
ERROR: Function failed: Unpack failure for URL: 'libloki.sourcearchive.com/…/libloki_0.1.7.orig.tar.gz'. Unpack command PATH="/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/oe-core/scripts:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm/usr/bin/crossscripts:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/linux/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/oe-core/scripts:/home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/bitbake/bin:/home/linux/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" tar xz –no-same-owner -f /home/linux/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/downloads/libloki_0.1.7.orig.tar.gz failed with return value 2
Building Yocto Filesystem
Shine:
抱歉,e2echina不支持DRA系列的汽车电子芯片,您可以联系TI的销售或者代理,也可以到e2e英文论坛咨询。
e2e.ti.com/…/791
user3569532:
回复 Shine:
好的,谢谢。