libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.7k stars 288 forks source link

Lakka v5.x : Support RetroFlag GPiCASE2W RPiZero2 aarch64 #1947

Closed ShigeakiAsai closed 2 months ago

ShigeakiAsai commented 3 months ago

It supports RetroFlag GPiCASE2W RPiZero2 aarch64.

Device : RetroFlag GPiCASE2W Board : Raspberry Pi Zero 2(W)

Build command:

DISTRO=Lakka PROJECT=RPi DEVICE=RPiZero2-GPiCASE2W ARCH=aarch64 make image

Note:


modified : 8 files , added : 4 file

  1. packages/addons/addon-depends/rpi-tools-depends/colorzero/package.mk It adds aarch64 support.

  2. packages/addons/addon-depends/rpi-tools-depends/gpiozero/package.mk It adds aarch64 support.

  3. packages/lakka/lakka_tools/gpicase_safeshutdown/package.mk It adds comment only.

  4. packages/lakka/lakka_tools/rpi_disable_hdmi_service/package.mk It adds comment only.

  5. packages/lakka/libretro_cores/mupen64plus_next/package.mk It adds PKG_MAKE_OPTS_TARGET+=" platform=rpi3_64-mesa", same as RPi3.

  6. packages/lakka/package.mk It add build settings, like as Pi02GPi.

  7. packages/lakka/retroarch_base/retroarch/package.mk It add retroarch.cfg settings, like as Pi02GPi.

  8. projects/RPi/devices/RPiZero2-GPiCASE2W/config/distroconfig.txt It uses KMS display settings.

  9. projects/RPi/devices/RPiZero2-GPiCASE2W/linux/linux.aarch64.conf It based RPi3 KernelConfig. And, it changes 4 KernelConfig parameters from "=m" to "=y" for DPI panel.

  10. projects/RPi/devices/RPiZero2-GPiCASE2W/options It adds settings, like as RPi3. CEC_FRAMEWORK_SUPPORT is disabled because HDMI is disabeled in config.txt

  11. projects/RPi/devices/RPiZero2-GPiCASE2W/patches/retroarch_joypad_autoconfig/retroarch_joypad_autoconfig-01-fix-ABXY-buttons.patch It adds GPICase Buttons patch, same as Pi02GPi.

  12. projects/RPi/options It adds build settings, like as RPi3.


Confirmation


Thanks. ASAI, Shigeaki

dah33 commented 2 months ago

I can confirm this worked on my GPi CASE 2W with a Raspberry Pi Zero 2W. It corrected the screen orientation.

I built with the Ubuntu Focal container, which needed p7zip-full added for some reason.

ShigeakiAsai commented 2 months ago

I confirmed that RPiZero2-GPiCASE2W.aarch64 is working. Lakka-RPiZero2-GPiCASE2W.aarch64-devbuild-v5.x-20240408-139b8c1.img.gz

Thanks ASAI, Shigeaki