From owner-freebsd-arm@freebsd.org Thu Oct 27 03:19:59 2016 Return-Path: Delivered-To: freebsd-arm@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 95E13C213CA for ; Thu, 27 Oct 2016 03:19:59 +0000 (UTC) (envelope-from kientzle@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 5AAB5E7C for ; Thu, 27 Oct 2016 03:19:59 +0000 (UTC) (envelope-from kientzle@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id 197so8294162pfu.0 for ; Wed, 26 Oct 2016 20:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=AmecDf33u2OsFFtQ3hz3FV4nvjdSlN/2Xo9q2tJa4xE=; b=uMGGSAJ9g0YnvDmYkieM+aIPc+A6fl3EUGvFykBuUmfw61fUSjU/kkGT9Anmtl/sl9 kY/8DbhoWLtX9HOhC75EY3RCqo8quMsLEiOhg6wmsr9kOKT+PcbTFZSjgJzdRPaza161 exY2kgiy9559JL9dE5rM1h54qLulsjs9pwmQXGWzSlELWcVhGQ7sNJDkwsbjglzc6h/P QhUqowPFx8h/zw9jEpHiWrSHJcncEVqLMODWb2LkQrXENHEeepiIR9Ero+TE//WQ5xJ7 66GR2W4nD2CQcnPop3gKEbXnmIVVmbUCyNVMKa25lW9RvvRYqsb+RL25lPbTmAkHXxgi rJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=AmecDf33u2OsFFtQ3hz3FV4nvjdSlN/2Xo9q2tJa4xE=; b=CDbiYEEOiqCo8sqxRSv2jrIvfd8CH7kKQzySBvj8Su2unbP3SYtZjRuU1oUIUk/Cd2 M0nEPLkwzq3itnTW1JCXbyxWHIs9w6b8kIOBHMMAH4tCVswRVTiTBiT3Rdbto9Pzs1j+ OJhH28M7PFzE1g+e9r9UsozYg32xNHKmZvaggxeb9PnX4+kFB5mh0cKyisSJN4unoHBO NqqpZ0aV7scb50Ck0wm0TvG3OM2qBkxj2/dQP5nxgjUeybU6V6TtIa7hwBCyho3rD7WM GS+WhOVwzrlNwd56KsI6h1GaTXen3WkowPbc7GEL8RL2yXef1/6zM3ooozp58+Ldq3Pe /BKA== X-Gm-Message-State: ABUngvegO74lhPBGT1F0Kx3++TT+PaVE7h1sgE9IQnFM5NvhLqajA2IUJUbplAiJKxVwwg== X-Received: by 10.99.5.21 with SMTP id 21mr8523366pgf.32.1477538398910; Wed, 26 Oct 2016 20:19:58 -0700 (PDT) Received: from [192.168.1.101] (c-24-6-102-176.hsd1.ca.comcast.net. [24.6.102.176]) by smtp.gmail.com with ESMTPSA id 141sm7140700pfw.63.2016.10.26.20.19.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 20:19:58 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: BeagleBone Black - what still needs to be done for audio? From: Tim Kientzle In-Reply-To: Date: Wed, 26 Oct 2016 20:19:59 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <816978FD-2540-4608-94D7-F614A8D56527@gmail.com> References: <20161026091428.GA1468@Sebastian> To: Koz Ross X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 03:19:59 -0000 > On Oct 26, 2016, at 9:28 AM, Russell Haley = wrote: >=20 > if not, > you'll need to learn to build the kernel yourself (or build the module > and install and load it). Building the kernel requires learning how to > cross compile on a faster host machine. Updating kernels on sd cards > can be a pain (which you will be doing a lot of if you are testing > driver changes), so you will want to be able to network boot. Building the module should be fast enough on just the BBB. Once you can get the module to load/unload cleanly, it=E2=80=99s pretty straightforward. I used this approach back when I was working on the Beaglebone Ethernet driver. In particular, using a module avoids the constant round-trip to another machine to build a full kernel, rebooting on every change, etc. Pro tip: Mount your work directory over NFS or use a remote git server of some sort to track the module sources. Otherwise, it=E2=80=99s easy to lose all your work when you panic the kernel. ;-) Tim