Raspberry Pi 3 - Framework Issue

Hi,

I am having trouble running Legato 19.04 on a Raspberry Pi 3. The framework has been built, along with the kernel configurations, as per the instructions at: Configure Raspberry Pi - Legato Docs

When attempting to start Legato on the Pi, the following error messages occur:

root@raspberrypi:~# /./mnt/legato/start 

Message from syslogd@raspberrypi at Jun 21 16:31:20 ...
 Legato: *EMR* | configTree[945]/framework T=main | messagingInterface.c DirectorySocketReadable() 559 | Failed to receive client fd from Service Directory (-6: LE_FAULT).

Broadcast message from systemd-journald@raspberrypi (Fri 2019-06-21 16:31:20 BST):

Legato[945]: *EMR* | configTree[945]/framework T=main | messagingInterface.c DirectorySocketReadable() 559 | Failed to receive client fd from Service Directory (-6: LE_FAULT).


Message from syslogd@raspberrypi at Jun 21 16:31:20 ...
 Legato: *EMR* | supervisor[932]/supervisor T=main | frameworkDaemons.c SigChldStartingHandler() 197 | **** SYSTEM IS UNWORKABLE ****

Broadcast message from systemd-journald@raspberrypi (Fri 2019-06-21 16:31:20 BST):

Legato[932]: *EMR* | supervisor[932]/supervisor T=main | frameworkDaemons.c SigChldStartingHandler() 197 | **** SYSTEM IS UNWORKABLE ****

root@raspberrypi:~# 
Broadcast message from systemd-journald@raspberrypi (Fri 2019-06-21 16:31:21 BST):

Legato[928]: *EMR* | startSystem[928]/framework T=main | start.c RunCurrentSystem() 1802 | System will reboot now !

Is anybody aware of what could be the cause of this issue?

Thanks.

Hi @rmc,
I suggest you search into the forum similar topic about RPI 3, as there several of them which could help you .
I listed some of them

Best regards,

Unfortunately, our Raspberry Pi support is not up-to-date, and one of our main issue is that Legato doesn’t work on kernels 4.14 and above. This is a compatibility issue with SMACK and we are working on addressing that, but there is no testing of Legato on RPi at the moment.

we’re cross-compiling legato for a i.mx6 board based on a SoM by Toradex and see the same issue. Our kernel version is:
Linux colibri-imx6 4.9.144-2.8.5+g5758a8e648a3 #10 SMP Thu Jun 27 14:47:17 UTC 2019 armv7l armv7l armv7l GNU/Linux

We’re willing to try/patch stuff, but any hint would be very welcome.
Simon

Could you try with latest Legato version (19.11)?
It seems that SMACK should be disabled with some kernel 4.x versions.
See this commit:
https://github.com/legatoproject/legato-af/commit/b7795adbc9c6815eeca18d1f430bd782343054a5