Date: Tue, 26 Feb 2008 23:57:44 -0500 From: John Baldwin <jhb@freebsd.org> To: "Kip Macy" <kip.macy@gmail.com> Cc: Sam Leffler <sam@errno.com>, src-committers@freebsd.org, Kip Macy <kmacy@freebsd.org>, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files Message-ID: <200802262357.45358.jhb@freebsd.org> In-Reply-To: <b1fa29170802261539t697dfc58l3f4788476514cfa8@mail.gmail.com> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <47C4A083.2050602@errno.com> <b1fa29170802261539t697dfc58l3f4788476514cfa8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 26 February 2008 06:39:06 pm Kip Macy wrote: > Uhm - I do the same thing as ispfw - can you tell me what is wrong with that? > > -Kip ispfw actually predates firmware(9) by several years and it simply hasn't been converted to use the new API yet. > On Tue, Feb 26, 2008 at 3:28 PM, Sam Leffler <sam@errno.com> wrote: > > Huh? What does "static linking" mean? If you're looking for an example > > of a firmware image being embedded in a kernel look at the npe firmware > > used by xscale. > > > > Sam > > > > > > > > Kip Macy wrote: > > > the make system doesn't work with firmware + static linking - this > > > works around that > > > > > > > > > On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy <kip.macy@gmail.com> wrote: > > >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin <jhb@freebsd.org> wrote: > > >> > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > > >> > > kmacy 2008-02-26 03:02:20 UTC > > >> > > > > >> > > FreeBSD src repository > > >> > > > > >> > > Modified files: > > >> > > sys/dev/cxgb cxgb_main.c > > >> > > sys/modules/cxgb Makefile > > >> > > sys/modules/cxgb/cxgb Makefile > > >> > > sys/conf NOTES files > > >> > > Added files: > > >> > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > > >> > > sys/modules/cxgb/cxgb_t3fw Makefile > > >> > > Removed files: > > >> > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > > >> > > Log: > > >> > > Move firmware in to separate module that can be compiled statically in to > > >> > the kernel > > >> > > Add utility for converting future firmware revs to a C header file > > >> > > > >> > Did you consider using firmware(9)? It already handles wrapping a binary blob > > >> > into a kernel module for you and can autoload the firmware on demand. > > >> > > > >> > > >> > > >> Read the code. > > >> > > > > > > > > > > > -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802262357.45358.jhb>