Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

No ratings

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.

Labels (2)
Tags (2)
Comments

wonderful

Version history
Last update:
‎10-22-2012 01:33 AM
Updated by: