# Raspberry Pi 3 - Framework Issue

**URL:** <https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448>\
**Category:** Uncategorized\
**Created:** [June 21, 2019, 3:37pm UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448 "2019-06-21T15:37:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmc](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rmc](https://forum.legato.io/u/rmc)\
**Post date:** [June 21, 2019, 3:37pm UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448/1 "2019-06-21T15:37:33Z")

</div>

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](https://docs.legato.io/latest/raspbianMain.html)

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

```bash
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.

---

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.legato.io/u/plu)\
**Post date:** [June 27, 2019, 9:01am UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448/2 "2019-06-27T09:01:16Z")

</div>

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

> [@Platform Build error for raspiberry pi 3](https://forum.legato.io/t/platform-build-error-for-raspiberry-pi-3/2559):
>
> Hi, I am unable to build the legato platform for raspberry pi 3 for for frameworks 16.10.3 and above on a Ubuntu 16.04 machine. Installed all the necessary tools mentioned at [here](http://legato.io/legato-docs/16_10_3/basicBuildLegato.html) Cloned the raspberry pi tools and set the environment variables in the .bashrc file as below: Then execute the command source ~/.bashrc. I downloaded and unzipped the legato framework tar file. cd into the unzipped file and executed make bin/legs make raspi But I get this error for al…

> [@\[Solved\]Permission denied while installing legato on Raspberry pi 3](https://forum.legato.io/t/solved-permission-denied-while-installing-legato-on-raspberry-pi-3/2500):
>
> Hi, I am new to Legato and are trying to install the legato framework on raspberry pi 3 platform. As per the Raspbian info page on legato, I installed the the raspbian lite jessie on the pi and also rebuilt the kernel with the configurations mentioned in the page. After which I proceeded to install the legato framework by executing the following command: mkdir /mnt/flash But this is the error I get: mkdir: cannot create directory /mnt/flash : Permission denied Can anybody please tell what …

> [@How to get started with Legato on Raspberry Pi3](https://forum.legato.io/t/how-to-get-started-with-legato-on-raspberry-pi3/2773):
>
> I am a newbie. I would like to know what are the steps to get a quick startup with Legato AF running in my Raspberry Pi 3. I want to experiments some of the features that Legato is promoting such as IPC scheduling and kernel modules’ support. Can you please let me know if there is a support for RP3? and if so, can you please let me know what are the steps to follow. I have been looking at the docs and there is an option with make “make raspi”, but I could not get it to make in my host ubuntu mac…

Best regards,

---

<div class="post-metadata">

**Author:** ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)\
**Post date:** [July 3, 2019, 12:09pm UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448/3 "2019-07-03T12:09:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![svogl](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/svogl/32/734_2.png) [@svogl](https://forum.legato.io/u/svogl)\
**Post date:** [August 9, 2019, 6:26am UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448/4 "2019-08-09T06:26:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JayM2M](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JayM2M](https://forum.legato.io/u/JayM2M)\
**Post date:** [January 30, 2020, 10:01am UTC](https://forum.legato.io/t/raspberry-pi-3-framework-issue/4448/5 "2020-01-30T10:01:39Z")

</div>

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](https://github.com/legatoproject/legato-af/commit/b7795adbc9c6815eeca18d1f430bd782343054a5)
