Part Number:PROCESSOR-SDK-AM62A
Hi export,
我按照以下步骤下载编译Processor sdk Linux for AM62Ax,但是yocto编译出错,无法继续。请帮忙检查一下是什么问题。
参考文档software-dl.ti.com/…/Overview_Building_the_SDK.html
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Started PRServer with DBfile: /home/igs/data/AM62/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/yocto-build/build/cache/prserv.sqlite3, Address: 127.0.0.1:42813, PID: 17747
ERROR: Directory name ${OEBASE}/build/sstate-cache contains unexpanded bitbake variable. This may cause build failures and WORKDIR polution.
BobLu:
看报错似乎是yocto的python程序执行失败,能否确认一下咱用的ubuntu系统,是否和原文档要求的是一个版本,以及有没有动过里面的比如python的版本
,
yun wang:
我的是ubuntu20.04,修改了修改bin/setup-host-check.sh文件适配自己的版本。修改如下:
get_host_type host
#if [ “$host” != “jammy” ]; then
# echo "Unsupported host Linux $host. Only Ubuntu 22.04 LTS is supported"
# exit 1
#fi
if [ "$host" != "focal" ]; then
echo "Unsupported host Linux $host. Only Ubuntu 20.04 LTS is supported"
exit 1
fipython3安装的版本为3.8,必须用3.10吗?
igs@igs:mcu_plus_sdk_am62ax_09_01_00_39$ python3 –versionPython 3.8.10
,
BobLu:
我看你发的文档链接:https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/09_01_00/exports/docs/linux/Overview_Building_the_SDK.html
要求是ubuntu 22.04
那你用22.04就是最容易编译成功的,也是TI测试过的
用其他版本并不是说不行,但肯定会有各种问题需要解决,除了yocto自身的(python版本问题),还有后面构建系统时会遇到各种奇奇怪怪的问题