Re: firmware loading



Poul-Henning Kamp wrote:
In message <43A8EE23.3010202@xxxxxxxxx>, Sam Leffler writes:

Florent Thoumie and I have been working on some generic support for loading firmware using kld's. You can find a proof of concept at:

http://www.freebsd.org/~sam/firmware.tgz

It has code to manage firmware images and load them on demand by requesting a kld through standard facilities.


Is the firmware kld unloaded again when no longer in use, or does it
stay in KVM once as long as the driver is active ?


Right now it stays resident. My understanding is that the wireless cards that this was designed for need to reload their firmware after resume. We don't have any hooks to tell drivers when the filesystem is ready, so the only non-hackish solution right now is to just keep it resident. I agree that this isn't ideal, and I would think that it would be pretty trivial to add an event handler hook to solve this. The other thing that I'm not sure about is whether this being a module dependency will prevent it from being unloaded. I'm not sure how ispfw.ko handles this.

Scott
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [PATCH][2.6][2/14] documentation update
    ... add udev.txt which describes how to use dvb and udev/sysfs ... The firmware can be loaded automatically via the hotplug manager ... +- For the dvb-ttpci driver/av7110 card you can download the firmware files from ... +file you probably know from the 2.4 DVB releases driver. ...
    (Linux-Kernel)
  • Re: Fedora 5 - Intel Pro/Wireless LAN 2100 3B Mini PCI adapter woes.
    ... Guide to install the Intel PRO Wireless 2100 Driver for Linux ... The ipw2100 binary firmware image. ...
    (comp.os.linux.networking)
  • Re: Problem: NIC transmit timeouts
    ... I've seen two causes for this: 1) driver bug, 2) firmware bug. ... Another fun aspect of case 2) is that since its PCI traffic related, ... the MTT register, and the equivalent of the ICH ...
    (Linux-Kernel)
  • [PATCH, RFT] starfire net driver update
    ... The firmware is needed to ... * include the firmware with this driver. ... #ifdef HAVE_NETDEV_POLL ... #define RxComplType RxComplType3 ...
    (Linux-Kernel)
  • [PATCH 12/12] Add DVB documentation
    ... DVB: - add some valuable documentation about the DVB subsystem, the supported cards, a faq, ... ... There is no guarantee that every frontend driver works ... +The firmware can be loaded automatically via the hotplug manager ...
    (Linux-Kernel)