@Chris-Stratton yeah, that'll be a platform based Go 1.8 with server and agent (on each device), once device gets up it registers itself by sending its IP address, geocode if available, etc. And using server you can distribute configuration, software updated among registered devices.
Posts made by Denys Makogon
RE: Interest in building self-service platform for Onion Omega devices?
Interest in building self-service platform for Onion Omega devices?
As far as we all know each Omega ships with its own app named OnionConsole, that is represented as web app with pretty UI to allow remote Onion management.
But think of a use case when you need to manage simultaneously more than one device. My idea is to build a self-service platform that is responsible for device discovery, centralized configuration and software updates.
RE: [Success] Go 1.8 cross-compiling for Onion Omega 2 MIPS32LE
@José-Luis-Cánovas will do, if you can do it faster, feel free to make a pull request.
[Success] Go 1.8 cross-compiling for Onion Omega 2 MIPS32LE
Hello to All.
Recently i was able to perform cross-compiling for Onion Omega 2 with Golang go1.8rc3.
Full article you can find here. FYI, official Go 1.8 release will happen in next 8-10 days.
RE: Guide to cross compilation for Omega2 ?
@simon with recent Go 1.8 release i was able to compile and run code (mux simple server) on my MacBook Pro late '15. So, there's no need to have
gccgotoolchain or whatever you've need before.
Take a look at this https://github.com/denismakogon/OnionIoT-Omega2
FPU support in Omega2?
I've been developing a lot code on Go and recent release 1.8 (it would happen in 10 days) and it would support cross-compiling for MIPS32 arch:
Go now supports 32-bit MIPS on Linux for both big-endian (linux/mips) and little-endian machines (linux/mipsle) that implement the MIPS32r1 instruction set with FPU or kernel FPU emulation. Note that many common MIPS-based routers lack an FPU and have firmware that doesn't enable kernel FPU emulation; Go won't run on such machines.
See more info here.
But here's a problem MIPS32 24k doesn't have FPU:
It’s a MIPS 24Kc CPU and supports up to the mips32r2 ISA, so far good. But what you don’t see is that the chip doesn’t have a FPU. So while a primitive Hello World C application runs just fine, once you start using Floating Point (FP) instructions it’ll crash with the aforementioned exception.
See this article.
So, my question is, does Omega2 support FPU or it doesn't?
The reason why i don't want to mess with
gccgois that i'd need to build custom firmware and would need to support it for a long time.