9

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

 1 year ago
source link: https://feixiaoxing.blog.csdn.net/article/details/131670104
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嵌入式驱动开发(linux移植)

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

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

        前面完成了uboot移植,下面就要进行linux移植。当然,理论上uboot只是为后续的os准备好了一个基础运行环境,实际运行的操作系统是不是选择linux,也不一定。如果为了实际生产的需要,换成rtos其实也是可以的。只是,大多数场景中,大家还是习惯于用linux。使用linux,不仅仅代表选择了这个操作系统,更主要的是选择了这个生态,后续我们就可以复用很多的第三方生态软件,这样不需要我们再从零开始开发了。

        这里使用的编译器还是和uboot一样,是7.2版本的arm-linux-gnueabi。

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

1、下载linux代码

https://github.com/Lichee-Pi/linux/tree/nano-5.2-tf

        注意,代码一定要选择nano-5.2-tf这个分支。nano代表了是f1c系列soc芯片,5.2代表了内核版本,tf代表这个image是从micro sd卡启动。当然,除了nano-5.2-tf之外,还有一个n

文章知识点与官方知识档案匹配,可进一步学习相关知识

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK