-
Notifications
You must be signed in to change notification settings - Fork 257
.Net Core Managed Gateway on Raspberry Pi #406
Comments
Hi Ali,
From the error it seems like some of the dependencies on the gateway is missing.
Make sure you copy all the dlls needed.
Look also for the native dependencies, not just the managed.
Let me know,
Angelo Ribeiro
…Sent from my phone
On Nov 5, 2017, at 9:14 PM, malichishti ***@***.***> wrote:
Hi,
I have created a .Net Core Console application with a manged Gateway inside it, using this nuget
I use Microsoft.Azure.Devices.Gateway.GatewayInterop to create the gateway, this works fine on a Windows machine but when i build and publish it for linux-arm and deploy it on Raspberry Pi it gives me following error[please note all the other .net core code works fine]:
The code looks like below:
PublishOutput.zip
is the zip file containing all the files in the Published output.
Can you advise on what is that i'm doing wrong?
Thank you,
Ali
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@aribeironovaes thank you for your reply. I have copied all the files that were there in the publish output folder. I also attached it above, you can see that it contains dotnetcore.dll as well. |
HI Ali, Unfortunately, by looking into your zip folder, I didn't find anything missing. Usually what I do is to run dependency walker (or similar) software to list all dependencies and than I start checking 1:1. Another approach you can take is filing an issue here: https://github.com/Azure-Samples/iot-edge-samples. This is the github for the team that owns the nuget package and samples for iot_edge. So, I would start trying to put their sample to run on a Raspberry Pi and from there you start introducing your changes. Sorry I couldn't help more, I will also try around here who lately have run this in a raspberry pi. Question, were you able to run our edge (native) version on the raspberry pi? Angelo Ribeiro. |
I have logged it here I haven't been able to run it on Raspberry Pi as the instructions here were for Ubuntu while Raspberry is Debian.
|
X64 (short for x86-64 bit) is NOT meant for Raspberry Pi, which has an ARM64 processor. Depending on your Linux distribution you would need ARM64 or ARM32 packages. If you would use Windows IoT Core then i think you would always need ARM32 packages since there is no public 64bit version of Windows IoT Core yet. |
Exactly.
You have to get arm bits.
…Sent from my phone
On Nov 6, 2017, at 11:56 PM, wind-rider ***@***.***> wrote:
X64 (short for x86-64 bit) is NOT meant for Raspberry Pi, which has an ARM64 processor.
I believe that currently Windows IoT core does not run in 64bit mode, so i think you would need ARM32 packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Are ARM32 packages publicly available? |
I'm not sure about that, but you can try to build yourself on the raspberry
pi.
Last person here that make that to work was David.
Give it a try, follow the instructions on how to build for Raspberry Pi and
try to use that.
Thanks,
Angelo Ribeiro.
…On Tue, Nov 7, 2017 at 12:06 AM, malichishti ***@***.***> wrote:
Are ARM32 packages publicly available?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#406 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AI75by66GVqxHV8IhCFB7xZpsgGKujWRks5s0A94gaJpZM4QSvqi>
.
--
---
Angelo Ribeiro
Msc - Federal University of Pernambuco
Team in Training Alumni Triple Crowned! :)
|
@aribeironovaes which instructions are you referring to? I haven't had any luck in getting a reply from https://github.com/Azure-Samples/iot-edge-samples |
Nops, Edge samples are samples that uses the packages (which I don't
believe we have for ARM).
I would have to search, but I believe we had some documentation that
teaches how to build for Raspberry Pi. (ARM).
BTW, I don't know if you see the announcement, but you can move to our v2,
which uses docker container and we have samples based on .NET Core. Just as
an alternative.
I'm sure that runs in a raspberry Pi.
Thanks,
Angelo Ribeiro.
…On Mon, Nov 13, 2017 at 10:14 PM, malichishti ***@***.***> wrote:
@aribeironovaes <https://github.com/aribeironovaes> which instructions
are you referring to?
I haven't had any luck in getting a reply from https://github.com/Azure-
Samples/iot-edge-samples
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#406 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AI75bz7D1z-d6NwZKNnYxjAWzQ8xDu1oks5s2S-ogaJpZM4QSvqi>
.
--
---
Angelo Ribeiro
Msc - Federal University of Pernambuco
Team in Training Alumni Triple Crowned! :)
|
The problem was iot-edge does not work on Raspian Stretch; it needs openssl 1.0.0 which is not available. I moved to Raspian Jessie and added the run-times to /usr/lib/ and it worked. Thank you |
Hi,
I have created a .Net Core Console application with a manged Gateway inside it, using this nuget
I use Microsoft.Azure.Devices.Gateway.GatewayInterop to create the gateway, this works fine on a Windows machine but when i build and publish it for linux-arm and deploy it on Raspberry Pi it gives me following error[please note all the other .net core code works fine]:
![image](https://user-images.githubusercontent.com/17155996/32426185-94cc83d0-c30c-11e7-8d09-08c1d7b374c3.png)
![image](https://user-images.githubusercontent.com/17155996/32426222-0174b386-c30d-11e7-81f2-587beea13122.png)
The code looks like below:
PublishOutput.zip is the zip file containing all the files in the Published output.
Can you advise on what is that i'm doing wrong?
Thank you,
Ali
The text was updated successfully, but these errors were encountered: