Libmraa not working on radxa-e25

Hello,
I have installed libmraa on radxa-e25 according to wiki instructions. but i can’t run it. this is the result i get:
rock@radxa-e25 : ~ $ sudo apt-get install libmraa
[sudo] password for rock:
Reading package lists… Done
Building dependency tree
Reading state information… Done
libmraa is already the newest version (1.8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rock@radxa-e25 : ~ $ mraa-gpio list
No Pins
rock@radxa-e25 : ~ $ sudo mraa-i2c list
rock@radxa-e25 : ~ $

Can you help please?

Post the output of

journalctl -g mraa

That should report the problem.

rock@radxa-e25:~$ journalctl -g mraa
Hint: You are currently not seeing messages from other users and the system.
Users in groups ‘adm’, ‘systemd-journal’ can see all messages.
Pass -q to turn off this notice.
– Logs begin at Fri 2024-02-16 19:21:27 UTC, end at Sat 2024-02-17 16:44:33 UTC. –
– Reboot –
– Reboot –
– Reboot –
Feb 16 21:54:43 radxa-e25 libmraa[250389]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 21:54:43 radxa-e25 libmraa[250389]: Unknown Platform, currently not supported by MRAA
Feb 16 21:54:43 radxa-e25 libmraa[250389]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 21:55:03 radxa-e25 libmraa[253103]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 21:55:03 radxa-e25 libmraa[253103]: Unknown Platform, currently not supported by MRAA
Feb 16 21:55:03 radxa-e25 libmraa[253103]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 22:14:42 radxa-e25 libmraa[420296]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 22:14:42 radxa-e25 libmraa[420296]: Unknown Platform, currently not supported by MRAA
Feb 16 22:14:42 radxa-e25 libmraa[420296]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 22:14:56 radxa-e25 libmraa[422307]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 22:14:56 radxa-e25 libmraa[422307]: Unknown Platform, currently not supported by MRAA
Feb 16 22:14:56 radxa-e25 libmraa[422307]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 22:15:21 radxa-e25 libmraa[425834]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 22:15:21 radxa-e25 libmraa[425834]: Unknown Platform, currently not supported by MRAA
Feb 16 22:15:21 radxa-e25 libmraa[425834]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 22:15:33 radxa-e25 libmraa[427619]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 22:15:33 radxa-e25 libmraa[427619]: Unknown Platform, currently not supported by MRAA
Feb 16 22:15:33 radxa-e25 libmraa[427619]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 16 22:15:36 radxa-e25 libmraa[428032]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 16 22:15:36 radxa-e25 libmraa[428032]: Unknown Platform, currently not supported by MRAA
Feb 16 22:15:36 radxa-e25 libmraa[428032]: libmraa initialised for platform ‘Unknown platform’ of type 98
– Reboot –
Feb 17 11:25:12 radxa-e25 libmraa[1268083]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 17 11:25:12 radxa-e25 libmraa[1268083]: Unknown Platform, currently not supported by MRAA
Feb 17 11:25:12 radxa-e25 libmraa[1268083]: libmraa initialised for platform ‘Unknown platform’ of type 98
Feb 17 11:30:08 radxa-e25 libmraa[1310714]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 17 11:30:08 radxa-e25 libmraa[1310714]: Unknown Platform, currently not supported by MRAA
Feb 17 11:30:08 radxa-e25 libmraa[1310714]: libmraa initialised for platform ‘Unknown platform’ of type 98
– Reboot –
Feb 17 11:31:25 radxa-e25 libmraa[8458]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 17 11:31:25 radxa-e25 libmraa[8458]: Unknown Platform, currently not supported by MRAA
Feb 17 11:31:25 radxa-e25 libmraa[8458]: libmraa initialised for platform ‘Unknown platform’ of type 98
– Reboot –
– Reboot –
Feb 17 13:01:24 radxa-e25 libmraa[376813]: libmraa version v2.1.0 initialised by user ‘rock’ with EUID 1000
Feb 17 13:01:24 radxa-e25 libmraa[376813]: Unknown Platform, currently not supported by MRAA
Feb 17 13:01:24 radxa-e25 libmraa[376813]: libmraa initialised for platform ‘Unknown platform’ of type 98
– Reboot –

This is rhe magic line:

libmraa initialised for platform ‘Unknown platform’ of type 98

This version of libmraa does not support your board. Version 2.1.0 is also not the latest.

Either wait until an updated version is available or build libmraa yourself, check this fork