当前位置:网站首页>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
边栏推荐
- Apache Bench(ab 压力测试工具)的安装与使用
- 递归调用--排列的穷举
- 基于英飞凌MCU GTM模块的无刷电机驱动方案开源啦
- As a code farmer, what kind of experience is it that a girlfriend can code better than herself?
- thymeleaf th:value 为null时报错问题
- Opencv -- yoact case segmentation model reasoning
- 2020 is coming to an end, special and unforgettable.
- Express中间件①(中间件的使用)
- Express middleware ② (classification of Middleware)
- [AI vision · quick review of today's sound acoustic papers, issue 3] wed, 20 APR 2022
猜你喜欢
小红书被曝整体裁员20%,大厂之间内卷也很严重
As a code farmer, what kind of experience is it that a girlfriend can code better than herself?
STM32 upper μ C / shell transplantation and Application
Shopping mall for transportation tools based on PHP
Express中间件①(中间件的使用)
Effects of antibiotics on microbiome and human health
Why recommend you to study embedded
Coinbase:关于跨链桥的基础知识、事实和统计数据
Fusobacterium -- symbiotic bacteria, opportunistic bacteria, oncobacterium
兼容NSR20F30NXT5G的小体积肖特基二极管
随机推荐
Shopping mall for transportation tools based on PHP
A function second kill 2sum 3sum 4sum problem
shell wc (统计字符数量)的基本使用
The difference between lists, tuples, dictionaries and collections
zynq平台交叉编译器的安装
IEEE Transactions on Industrial Informatics(TII)投稿须知
基于英飞凌MCU GTM模块的无刷电机驱动方案开源啦
那些年我面试过的Android开发岗总结(附面试题+答案解析)
Cause analysis of incorrect time of AI traffic statistics of Dahua Equipment Development Bank
阿里十年技术专家联合打造“最新”Jetpack Compose项目实战演练(附Demo)
[AI vision · quick review of today's sound acoustic papers, issue 3] wed, 20 APR 2022
从MySQL数据库迁移到AWS DynamoDB
[AI vision · quick review of today's sound acoustic papers, issue 2] Fri, 15 APR 2022
As a code farmer, what kind of experience is it that a girlfriend can code better than herself?
Fusobacterium -- symbiotic bacteria, opportunistic bacteria, oncobacterium
Express中间件②(中间件的分类)
Second kill all interval related problems
Opencv -- yoact case segmentation model reasoning
Supplément: annotation
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