From nobody Mon Apr 15 13:58:32 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 4VJ80G4MFWz5Gdq4 for ; Mon, 15 Apr 2024 13:58:38 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Received: from nmtao201.oxsus-vadesecure.net (mta-231a.oxsus-vadesecure.net [15.204.3.4]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJ80F4wFTz4V6n for ; Mon, 15 Apr 2024 13:58:37 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=webcom.xion.oxcs.net header.s=mail1 header.b=h+pgO9k3; dmarc=pass (policy=quarantine) header.from=thegalacticzoo.com; spf=pass (mx1.freebsd.org: domain of fred@thegalacticzoo.com designates 15.204.3.4 as permitted sender) smtp.mailfrom=fred@thegalacticzoo.com; arc=pass ("oxsus-vadesecure.net:s=arc-202309-rsa2048:i=1") ARC-Seal: i=1; a=rsa-sha256; d=oxsus-vadesecure.net; s=arc-202309-rsa2048; t=1713189516; cv=none; b=NV/wA8qUg5atOxZdd7S80bt8gYoU6P8zbNlu+2Uj/7AoeDanwNvVXvP/0K6o97CkL2bpUGX66jC6mSZeh0SBTdTOVAIx4/M0CD2ZKKI49Kkunbf10SrGmfMzYPzZRRIbz437lajTayR0mHimBmLstSHJaIpmEqRIfdKB9rf+pmWVDTByCaWjPymMpbuzOejAL6nK3gOnlF+5UcZZH2q9vQAEp0BgPn51xeCqXEVJjlDbzjjEaMSjzQ24DCTK6XBd/q1miNA8TcDmt4OvQPNSPg1cAswnnNuaMmSWeM597jy83xUGIzoglu4SfiEaX9tqghD4XvRnTOGCSNIBGyvaFg== ARC-Message-Signature: i=1; a=rsa-sha256; d=oxsus-vadesecure.net; s=arc-202309-rsa2048; t=1713189516; c=relaxed/relaxed; h=from:reply-to:subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:list-owner:list-archive; bh=E1BOnsN7AfuDgTkTv/Ek0V4FwbeG3UTleWAtQ+cZDbA=; b=RiiWG78g2EtG3SJmHMWnC0oLAd4pGBXvLCDLrYUI9UgTJmIBK1ub1uYTmL6EG28U2uyUP70pLF7vARakIu6oxlFWLay32F6n9A7y9mHpI+iTEf1kyJi261HbkcQiNoDFPS9fCilBjvNb/aOdJ3CRwor+dVUdFCObgFAaSmszMKkEDL16dUvacCrDG1sXI3aU4iwtKYVKLeyguOdiPodyxOJ5RGMeDouyYH+s92BYilBIQ/CD8Q1DFj9nGjkKC3hnLZrNldxykbA0cBXgBLgcEKMd1GY69FuaG/k2cikqjHMHOf4eDUMvgFrwiALR/BNfD00e97VSfnpwHvQkAkeY+g== ARC-Authentication-Results: i=1; DKIM-Signature: v=1; a=rsa-sha256; bh=E1BOnsN7AfuDgTkTv/Ek0V4FwbeG3UTleWAtQ+ cZDbA=; c=relaxed/relaxed; d=webcom.xion.oxcs.net; h=from:reply-to: subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc: in-reply-to:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=mail1; t=1713189516; x=1713794316; b=h+pgO9k3k7Cwf9VN/bRaDCiNcVsmFE/W8fDf3IjIa 4Z14jqyWUQjWTG6VvV44NXr9DIzbC4KE7F5Y+3WYzKAg9PzenKX5NsmWTPaa8v9VZSa6iMS m6TwNGNuhjf9cXMxmThgxSMMHo8DRND0EGfw+rOGVPGILoO9IuMzmz2pJTxlbPbLNYgRi/L 6rBfAKBUZ00YtObduzOKUIA6/EyntGvNCfa+iSadmxUsR3buVBnzNuaOt2cBP0myvhFYK8l XPD2J+Pu2vBmArazy0R9V6tLNKhVexsPpVOLP+j4wsm+hWkCVq0IXQCDkgaiDtW4NhNDt57 5AijfOK6RYZw73O+A== Received: from proxy-4.proxy.cloudus.ewr.xion.oxcs.net ([76.14.243.145]) by oxsus2nmtao01p.internal.vadesecure.com with ngmta id 2cb4280e-17c678c9722e027b; Mon, 15 Apr 2024 13:58:36 +0000 Content-Type: multipart/alternative; boundary="------------QIuk0Uuykn40P0G00J80shzd" Message-ID: <73029bbf-76b5-4cb5-ac44-4ac6150a88e8@thegalacticzoo.com> Date: Mon, 15 Apr 2024 06:58:32 -0700 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 Content-Language: en-US To: freebsd-arm@freebsd.org Cc: julf@julf.com From: Fred Finster Subject: Re: Raspberry Pi 4 and M.2 SATA SSD recognized but not booting or available for install - unsupported interface X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.85 / 15.00]; FAKE_REPLY(1.00)[]; ARC_ALLOW(-1.00)[oxsus-vadesecure.net:s=arc-202309-rsa2048:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.956]; DMARC_POLICY_ALLOW(-0.50)[thegalacticzoo.com,quarantine]; R_DKIM_ALLOW(-0.20)[webcom.xion.oxcs.net:s=mail1]; R_SPF_ALLOW(-0.20)[+ip4:15.204.3.4/30]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:15.204.0.0/17, country:FR]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RWL_MAILSPIKE_POSSIBLE(0.00)[15.204.3.4:from]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[15.204.3.4:from]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[webcom.xion.oxcs.net:+] X-Rspamd-Queue-Id: 4VJ80F4wFTz4V6n This is a multi-part message in MIME format. --------------QIuk0Uuykn40P0G00J80shzd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > --------------QIuk0Uuykn40P0G00J80shzd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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 <julf_at_Julf.com>
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


--------------QIuk0Uuykn40P0G00J80shzd--