Lakka image for Banana Pi M1


I wanted to share my build of Lakka for the Banana Pi M1.

The last version of Lakka to support the Banana Pi was 2.1-rc5. It is not available for download on Lakka’s website anymore, which is a shame because it ran great on the Banana Pi.

I fixed some of the packages so they can be compiled on a modern Ubuntu system, also updated Retroarch and the libretro cores to the current development version of Lakka.

Here is the image file:

Lakka 2.1 Banana Pi – Google Drive

If you need composite TV output, download the script.bin file from my folder and replace the one on the SD card with it.

If you need analog audio output:

cp /etc/asound.conf /storage/.config/asound.conf

now open this file and replace sunxisndhdmi with sunxicodec, then reboot.

I have also uploaded the updated Lakka source to the Google drive folder. This will allow you to create your own builds for the available devices in Lakka 2.1.

In case you’re wondering, why Lakka 2.1, isn’t that horribly outdated? Why not Lakka 2.3 or the newest dev version?

Lakka is currently in the process of switching from the outdated vendor-provided linux kernels to a modern generic linux kernel. The problem is that there is no sufficient driver support yet. There is no HDMI audio driver, and the graphics driver has changed to a new API (from fbdev to KMS/DRM) which runs horribly slow on many older devices. So while it is possible to build newer versions of Lakka for the Banana Pi, it makes very little sense at this point. Until the driver problems are solved, the best solution is to add legacy kernel support on top of the current Lakka version. I will soon upload a new build with that.

All credit goes to the original creators of Lakka - I am just making the build available for download again.

Suggested cores for best performance

  • SNES: Snes9x 2005 Plus
  • N64: Mupen64Plus-Next
  • NES: Nestopia


You can overclock the Banana Pi for much better performance. Some of the more demanding cores such as Snes9x2010 and Genesis Plus GX do have some minor dips here and there (from 60 to 55 FPS), especially in more demanding games. With overclocking they should be running at full speed. N64 performance is also greatly improved.

Connect to the BPi over SSH and issue the following commands:

echo 1152000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1152000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

1152000 means 1152 MHz. This usually works well. The default clock is 960 MHz. If the system freezes at any point, try a lower clock value.

These changes will be reset after a reboot. To make it permanent, you can add these commands to the script:

echo "echo 1152000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" >> ~/.config/
echo "echo 1152000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq" >> ~/.config/ 

You could also create the file on another computer and copy it over using Samba (put it into the folder named Configfiles). This will also work if you cannot access the command line for some reason.


Thanks you very much for this !