| | |

ds-金沙js1005线路

问题类别:arm 开发工具 > ds-5 浏览次数:2275
发布日期:2015/7/13 14:53:30 文章来源:米尔科技
回复日期:2015/7/13 14:53:30
ds-5旗舰版
ds-5旗舰版 checkout for ... product.cpu.cortex-a53 was denied
ds-5 旗舰版 64位版本编译代码的时候,提示下面的错误:
checkout for feature product.cpu.cortex-a53 was denied by product definition /opt/build-8994-tools/ds-5/sw/armcompiler6.00/sw/mappings/armcompiler.elmap;/opt/build-8994-tools/ds-5/sw/mappings/ds5eval.elmap

意思是,arm compiler 6 编译器查找armv8架构(目前cortex-a53或cortex-a57)授权许可license时,没有找到,这有可能是由以下几个原因造成的:
  • 安装了ds-5旗舰版(5.18及以后的版本),但是没有获得旗舰版授权license或者30天试用激活码
  • 安装了ds-5旗舰版(5.18及以后的版本),也获得了旗舰版授权license或者30天试用激活码,但是项目工程里面没有指定好license文件路径
  • 以上两步确定都正常,还是出现以上错误。

解决
 情况一   
(1)确保下载并安装了 ds-5;
(2)购买ds-5授权,并按照米尔科技提供的 license 安装文档获得 license.dat 文件;
      或者申请 30 天的评估试用版本,申请办法:;

 情况二   
(3)把 license.dat 文件保存到本地,如 c:\users\gary\appdata\roaming\arm\ds-5\licenses\license.dat(注意:路径中不能有空格),并通过ds-5 eclipse添加到环境中;

不管是正式版还是试用版,license安装正确后会显示“arm ds-5 ultimate edition”,如上图
      如果是 30 天激活码,通过ds-5 菜单:help > arm license manager > add license,在“enter  a serial number or activation code: ”中输入arm 提供的激活码,然后下一步,需要用arm账号登录地方输入账号登录,没有的话申请一个,直到完成。
 

如果只是申请到了专业版,那肯定不能用的了,重新购买旗舰版授权或30天旗舰版试用

(4)授权版本跳过这步。
     30天试用版本在上面的 arm license manager 对话框中,点“diagnostics”选项卡,会看到如下一项:
licenses are searched for in the following locations:
  armlmd_license_file environment variable: "c:\users\gary\appdata\roaming\arm\ds-5\licenses"
  lm_license_file environment variable: not set
  ds-5 licenses directory: "c:\users\gary\appdata\roaming\arm\ds-5\licenses"

其中:c:\users\gary\appdata\roaming\arm\ds-5\licenses 就是license的路径,把 ds-5 ultimate edition.lic 重新命名为 license.dat

(5)修改编译脚本把编译脚本里面的armlmd_license_file设置为实际的旗舰版版本路径:
1
setarmlmd_license_file=c:\users\gary\appdata\roaming\arm\ds-5\licenses\license.dat


(6)重新编,应该就可以了。

情况三
(7)如果通过以上步骤还是不能编译,出现一样的错误,那么,就该出绝招了,在编译命令中加入“--tool_variant=ult”参数,或者在编译脚本/环境中设置如下:
1
2
3
4
armcompiler6_asmopt=--tool_variant=ult
armcompiler6_clangopt=--tool_variant=ult
armcompiler6_fromelfopt=--tool_variant=ult
armcompiler6_linkopt=--tool_variant=ult


(8)保持快乐的心态,相信只要是软件问题,一定可以解决

js555888金沙老品牌的技术支持服务指南

常见问题解答

网站地图