loading a firmware image
maslanbsd at gmail.com
Tue Jul 17 11:30:59 PDT 2007
There are two ways to do it. First you can just embed the firmware
in the driver itself. Second you can have the driver use the API
in kern/kern_firmware.c to load the firmware. Doing it the second
way only works once root has been mounted so automating it in the
driver would require creating a SYSINIT that runs after root has
mounted or loading the driver with kldload after the system has booted.
<dillon at backplane.com>
So i can't link the firmware image as kld module like in FreeBSD ?
also i think the first solution might cause licensing problems.
any example for the second way ?
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
More information about the Kernel