Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 09:27:57 +1200
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Maslan <maslanbsd@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: loading a firmware image
Message-ID:  <20070715212757.GA17029@heff.fud.org.nz>
In-Reply-To: <319cceca0707151335jd8aef89k635d7edb01d08691@mail.gmail.com>
References:  <319cceca0707151335jd8aef89k635d7edb01d08691@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070715212757.GA17029>