
Add RPi config snippets to support the LCD and GPIO keys. Enable the service and lingering for the retroarch user, the latter is needed to allow the service to start at boot even when the user was not logged in. $ cat ~/.config/systemd/user/rviceĮxecStart=retroarch -L /lib64/libretro/mgba_libretro.so /home/retroarch/roms/doom.zip Install a Libretro emulator (i.e: mGBA for Game Boy Advance) and the Retroarch frontend. Where $device is the block device for the uSD card used to install the OS.īoot the uSD card, go through Fedora initial setup, create a retroarch user and make it member of the video and input groups. target=rpi3 -media=/dev/$device -addkey=id_rsa.pub -norootpass -resizefs There is no support for the RPi Zero 2W but since is quite similar to the RPi3, that can just be used as the target instead, i.e: sudo arm-image-installer -image=Fedora-Server-36-1.5. \ The image can be flashed using the arm-image-installer tool. I just used a stock Fedora Server image for this project, no additional software was needed than what is already packaged in the distro. Instead of listing them here and explaining how to do that part, I will refer to this excellent guide that I followed.
But if the goal is to power it through a battery, then more components are needed. The board is a HAT for the Raspberry Pi Zero 2W board, HATs are expansion boards whose connectors are compatible with the RPi Zero 2W pinout.Īnd that is all the hardware needed if the console will just be powered with a micro USB cable. I used a Waveshare 128×128, 1.44inch LCD display HAT which is a good fit because it contains both a LCD display and GPIO keys that can be used as a gamepad.