X-Original-To: alpine-devel@lists.alpinelinux.org
Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180])
	by lists.alpinelinux.org (Postfix) with ESMTP id 7A2375C5965
	for <alpine-devel@lists.alpinelinux.org>; Sun,  7 Jan 2018 19:20:36 +0000 (GMT)
Received: by mail-qk0-f180.google.com with SMTP id l12so11487483qke.13
        for <alpine-devel@lists.alpinelinux.org>; Sun, 07 Jan 2018 11:20:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dereferenced-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc;
        bh=n41Gu5EdWmFpcyjJGE/4GqknTDG9RiA/w97zMeuYDyU=;
        b=g4eL+eX5VjegkBQ/285QxKtQrKV2L17iCPRzX5XvOprfnet6GpQlAuCy34imDBsnwZ
         ez5U4DYnfZTDbVwnTqIJePYUlt7dWjE6mPcHriAwdnkxl5JdY5jNUriT2yRlxIO0pB/M
         tCRVnfzh1sKg9diPnPFZzXmr8pj/cNTNl88yRG8vKgd2VpqbT9bejsVaC9q1LV5GOKVX
         HxAW90yPd77CW8ZpEU/rQZrmyyAQ4rPrwhaTKV+Fi6Ttws31zWF0umb1EK+RjSMTyO8r
         S4V8DIiKsDg3o9HOsUJX7GSTXSyzMF3Tl4LlDxV+4yUVJoVHVazI/wzob5CuSrY9H7F5
         m3Dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc;
        bh=n41Gu5EdWmFpcyjJGE/4GqknTDG9RiA/w97zMeuYDyU=;
        b=rvsCheQcwOwwakPuxaicwzsJERBlVFmRMApTP4bJtoBvTDUJ3ZhQcoKvrBLkoFf2Uo
         VBl7s5nc/2Wvx+Wo2k/P1TFZQvg9+QJ6GYKqE6Ut2HuwA4vpB8S5Ly9RUnos69/ijHLX
         tm1o3caQNvn2cJLJQ7A4oMrUqIw286Jlk+fAfrbyLLZsLRA8h8x7FqNAR5yF9NqIvsal
         20VEZ67UiywRwNXYm+VsAuZAlYnPIAn9+9BAejG+CnNQ3We8yWPffYdXYscgcr2JWKT6
         W/b1FWZxpfyCFX10a1z18wnpDVaeGk2SqBfMYjHUfCIZw6V6yR2jyJzcxbb3QQJIit+/
         jO3g==
X-Gm-Message-State: AKwxytf4zxh1/vlfAIcArdj7pVa5m7e6g2Ng1Lt/z/ibzwOBEiEUQVRh
	fWsB6vNs6NzP+QgsfC6UmDfYHPuZ5QlOeit6qvoZPQ==
X-Google-Smtp-Source: ACJfBotF5zoqAqH2a9z/xdu+vqLxtAg4d4wvPQIhwNS+4bLioGDONj4795erqyr2VUZ3F+FHAG8e/vn4Cx3eBB7vdS4=
X-Received: by 10.55.179.71 with SMTP id c68mr12057042qkf.255.1515352836059;
 Sun, 07 Jan 2018 11:20:36 -0800 (PST)
X-Mailinglist: alpine-devel
Precedence: list
List-Id: Alpine Development <alpine-devel.lists.alpinelinux.org>
List-Unsubscribe: 
	<mailto:alpine-devel+unsubscribe@lists.alpinelinux.org?subject=unsubscribe>
List-Post: <mailto:alpine-devel@lists.alpinelinux.org>
List-Help: <mailto:alpine-devel+help@lists.alpinelinux.org?subject=help>
List-Subscribe: 
	<mailto:alpine-devel+subscribe@lists.alpinelinux.org?subject=subscribe>
MIME-Version: 1.0
Received: by 10.237.38.162 with HTTP; Sun, 7 Jan 2018 11:20:35 -0800 (PST)
In-Reply-To: <5fec5490-b745-8c3a-2d21-f59d3a6f8925@adelielinux.org>
References: <4d19a51c-3eba-9775-0208-4d87da66effc@bitmessage.ch>
 <20180106221813.GA4759@homura> <5fec5490-b745-8c3a-2d21-f59d3a6f8925@adelielinux.org>
From: William Pitcock <nenolod@dereferenced.org>
Date: Sun, 7 Jan 2018 13:20:35 -0600
Message-ID: <CA+T2pCEh_rE+ry9EiDsm1jd-wdfopr0OZmLEdejtABqLYuPLSQ@mail.gmail.com>
Subject: Re: [alpine-devel] Splitting up linux-firmware?
To: "A. Wilcox" <awilfox@adelielinux.org>
Cc: alpine-dev <alpine-devel@lists.alpinelinux.org>
Content-Type: text/plain; charset="UTF-8"

Hi,

On Sat, Jan 6, 2018 at 5:16 PM, A. Wilcox <awilfox@adelielinux.org> wrote:
> On 01/06/18 16:18, Drew DeVault wrote:
>> It should be possible to detect which firmwares the kernel attempts to
>> load and automatically download only the ones you need.
>
>
> There is a userspace firmware loader helper option in the kernel I think
> (or maybe that was for modules?), but I don't think it'd be good to hang
> up the boot process to download relevant firmware files.  Also, you have
> to think about people who do not want firmware.  For example, I have one
> system with a Broadcom WLAN chip but no other hardware requiring
> firmware, so I just use it wired and run it fully libre.

Using the userspace firmware loader in this way could expose race
condition issues in poorly written drivers.

>> IMO this would be a better approach. Couple of issues:
>>
>> - How would this interact with udev, if present
>> - Needs to be possible to download some firmware offline
>
>
> "download" "offline".
>
> I mean, you can have a cache of firmware packages installed, but that's
> basically the same as just having the large linux-firmware package
> installed.
>
>
>> - Should include all firmware on the ISO
>
>
> I don't know the legalities of redistributing linux-firmware (I believe
> it is "closed source, but freely distributable").  But beyond that, it
> would mean that the Alpine ISO is no longer free/libre software.  I
> don't agree that this is a good idea.  Perhaps there could *be* a spin
> with firmware on the CD for people who know they need firmware for the
> network or whatever, but it shouldn't be the default IMO.

We already include all firmware on the ISO.  This is not likely to
change any time soon.

>> - Should detect and pre-install relevant firmware during alpine-setup
>
> This is a decent idea for such a 'firmware CD spin'.  I don't know if
> there is a 'lsfw' utility or such that can see what firmware is loaded,
> but if so, that'd be all that would really be necessary.

I do like this idea.

William


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---