零知识玩转AVH(5)—— 怎么玩(4)

接前一篇文章:零知识玩转AVH(4)—— 怎么玩(3)

上一回经过了一个艰苦的探索过程,最终完成了“arm-avh-best-practice-project-product-subscription-guide-cn.pdf”即“Arm虚拟硬件实践专题一:产品订阅指南(百度智能云版)”中的第2步:连接Arm虚拟硬件(AVH)云服务器BCC实例。本回结合实际操作,详细讲解第3步:查看Arm虚拟硬件(AVH)云服务器BCC实例预装软件清单。 

上一回最终通过SecureCRT中的SSH方式成功连接了远程云服务器。成功登录后,界面如下:

3. 查看Arm虚拟硬件(AVH)云服务器BCC实例预装软件清单

Arm虚拟硬件(AVH)云服务器BCC实例预装的Arm相关软件工具清单,可以通过以下两种方式查看:

(1)云市场Arm虚拟硬件产品详情页的规格参数介绍中的“集成服务组件及版本”。

产品参数

  • 交付形式:镜像交付
  • 交付时间:实时
  • 系统类型:Linux
  • 基础系统版本:Ubuntu,20.04 LTS aarch64 (64bit)
  • 集成服务组件及版本:Arm 工具及其版本信息如下: Arm Compiler 6.18 GCC compiler 11.2 CMSIS-Toolbox 1.2.0 FVP模型: VHT_MPS2_Cortex-M0: 11.19.25 VHT_MPS2_Cortex-M0plus: 11.19.25 VHT_MPS2_Cortex-M3: 11.19.25 VHT_MPS2_Cortex-M4: 11.19.25 VHT_MPS2_Cortex-M7: 11.19.25 VHT_MPS2_Cortex-M23: 11.19.25 VHT_MPS2_Cortex-M33: 11.19.25 VHT_MPS3_Corstone_SSE-300: 11.19.25 VHT_Corstone_SSE-300_Ethos-U55: 11.19.25 VHT_Corstone_SSE-300_Ethos-U65: 11.19.25 VHT_Corstone_SSE-310: 11.19.25 VHT_Corstone_SSE-310_Ethos-U65: 11.19.25

(2)登录AVH BCC实例(登录后默认目录为:/home/ubuntu),运行以下命令将自动显示当前AVH BCC实例中安装的Arm软件工具清单及版本信息。同时,在该目录下会自动生成文本文件tool-inventory.txt,该文件记录了所显示的工具清单及版本信息。

由于是以root用户登录的,因此登录后默认路径为:

==== Arm Virtual Hardware BCC ====Please read carefully and abide by the EULA document (URL: https://www.arm.com/-/media/Files/pdf/terms-and-conditions/arm-virtual-hardware-targets-eula.pdf) provided by Arm Technology (China) Co., Ltd. (“Arm China”).The English version of the EULA file (ArmVirtualHardwareTargets_EULA.pdf) is also included at /home/ubuntu/ArmVirtualHardwareTargets_EULA.pdf directory of the image for your reference at any time.Do you agree and continue to use? Y (agree and continue to use)/ N (disagree and quit)y
CMSIS packs are installed at /home/ubuntu/packs
root@instance-eoy24hji:~# 
root@instance-eoy24hji:~# 
root@instance-eoy24hji:~# pwd
/root
root@instance-eoy24hji:~# 

切换到/home/ubuntu/下,并查看其下内容:

root@instance-eoy24hji:~# pwd
/root
root@instance-eoy24hji:~# ls /home/
ubuntu
root@instance-eoy24hji:~# cd /home/ubuntu/
root@instance-eoy24hji:/home/ubuntu# ls
ArmVirtualHardwareTargets_EULA.pdf  packs  tool-inventory.sh
root@instance-eoy24hji:/home/ubuntu# 

tool-inventory.sh文件的内容如下:

#!/bin/bash# Print an inventory of the installed tools.# record the output of this script into a text file
exec > >(tee -i tool-inventory.txt)COLOR=`tput setaf 4`
BCOLOR=`tput setab 7`
RESET=`tput sgr0`arch=$(uname -m)# Arm Compiler
echo "${COLOR}${BCOLOR}Arm Compiler information: ${RESET}"
armclang --target=arm-arm-none-eabi --version
echo -e "\n"# GNU Compiler
echo "${COLOR}${BCOLOR}GNU Compiler information: ${RESET}"
arm-none-eabi-gcc --version
echo -e "\n"# CMSIS build
echo "${COLOR}${BCOLOR}CMSIS build information: ${RESET}"
cbuild.sh
echo -e "\n"# Arm Virtual Hardware Platforms
echo "${COLOR}${BCOLOR}Arm Virtual Hardware Targets information: ${RESET}"
for i in $(ls /opt/VHT/VHT_*); doecho "  ${COLOR}${BCOLOR}$(basename $i) information: ${RESET}"$i --versionecho -e "\n"
done# Vela Compiler
# echo "${COLOR}${BCOLOR}Vela Compiler information: ${RESET}"
# vela --version
# echo -e "\n"

执行以下命令:

./tool-inventory.sh

命令及结果如下:

root@instance-eoy24hji:/home/ubuntu# ./tool-inventory.sh 
Arm Compiler information: 
armclang: error: Failed to check out a license.
This host does not match the host ID in the license.
Information about this error is available at: http://ds.arm.com/support/lic56/m9General licensing information is available at: http://ds.arm.com/support/licensing/If you need further help, provide this complete error report to your supplier or license.support@arm.com.- ARMLMD_LICENSE_FILE: '/opt/data.dat'- LM_LICENSE_FILE: unset- ARM_PRODUCT_DEF: unset- ARM_PRODUCT_PATH: unset- ARM_TOOL_VARIANT: unset- Product location: /opt/armcompiler/sw/mappings- Toolchain location: /opt/armcompiler/bin- Selected tool variant: product- Checkout feature: compiler5- Feature version: 5.0202203- Flex error code: -9
Product: Arm Compiler for Embedded 6.18 Professional
Component: Arm Compiler for Embedded 6.18
Tool: armclang [5e4cbf00]Target: arm-arm-none-eabiGNU Compiler information: 
arm-none-eabi-gcc (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.16)) 11.2.1 20220111
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.CMSIS build information: 
cbuild: Build Invocation 1.2.0 (C) 2022 ARMUsage:cbuild <project.cprj> [flags]Flags:-c, --clean              Remove intermediate and output directories-d, --debug              Enable debug messages-g, --generator string   Select build system generator (default "Ninja")-h, --help               Print usage-i, --intdir string      Set directory for intermediate files-j, --jobs int           Number of job slots for parallel execution-l, --log string         Save output messages in a log file-o, --outdir string      Set directory for output files-p, --packs              Download missing software packs with cpackget-q, --quiet              Suppress output messages except build invocations-r, --rebuild            Remove intermediate and output directories and rebuild-s, --schema             Check *.cprj file against CPRJ.xsd schema-t, --target string      Optional CMake target name-u, --update string      Generate *.cprj file for reproducing current build-v, --version            Print versionArm Virtual Hardware Targets information: VHT_Corstone_SSE-300_Ethos-U55 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_Corstone_SSE-300_Ethos-U65 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_Corstone_SSE-310 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_Corstone_SSE-310_Ethos-U65 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M0 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M0plus information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M23 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M3 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M33 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M4 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS2_Cortex-M7 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.VHT_MPS3_Corstone_SSE-300 information: Fast Models [11.19.25 (Nov  1 2022)]
Copyright 2000-2022 ARM Limited.
All Rights Reserved.Info: /OSCI/SystemC: Simulation stopped by user.
root@instance-eoy24hji:/home/ubuntu# 

与文档“arm-avh-best-practice-project-product-subscription-guide-cn.pdf”即“Arm虚拟硬件实践专题一:产品订阅指南(百度智能云版)”中所给出的结果基本一致。

此外,若仅想查看Arm虚拟硬件(AVH)镜像支持的Arm固定虚拟平台(Fixed Virtual Platform,FVP),可以运行以下命令:

ls /opt/VHT/VHT*

实际命令及结果如下:

root@instance-eoy24hji:/home/ubuntu# ls /opt/VHT/VHT*
/opt/VHT/VHT_Corstone_SSE-300_Ethos-U55  /opt/VHT/VHT_Corstone_SSE-310_Ethos-U65  /opt/VHT/VHT_MPS2_Cortex-M23  /opt/VHT/VHT_MPS2_Cortex-M4
/opt/VHT/VHT_Corstone_SSE-300_Ethos-U65  /opt/VHT/VHT_MPS2_Cortex-M0              /opt/VHT/VHT_MPS2_Cortex-M3   /opt/VHT/VHT_MPS2_Cortex-M7
/opt/VHT/VHT_Corstone_SSE-310            /opt/VHT/VHT_MPS2_Cortex-M0plus          /opt/VHT/VHT_MPS2_Cortex-M33  /opt/VHT/VHT_MPS3_Corstone_SSE-300

以上结果就是目前支持的FVP模型清单。

至此,第三步“3. 查看Arm虚拟硬件(AVH)云服务器BCC实例预装软件清单”就完成了。第一篇文档“arm-avh-best-practice-project-product-subscription-guide-cn.pdf”即“Arm虚拟硬件实践专题一:产品订阅指南(百度智能云版)”中的全部内容也就都结合实操讲解完了。

按照计划原,下一回应该开始讲解第二篇文档:arm-avh-best-practice-project-fvp-model-getting-started-guide-cn.pdf,即Arm虚拟硬件实践专题二:Arm虚拟硬件FVP模型入门指南。但是,笔者决定还是优先完成门槛任务,在此过程中可以边做边研究第二个文档的内容,在实践中学习效率才更高。因此,下一回就开始实际完成门槛任务了,会对于完成门槛任务的全步骤、以及遇到问题和解决问题的过程进行详细解析。

欲知后事如何,且看下回分解。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/537237.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【绩效管理】某连锁购物中心绩效考核体系搭建咨询项目

随着企业规模的扩大&#xff0c;员工数量不断增加&#xff0c;与之相关的人事管理工作的复杂性也随之增大。但是由于行业的特点&#xff0c;该购物中心的人员整体素质偏低&#xff0c;且自成立以来&#xff0c;该中心重经营轻管理&#xff0c;其人力资源管理水平也有待提升。在…

第二证券|炒股最好用的6个指标?

炒股存在以下好用的6个目标&#xff1a; 1、kdj目标 当k线从下方往上穿过d线时&#xff0c;构成金叉&#xff0c;是一种买入信号&#xff0c;投资者能够考虑在此刻买入一些个股&#xff0c;其间kdj金叉方位越低&#xff0c;买入信号越强&#xff1b;当k线从上往下穿过d线时&a…

【Java并发知识总结 | 第四篇】Java线程池详讲

文章目录 4.Java线程池详讲4.1线程池介绍4.1.1什么是线程池4.1.2线程池的作用4.1.3没有线程池的线程执行任务模型 4.2JAVA线程池4.2.1Executor框架介绍4.2.2Executor框架的组成&#xff08;1&#xff09;任务&#xff08;Runnable/Callable&#xff09;&#xff08;2&#xff0…

视频格式怎么批量转换?5 个批量视频转换器分享

可以同时转换多个视频吗&#xff1f;您是否正在寻找一款有用的批量视频转换器&#xff1f;最好的批量视频转换器是什么&#xff1f; 使用批量视频转换器同时转换多个视频文件是一个好方法。这篇文章为您总结了 5 个最好的批量视频转换器。 5 个批量视频转换器分享 1、奇客视频…

不用ChatGPT会扣分!韩国大学大胆拥抱生成式AI

“请尝试使用人工智能(AI)进行创作”。 这是韩国成均馆大学影像系教授李慧旼(音)在上学期的课堂中给学生们留的作业。她希望学生们能利用生成型绘图AI软件Dall-E或Midjourney来创作作品。学生们利用AI创作的作品非常有趣&#xff0c;一名学生用文字描述了喜欢用的香水后&#x…

【相关问题解答1】bert中文文本摘要代码:import时无法找到包时,几个潜在的原因和解决方法

【相关问题解答1】bert中文文本摘要代码 写在最前面问题1问题描述一些建议import时无法找到包时&#xff0c;几个潜在的原因和解决方法1. 模块或包的命名冲突解决方法&#xff1a; 2. 错误的导入路径解决方法&#xff1a; 3. 第三方库的使用错误解决方法&#xff1a; 4. 包未正…

【C++教程从0到1入门编程】第八篇:STL中string类的模拟实现

一、 string类的模拟实现 下面是一个列子 #include <iostream> namespace y {class string{public: //string() //无参构造函数// :_str(nullptr)//{}//string(char* str) //有参构造函数// :_str(str)//{}string():_str(new char[1]){_str[0] \0;}string(c…

wordpress博客趣主题个人静态网页模板

博客趣页面模板适合个人博客&#xff0c;个人模板等内容分享。喜欢的可以下载套用自己熟悉的开源程序建站。 博客趣主题具有最小和清洁的设计&#xff0c;易于使用&#xff0c;并具有有趣的功能。bokequ主题简约干净的设计、在明暗风格之间进行现场切换。 下载地址 清新个人…

上海亚商投顾:沪指缩量调整 传媒、游戏股逆势大涨

上海亚商投顾前言&#xff1a;无惧大盘涨跌&#xff0c;解密龙虎榜资金&#xff0c;跟踪一线游资和机构资金动向&#xff0c;识别短期热点和强势个股。 一.市场情绪 三大指数昨日震荡调整&#xff0c;上证50指数跌近1%&#xff0c;保险等权重板块走低&#xff0c;中国太保跌超…

yolov5模型压缩-torch_pruning

参考论文:DepGraph: Towards Any Structural Pruning(https://arxiv.org/abs/2301.12900) 主要原理:物理的移除参数,并自动找出层与层以及层之间的依赖,完成模型的自动裁剪 模型压缩效果:yolov5剪枝流程如下: pip install torch_pruning 新建prune.py: import torch_…

MySQL的事务隔离是如何实现的?

目录 从一个例子说起 快照读和当前读 事务的启动时机和读视图生成的时刻 MVCC 隐藏字段 Undo Log回滚日志 Read View - 读视图 可重复读(RC)隔离级别下的MVCC 读提交(RR)隔离级别下的MCC 关于MVCC的一些疑问 1.为什么需要 MVCC &#xff1f;如果没有 MVCC 会怎样&am…

开源分子对接程序rDock使用方法(2)-高通量虚拟筛选HTVS

欢迎浏览我的CSND博客&#xff01; Blockbuater_drug …点击进入 文章目录 前言一、rDock用于高通量虚拟筛选HTVSMulti-Step Protocol HTVS步骤及注意事项 二、rDock中Multi-Step Protocol用于HTVS的用法Step 1. Exhaustive dockingStep 2. sdreport summaryStep 3. 运行rbhtfi…