Arm6 Raspberry PI Zero - PI 1
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.
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.
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 ?
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.
Would love to see ARMv6 supported :)
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.
Any word on armv6 support? I have two pi zeros just waiting for a purpose..
@janvorli If the JIT is the problem, could we expect .Net Core on CoreRT to enable this?
@dcuccia CoreRT uses the same JIT compiler as CoreCLR so the problem remains.
@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?
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 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 ?
CppCodeGen is too incomplete for WebApi sample. Reflection and garbage collection would have to work first.
thanks @jkotas - but then a hello world and some basic IO/httpclient stuff will work?
httpclient is a pretty complex piece of code. You can give it a try, but I doubt that it would work with CppCodeGen today.
Is there any intention of providing the support for ARMv6?
I'm also very interested in seeing ARMv6 support. It seems that core is getting close, however I'm not qualified to judge well.
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?
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.
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 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$ !