NetBSD running at full resolution on my RPi!
February 22, 2025 —
Nico Cartron
Following my latest article about running NetBSD on a Raspberry Pi, I asked for advice on Mastodon, to see if folks had an idea how to fix the issue I had with NetBSD not using the entirety of the screen.
I got a quick answer from Vermaden who gave me pointers.
Turns out that the first link was exactly what I needed!
Here's what I did:
Mount the SD card on my FreeBSD laptop
mount_msdosfs /dev/da0p1 /mnt/usbdisk/
Edit the config.txt
file:
vi /mnt/usbdisk/config.txt
Add the following lines at the bottom of the file:
hdmi_cvt=800 480 60 4 0 0 0
hdmi_group=2
hdmi_mode=87
As explained in the article, the 800 and 480 values in hdmi_cvt
are the
screen resolutions.
The 4
value means a screen ratio of 5:4, which is the closest I could find
from the 5:3 I have (800x480)
When I booted the Pi with this updated configuration, I was thrilled to see that it worked, see below picas!


Tags: BSD