From owner-freebsd-arm@freebsd.org Tue May 19 16:22:43 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 770752DDDA7 for ; Tue, 19 May 2020 16:22:43 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49RLl63rDJz3XQL for ; Tue, 19 May 2020 16:22:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 04JGMbFc067670 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 19 May 2020 09:22:37 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 04JGMbgU067669; Tue, 19 May 2020 09:22:37 -0700 (PDT) (envelope-from fbsd) Date: Tue, 19 May 2020 09:22:36 -0700 From: bob prohaska To: David Mehler Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: FreeBSD 12.1 on Raspberry Pi 3B+, completely headless? Message-ID: <20200519162236.GB67494@www.zefox.net> References: <20200518184007.GA64715@www.zefox.net> <20200518213741.GA65006@www.zefox.net> <20200518235138.GB65006@www.zefox.net> <20200519152449.GA67494@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 49RLl63rDJz3XQL X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [4.71 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.985]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.829]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 16:22:43 -0000 On Tue, May 19, 2020 at 11:28:46AM -0400, David Mehler wrote: > Hello, > > Thanks. I did a dd and there were no errors when writing the image to > the sd card. I did put a raspbian image on this same card and pi and > it worked just fine. > Ok, sanity check passed....8-) In that case I'd try a different version of image on the same brand/model of microSD card. If that fails I'd hook up a serial console. Another option with the Pi3B+ is to attempt a USB boot. Write the image to a USB flash drive, take out the microSD card entirely, plug in the flash drive and power up. It isn't any simpler, but if you don't have a spare microSD and do have a spare USB device it's an option. Details are at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md Good luck, bob prohaska > Thanks. > Dave. > > > On 5/19/20, bob prohaska wrote: > > On Tue, May 19, 2020 at 06:04:47AM -0400, David Mehler wrote: > >> Hello, > >> > >> I'll look in to a monitor and keyboard, but given where the Pi is that > >> could a bit getting one there. > >> > > > > I'd reverse the priorities initially: Make it work where I can see what's > > going on, then make it work where I want to use it. A serial console is > > essential if you want to do anything even slightly adventurous. A work > > bench with an internet connection, second computer and comfy chair is > > the way to make progress. > > > > > >> One thing I thought of is do I have the right image? If it's suppose > >> to boot, and at least get an ip and respond to ping, but if it's > >> getting stuck in single-user mode then maybe my image is wrong. This > >> is the filename of the image I wrote to the sd card for the Pi: > >> > >> FreeBSD-12.1-RELEASE-arm64-aarch64-RPI3.img > >> > > The image file name looks correct, but plenty more can be wrong. > > The microSD card itself must be compatible; most are but not all. > > The writing process and adapter must be correct and error free. > > I use dd, usually under FreeBSD or Raspbian. Errors in writing > > an image can be very quiet, just a mismatch in blocks in vs out. > > I've had one USB to microSD adapter fail, so that can happen. > > MicroSD cards can fail, sometimes rather silently. Power supplies > > can cause all sorts of confusing trouble that looks like something > > _other_ than what it is. > > > > Later images are usually better, especially with -RELEASE, a native > > image (Raspbian, in this case) is better when other uncertainties > > are present.....keep it handy as a sanity check 8-) > > > > Hope this helps some... > > > > bob prohaska > > > >> On 5/18/20, bob prohaska wrote: > >> > On Mon, May 18, 2020 at 06:10:41PM -0400, David Mehler wrote: > >> >> Hello, > >> >> > >> >> Thanks for the confirmation that onboard ethernet works. I've booted > >> >> the pi and I'm not seeing it on the network. I've tried mounting the > >> >> freebsd partition under a linux virtual machine which it's fdisk shows > >> >> it as /dev/sdd2 later in the display shows it up as 15. I can not get > >> >> it to mount so am not sure what rc.conf is doing, I was hoping it > >> >> would get a dhcp address since it's plugged directly in. I also did > >> >> add a blank ssh file to the /dev/sdd1 partition. > >> >> > >> >> Suggestions? > >> >> > >> > > >> > Have you tried plugging in a monitor and keyboard temporarily, just > >> > to see what's going on? My guess is that it's getting stuck in single- > >> > user mode, or maybe not booting at all for some reason. It definitely > >> > should pick up a DHCP connection if it gets to multi-user. I'd expect > >> > that to answer ping if nothing else. > >> > > >> > My only experience re Linux is with Raspbian, and Raspbian absolutely > >> > cannot mount ufs filesystems, so what you're seeing seems normal. > >> > > >> > hth, > >> > > >> > bob prohaska > >> > > >> >> Thanks. > >> >> Dave. > >> >> > >> >> > >> >> On 5/18/20, bob prohaska wrote: > >> >> > On Mon, May 18, 2020 at 05:25:40PM -0400, David Mehler wrote: > >> >> >> Hello, > >> >> >> > >> >> >> Does the onboard ethernet on the pi 3b+ work or do I have to go USB > >> >> >> wireless all the way? > >> >> >> > >> >> > Wired ethernet works fine on the 3B, I believe the + is the same. > >> >> > > >> >> > hth, > >> >> > > >> >> > bob prohaska > >> >> > > >> >> >> Thanks. > >> >> >> Dave. > >> >> >> > >> >> >> > >> >> >> On 5/18/20, bob prohaska wrote: > >> >> >> > On Mon, May 18, 2020 at 01:02:32PM -0400, David Mehler wrote: > >> >> >> >> Hello, > >> >> >> >> > >> >> >> >> I've got a Raspberry Pi 3b+ that I'd like to put FreeBSD 12.1 > >> >> >> >> on. > >> >> >> >> It > >> >> >> >> is completely headless the only thing it has is it's power > >> >> >> >> connection. > >> >> >> >> I have downloaded and wrote to sd the latest 12.1 amd64 rpi3 > >> >> >> >> image. > >> >> >> > ^^^ > >> >> >> > Typo? > >> >> >> > > >> >> >> _______________________________________________ > >> >> >> freebsd-arm@freebsd.org mailing list > >> >> >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> >> >> To unsubscribe, send any mail to > >> >> >> "freebsd-arm-unsubscribe@freebsd.org" > >> >> > > >> > > >