This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM3358:AM3358

Guru**** 1966425 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1096066/am3358-am3358

部件号:AM3358

您好,

18.04

Yocto版本coresdk-thon.thon-config.txt的python版本要求是什么07.03 ?00.005 客户在执行DO打包时收到错误。

步骤如下:

沿1.2 https://software-dl.ti.com/processor-sdk-linux/esd/docs/07_03_00_005/linux/Overview_Building_the_SDK.html行驶

$. conf/setenv  

$ export toolchain_path_ARMV7=/media/wujl/kitdev/gcc-arm-arm-jule-juls- 9.2 2019.12 -x86_64-arm-none-linux-gnueabihf

$ machine=AM335x-EVM bitbake u-boot-ti-staging

执行DO打包操作时,将出现以下错误:

初始化任务:100 % |############################################################################################################################################################################################################################################## |时间:0:00:00
状态摘要:需要4找到0错过4当前59 (0 % 匹配,93 % 完成)
注意:正在执行任务
错误:U-boot-ti-staging-1_itAUTOINC+278.1231万a33-R36 2020.01 DO _package:在exec_python_func()自动生成中执行python函数时出错:

导致此异常/故障的python调用的栈跟踪为:
文件:'Exec_python_func() Autogenered',LineNo: 2, function:<module>
0001:
*** 0002:do_package(d)
0003:
文件:'/media/wujl/test/tisdk/sources/oE-core/meta/classes/package.bbclass',行号:2315,函数:do_package
2311:
2312:cpath = oe.cachedpath.CachedPath
2313:
2314:对于f in (d.getVar('PACKAGESPLITFUNC')或'').split():
*** 2315:bb.build.exec_func (f,d)
2316:
2317:###################################################################################
2318:# Process PKGDEEST
2319:##########################################################################################
文件:'/media/wujl/test/tisdk/sources/bitbake/lib/bb/build.py',行号:251,函数:Exec_func.
0247:使用bb.utils.fileslocked(lockfiles):
0248:如果是ispython:
0249:exec_func_python (func,d,runfile,cwd=Adir)
0250:否则:
*** 0251:exec_func_shell(cunc, d, runfile, cwd=Adir)
0252:
0253:尝试:
0254:curcwd = os.getcwd()
0255:除外:
文件:'/media/wujl/test/tisdk/sources/bitbake/lib/bb/build.py',线号:452,函数:Exec_func_shell
0448:将open (fifopath,'r+b',buff=0)设置为fifo:
0449:尝试:
0450:bb.debug(2,"正在执行shell函数%s"% func)
0451:以stdin,logfile的形式打开(os.devnull,'r+'):
*** 0452:bb.process.run(cmd,shell=False,stdin=stdin,log=logfile,extrafiles=[(fifo,readfifo)])
0453:最后:
0454:os.unlink (fifopath)
0455:
0456:bb.debug(2,"Shell函数%s已完成"% func)
文件:'/media/wujl/test/tisdk/sources/bitbake/lib/bb/process.py',线号:182,函数:运行
0178:如果不是stderr,则为None:
0179:stderr = stderr.decode("utf-8")
0180:
0181:如果pipe.returncode != 0:
*** 0182:提升执行错误(cmd, pipe.returncode, stdout,stderr)
0183:返回stdout,stderr.
例外:bb.process.ExecutionError:执行'/media/wujl/test/tisdk/build/arago-tmp-external_arm-glibc/work /AM335x_EVM-linux-gnueabi/u-boot-ti-staging /1_autoAutoINC+278.1231万a33-R36/temp/run.populate_cipk_failed.package.10021'<xmt-block0>1.0021万 2020.01
cp:不能stat '/media/wujl/test/tisdk/build/arago-tmp-external_arm-glibc/work /AM335x_EVM-linux-gnueabi/u-boot-ti-staging /1_auto31INC+278.1231万a33-R36/src-staging /board-support/u-boot-ti-stag/u-staging 2020.01 /u-gua33+arg+lip\se\se\sig-\sig-directe\+ 2020.01 目录
警告:/media/wujl/test/tisdk/build/arago-tmp-external_arm-glibc/work /AM335x_EVM-linux-gnueabi/u-boot-ti-staging /1_prf+gitip+278.1231万incip+278a33-r36/temp/run.populate_srk_package_package./j-foot-j-j-p-jp-jp-j-p-jp-jp-jp-jp-p-jp-j-jp-p-jp-jp-jp-p-jp-p-j-j-j-j-j-j-j-j-jp-jp-jp-jp-jp-jp-p-p-j-j-j-j-j-j-j-j-j-j-j-j-j-j-j-jp-j-j-jp-j-j-j-p-j-j-j- 2020.01 2020.01 2020.01 /media/wujl/test/tisdk/build/arago-tmp-external_arm-glibc/work /AM335x_EVM-linux-gnueabi/u-boot-ti-staging /1_Auto31+gitINC+278.1231万a33-R36/ 2020.01 软件包-split/u-boot-ti-staging - src/board-staging 2020.01 +278u-3git3+arg+8u-up+arg+tinc


错误:存储在/media/wujl/test/tisdk/build/arago-tmp-external_arm-glibc/work /AM335x_EVM-linux-gnueabi/u-boot-ti-staging /1_AUTOINC+278.1231万a33-R36/temp/log.do_package.10021中1.0021万中的故障日志文件2020.01
错误:任务(/media/wujl/test/tisdk/sources/meta-ti/fipes-bsp/u-boot/u-boot-ti-staging _staging 2020.01 .bb:do_package)失败,退出代码为'1'
注意:任务摘要:尝试执行了485个任务,其中484个不需要重新运行,1个失败。
注意:正在编写buildhistory
注:写入buildhistory花费了2秒

摘要:1个任务失败:
/media/wujl/test/tisdk/sources/meta-ti/fipes-bsp/u-boot/u-boot-ti-staging 2020.01 .bb:do_package
摘要:显示1条警告消息。
摘要:显示1条错误消息,返回非零退出代码。

x 出现错误。请重试或与管理员联系。