DragonFly kernel List (threaded) for 2007-07
DragonFly BSD
DragonFly kernel List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: loading a firmware image


From: Maslan <maslanbsd@xxxxxxxxx>
Date: Tue, 17 Jul 2007 21:28:48 +0300

    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.

                                        -Matt
                                        Matthew Dillon
                                        <dillon@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 ?

Thanks

--
System Programmer
--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
--
http://libosdk.berlios.de/wiki/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]