当前位置:网站首页>Quanzhi A33 uses mainline u-boot
Quanzhi A33 uses mainline u-boot
2022-07-02 19:19:00 【Zhao Kaixin xiansen】
First, choose one uboot edition The website links , As shown in the figure below ,
Unzip it , Then use the command git clone https://github.com/linux-sunxi/sunxi-tools
obtain sunxi-tools
, Then enter sunxi-tools
Directory execution make
, The following error is reported
Setting version information: c21f4a60
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -o sunxi-fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -o sunxi-bootinfo bootinfo.c
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ `pkg-config --cflags libusb-1.0` `pkg-config --cflags zlib` -o sunxi-fel \
fel.c fit_image.c progress.c soc_info.c fel_lib.c fel-spiflash.c `pkg-config --libs libusb-1.0` `pkg-config --libs zlib` -lfdt
fit_image.c:19:10: fatal error: libfdt.h: No such file or directory
19 | #include <libfdt.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:145: sunxi-fel] Error 1
Carry out orders apt-get install libfdt-dev
that will do , And then again make, The success is as follows .
Then compile uboot,make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- A33-OLinuXino_defconfig
,make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8, Just compile , A successful compilation will generate u-boot-sunxi-with-spl.bin
file , And then execute ./sunxi-tools/sunxi-fel uboot u-boot/u-boot-sunxi-with-spl.bin
Command is enough
边栏推荐
- mybatiesHelperPro工具必须的可以生成到对应项目文件夹下
- [daily question] first day
- Tutoriel (5.0) 10. Dépannage * fortiedr * fortinet Network Security expert NSE 5
- Tutorial (5.0) 10 Troubleshooting * fortiedr * Fortinet network security expert NSE 5
- 消息队列消息丢失和消息重复发送的处理策略
- MySQL高级(进阶)SQL语句
- 中国信通院《数据安全产品与服务图谱》,美创科技实现四大板块全覆盖
- ORA-01455: converting column overflows integer datatype
- 思维意识转变是施工企业数字化转型成败的关键
- Juypter notebook modify the default open folder and default browser
猜你喜欢
[daily question] the next day
潇洒郎:彻底解决Markdown图片问题——无需上传图片——无需网络——转发给他人图片无缺失
Transformation of thinking consciousness is the key to the success or failure of digital transformation of construction enterprises
9D电影是怎样的?(+维度空间常识)
Thread application instance
Tutorial (5.0) 09 Restful API * fortiedr * Fortinet network security expert NSE 5
守望先锋世界观架构 ——(一款好的游戏是怎么来的)
消息队列消息丢失和消息重复发送的处理策略
新手必看,点击两个按钮切换至不同的内容
Talk about the design of red envelope activities in e-commerce system
随机推荐
MySQL高级(进阶)SQL语句
数据降维——因子分析
Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径
预处理和预处理宏
守望先锋世界观架构 ——(一款好的游戏是怎么来的)
新手必看,点击两个按钮切换至不同的内容
juypter notebook 修改默认打开文件夹以及默认浏览器
【JVM调优实战100例】03——JVM堆调优四例
codeforces每日5题(均1700)-第四天
2022 software engineering final exam recall Edition
Reduce -- traverse element calculation. The specific calculation formula needs to be passed in and combined with BigDecimal
云呐|为什么要用固定资产管理系统,怎么启用固定资产管理系统
Juypter notebook modify the default open folder and default browser
Emmet基础语法
开发固定资产管理系统,开发固定资产管理系统用什么语音
【pytorch学习笔记】Tensor
QT中的QPropertyAnimation使用和toast案列
R语言使用epiDisplay包的lrtest函数对多个glm模型(logisti回归)执行似然比检验(Likelihood ratio test)对比两个模型的性能是否有差异、广义线性模型的似然比检
C文件输入操作
R language dplyr package Na_ The if function converts the control in the vector value into the missing value Na, and converts the specified content into the missing value Na according to the mapping r