u-boot 2021.01 版本编译

本文记录了在vm15.0、ubuntu 20.04 LTS环境下编译u-boot 2021.01官方版本的过程。作者作为Linux萌新,在下载资源、选择版本等方面遇到诸多困难,编译中还碰到bison、flex、镜像节缺失、toolchain环境和版本不一致等问题。

u-boot 2021.01 官方版本编译

环境:vm15.0,ubuntu 20.04 LTS

u-boot的编译实际上网上资源很多,

http://wiki.friendlyarm.com/wiki/index.php/Building_U-boot_and_Linux_for_H5/H3/H2%2B/zh

基本上只要按照wiki上面的编译基本不会出什么问题,

但是,笔者linux 萌新一枚,先吐槽一下,初入Linux真不容易啊...

选Ubuntu的时候官网下载只 提供了最新的2020.04版本选择,其他资源又需要各种翻,好吧那就选最新版本的用用吧.....

然后也不知道自己当初哪来的勇气选了纯净安装.....

github上资源下载各种失败,好吧,u-boot 也只能官方下载了:ftp://ftp.denx.de/pub/u-boot/u-boot-2019.10.tar.bz2

一看最新都出到了2021.03版本了,网上的资源要不就是2013的或者就是github sunxi 主线的,

那就先随便选个2021.01版本的吧,然后就是各种折腾了...

言归正传,主要是记录一下,自己在编译过程中遇到的问题...

主要就是,因为bison 、flex、bl31 scp 主要镜像节缺失、arm-gcc-的toolchain 各种环境和版本不一致的问题。

 

[ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.hrdata.zpw:zpw:1.2.0, D:\ideaWorkspace\ych-ych-api\pom.xml, line 494, column 21 [FATAL] Non-parseable POM D:\software\mvn\apache-maven-3.8.1\repository\org\springframework\cloud\spring-cloud-dependencies\2021.0.3\spring-cloud-dependencies-2021.0.3.pom: entity reference name can not contain character =' (position: TEXT seen ... href="./static/rapture/resources/new-favicon.svg?_v=3.54.1-01&_e=... @14:102) @ D:\software\mvn\apache-maven-3.8.1\repository\org\springframework\cloud\spring-cloud-dependencies\2021.0.3\spring-cloud-dependencies-2021.0.3.pom, line 14, column 102 [FATAL] Non-parseable POM D:\software\mvn\apache-maven-3.8.1\repository\com\alibaba\cloud\spring-cloud-alibaba-dependencies\2021.0.1.0\spring-cloud-alibaba-dependencies-2021.0.1.0.pom: entity reference name can not contain character =' (position: TEXT seen ... href="./static/rapture/resources/new-favicon.svg?_v=3.54.1-01&_e=... @14:102) @ D:\software\mvn\apache-maven-3.8.1\repository\com\alibaba\cloud\spring-cloud-alibaba-dependencies\2021.0.1.0\spring-cloud-alibaba-dependencies-2021.0.1.0.pom, line 14, column 102 [FATAL] Non-parseable POM D:\software\mvn\apache-maven-3.8.1\repository\org\springframework\boot\spring-boot-dependencies\2.7.1\spring-boot-dependencies-2.7.1.pom: entity reference name can not contain character =' (position: TEXT seen ... href="./static/rapture/resources/new-favicon.svg?_v=3.54.1-01&_e=... @14:102) @ D:\software\mvn\apache-maven-3.8.1\repository\org\springframework\boot\spring-boot-dependencies\2.7.1\spring-boot-dependencies-2.7.1.pom, line 14, column 102 @
最新发布
06-06
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值