From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1949C13897E for ; Sun, 10 Feb 2013 22:49:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65ADD21C058; Sun, 10 Feb 2013 22:49:05 +0000 (UTC) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58E1321C001 for ; Sun, 10 Feb 2013 22:49:04 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id ox1so4735467veb.41 for ; Sun, 10 Feb 2013 14:49:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:x-originating-ip:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:x-gm-message-state; bh=qNc0h65QOqVY4qu6zCcFyyuSPs4h7yrOrJs0v2SKcX0=; b=CC/RIkDpMnRcLuPiQC9/8wA7BLs50uK2Z1YiZFJ8y+xcjaRF6wX0WPgB9yqR4xhcpV 7Aypnv/LKQ94IIX8arGnDiKPi6AwkJmVUdUbt6Q8hIlM0iEtGmuY5ZYNqW6E4QpvDTli q0uajeqnNafV5ZLMzS2ReEOvT0SgnNnNVXPA2i1+SPFZQdECN+JI5zcaflCNq1DfTlOP HdRqNA9AstNMRti+mHMgxQ+cJuF4HFgE9zQsY+AUgNJ73mmQpkv3PQKNPBS2VFwQOXUn I4OPWFiZW/bUp2L7wFpFqU0iFkyaXW23CUrT0LOHcj0+Vy9KIZXgRKoKUYIerPuJbfy/ UQsA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.92.225 with SMTP id cp1mr14197428vdb.41.1360536543380; Sun, 10 Feb 2013 14:49:03 -0800 (PST) Sender: antarus@scriptkitty.com Received: by 10.220.37.65 with HTTP; Sun, 10 Feb 2013 14:49:03 -0800 (PST) X-Originating-IP: [75.147.136.182] In-Reply-To: <20130210220645.69ada543@neptune.home> References: <5117560B.3090709@gentoo.org> <20130210174634.77631769@sf> <1360508715.26312.8.camel@belkin4> <20130210220645.69ada543@neptune.home> Date: Sun, 10 Feb 2013 14:49:03 -0800 X-Google-Sender-Auth: Jfii_OSWzQhkV5UGFaKSX5kCi10 Message-ID: Subject: Re: RFC: install linux-firmware with kernel sources (was Re: [gentoo-dev] Lastrite: Firmware cleanup, part #1) From: Alec Warner To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlBargf3vMb+ViA/5ArvT2SQST5+d5hC866Cb1qWKtUg1AyVEwGUpr1FGY4T3nDFhrsQAaO X-Archives-Salt: 9f5de171-98fa-43c3-815c-34f374373768 X-Archives-Hash: a4ad4f792913bdbf8cb91c5fea2030b5 On Sun, Feb 10, 2013 at 1:06 PM, Bruno wrote: > On Sun, 10 February 2013 Maxim Kammerer wrote: >> On Sun, Feb 10, 2013 at 5:05 PM, Pacho Ramos wrote: >> > I agree as I have also needed to google and search in forums to get >> > proper firmware installed in the past in some machines :/ >> >> for fw in $(strings -a -n 10 $(find /lib/modules -name '*.ko') | sed >> -n 's/^firmware=//p' | sort -u); do >> if [ ! -e /lib/firmware/${fw} ]; then >> echo ${fw} >> fi >> done >> >> I guess you can do something similar with vmlinux.bin if compiling >> modules into kernel. > > Last I looked into that the list of firmwares needed by built-in drivers > is not available as is the case for modules (and in addition those > built-in drivers may need the firmware long before /lib/firmware/ is > available) Most external firmware is not needed to boot. If you need it to boot, you will have to stow it in the initramfs. -A > > Bruno > >> Looking into kernel sources is more robust, but >> gets annoying fast. Full script I am using is here: >> https://github.com/mkdesu/liberte/blob/master/src/root/helpers/lst-firmwares >> >> You can encounter superfluous warnings with modules that support >> multiple firmware subversions (e.g., iwlwifi). >