Installing Mraa on the Rock S0

I managed to install mraa on the Rock Pi S by building it from source using the instructions from these docs. But now i’m trying to do it on the Rock S0 and it doesn’t work at all no matter what. i tried building an image using rsdk with bookworkm and bullseye and following the instructions carefully but neither worked. Is there any clear set of instructions for some image for the Rock S0 where installing mraa doesn’t fail so one can use the UART functions? Thanks in advance!