I recently build an image for Galileo Gen 2 with BSP v1.2.1 following the provided guide. It boots properly and it seems to work as expected, but when I tried to run blink sketch it did not work. I thought it was related to hardware but this sketch runs fine on other images I have here. Another thing is, most of galileo pins don't respond to blink test, just pins 7 and 8 worked as expected. I tried to verify sketch persistence on one of the working pins (7 and 8) and my sketch did not start after boot.
Here's a sample of my boot log message
Starting Serial Getty on ttyS1...[ 21.988629] sketch.elf: segfault at 0 ip 0804bf5a sp bfdf5528 error 4
Has anyone faced this error before?
And quick question, the image generated with BSP1.2.1 is supposed to have mraa and upm libraries or node.js installed? Cause my doesn't have.
I did not modify this image, just followed the bsp guide. I builded under Debian Wheezy 7.10.
Here's the steps of my build:
sudo apt-get install build-essential gcc-multilib vim-common
Step 6 of BSP
sudo apt-get install git diffstat texinfo gawk chrpath lzop file patchutils
tar xvf meta-clanton...taz.gz
source ./oe-init-build-env yocto_build
**throw an error that a required package was not present...I downloaded it in other terminal session, got back to the terminal I was building adn reran the command**
All tasks succeed just fine.
Tha galileo booted properly. Really don't know what's wrong. Besides that node.js and mraa and upm libraries was supposed to be present in this build?
I understand, the BSP by default, does not include the packages for Arduino, mraa or upm, however the last two can be installed from the official repos. In order to add Arduino IDE compatibility, you will have to add the package to the image when building it.
Thank you for your answer. I was starting to get worried.
I'very found the repository for upmarket and mraa for i586.
But I don't know where to find or how to add the Arduino package to my build. Could you help me?
So just to clarify, if I build an image following the steps on BSP Build Guide 1.2.1 I would lose the Arduino side (e.g. run sketches from Arduino IDE). Is that correct?
I'm sorry for the delay in my response. We've been making some tests with an image created using the BSP 1.2.1 and it looks like the standard image should include the Arduino package but there's an issue that's causing it not to work. Please let us investigate about this.
Regarding mraa and upm, as you mentioned, they can be easily installed from a repo, so there's no need to add them to the image.
I will try to get back to you as quickly as I can.
Thank you for digging in this problem. Since I was not able to run sketches with my image built with BSP 1.2.1, I changed my build process source, ran some tests and here are the results.
Tested sketch upload and persistency on Galileo Gen2, using an image built with commands below (full tutorial in Portuguese on http://www.embarcados.com.br/galileo-yocto/ http://www.embarcados.com.br/galileo-yocto/ ) .
git clone -b devkit-daisy-1.6.1 git://git.yoctoproject.org/meta-intel-iot-devkit
source meta-intel-iot-devkit/iot-devkit-<span class="crayon-v" style="font-family: Monaco, MonacoRegular, 'Courier New', monospac...
Thank you for sharing this information with us, it'll be of much help during our investigation. I will update you as soon as we find something new. Meanwhile I'm glad to hear that you were able to upload sketches to your board.
Please keep me updated...it was important for me to be able to run Arduino sketches on BSP 1.2.1 (because of Linux 3.14).
Thanks again for your support.
We've been looking into this, but there's no conclusion yet. However, you might be interested in trying to build the latest BSP 220.127.116.11 ( https://downloadcenter.intel.com/download/23197/Intel-Quark-SoC-X1000-Board-Support-Package-BSP-) with the split layers method as mentioned in https://software.intel.com/en-us/blogs/2015/03/04/creating-a-yocto-image-for-the-intel-galileo-board..., it might give you better results.
I've just tested this new release of BSP and the problem persists. I'm able to successfully upload a sketch, but the board does not correspond to such sketch (e.g. when I upload Blink, the LED does not blink).
Thanks for the suggestion anyway .
Thanks for trying it. I'll keep investigating about this and let you know if I have an update or a new suggestion. I apologize for the issues this might have caused.