runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Arm6 Raspberry PI Zero - PI 1

Open olegsavelos opened this issue 9 years ago • 174 comments

Is there any effort in place to bring support for the ARM6 platform? I think the PI Zero is perfect platform for lots of different IOT projects and it would be quite a shame if there is no support for it.

olegsavelos avatar Mar 31 '17 09:03 olegsavelos

No, there is no such effort. Probably the biggest problem that would need to be solved is that JIT doesn't support ARM6 Thumb instruction encoding.

janvorli avatar Mar 31 '17 11:03 janvorli

So what should i expect ? Is there is any chance there will be commitment from the community or MS to bring Arm6 support or the only way is Mono ?

olegsavelos avatar Apr 03 '17 19:04 olegsavelos

I would be fantastic if there is support for ARMv6 cpu like Pi Zero and Pi Zero W. For some use cases there is no need to use a more powerful ARMv7 like Pi 3.

alberk8 avatar May 17 '17 02:05 alberk8

Would love to see ARMv6 supported :)

pksorensen avatar Sep 10 '17 08:09 pksorensen

I agree you should include support for ARMV6. I want to run dotnet core in the Pi Zero right now I'm stuck with mono.

ivpadim avatar Nov 09 '17 03:11 ivpadim

Any word on armv6 support? I have two pi zeros just waiting for a purpose..

jklaus avatar Dec 22 '17 03:12 jklaus

@janvorli If the JIT is the problem, could we expect .Net Core on CoreRT to enable this?

dcuccia avatar Mar 26 '18 03:03 dcuccia

@dcuccia CoreRT uses the same JIT compiler as CoreCLR so the problem remains.

mikedn avatar Mar 26 '18 08:03 mikedn

@dcuccia, @mikedn the corert has a mode in which it compiles into C++, so that could solve the problem. However, I have lost track on how much stuff actually works in that mode. @jkotas can you please provide some details on that?

janvorli avatar Mar 26 '18 12:03 janvorli

CppCodeGen runs simple programs (hello world, etc.). From https://github.com/dotnet/corert#platform-support : The big missing features are reflection, garbage collection, and exception handling.

I agree that CoreRT + CppCodeGen would a good option for platform reach.

jkotas avatar Mar 26 '18 16:03 jkotas

@jkotas Do i read this correct - following the example from corert -> https://github.com/dotnet/corert/tree/master/samples/WebApi i can compile that with cppCodeGen and it can run on my rasp pi zero?

Or will it still fail due to only having ARMv6 ?

pksorensen avatar Mar 26 '18 20:03 pksorensen

CppCodeGen is too incomplete for WebApi sample. Reflection and garbage collection would have to work first.

jkotas avatar Mar 26 '18 20:03 jkotas

thanks @jkotas - but then a hello world and some basic IO/httpclient stuff will work?

pksorensen avatar Mar 26 '18 22:03 pksorensen

httpclient is a pretty complex piece of code. You can give it a try, but I doubt that it would work with CppCodeGen today.

jkotas avatar Mar 26 '18 22:03 jkotas

Is there any intention of providing the support for ARMv6?

nhuurnink avatar Jul 26 '18 12:07 nhuurnink

I'm also very interested in seeing ARMv6 support. It seems that core is getting close, however I'm not qualified to judge well.

metanoic avatar Aug 11 '18 13:08 metanoic

Adding my +1 for ARMv6 support. The price gap between rPi0w and rPi3 is $25, making the Pi Zero W far more useful for IoT projects where a lot of devices are used. Is it possible for us to reuse some code from Mono for this?

shravan2x avatar Aug 27 '18 18:08 shravan2x

And I am also inclined to agree. There is an even bigger community that wants to run a much better Linux on the Pi, including the Pi Zero then just their community supported releases.

DoctorWho8 avatar Aug 28 '18 18:08 DoctorWho8

This goes far beyond the Pi/Zero, for what it's worth. Supporting ARMv6 opens the doors to a vast array of microcontrollers. Having .NET available as a choice in that ecosystem would be of large significance, and would provide substantially more interest/coverage on the IoT aspects of CoreRT.

I would consider this step 1 in a sequence that would eventually see .NET as an option for programming in real-time operating systems. In other words, please don't simply equate ARMv6 support with Raspberry Pi Zero support, as it goes much farther than that in the immediate sense (many other MCU's that use that instruction set, and it's not going anywhere any time soon for low power/cost MCUs), and worlds beyond in the more abstract sense (e.g. seeing a CoreRT PAL target for FreeRTOS or similar).

metanoic avatar Aug 28 '18 19:08 metanoic

@metanoic I fully agree with you. And this would help the porting of IoT Edge as well (https://github.com/Azure/iotedge/issues/12)

We should have an IoT Platform in our hands for less than 10$ !

ghost avatar Sep 20 '18 09:09 ghost