Creating a Raspberry Pi FreeBSD image for RPI 500 Keyboard or RPI5, or a weather station image for RPI3B

Creating a Raspberry Pi FreeBSD image for RPI 500 Keyboard or RPI5 5GB

UEFI Arm64 image from here:

GITHUB worproject/rpi5-uefi/releases    April 24, 2025 Version 0.3 is latest version

https://petermoulding.com/raspberry_pi/raspberry_pi_500_boot_options

RPI3B  Weather station FreeBSD Foundation build:  

https://freebsdfoundation.org/raspberry-pi-weather-display-on-freebsd/

https://freebsdfoundation.org/?s=raspberrypi 

 https://wiki.freebsd.org/arm64

https://wiki.freebsd.org/arm/Raspberry%20Pi%205

https://freebsdfoundation.org/project/headless-mode-out-of-the-box/   Use as OTG virtual images

https://wiki.freebsd.org/arm/Raspberry%20Pi%205


Setting up FreeBSD on a Raspberry Pi 5

You will need

  • a Raspberry Pi 5
  • a microSD card
  • a USB stick formatted FAT32 with at least 2080kbytes free space
  • an ethernet to USB adapter

Steps to follow

  • Download a FreeBSD image for Raspberry Pi. Go to FreeBSD download page. Click on the link to "RPI (3/4)" (don't worry about it not being for the Pi 5). (20250824: use one of these following images:

 FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img.xz

FreeBSD-14.3-RELEASE-arm64-aarch64-RPI.img.xz

FreeBSD-15.0-PRERELEASE-arm64-aarch64-RPI.img.xz )

 [kliktel@kliktel-pc Rpi5]$ man unzip
[kliktel@kliktel-pc Rpi5]$ ls -l
total 1224
-rw-r--r-- 1 kliktel kliktel 1252807 Aug 22 21:09 RPi5_UEFI_Release_v0.3.zip
[kliktel@kliktel-pc Rpi5]$ unzip -t RPi5*.zip
Archive:  RPi5_UEFI_Release_v0.3.zip
   testing: config.txt               OK
   testing: bcm2712-rpi-5-b.dtb      OK
   testing: RPI_EFI.fd               OK
No errors detected in compressed data of RPi5_UEFI_Release_v0.3.zip.
[kliktel@kliktel-pc Rpi5]$

[kliktel@kliktel-pc Rpi5]$ unzip -l RPi5*.zip
Archive:  RPi5_UEFI_Release_v0.3.zip
 Length      Date    Time    Name
---------  ---------- -----   ----
     331  2024-03-15 20:46   config.txt
   76038  2024-03-15 20:46   bcm2712-rpi-5-b.dtb
 2031616  2024-03-15 20:46   RPI_EFI.fd
---------                     -------
 2107985                     3 files
[kliktel@kliktel-pc Rpi5]$


[kliktel@kliktel-pc Rpi5]$ ls -lh ; unzip -j RPi5*.zip; ls -lh
total 1.2M
-rw-r--r-- 1 kliktel kliktel 1.2M Aug 22 21:09 RPi5_UEFI_Release_v0.3.zip
Archive:  RPi5_UEFI_Release_v0.3.zip
 inflating: config.txt               
 inflating: bcm2712-rpi-5-b.dtb      
 inflating: RPI_EFI.fd               
total 3.3M
-rw-r--r-- 1 kliktel kliktel  75K Mar 15  2024 bcm2712-rpi-5-b.dtb
-rw-r--r-- 1 kliktel kliktel  331 Mar 15  2024 config.txt
-rw-r--r-- 1 kliktel kliktel 1.2M Aug 22 21:09 RPi5_UEFI_Release_v0.3.zip
-rw-r--r-- 1 kliktel kliktel 2.0M Mar 15  2024 RPI_EFI.fd


Known To Work

Raspberry Pi 5 Model B Rev 1.0 8Gbytes RAM I (PaulFloyd) have been using it for development work since February 2024, using FreeBSD 14.1 and then 14.2. Primarily this has been using ssh to connect from my amd64 FreeBSD workstation.

Known Limitations

  • Fan runs at full speed.
  • No wifi.
  • Ethernet only via USB, uses up one USB port.
  • Network occasionally fails to start.
  • Boot loader rpi5-uefi is known to not work with RPI5 16GB.

Future Development

Unfortunately, since Feb 4, 2025 the worproject/rpi5-uefi GitHub repo has been marked as archived and read-only. Presumably that means that there will be no further development done there, and thus no more bug fixes or enhancements.


CategoryHowTo

arm/Raspberry Pi 5 (last edited 2025-05-03T00:32:05+0000 by GrahamPerrin)

 



Comments

Popular posts from this blog

Honey, I broke my ZFS USB SATA SSD 1 TB disk, Oops. What can I do to fix this ZFS to boot again?

FreeBSD 14.0 Compiling kernel for Raspberry Pi 4B

HDMI Audio sound patches into GhostBSD source code /usr/ghost14/ghostbsd-src SOLVED Jan20 2024