From owner-freebsd-arm@freebsd.org Thu Sep 24 16:37:09 2015 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 39C32A05946 for ; Thu, 24 Sep 2015 16:37:09 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (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 E4B7E10E9; Thu, 24 Sep 2015 16:37:08 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qgt47 with SMTP id 47so48774301qgt.2; Thu, 24 Sep 2015 09:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=V5REDNXtjeFRoBt+VPvmLCYu9apiLT+DDibbX6ar6tE=; b=krM/vtz2xKRMglcMixxPoj8bVxt/w5pmrauMobTECCIoW0E5zrC7T6PiSk5rkBuaYJ O7mshWaMG8j8WiZcjfTe/6JATTKOy+tEtU+/BOlz21FIKcmBX4Fr+ff0tE7M23fRMELZ Qx5TtEM63uWV3ltWGsy3LN/1duGIRgXctbk2ldH2zD7jzMgD1VIeZPD3UkJ4EJmBu+hK BbSIbawqRplOnLEYwjBE58X28o3Y5Jw62kjl0LDumrh6X+exm+JKIJD/k8dBwJN8oKPs K3oMih3Bt62PizoYxbvEtsHfjGFK55I4o/oyiUJXwaCaiDSkPRNmU9yOE6hJm9r6XV4K VXjw== X-Received: by 10.140.152.68 with SMTP id 65mr983071qhy.16.1443112628010; Thu, 24 Sep 2015 09:37:08 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id n23sm4798942qkl.17.2015.09.24.09.37.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 09:37:07 -0700 (PDT) Date: Thu, 24 Sep 2015 12:36:58 -0400 From: Randy Westlund To: Ian Lepore Cc: Daniel Braniss , freebsd-arm@freebsd.org Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150924163658.GC32257@gmail.com> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <1443105426.1224.272.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 16:37:09 -0000 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > Try setting boot.netif.name=3D"ue0" in loader.conf. I've never tried > that, but in looking at the code, there's some chance it could work. :) >=20 > What I do is put these options into my RPi kernel config: >=20 > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > options BOOTP_WIRED_TO=3Due0 >=20 > But this requires configuring a bootp or dhcp server to provide the > info. It should be possible to netboot without using BOOTP. >=20 > -- Ian No luck with boot.netif.name. I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is there a way to see what it was built with? I tried running strings on the kernel, but I'm not sure what to look for. Otherwise I guess I'll build one myself. Randy --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWBCaqAAoJEGaweXjzNsmpJk8IAL4qDxv4iOqsWj+TLbNsTrqt XcSwSWuMfXYBXq3L0Votz9VHqNUQUFGFRG8vzkDeKd4L9ofwBt3IyviWQIlT8wIw 8zmLPeQNfBTofxtxpvyDa35RklNkqqZzKBFofdzuy17O4OHxW2BySCKVq1BuZ8m0 bLYtj4XLu7aB7KA/irZ2l+IWrkqYNxFVSY11wjWZuQTZxVjdYMR9WwFp5pFWVpDo OoAQy02n35og43S6mLlNcCFZ1QPr4Iz+ItTAAbuyrpIrS38ffLwLhVOIjbi09d99 lOe14BVt1gXIVedW1SQL/L80Dunp2Kue+gp0tnMFB/v+1o7rRYrei2k0uwJtagc= =R1X1 -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg--