At long last, I set up full featured Linux image on my Galileo.
Until now, I’ve just used my Galileo as a python web server without function of Arduino pin control on my customized Linux image. But finally I enabled Arduino pin control function through GPIO. So I can handle the pin control and full featured Linux with cool command, apt-get!
It’s easy, but it would take some time. Here are the instruction links I’ve followed.
1.Setup Debian Linux on Galileo
2.Control Arduino Pins with Python
Especially, the third step took over 10 hours! My laptop was obsolete though.
Anyhow, this instructions are well documented, so there won’t be many troubles during the process.
But for who wants time saving, I share the prebuilt images here.
The first one is the Debian Linux image, enabled Arduino pin control.
Just extract the 7z file on your SD card root. And the password of ‘root’ account is ‘1234’. You may need to change it.
The second image is for who want to build it by themselves except the third step. (like I said, it took 10 hours for me).
It’s a Yocto Linux image I built. Check the second step for details.
Enjoy your Arduino life!
My Galileo is turning on and off the LED on pin 13
“Intel Galileo Full Featured Debian Linux Prebuilt Image”의 9개의 생각
I copy files to SD and after it i can to connect to the board by IP (after binding ip-to-mac on router)?
You mean, you can not connect to your Galileo?
How did you connect to your Galileo? You need a serial cable like this.
and then connect through Serial Port.
I have followed the tutorials 1 and 2 to make the Galileo work in Debian with ros.
But now I have problems with the GPIO. Only GPIO 0-16 (according to the table in http://www.malinov.com/Home/sergey-s-blog) seem to work. And that means I can only make the led blink but I can not use the digital pins.
In http://wiki.ros.org/IntelGalileo/IntelGalileoGPIO#I2C_and_PWM it is said that the kernel needs to be compiled with i2c_std_mode = 1. And they suggest to change to Yocto.
Did you make them work in Debian? Or I have to change to Yocto?
That’s why I had to build Yocto as well even though I followed the Debian way. I built Yocto with the “i2c_std_mode = 1” and copied it’s library files into my Debian image.
You can see more details in here, in the section “6. I2C and PWM.”.
But building Yocto takes several hours… so you can also use my prebuilt image that I put up on this post.
I tried the pre-built Galileo linux image, and tried to upload this sketch : https://learn.sparkfun.com/tutorials/galileo-getting-started-guide/using-the-terminal to get the terminal to work on reboot .. but it does not let me use upload ( I am using USB which I used fine for other sketches and when the sD card is not in with the prebuilt image .. is there a step missing since I cannot get at this linux build either through putty or ssh
I tried using the “Galileo Debian Linux” but could not get to linux via the terminal through putty or ssh (*using usb or ethernet, both worked with intel’s image,and what’s on the galileo) Is there a step I am missing other then copying it to the uSD and rebooting?
Unfortunately, once you use this pre-built Image, you can not upload your sketch on it. Instead, you can connect to it via ssh, and run some python scripts. so, if you want to connect to it via ssh, check this link https://communities.intel.com/thread/46335 , and the section 2.
First, Roll back the pre-built Image on the Galileo temporally and Run the script that you downloaded from the link. Then you can find out the ip address of the Galileo board. You can connect to pre-built image via ssh with the ip address.
why u need ro build yocto image when u have the debian image.I tried the yocto build process,spend pretty much time
I downloaded and installed the Debian Linux pre-built image and found out that teh hostname was not properly set and that eth0 did not come up. ifconfig states that eth0 is not found.
Has anyone else had this problem? If so, how is it solved?