I have finally gotten around to building a native GNU Modula-2 compiler package for Debian Stretch on the BeagleBone. It took about 9 hours to build on a SanCloud BeagleBone Enhanced with 1 GB of RAM. I wasn’t able to build successfully on a regular BeagleBone with only 512 MB of RAM.
Packages built from 8.2.0+gm2-git-latest for the BeagleBone, Raspberry Pi 1, and Raspberry Pi 2 (as well as x86 and x86-64) are available from my Debian package repository at http://repo.munts.com/debian9. These packages install everything in /usr/local/gm2.
Modules for libsimpleio (http://git.munts.com/libsimpleio) are under (slow) development.