From owner-freebsd-arm@freebsd.org Tue May 19 15:28:48 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 A8E412DC060 for ; Tue, 19 May 2020 15:28:48 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49RKXw1R5sz3SbX for ; Tue, 19 May 2020 15:28:47 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-io1-xd44.google.com with SMTP id f4so14925614iov.11 for ; Tue, 19 May 2020 08:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZlzNj15d1NuE2WhMoy9/WfJ7PjjO15gj5NT+ioXOKUo=; b=XEu7g9tlaAneAPTSfwAeV2nkqu7nmyZSYa+9fEhidNug57htqX4D/n9gVFzWrv05u3 faavBfBc5bPppNccSBiAdgYcBxVgQ2v+UnmftMcNeqZfq0Cl/0NlBTZEHAWI08zsLr7O /Us3lY4P1iMaKjGuldHLABL25DA7ofV8zARN6A3/JrU4fgsFR4pY0RHJ0bIu80f/lM9R 86VabgwSnMwvnXhNuYWXF1VIxVXMNaWUAe5Zmoj/cWAnxhFCyed4A9FqlbPeKFYvsCIe R2SojCA1YFx47OQxZ/H3bLntySFTmpdATVn2HmiQeZyfSs7sI17sum30jBmpLdtUrww7 VeTA== 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=ZlzNj15d1NuE2WhMoy9/WfJ7PjjO15gj5NT+ioXOKUo=; b=Dh4hp/fWG8d4VE5Nc3++aAXMKurayHF/NQzPQdoM6pv5kpxo4n+yuUP+p26Xx0HI6A 6VLctwDBKf5nDqlG7HTwBuoONWvopzcB/GF9bT4ojsT0A0Ivuobuk7TwtjMUJD91vHXX 0StH+bpG7Keye8JR+AsRSez7ZQlYpQ4dT+qGzOW5//75Ht0dA1wS++se6+RWLWoygN/R 7lLg/IE7HybSMS6dQAZASvjqn6rN/NMnnanCf5NSoTP/D5mr0fO5c56BWd4xrZ3QkwmW my/TrX164a02h/lVj0YVCDmZcVfNmST9ZhaqoY4GeUkcJCCVSgfzM1vstBclsYEUouRq sbcg== X-Gm-Message-State: AOAM531/+0GPJ2jeKjPu5jkpvCMVu/IcbokYHwgwXJRtqcvEvAqYKOI0 bgm2Ht0Q9707vc7u+7EFxekcgq+mL4vEga89vZ7LCO/A X-Google-Smtp-Source: ABdhPJw1CyJGVTUKZHlRbUfJV5qSpQuskUi1z5MQ/BoXvBF89DBHF6aRMIHIHw0lpHg5HC1UetciF3Rq+nGN7S9Hotc= X-Received: by 2002:a05:6638:99:: with SMTP id v25mr199075jao.45.1589902127159; Tue, 19 May 2020 08:28:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:6cf:0:0:0:0:0 with HTTP; Tue, 19 May 2020 08:28:46 -0700 (PDT) In-Reply-To: <20200519152449.GA67494@www.zefox.net> References: <20200518184007.GA64715@www.zefox.net> <20200518213741.GA65006@www.zefox.net> <20200518235138.GB65006@www.zefox.net> <20200519152449.GA67494@www.zefox.net> From: David Mehler Date: Tue, 19 May 2020 11:28:46 -0400 Message-ID: Subject: Re: FreeBSD 12.1 on Raspberry Pi 3B+, completely headless? To: bob prohaska Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49RKXw1R5sz3SbX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XEu7g9tl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::d44 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-0.72 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.77)[-0.771]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_SHORT(0.05)[0.047]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d44:from]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; 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 15:28:48 -0000 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. 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" >> >> > >> > >