Setting up the Galileo board for the first time... after days of frustration I'm hoping someone has a clue... I'm also hoping to start a road map that will not only get me going but will save others endless days of frustration so they wont just give up.
I have been a developer for years... done many Arduino projects and I just can't believe the complication of this setup.
My Goal--> Setup a bootable SD card with OpenCV to communicate to the Arduino side to control hardware
So first thing, I setup Ubuntu 14.04 in virtualBox...
Download packages from here...
After downloading the packages I went here to get the instructions on setting up the cross compiler...
3 days of pounding my head to realize the BSP package wont build with bitbake because the version of tar(1.2.7) can't handle the -c parameter.
Made a new virtual image with Ubuntu 12.04 with tar(1.2.6) .
re-downloaded all the packages...
Spent hours waiting for the bitbake build to complete... then when it was done I ran into issues because my OS is 64 bit and there were some compatibility issues when cross compiling
Made a new virtual image with Ubuntu 12.04 32 bit
Did a bunch of others steps
Re-re-downloaded all the packages
Cross compile finally worked
But after running "bitbake image-full -c populate_sdk" the deploy directory contained nothing to load on the SD Card... but the cross compiler worked
Installed the Arduino IDE to program the board... You think things would just work... not so... turns out virtualbox can't map the USB port to /dev/ttyAMC0
/dev/ttyAMC0 does not exist just /dev/ttyS3
So I got the windows side working so I could upload sketches
I made a share to the SD card and mounted it inside Ubuntu, extracted the files from LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z to the SD card
Plugged the SD card into the Galileo and restarted it...
nothing... I have no idea how to validate if anything happened
So here are my questions and concerns...
1) How in the world do I know the image on the SD card is working if at all?
2) How can I get my cross compiled code using OpenCV on the SD image?
3) How can I get my cpp code on the SD image to talk to the Arduino side of the board?
4) When I ran "bitbake image-full -c populate_sdk" the deploy directory did not have an image in it like the documentation suggested... what do I do now?
5) Where do I incorporate my code into the bitbake image?
I couldn't find these answers anywhere in the documentation or posted anywhere else on the internet. I'm convinced that the best developers in the world would be stumped at the complication of putting all these pieces together.
Any help would be greatly appreciated.
Kindest Regards,
Hal