From owner-freebsd-current@freebsd.org Sun Oct 29 18:01:18 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6328FE485B5 for ; Sun, 29 Oct 2017 18:01:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DD8C1D8E for ; Sun, 29 Oct 2017 18:01:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x229.google.com with SMTP id 97so22411230iok.7 for ; Sun, 29 Oct 2017 11:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ZTpAoG7SuKY2iMzHpJK1+zMdGGe3Bf9QWyBggqGBL8Q=; b=Pf8oTMkr7BgKGU9Et5cGsrldDgM5EpdXOXY1k2Jv7RswjNoJualJhiB5nFCv7gmtQF Ak5ARLuX2R3G3K6YGTOL9cK7LiL2Rh9n19qFJnhiP+0z8VeDW98i+8XKy7PKLLOc7+o+ 3OhzycyVqRkTqvrkqUwBfvL1P3knT8Lb/P6dXdTpJJzThvK/rRypFhj/7rAwUFQHlZd9 lznvaXqXyXtJje4lLJ4wCsWuD4+V/O4O1xvQpdIi71rOwCjf4+YK3skRHR5bxnHn4fie tGMCIt2+b+1TwaNTKH0IrEJYwijPtEkUo5A5nnKkiO2GvlAwKmEs78FgRRNs6eVJ4eqr Moyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ZTpAoG7SuKY2iMzHpJK1+zMdGGe3Bf9QWyBggqGBL8Q=; b=T/nkOgAPYRlIwwBXHa2rUjPuXaVT5Yg0xD2Darfp9hXWG1yj7b8EWBPlNX1oag47Ug bAGDzaYgnVfxVqyesaEBhFL2oFNRElIwgCCTyrUrCZQV+4oM/FKWL4SHRiYwH+Q20twg ++rwJJHY7TWwYJEL9QcYY0JXnPOjzzV0jk/CVQElsFIulCt97L7Haf2DflSQ6KizhSVE TOyqNZ7fS8hpm9336XhdREZ5uuUaiZZCYbtx1NR7UZxDb+nO1o1xAHHrxrzuSYsQaUch F14kb4ecr0TFqsZ2tFOimYsSdnx/ZhdugpTCTq5+pW+BlYSiP4zt76SbPED8FpadihKo LeAw== X-Gm-Message-State: AMCzsaVeHEbRMNzaYPS90sKcQwJ/pPpb2fGS5EX8bRx6LJEJzZcnYGUs rYXso7Vnf16x73W/lVpS4o+MB0LKqly4+Q5yUwb/9g== X-Google-Smtp-Source: ABhQp+QpwUtegP6AaA0HPHWGfTm/fIoOur6WDe0cDj/VwacXooV8F/9JIeGmQFBk5Pbx6CJCozAXMhf/vssc3cooLNM= X-Received: by 10.107.48.76 with SMTP id w73mr8406437iow.301.1509300077172; Sun, 29 Oct 2017 11:01:17 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.57.22 with HTTP; Sun, 29 Oct 2017 11:01:16 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1c83:d998:8892:5c23] In-Reply-To: References: <20171029010942.GD5682@gmail.com> <1282E750-97FF-43A7-BFEE-3B82597311F0@gmail.com> <59f5a3e3.82b6df0a.9f209.0495SMTPIN_ADDED_MISSING@mx.google.com> <5BE53074-F3E7-4392-A48A-E01474A9AFAE@gmail.com> From: Warner Losh Date: Sun, 29 Oct 2017 12:01:16 -0600 X-Google-Sender-Auth: Ac_aobrog4377cclBWbKi-HRyBo Message-ID: Subject: Re: iwm not in GENERIC kernel To: "Ngie Cooper (yaneurabeya)" Cc: Kevin Oberman , Thomas Mueller , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 18:01:18 -0000 On Sun, Oct 29, 2017 at 11:29 AM, Ngie Cooper (yaneurabeya) < yaneurabeya@gmail.com> wrote: > > > On Oct 29, 2017, at 10:26, Kevin Oberman wrote: > > =E2=80=A6 > > > But I thought that all modern wireless interfaces and many others load > blobs. Is the source for the firmware blob for iwn (which is in GENERIC) > available? > > There=E2=80=99s a piece that=E2=80=99s open sourced that a BSD de= veloper has > written, but there=E2=80=99s also a binary payload that we have no insigh= t into. > Cheers, > -Ngie > > $ file sys/contrib/dev/iwm/*.uu > sys/contrib/dev/iwm/iwm-3160-16.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-3160-17.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-3160-9.fw.uu: empty > sys/contrib/dev/iwm/iwm-7260-16.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-7260-17.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-7260-9.fw.uu: empty > sys/contrib/dev/iwm/iwm-7265-16.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-7265-17.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-7265-9.fw.uu: empty > sys/contrib/dev/iwm/iwm-7265D-17.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-7265D-22.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-8000C-16.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-8000C-17.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-8000C-22.fw.uu: uuencoded or xxencoded, ASCII tex= t > sys/contrib/dev/iwm/iwm-8265-22.fw.uu: uuencoded or xxencoded, ASCII tex= t > The blobs run on the actual card itself, not on the host. This is the firmware for the wireless SoC that's on the card. We have allowed those in the kernel since the very early days of the project when scsi controllers like isp(4) downloaded firmware. This is somewhat different than the recently discussed HBAs that have binary blobs that run on the host, which have no business in GENERIC... Warner