11/12/2020 3:46 PM | |
Posts: 18 Rating: (0) |
Hello, I am pretty new to all of this kind of stuff, and have been battling with IOT2040 builds for the last three weeks. Overall, what I need is an image for the IOT2040 that can run Node-Red and InfluxDB (or possibly another equivalent time-series data collector). I have built, or tried building, several different builds trying to make an image where I can customize the programs on it. I tried the Yocto Mega-Manual Build here as well as the meta-iot2000 build on Github here . I also used the example image that Siemens provides and tried downloading InfluxDB as a 32-bit download and run it but get the error message about MMX support. I have seen one or two patches that claim to allow MMX support but they're 3 years old and I am not even quite sure which builds they refer to (or if they're universal?) like I said I am pretty new. Any help in the general direction of what the best and most recent build and corresponding patches to allow me to run MMX would be greatly appreciated. Thanks |
11/12/2020 5:14 PM | |
Joined: 4/28/2015 Last visit: 4/21/2024 Posts: 578 Rating: (43) |
Please have a look at https://support.industry.siemens.com/tf/ww/en/posts/steps-to-generate-binary-in-golang-to-run-in-iot-2040/249134/?page=0&pageSize=10 for the "Go story" on the 2040. |
Last edited by: jan-k at: 11/12/2020 17:15:24 |
|
11/12/2020 6:07 PM | |
Posts: 18 Rating: (0) |
So based on that, it sounds like I need to not use Rocko or use an older version of Rocko in order to use the older 1.6 or 1.8 Golang patches? Is this correct? If so can you point me in the right direction for steps on how to do this. I am also using a Windows computer and have been using VirtualBox to run a Linux system. |
11/13/2020 12:47 PM | |
Joined: 4/28/2015 Last visit: 4/21/2024 Posts: 578 Rating: (43) |
Rocko was the Yocto revision to move to Go 1.9, and that is where we lost track of the (always only experimental) Go support. You need at least the recipes to build Go 1.8 (with the patches from meta-iot2000-bsp), and then you need Go applications that are fine with 1.8. No idea if that will work with InfluxDB and Grafana. See the warning at https://github.com/rufnut/golang-go_no-mmx (which may also give you newer Go - but still no InfluxDB). In addition, keep in mind that, if your performance needs are too high for the IOT2040, even a working setup may not be satisfactory. If your workload runs fine with a Raspbery Pi 1, roughly, it may map on the IOT2040. If not, go directly for the 2050 or a small IPC. |
11/16/2020 9:21 PM | |
Posts: 18 Rating: (0) |
Ok so I have a few questions to ask before I try this out. Sorry if they are simple or poor questions but I am doing my best to follow along... I will put into place the patches on the Github page (which looks like just editing some .inc or .conf files?) Then do I need to rebuild the image or anything before I can try to implement a Go application (like InfluxDB)? Also please let me know if other than these two steps if there is anything else I need to do before being able to test it out. We already have the IOT2040 purchased so would like to try everything possible before buying the 2050 or something else. Thank you |
11/19/2020 9:21 AM | |
Joined: 4/28/2015 Last visit: 4/21/2024 Posts: 578 Rating: (43) |
Let's start like this:
|
Follow us on