Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for installing on Gen 1 and Gen 2? #2

Closed
rwaldron opened this issue Aug 8, 2014 · 5 comments
Closed

Instructions for installing on Gen 1 and Gen 2? #2

rwaldron opened this issue Aug 8, 2014 · 5 comments
Labels

Comments

@rwaldron
Copy link
Contributor

rwaldron commented Aug 8, 2014

Are there any straight forward, step-by-step instructions for getting mraa onto either/both Gen 1 or Gen 2 boards?

@arfoll
Copy link
Contributor

arfoll commented Aug 11, 2014

If you use an eglibc based yocto image you can use this repository which will work for Gen1 & 2.

http://iotdk.intel.com/repos/1.1/intelgalactic/

@rwaldron
Copy link
Contributor Author

Finally getting a chance to actually try this now.

  1. "eglibc based yocto poky image that supports opkg" (from readme)
  2. Installation via the instructions on the readme appear to complete successfully, however attempting to run any of the JavaScript examples results in: Error: Cannot find module 'mraa'
  3. Installation via wget http://iotdk.intel.com/repos/1.1/intelgalactic/libmraa0_0.4.4_i586.ipk; opkg install libmraa0_0.4.4_i586.ipk has the same result.

2 and 3 lead me to believe that I'm wrong about 1, but hopefully someone can verify.

@arfoll
Copy link
Contributor

arfoll commented Sep 2, 2014

@arfoll arfoll closed this as completed Sep 2, 2014
@rwaldron
Copy link
Contributor Author

rwaldron commented Sep 2, 2014

@arfoll what's the difference? Why isn't LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.2.zip sufficient? I've been waiting patiently just to be told to use some other image that isn't documented on the repo?

@arfoll
Copy link
Contributor

arfoll commented Sep 2, 2014

Consider that image a preview. Honestly without testing it's hard to know but that image should work too, the problem is likely the node module gets placed in /usr/lib/node_modules/ instead of /usr/lib/node. This is because a previous version of node seemed to want it in node_modules. I guess I should change that once and for all in the CMakeLists.txt file.

See the simlink creation here: http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit/tree/meta-iot-devkit/recipes-core/images/iot-devkit-image.bb?h=devkit-daisy-1.6.1&id=3c02ad4d14a2099ba62c89d20c1e20c876d56c47

However I can't be sure off the top of my head but I can tell you that image will work :)

arfoll pushed a commit that referenced this issue Oct 26, 2015
Closes #330.

Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants