3

全志F1C200S嵌入式驱动开发(uboot移植)

 1 year ago
source link: https://feixiaoxing.blog.csdn.net/article/details/131651830
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

全志F1C200S嵌入式驱动开发(uboot移植)

original.png
嵌入式-老费 newUpTime2.png 已于 2023-07-15 21:21:50 修改 articleReadEyes2.png 334

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

        对于soc的学习来说,uboot的处理是很重要的一步。当uboot可以正常编译之后,剩下来的kernel、dtb和rootfs也就水道渠成了。但如果uboot没有能够顺利编译、烧入,那就很麻烦了。好在全志的soc大部分都支持micro sd卡烧入,所以刚开始学习的时候,我们完全可以利用micro sd卡烧入uboot,进行相关知识的学习和运用。

        注意,这里使用的交叉编译器是7.2的编译器,最终选择的那个交叉编译器,是因为它不支持硬件浮点,而且参考了网上其他同学使用的交叉编译器版本。

https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabi/

1、下载uboot代码

https://github.com/Lichee-Pi/u-boot/tree/nano-v2018.01

        uboot的代码可以从这个地址下载,注意分支是nano-v2018.01。

2、导入config文件,选择licheepi_nano_defconfig即可

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- licheepi_nano_defconfig

3、保存config文件

make

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK