loading a firmware image

Andrew Thompson thompsa at FreeBSD.org
Sun Jul 15 21:41:40 UTC 2007


On Sun, Jul 15, 2007 at 11:35:12PM +0300, Maslan wrote:
> Hello,
> 
> What is the best way to load a firmware image (microcode) ?
> AFAIK I've to load the image file first in memory then call
> firmware_register() but my problem is how should i load the image in
> memory ??

The firmware is bundled in a seperate kernel module that can be loaded,
read and then unloaded. See src/sys/modules/iwifw/iwi_bss for an example
of the Makefile magic that creates the kld.


Andrew


More information about the freebsd-hackers mailing list