当前位置:网站首页>Installation of zynq platform cross compiler
Installation of zynq platform cross compiler
2022-04-23 04:31:00 【MangataTS】
One 、 Create a working directory
Create a new working directory zynq, And enter the directory . newly build packs Catalog , The purpose is to store the source installation package , Copy relevant files to this directory .
mkdir zynq
cd zynq
mkdir packs

Two 、 Unzip the file
decompression Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux.tar.gz File to packs Under the parent directory of , I.e. working directory z y n q zynq zynq Directory .
tar -zxvf Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux.tar.gz -C ../
For the convenience of subsequent operation , We rename this folder :
mv Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux xilinx-tools
3、 ... and 、 Write an activation script and activate
establish env_z7.sh And enter the following into it , It's better to put it in zynq Under the table of contents
#!/bin/sh
export PATH=/home/mangata/zynq/xilinx-tools/bin:${
PATH}
ARCH=arm
CROSS_COMPILE=arm-linux
Activate script :
source env_z7.sh
Four 、 Test compiler version
Generally speaking, it will report an error :
mangata@mangata:~/zynq$ arm-linux-gcc -v
-bash: /home/mangata/zynq/xilinx-tools/bin/arm-linux-gcc: There is no file or directory
Said the command was not found , This is because the compiler is 32 32 32 position , And our system is 64 64 64 Bit , Need to install 32 b 32b 32b Bit Library . Let's continue to enter the installation command :
sudo apt install libc6-i386 lib32z1

If the installation here reports an error :
error :1 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 lib32z1 amd64 1:1.2.11.dfsg-2ubuntu1.2
404 Not Found [IP: 91.189.91.38 80]
E: Unable to download http://cn.archive.ubuntu.com/ubuntu/pool/main/z/zlib/lib32z1_1.2.11.dfsg-2ubuntu1.2_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Several packages cannot be downloaded , Do not run apt-get update Or add --fix-missing Try again ?
Then we just need to enter :
sudo apt-get update
Just install it again
Then check the version number again :

So far about zynq The cross compiler installation of the platform is completed
版权声明
本文为[MangataTS]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230426566939.html
边栏推荐
- MYSQL50道基础练习题
- [AI vision · quick review of today's sound acoustic papers, issue 3] wed, 20 APR 2022
- The difference between lists, tuples, dictionaries and collections
- 【时序】基于 TCN 的用于序列建模的通用卷积和循环网络的经验评估
- [AI vision · quick review of NLP natural language processing papers today, issue 31] Fri, 15 APR 2022
- 华为机试--高精度整数加法
- HMS Core Discovery第14期回顾长文|纵享丝滑剪辑,释放视频创作力
- VSCode配置之Matlab极简配置
- 用D435i录制自己的数据集运行ORBslam2并构建稠密点云
- Xiaomi, qui a établi le plus grand volume de ventes de téléphones portables domestiques sur le marché d'outre - mer, se concentre de nouveau sur le marché intérieur
猜你喜欢
![[BIM introduction practice] Revit building wall: detailed picture and text explanation of structure, envelope and lamination](/img/cb/86b5898609800a80592fceb782503f.png)
[BIM introduction practice] Revit building wall: detailed picture and text explanation of structure, envelope and lamination

【Echart】echart 入门

无线键盘全国产化电子元件推荐方案

win10, mysql-8.0.26-winx64.zip 安装

STM32 MCU ADC rule group multi-channel conversion DMA mode

520.检测大写字母

Express中间件②(中间件的分类)

针对NFT的网络钓鱼

Xiaomi, qui a établi le plus grand volume de ventes de téléphones portables domestiques sur le marché d'outre - mer, se concentre de nouveau sur le marché intérieur

Microbial neuroimmune axis -- the hope of prevention and treatment of cardiovascular diseases
随机推荐
Why recommend you to study embedded
Redis 命令大全
RuntimeError: output with shape [4, 1, 512, 512] doesn‘t match the broadcast shape[4, 4, 512, 512]
The difference between lists, tuples, dictionaries and collections
国外LEAD,联盟经理常见问答
Use recyclerview to realize left-right side-by-side classification selection
【BIM+GIS】ArcGIS Pro2.8如何打开Revit模型,BIM和GIS融合?
C语言 字符常量
Xiaomi, qui a établi le plus grand volume de ventes de téléphones portables domestiques sur le marché d'outre - mer, se concentre de nouveau sur le marché intérieur
Fusobacterium -- symbiotic bacteria, opportunistic bacteria, oncobacterium
How to regulate intestinal flora? Introduction to common natural substances, probiotics and prebiotics
Leetcode->1 两数之和
Apache Bench(ab 压力测试工具)的安装与使用
thymeleaf th:value 为null时报错问题
顺序表的基本操作
为什么推荐你学嵌入式
智能电子秤全国产化电子元件推荐方案
MYSQL去重方法汇总
针对NFT的网络钓鱼
KVM error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘