当前位置:网站首页>全志A33使用主线U-Boot
全志A33使用主线U-Boot
2022-07-02 17:53:00 【赵开心先森】
首先选择一个uboot版本官网链接,如下图所示,
解压缩即可,然后使用命令 git clone https://github.com/linux-sunxi/sunxi-tools获取sunxi-tools,然后进入sunxi-tools目录执行make,遇到如下报错
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
执行命令apt-get install libfdt-dev即可,然后重新make,成功如下图。
然后编译uboot,make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- A33-OLinuXino_defconfig ,make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8,进行编译即可,编译成功会生成u-boot-sunxi-with-spl.bin文件,然后执行./sunxi-tools/sunxi-fel uboot u-boot/u-boot-sunxi-with-spl.bin命令即可
边栏推荐
- Industrial software lecture - core technology analysis of 3D CAD design software - the second lecture of the Forum
- Web version 3D visualization tool, 97 things programmers should know, AI frontier paper | information daily # 2022.07.01
- 论文导读 | 机器学习在数据库基数估计中的应用
- 故障排查:kubectl报错ValidationError: unknown field \u00a0
- [0701] [论文阅读] Alleviating Data Imbalance Issue with Perturbed Input During Inference
- R language ggplot2 visualization: visualize the line chart and add customized X-axis label information to the line chart using labs function
- 距离度量 —— 杰卡德距离(Jaccard Distance)
- R language uses lrtest function of epidisplay package to perform likelihood ratio test on multiple GLM models (logisti regression). Compare whether the performance of the two models is different, and
- Looking for innocence in New York -- a beautiful day at the discovery center of Legoland, New Jersey
- Leetcode (81) -- search rotation sort array II
猜你喜欢

A simple PHP personal card issuing program v4.0

LightGroupButton* sender = static_ cast<LightGroupButton*>(QObject::sender());

徹底搞懂基於Open3D的點雲處理教程!

Talk about the design of red envelope activities in e-commerce system

Yesterday, Alibaba senior wrote a responsibility chain model, and there were countless bugs

Introduction to the paper | analysis and criticism of using the pre training language model as a knowledge base

仿京东放大镜效果(pink老师版)

The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?

Stm32g0 USB DFU upgrade verification error -2

How to play when you travel to Bangkok for the first time? Please keep this money saving strategy
随机推荐
Installation of thingsboard, an open source IOT platform
R语言dplyr包rowwise函数、mutate函数计算dataframe数据中多个数据列在每行的最大值、并生成行最大值对应的数据列(row maximum)
Crypto usage in nodejs
【测试开发】一文带你了解什么是软件测试
新手必看,點擊兩個按鈕切換至不同的內容
R语言ggplot2可视化:可视化折线图、使用labs函数为折线图添加自定义的X轴标签信息
metric_logger小解
Mysql高级篇学习总结7:Mysql数据结构-Hash索引、AVL树、B树、B+树的对比
【测试开发】软件测试—概念篇
R语言使用epiDisplay包的lrtest函数对多个glm模型(logisti回归)执行似然比检验(Likelihood ratio test)对比两个模型的性能是否有差异、广义线性模型的似然比检
The text editor hopes to mark the wrong sentences in red, and the text editor uses markdown
Yolov3 trains its own data set to generate train txt
开源物联网平台ThingsBoard的安装
The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?
Yesterday, Alibaba senior wrote a responsibility chain model, and there were countless bugs
Golang并发编程——goroutine、channel、sync
"Patient's family, please come here" reading notes
Masa framework - DDD design (1)
[daily question] the next day
[0701] [paper reading] allowing data imbalance issue with perforated input during influence