From owner-cvs-all@FreeBSD.ORG Tue Feb 26 23:28:06 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F33C1065671; Tue, 26 Feb 2008 23:28:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 068CB13C4D3; Tue, 26 Feb 2008 23:28:04 +0000 (UTC) (envelope-from sam@errno.com) Received: from Macintosh-2.local ([10.0.0.196]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m1QNS34D011190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Feb 2008 15:28:03 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <47C4A083.2050602@errno.com> Date: Tue, 26 Feb 2008 15:28:03 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Kip Macy References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Kip Macy , John Baldwin 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 23:28:06 -0000 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 wrote: >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin 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. >> > >