Fixing Freebsd 14 Boot Issue on Rpi4

After updating my FreeBSD installation to 14.x on my old Raspberry Pi4 the system stopped booting. The problem is that the system cannot find the root filesystem anymore. It seem this a particular issue with some older revisions of Raspberry Pi 4 (especially those with 4GB+ RAM, like those ending in “B0T”) leading to MMC timeouts and failure to mount the root filesystem.

Fix

If you have For RPi 4 model with 4GB+ RAM, a common workaround is to edit the config.txt file in the EFI partition of your SD card. Add the following line under the [pi4] section: total_mem=4015.

Disable Dash Auto Updates

While I understand the switch of Dash’s business model from a perceptual license to a subscription model, my usage and needs do not justify a subscription. Annoyingly the app always updates to the latest subscription version. You can disable this behaviour by selecting tiny checkbox on the update dialog and then skipping the update on the old version.

/posts/disable-dash-auto-updates/dash_update_fix.png

How to Set EXIF GPS Coordinates Manually

Usually I use a GPS tracker on my phone when taking pictures so that I can sync up the GPS data later. Every so often I for get to start the tracker and need to manually set the GPS data by hand. The easiest way I found was by using the exiftool. This is a command line tool often considered the swiss army knife of EXIF data. Below is the command on how to set the GPS data on some files. I also added -overwrite_original parameter to not have the tool create a backup file. To actually get the GPS coordinate data you can choose yout favorite online tool.