当前位置:网站首页>全志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命令即可
边栏推荐
- Novice must see, click two buttons to switch to different content
- 鸿蒙第四次学习
- Masa framework - DDD design (1)
- Introduction to sap s/4hana OData mock service
- R语言使用epiDisplay包的lrtest函数对多个glm模型(logisti回归)执行似然比检验(Likelihood ratio test)对比两个模型的性能是否有差异、广义线性模型的似然比检
- @Component cannot get Dao layer
- R language ggplot2 visualization: gganimate package creates dynamic histogram animation (GIF) and uses transition_ The States function displays a histogram step by step along a given dimension in the
- PyTorch函数中的__call__和forward函数
- 电商系统中常见的 9 大坑,你踩过没?
- What is 9D movie like? (+ common sense of dimension space)
猜你喜欢
![[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter](/img/c4/3bba96fda92328704c2ddd929dcdf6.png)
[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter

深度学习数学基础

Mysql高级篇学习总结7:Mysql数据结构-Hash索引、AVL树、B树、B+树的对比

How can retail enterprises open the second growth curve under the full link digital transformation
![[0701] [paper reading] allowing data imbalance issue with perforated input during influence](/img/c7/9b7dc4b4bda4ecfe07aec1367fe059.png)
[0701] [paper reading] allowing data imbalance issue with perforated input during influence

Use cheat engine to modify money, life and stars in Kingdom rush

【每日一题】第二天

M2DGR:多源多场景 地面机器人SLAM数据集(ICRA 2022 )

Singapore summer tourism strategy: play Singapore Sentosa Island in one day

Introduction to the paper | analysis and criticism of using the pre training language model as a knowledge base
随机推荐
CDN acceleration and breaking J anti-theft chain function
使用 Cheat Engine 修改 Kingdom Rush 中的金钱、生命、星
The student Tiktok publicized that his alma mater was roast about "reducing the seal of enrollment". Netizen: hahahahahahahaha
The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?
Page title component
[0701] [论文阅读] Alleviating Data Imbalance Issue with Perturbed Input During Inference
C文件输入操作
27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi
在纽约寻找童真——新泽西州乐高乐园探索中心的美好一天
Mysql高级篇学习总结6:索引的概念及理解、B+树产生过程详解、MyISAM与InnoDB的对比
High frequency interview questions
Gstore weekly gstore source code analysis (4): black and white list configuration analysis of security mechanism
[100 cases of JVM tuning practice] 03 -- four cases of JVM heap tuning
Have you stepped on the nine common pits in the e-commerce system?
R语言ggplot2可视化:gganimate包创建动态柱状图动画(gif)、使用transition_states函数在动画中沿给定维度逐步显示柱状图
[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter
LightGroupButton* sender = static_cast<LightGroupButton*>(QObject::sender());
A simple PHP personal card issuing program v4.0
产品经理应具备的能力
Stm32g0 USB DFU upgrade verification error -2