博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Including driver firmware on Linux kernel image
阅读量:4137 次
发布时间:2019-05-25

本文共 1082 字,大约阅读时间需要 3 分钟。

 

 

Driver’s binary firmware is a dedicated issue to Linux. In fact even open source drivers usually load its firmware to internal chip and it drives some puritan GNU people to become crazy.

Unfortunately you don’t have much option because these firmware are necessary to get your device working.

When developing an embedded system you could face a “Chicken and Egg” dilemma related to firmware loading. For example, you could need to mount a root file system through NFS over wireless, but your wireless interface needs a firmware which is in the rootfs (at /lib/firmware).

Hopefully you have some approaches to solve this dilemma:

1) Create an initrd (initramfs) with needed firmware inside;
2) Include your driver built-in into the kernel.

To include the needed firmware into the kernel just select this option:

Device Drivers  --->    Generic Driver Options  --->    -*- Userspace firmware loading support    [*]   Include in-kernel firmware blobs in kernel binary

Also you could specify an external firmware path at:

(/home/user/newfirmware.bin)    External firmware blobs to build
 
 

转载地址:http://temvi.baihongyu.com/

你可能感兴趣的文章
今天下午desktop不能和某嵌入式设备通信---找到原因后, 快笑晕了。
查看>>
kk音标导读(下):赖世雄老师26个英语字母导读示范 (附我备注)
查看>>
赖世雄精准美国英语音标发音指南01 (附我备注)
查看>>
赖世雄精准美国英语音标发音指南02 (附我备注)
查看>>
赖世雄精准美国英语音标发音指南03 (附我备注)
查看>>
赖世雄精准美国英语音标发音指南04(附我备注)
查看>>
《过得刚好》 郭德纲
查看>>
fork函数详解(fork就是分叉的意思, 很形象)
查看>>
那一年, fork() 函数弄晕了多少Windows程序猿
查看>>
以亲身感受浅谈程序的注释和一个bug的代价(单位:RMB)
查看>>
当printf("-")遇上fork() ---某公司招聘笔试题目
查看>>
谢孟媛老师英语音标发音01(附我备注)
查看>>
谢孟媛老师英语音标发音02(附我备注)
查看>>
如何用C语言判断ip地址是否合法? (用inet_addr有问题)
查看>>
《随遇而安》 孟非
查看>>
如何引用另外一个文件中的串, 顺便说说void print();和(void)print();的区别
查看>>
今天第一次面试别人, 大概聊了近30分钟
查看>>
我经历的那些骗局(要承认, 骗子智商比我们高)
查看>>
C语言一个文件中的函数能直接调用另外一个文件中的静态函数吗? (某公司校园招聘面试试题)
查看>>
有“空洞”的文件的C代码实现
查看>>