Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 10:50:02 -0800
From:      Navdeep Parhar <np@FreeBSD.org>
To:        Christoph Egger <christoph@debian.org>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: cxgbe firmware and WITHOUT_SOURCELESS
Message-ID:  <50980A5A.1050202@FreeBSD.org>
In-Reply-To: <87wqy3q0ff.fsf@mitoraj.siccegge.de>
References:  <87wqy3q0ff.fsf@mitoraj.siccegge.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/02/12 12:17, Christoph Egger wrote:
> Hi folks!
>
>    Running a WITHOUT_SOURCELESS build on 10-CURRENT source includes the
> cxbge firmware part which -- as far as I can tell -- is totally
> sourceless. You might want to use the patch below (or direct me to a
> better place to submit this patch to).

Hello Christoph,

The patch isn't quite correct -- you must have the firmware 
configuration files (the t4fw_cfg*.txt files in firmware/ ) in order for 
the driver to attach successfully to the card.  The correct thing to do 
for WITHOUT_SOURCELESS would be to still build the t4fw_cfg KLD but 
leave the firmware binary out of it.

Regards,
Navdeep


>
> Regards
>
>      Christoph
>
> Index: modules/cxgbe/Makefile
> ===================================================================
> --- modules/cxgbe/Makefile	(revision 242489)
> +++ modules/cxgbe/Makefile	(working copy)
> @@ -2,8 +2,14 @@
>   # $FreeBSD$
>   #
>
> +.include <bsd.own.mk>
> +
>   SUBDIR = if_cxgbe
> +
> +.if ${MK_SOURCELESS_UCODE} != "no"
>   SUBDIR+= firmware
> +.endif
> +
>   SUBDIR+= ${_tom}
>
>   .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
> _______________________________________________
> freebsd-drivers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50980A5A.1050202>