当前位置:网站首页>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
边栏推荐
- 兼容NSR20F30NXT5G的小体积肖特基二极管
- Use recyclerview to realize left-right side-by-side classification selection
- 創下國產手機在海外市場銷量最高紀錄的小米,重新關注國內市場
- Effects of antibiotics on microbiome and human health
- 【Echart】echart 入門
- Microbial neuroimmune axis -- the hope of prevention and treatment of cardiovascular diseases
- Second kill all interval related problems
- VSCode配置之Matlab极简配置
- A new method for evaluating the quality of metagenome assembly - magista
- OpenCV----YOLACT实例分割模型推理
猜你喜欢
520.检测大写字母
[AI vision · quick review of NLP natural language processing papers today, No. 32] wed, 20 APR 2022
Bridge between ischemic stroke and intestinal flora: short chain fatty acids
創下國產手機在海外市場銷量最高紀錄的小米,重新關注國內市場
STM32 upper μ C / shell transplantation and Application
Cause analysis of incorrect time of AI traffic statistics of Dahua Equipment Development Bank
中国移动日赚2.85亿很高?其实是5G难带来更多利润,那么钱去哪里了?
上海航芯技术分享 | ACM32 MCU安全特性概述
Thought of reducing Governance -- detailed summary of binary search
Express中间件①(中间件的使用)
随机推荐
Xshell、Xftp连接新创建的Unbutu系统虚拟机全流程
Matlab minimalist configuration of vscode configuration
Who will answer the question?
STM32 upper μ C / shell transplantation and Application
A function second kill 2sum 3sum 4sum problem
【BIM+GIS】ArcGIS Pro2. 8 how to open Revit model, Bim and GIS integration?
Bacterial infection and antibiotic use
1个需求的一生,团队协作在云效钉钉小程序上可以这么玩
[echart] Introduction to echart
Chapter 4 - understanding standard equipment documents, filters and pipelines
[AI vision · quick review of NLP natural language processing papers today, No. 32] wed, 20 APR 2022
C语言:恶搞小游戏
STM32 MCU ADC rule group multi-channel conversion DMA mode
KVM error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘
Hard core chip removal
第四章 --- 了解标准设备文件、过滤器和管道
单极性非归零NRZ码、双极性非归零NRZ码、2ASK、2FSK、2PSK、2DPSK及MATLAB仿真
Second kill all interval related problems
Basic introduction to spot gold
STM32F4单片机ADC采样及ARM-DSP库的FFT