From owner-freebsd-arch@FreeBSD.ORG Wed Dec 21 14:01:38 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35DF216A41F; Wed, 21 Dec 2005 14:01:38 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBC1943D5A; Wed, 21 Dec 2005 14:01:36 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 13E301165E; Wed, 21 Dec 2005 15:01:36 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51371-09; Wed, 21 Dec 2005 15:01:28 +0100 (CET) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id C2A0011628; Wed, 21 Dec 2005 15:01:27 +0100 (CET) From: Florent Thoumie To: freebsd-arch@freebsd.org Date: Wed, 21 Dec 2005 15:01:11 +0100 User-Agent: KMail/1.8.2 References: <43A8EE23.3010202@errno.com> <200512211453.03946.max@love2party.net> In-Reply-To: <200512211453.03946.max@love2party.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1850579.GtnsyeTMZR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512211501.22621.flz@xbsd.org> X-Virus-Scanned: amavisd-new at xbsd.org Cc: Max Laier , Damien Bergamini , flz@freebsd.org Subject: Re: firmware loading X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 14:01:38 -0000 --nextPart1850579.GtnsyeTMZR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 21 December 2005 14:52, Max Laier wrote: > On Wednesday 21 December 2005 06:54, Sam Leffler wrote: > > 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. Firmware is packaged > > using a genfw program that's included. You can package one or more > > firmware images in a single kld. I've packaged the iwi firmware as a > > boot image in a single kld + kld's for each operating mode that have two > > firmware images. The tarball also includes modified versions of the iwi > > and ipw drivers to use the code. I tested iwi, Florent is working on > > ipw. > > > > If you're interested in this stuff feel free to pick it up; I've run out > > of time to work on it. There are some potential issues with holding > > locks over the linker calls and the genfw program could use some TLC and > > probably a new name (plus the man page needs to be completed). > > I am generally interested and will probably look at it between Christmas > and the New Year - unless Damien wants to look at it himself. The current > scheme of loading the firmware is disfunctional with a WITNESS enabled > kernel (too much "sleep while holding mutex") and needs to be fixed anywa= y. > > Is this work in perforce? Is Florent still actively working on it? I'm actively trying to get familiar with src/sys, which takes most of my=20 time. I won't be able to fix anything in a while though. I've been testing Sam's changes (since he has no ipw(4) hardware) and I've create new ipw/iwi-firmware ports that you will find in [1]. [1] http://people.freebsd.org/~flz/firmware/ =2D-=20 =46lorent Thoumie flz@FreeBSD.org =46reeBSD Committer --nextPart1850579.GtnsyeTMZR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDqWAyMxEkbVFH3PQRAh5gAKCC6V2Wf/HZVh12F8IForZilgO9wACeKJkv wl3HoWGjDEk4tlJ79Ag90Vo= =1LJh -----END PGP SIGNATURE----- --nextPart1850579.GtnsyeTMZR--