Auto Insmod Kernel Modules Through Modprobe with Extra Parameter

Document created by Tom Zheng Employee on Oct 22, 2012Last modified by Jodi Paul on Mar 14, 2013
Version 2Show Document
  • View in full screen mode

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.

Attachments

    Outcomes