I have compiled Embeddable Common Lisp (ECL) 16.1.2 and then compiled Maxima 5.38.1 on Kobo Aura HD. It works perfectly, even plotting works. Screenshot is attached.
Btw, it also works in Termux on Android phones and tablets, see here:
https://github.com/termux/termux-packages/issues/474