Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2025 09:52:13 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        Paul Floyd <pjfloyd@wanadoo.fr>, freebsd-arm@freebsd.org
Subject:   Re: Raspbery Pi support (release notes/wiki page) update? (RPI5)
Message-ID:  <B0F33A6C-47A8-4C71-97A6-382E07127F56@yahoo.com>
In-Reply-To: <881635894.2479.1736499825338@localhost>
References:  <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> <E4887386-91C4-4B59-A119-D11C14F4991B@yahoo.com> <7sp0np90-0rnn-n327-qps0-358493p411rs@yvfgf.mnoonqbm.arg> <68B36F4A-76AD-4CEC-ACBA-3EEF6863BB04@yahoo.com> <1284671542.924.1736419337261@localhost> <51c72f9e-19fc-4cf6-8bb8-dacb97b9b793@wanadoo.fr> <881635894.2479.1736499825338@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Ronald,

(Working from memory and old Email content.)

I'll note that I have partitions for the FreeBSD EFI loader
(msdosfs), FreeBSD-in-UFS, and SWAP-space on USB3 media but
the rpi5-uefi content on a microsd card in a msdosfs . I
copy the FreeBSD loader.efi to the USB3's msdosfs with
appropriate path and file naming. (Note: My context is
normally main [so: 15 at this point].)

=46rom an old Email (/boot/efi is a mount point for USB3
media's msdsofs):

# find /boot/efi/EFI/ -print
/boot/efi/EFI/
/boot/efi/EFI/FREEBSD
/boot/efi/EFI/FREEBSD/loader.efi
/boot/efi/EFI/BOOT
/boot/efi/EFI/BOOT/bootaa64.efi

I doubt that the FREEBSD path is needed but I've always
blindly made both copies of the /boot/loader.efi that is in
FreeBSD's file system for aarch64.

Note: I force the capitalization of EFI to make the name
distinct. /boot/efi/efi/ is normal as I remember. EFI is in
the msdosfs .

In this organization, the microsd card is the starting point. The
rpi5-uefi then finds the USB3's msdosfs's BOOT/bootaa64.efi .
That in turn finds the USB3's FreeBSD kernel in UFS and loads and
starts it. That in turn does the mount of the root file system
(from the same UFS file system as the kernel in my context) and
starts the world code.

I've also done examples with ZFS (bectl use) instead of UFS in
the past but normally only use ZFS on the largest/fastest FreeBSD
configuration that I (usually) have access to. (I've never used
ZFS for redundancy or striping or such: just for bectl use.)

Mark


On Jan 10, 2025, at 01:03, Ronald Klop <ronald-lists@klop.ws> wrote:


Van: Paul Floyd <pjfloyd@wanadoo.fr>
Datum: donderdag, 9 januari 2025 20:31
Aan: freebsd-arm@freebsd.org
Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update?


On 09-01-25 11:42, Ronald Klop wrote:
> Hi Mark,
>
> I just noticed an RPI5 with 16GB RAM became available [1]. Which > =
triggers my interest in an upgrade of my current RPI4/8GB used to build =
> aarch64 ports.
>
> I see that you have quite some experience in setting up the RPI5 with =
> knowledge expressed in several emails.
> Would you mind to setup a https://wiki.freebsd.org/arm/RPI5 <https:// =
> wiki.freebsd.org/arm/RPI5> page and collect your knowledge/experience =
there?


I just made a start:
https://wiki.freebsd.org/arm/Raspberry%20Pi%205

A+
Paul

 =20

Thank you very much!
Just ordered a RPI5.

Regards,
Ronald.
=20
=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0F33A6C-47A8-4C71-97A6-382E07127F56>