# MakeCode Arcade on Raspberry Pi (including RetroPie, Recalbox, Batocera etc.)

**URL:** <https://forum.makecode.com/t/makecode-arcade-on-raspberry-pi-including-retropie-recalbox-batocera-etc/14267>\
**Category:** Help\
**Tags:** tool\
**Created:** [July 1, 2022, 4:13pm UTC](https://forum.makecode.com/t/makecode-arcade-on-raspberry-pi-including-retropie-recalbox-batocera-etc/14267 "2022-07-01T16:13:05Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [May 9, 2024, 2:50am UTC](https://forum.makecode.com/t/makecode-arcade-on-raspberry-pi-including-retropie-recalbox-batocera-etc/14267/12 "2024-05-09T02:50:02Z")

</div>

**Bus error/Aligment trap for .elf on Recalbox 9.1 Pulstar**

Just noticed, while attempting to get MakeCode Arcade games running on Recalbox v9, that a compiled ARM Linux .elf game file crashes abruptly with the error: _Bus error_

Dmesg right afterwards gives:

```auto
[59.510961] Alignment trap: not handling instruction f4420a1f at [<76cd0284>]
[59.510985] 8<--- cut here ---
[59.511000] Unhandled fault: alignment exception (0x801) at 0x7ed9793c
[59.511014] pgd = fdb2be65
[59.511029] [7ed9793c] *pgd=04b61835, *pte=0427e75f, *ppte=0427ec7f

```

It is a buildroot system running on a RPi Zero 2W inside a GPi Case(no. 1, originally for the first Zero), from _uname -a_:  
`Linux RECALBOXGPI 5.15.92-v7 #1 SMP Sat Jun 17 10:39:53 CEST 2023 armv7l GNU/Linux`

The file I am attempting to run is an old .elf of _Jumpy Platformer_ which I have used with success on counless other RPi systems before and recently tested OK on other systems:

```auto
arcade-jumpy-platformer.elf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=1345002c7e1eb0f7585105314513524afbaf24dd, stripped

{"compression":"LZMA","headerSize":158,"textSize":278452,"name":"jumpy platformer","eURL":"https://arcade.makecode.com/","eVER":"1.3.20","pxtTarget":"arcade"}]

```

> **[arcade-jumpy-platformer.elf](https://drive.google.com/file/d/1xl-M6DyHflIE1A9BNS8yNUPrOyNzCGPr/view?usp=sharing)**
>
> Google Drive file.

I am a little at a loss here, thought all RPis were binary compatible, alsa seems to be present at position 0:0. I can’t find anything out of the ordinary, and will of course test the same distribution on other hardware etc.

_If any of this rings an immediate bell in the @MakeCode team or for others on this forum, any help or hint on what the problem might be and how to proceed is greatly welcomed!_

---

_[View the full topic](https://forum.makecode.com/t/makecode-arcade-on-raspberry-pi-including-retropie-recalbox-batocera-etc/14267)._
