From nobody Mon Apr 15 14:15:17 2024 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 4VJ8Mc186Sz5GgW5 for ; Mon, 15 Apr 2024 14:15:24 +0000 (UTC) (envelope-from julf@Julf.com) Received: from outbound1.mail.transip.nl (outbound1.mail.transip.nl [149.210.149.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJ8MY6mbLz4cGl for ; Mon, 15 Apr 2024 14:15:21 +0000 (UTC) (envelope-from julf@Julf.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=julf.com header.s=transip-a header.b=ofat7Eba; dmarc=pass (policy=quarantine) header.from=julf.com; spf=pass (mx1.freebsd.org: domain of julf@Julf.com designates 149.210.149.72 as permitted sender) smtp.mailfrom=julf@Julf.com Received: from submission9.mail.transip.nl (unknown [10.103.8.160]) by outbound1.mail.transip.nl (Postfix) with ESMTP id 4VJ8MV4k5SzRhrs for ; Mon, 15 Apr 2024 16:15:18 +0200 (CEST) Received: from [172.24.42.151] (julf.connected.by.freedominter.net [45.138.231.4]) by submission9.mail.transip.nl (Postfix) with ESMTPA id 4VJ8MT1xYpz1y2m for ; Mon, 15 Apr 2024 16:15:17 +0200 (CEST) Message-ID: <663ad239-8635-44fd-a645-75842655ee8b@Julf.com> Date: Mon, 15 Apr 2024 16:15:17 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: Raspberry Pi 4 and M.2 SATA SSD recognized but not booting or available for install - unsupported interface To: freebsd-arm@freebsd.org References: <73029bbf-76b5-4cb5-ac44-4ac6150a88e8@thegalacticzoo.com> Content-Language: en-GB, sv-FI, nl-NL From: Johan Helsingius In-Reply-To: <73029bbf-76b5-4cb5-ac44-4ac6150a88e8@thegalacticzoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: ClueGetter at submission9.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=julf.com; t=1713190517; h=from:subject:to:references: in-reply-to:date:mime-version:content-type; bh=lxc3cgcWV1IbKiN22YE555iv3G3V3aZ5RPErux49m9E=; b=ofat7EbaWVDTt7ac9Dcs47AIftZ2raq1dqTowOLtufz9KHdXNjzsfXjoU3GHW9Bm1QHjFV zU/NzpGc1wnkg3esu0TrVz2apysetKnZ5jhwcAe/hjYG/8+jtNOyA2zlDq7Q+vZYI0lurG GBP8Wq7aBWfZi2DbXOKNVV3f2CS+0/C7YRWgKxXETVeMIYJA9CJ2Gg6SpCcQpZbqcmnbh8 5x1sR747ugPcjk5O5wHbkxGNtwP3NUXzgo92VcQQ515Ly1M+dzai4N+wK08jgNiBAX+pxS 1rGIGSLQh27N6HCfZVIYqUx7f4ZLlwnbjTMCf1qh8A7h/zblPWR/TSYFzbtqEQ== X-Report-Abuse-To: abuse@transip.nl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.08 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[julf.com,quarantine]; R_DKIM_ALLOW(-0.20)[julf.com:s=transip-a]; R_SPF_ALLOW(-0.20)[+ip4:149.210.149.72]; RCVD_IN_DNSWL_LOW(-0.10)[149.210.149.72:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20857, ipnet:149.210.128.0/17, country:NL]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[julf.com:+] X-Rspamd-Queue-Id: 4VJ8MY6mbLz4cGl Thanks, this is great info! I do now have my RPi 4 successfully running 14.0-RELEASE-p6, but happy to try your image if you want me to help with testing. Julf On 15/04/2024 15:58, Fred Finster wrote: > ZFS  ,  UFS  here are some webpages for Raspberry Pi 4B running FreeBSD > 14.0-RELEASE > > > I can show you how to transfer files from a booted USB Flash Disk drive > Stick to make your own USB SSD with a bootable ZFS file system using > about 4 or 5 shell script files to make the move of copying files from a > USB flash drive to a ZFS USB SSD. > > If you help me test, find errors, make corrections.  I will gladly help > you Julf and others who are interested in running FreeBSD on a USB SSD > with an installed ZFS file system. > > This is the bootable GhostBSD image I created.  You can use the FreeBSD > 14.0-RELEASE RPI image. > > I have setup a shell script to download  the FreeBSD image for your and > to uncompress this compressed XZ image. > > Select '0' to download the checksum value > Select '1' to download the FreeBSD 14.0-RELEASE image > Select '2' to download the GhostBSD-Arm64 image file from my package > NGINX web server http://ghostbsdarm64.hopto.org/packages/ > Select '3' to download from any URL you select > > > This is a 6k shell script file to download and perform the tasks for you. > http://ghostbsdarm64.hopto.org/packages/write_freebsd_img_dd_to_da1.sh > > http://ghostbsdarm64.hopto.org/packages/Ghost14_5G_selfbuilt_raspi4b_Feb27_2.img.xz This is a 728Megabyte file to downloaded by the previous 6k shell script file when selecting option '2' . > > > 500 GB setup for UFS ? > https://ghostbsd-arm64.blogspot.com/2022/02/booting-500-gb-ssd-on-freebsd-arm64-140.html > > 500 GB setup for Raspberry Pi 4B with FreeBSD O/S > https://ghostbsd-arm64.blogspot.com/2023/07/learning-zfs-on-root-setup-for.html > > https://ghostbsd-arm64.blogspot.com/2024/04/create-ghostbsd-usb-ssd-500gb-or-larger.html This is most for x86_64 but the commands are the same. > > https://ghostbsd-arm64.blogspot.com/2023/10/honey-i-broke-my-zfs-usb-sata-ssd-1-tb.html Here are short details, about how I fixed a boot problem with my ZFS disk for Raspberry Pi 4B. > > https://ghostbsd-arm64.blogspot.com/2024/01/hdmi-audio-sound-patches-into-ghostbsd.html Here are details for setting up the audio patch files to compile for FreeBSD and GhostBSD > > Here are details for setting up the 4 shell script files to create a ZFS > USB SSD. > > https://ghostbsd-arm64.blogspot.com/2023/12/zfs-boot-on-root-setup-for-usb-ssd.html > > I am sending now, Julf.  Reach out to me.  I can help you achieve a > working Desktop on Arm64 booting from a USB SSD. > > Fred Finster > fred@thegalacticzoo.com > fredfinster58@gmail.com > > >> */From:/* Johan Helsingius >> */Date:/* Thu, 11 Apr 2024 17:47:52 UTC >> On 11/04/2024 19:38, Mark Millard wrote: >> > Which image(s)? >> >> I think it was the memstick one. >> >> > Only the likes of, say, >> > >> > FreeBSD-14.0-STABLE-arm64-aarch64-RPI-20240404-72c3d91294c4-267114.img.xz >> > and: >> > FreeBSD-15.0-CURRENT-arm64-aarch64-RPI-20240404-112783ebbc31-269103.img.xz >> > and: >> > FreeBSD-14.0-RELEASE-arm64-aarch64-RPI.img.xz >> > >> > are set up with the extra materials that I referenced for the RPi*'s. Note: >> > Those are UFS based, not ZFS based. >> >> Ah! I see! Bummer that none of them are ZFS based, but I guess I can >> live with UFS on a RPi - it just means I have to have yet another >> backup procedure. >> >> > What did you put in da1p1 (efiboot0) ? That area you have >> > to deal with for bsdinstall usage. Some folks extract and >> > copy over what is in the msdosfs in a: >> > >> > *-arm64-aarch64-RPI-*.img.xz >> > >> > as a means of getting an officially-built set of such >> > materials when they want to customize other aspects. >> >> Would that make it possible to do a ZFS-based environment? >> >> Julf >> >