Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

Wireless HW module on i.MX 6 DQ HDMI dongle board is bcm4330 that is SDIO interface. Modprobe  default configuration will only insmod bcm4330.ko without any kernel module parameter, while bcm4330,ko needs extra firmware binary and nvram configuration file absolute path/filename  as parameter like firmware_path=/lib/firmware/bcm4330/fw_bcm4330.bin nvram_path=/lib/firmware/bcm4330/nvram_bcm4330.txt.

To auto insmod bcm4330 kernel module with those parameters by modprobe we need a modprobe configuration file.

Now create this file at /etc/modprobe.d/bc4330.conf, it's content as below:

#For BCM4330 special install requirement

options bcm4330 firmware_path=/lib/firmware/bcm4330/fw_bcm4330.bin nvram_path=/lib/firmware/bcm4330/nvram_bcm4330.txt

Of course we need copy correct firmware and nvram configuration file to directory as /etc/modprobe.d/bc4330.conf set.

标签 (2)
标记 (2)
评论

wonderful

无评分
版本历史
最后更新:
‎10-22-2012 01:33 AM
更新人: