From owner-cvs-src@FreeBSD.ORG Tue Feb 26 23:39:08 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD181065673 for ; Tue, 26 Feb 2008 23:39:08 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 0DEF513C45D for ; Tue, 26 Feb 2008 23:39:07 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so2159864ele.3 for ; Tue, 26 Feb 2008 15:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6SrjrGY141Cttg/gyBUA61gRkoE0FUmmmqgzKMh+TqA=; b=UV0S6382l27n7q5yBqqQjGYuFPN/9d5SuBVKHVj3cRDZ7fJRFvO/lIZ9cZ4za9QrhrVZQyhESvZo7CAqlFMpkE+5Vh3NNKCTkZLTp1gAzAYhoNilmthX3EscFUt7h6lFUSN1qMZ3bb1oOr86nAf6Whk9Rc3oReAhKOfw10niTuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HGoSCJ9+6p6l8nI+QLJ4SOfCBsjnSZ1DoXwYE+awH9o9cJO5eoOfpNM403CyAWmVjaLlOKXEjnhmfsO2YnSoFeKkikwgnKiTdXOQGNmaUQcr8ixtGv6P3FZMjRbgJQD0sRUhb3cJZlTWY2TAB7Dbfqz/CqFlbgYT0SM+SDNoPIo= Received: by 10.114.158.1 with SMTP id g1mr6360274wae.97.1204069146375; Tue, 26 Feb 2008 15:39:06 -0800 (PST) Received: by 10.114.255.16 with HTTP; Tue, 26 Feb 2008 15:39:06 -0800 (PST) Message-ID: Date: Tue, 26 Feb 2008 15:39:06 -0800 From: "Kip Macy" To: "Sam Leffler" In-Reply-To: <47C4A083.2050602@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> <47C4A083.2050602@errno.com> Cc: cvs-src@freebsd.org, cvs-all@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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 23:39:08 -0000 Uhm - I do the same thing as ispfw - can you tell me what is wrong with that? -Kip On Tue, Feb 26, 2008 at 3:28 PM, Sam Leffler 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 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. > >> > > > > > >