From nobody Fri Jul 8 20:01:52 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A39A53E1840 for ; Fri, 8 Jul 2022 20:02:06 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (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 "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lfkh90GfJz3XrB for ; Fri, 8 Jul 2022 20:02:00 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 268K1qT8063649 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 8 Jul 2022 20:01:52 GMT (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 268K1qPv063648; Fri, 8 Jul 2022 22:01:52 +0200 (CEST) (envelope-from fuz) Date: Fri, 8 Jul 2022 22:01:52 +0200 From: Robert Clausecker To: "Wall, Stephen" Cc: "freebsd-arm@freebsd.org" Subject: Re: Installing 13.1 ARM on SSD Message-ID: References: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4Lfkh90GfJz3XrB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-3.26 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2001:41d0:8:e508::1:query timed out]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[fuz.su]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi there, Am Fri, Jul 08, 2022 at 05:40:23PM +0000 schrieb Wall, Stephen: > I am attempting to install FreeBSD/ARM 13.1 on a RPi4 with a USB3 SSD attached. > Steps I’ve taken: > - Used Raspberry Pi Imager to set the board to boot from USB first, SD card second > - downloaded and burned FreeBSD 13.1 arm65-aarch64-RPI image > - booted and run bsdinstall > - selected ZFS > - selected the USB SSD > > Installation ran to completion, but when I reboot without the SD card, I get a “Firmware not found” error message. > Searching the web gives lots of results for linux, but I can’t find anything for FreeBSD. > Has anyone successfully done an install like this, and can point me toward some resources that will get me straightened out? If I recall correctly, you need to once boot the RPi firmware from an SD card with a specific configuration to burn a "look for boot loader on USB drive" flag into the EEPROM. After you've done that, the RPi can then boot from USB with no issues. You'll have to read the documentation of the RPi foundation supplied boot code to learn what exactly to do. Once other thing that bit me when I set up my RPi4B: when you set up a zpool on an M.2 SSD mounted in a USB case, you might have to manually specify a 4k sector size at pool creation time or accesses may later fail with strange IO errors. This is especially annoying in that the error only seemed to appear starting with the new ZFS code in ZFS 13, being absent when I created and populated the pool on a FreeBSD 12 host. Yours, Robert Clausecker > -- > Stephen Wall > Senior Staff Software Engineer > 585.924.7550 > [cid:image001.png@01D892CF.B3756350] > REDCOM Laboratories, Inc. > One Redcom Center > Victor, NY 14564-0995 > www.redcom.com > -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments