ひとりぶろぐ

価値ある情報をユーザー視点で発信するブログ

Intelのx86 CPU搭載「インテルGalileo開発ボード」をMacで試してみた

      2016/03/24

Intelのx86 CPUを搭載した開発ボードが登場!


Intelx86 CPUIntel Quark SoC X1000Galileo

GalileoArduino

ArduinoArduino

SDIM1229SDIM1229
Intel GalileoIntel Galileo使

Arduino  IntelGalileo
Intel


FreeT7,500

   Galileo 
IntelARM CPU



SDIM1266SDIM1266
What will you make?[more]

SDIM1265SDIM1265

Intel Galileo

AC


USBIntel GalileoAC

AC5V/2AUSB

SDIM1227SDIM1227
ANKER Astro M3 モバイルバッテリー 13000mAh 【Amazon限定セット】ハイパワー電源アダプタ付属モデル 2USBポート同時充電 iPhone5S 5C 5 4S/iPad Air/Galaxy/Xperia/Android/各種スマホ/Wi-Fiルータ等対応 大容量かつコンパクト 147x62x22mm (日本語説明書付) Astro M3+adapter
Anker (2013-09-08)
売り上げランキング: 1


CPUはIntel Quark SoC X1000


Intel Quark SoC X1000400MHz

32bitPentiumx86



IntelArduinoQuark X1000Galileo   | 

OSLinux


Intel Galileo8MBFLASH ROMLinuxIntel GalileoLinux
root@clanton:/media/sda1# uname -a
Linux clanton 3.8.7-yocto-standard #1 Tue Oct 1 00:09:01 IST 2013 i586 GNU/Linux

Arduino IDE


Intel GalileoIntel

Drivers | Intel Communities
IDEArduinoIntel Galileo

Skitched 20140111 232554Skitched 20140111 232554
GalileoArduino IDE ArduinoCPULinuxsystem()使

Intel GalileoIDE使

Intel GalileoMicroUSBMicroUSBUSB Client使USBIntel GalileoArduinoOS X

R0073695R0073695
ArduinoLinux


x86 CPUWindows HDMIAndroidRaspberry PiBeagleBone BlackCubieboardIntel GalileoUEFIWindowsMS-DOS



SDIM1242SDIM1242

Arduino 1.0


Intel GalileoArduino 1.0Arduino

SDIM1234SDIM1234

Ethernet


EthernetGalileoArduino IDEEthernet使GalileoLinux

SDIM1230SDIM1230
system()telnetdMicroSDLINUX IMAGE FOR SD for Intel GalileosshdEthernetIntel GalileoLinux

Mini PCIe


Mini PCIeWiFiWiFiGalileoArduino IDEArduino使

SDIM1260SDIM1260

MicroSD


MicroSDGalileoArduino IDEArduino使OS

SDIM1237SDIM1237
IntelLINUX IMAGE FOR SD for Intel Galileo使

Drivers | Intel Communities

USB Host


Arduino IDE使USB ClientUSB HostArduino IDEUSB Host

SDIM1255SDIM1255
USB HostSanDiskMicroSD/media/sda1

R0073703R0073703
root@clanton:/# cd /media/sda1
root@clanton:/media/sda1# ls
DCIM          Nintendo 3DS  test.txt
SANWA SUPPLY USBホスト変換アダプタケーブル(MicroBオス-Aメス) 10cm AD-USB18
サンワサプライ (2012-03-31)
売り上げランキング: 41

とりあえずファームウェアのアップデートから


Intel GalileoACMacIntel GalileoUSBUSBAC

Intel Galileo Arduino SW 1.5.3 on MacOSX

Drivers | Intel Communities
Intel Galileocu.usbmodem1a121tty.usbmodem1a121cu

Skitched 20140112 013022Skitched 20140112 013022
Firmware Update

Screenshot 2014 01 11 12 49 15Screenshot 2014 01 11 12 49 15


Screenshot 2014 01 11 12 49 36Screenshot 2014 01 11 12 49 36


Screenshot 2014 01 11 12 49 52Screenshot 2014 01 11 12 49 52
6

Screenshot 2014 01 11 12 55 11Screenshot 2014 01 11 12 55 11

LED


Intel GalileoLED1313LED

R0073696R0073696
01.BasicBlink

Skitched 20140112 014507Skitched 20140112 014507
LED

Intel GalileoReboot

Linux


Arduino使Intel GalileoLinux

Intel GalileoUSB Serial

SDIM1229SDIM1229


IntelLINUX IMAGE FOR SD for Intel Galileo

Drivers | Intel Communities
7zipThe Archive Browser使

Skitched 20140112 015418Skitched 20140112 015418
MicroSDDDMicroSD

Skitched 20140112 015555Skitched 20140112 015555
MacIntel GalileoMicroSD

R0073697R0073697
Intel GalileoEthernet

R0073700R0073700
Intel Galileo
void setup() {
}

void loop() {
  system("ifconfig eth0 > /dev/ttyGS0");
  sleep(5);
}

DHCPIP

Skitched 20140112 020537Skitched 20140112 020537
IPMacSSHroot
$ ssh root@192.168.1.125
root@clanton:~# ls /
bin         etc         lost+found  opt         sketch      usr
boot        home        media       proc        sys         var
dev         lib         mnt         sbin        tmp
root@clanton:~#



MicroSD/media/mmcblk0p1


LINUX IMAGE FOR SD for Intel GalileoMicroSD/sketch/ArduinoDaemonI/OLinuxI/O
root@clanton:~# echo -n "25" > /sys/class/gpio/export
-sh: echo: write error: Device or resource busy
root@clanton:~# echo -n "0" > /sys/class/gpio/gpio25/value
-sh: echo: write error: Operation not permitted

LinuxI/O
root@clanton:~# cd /sketch/
root@clanton:/sketch# ls
sketch.elf
root@clanton:/sketch# rm *
root@clanton:/sketch#

rebootRebootAC


WebWebI/O


I/OWebI/O

LINUX IMAGE FOR SD for Intel GalileoWeb

Node.jsPython2.7使Python使

/home/root/ltica.py

#!/usr/bin/env python

import SimpleHTTPServer
import SocketServer
import os

os.system('/bin/echo -n "39" > /sys/class/gpio/export')
os.system('/bin/echo -n "out" > /sys/class/gpio/gpio39/direction')
os.system('/bin/echo -n "1" > /sys/class/gpio/gpio39/value')

class MyRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
    def do_GET(self):
        if self.path == '/on':
            os.system('/bin/echo -n "1" > /sys/class/gpio/gpio39/value')
            self.path = '/on.html'
        if self.path == '/off':
            os.system('/bin/echo -n "0" > /sys/class/gpio/gpio39/value')
            self.path = '/off.html'
        return SimpleHTTPServer.SimpleHTTPRequestHandler.do_GET(self)

Handler = MyRequestHandler
server = SocketServer.TCPServer(('0.0.0.0', 8000), Handler)

server.serve_forever()

/home/root/on.html

ON

/home/root/off.html

OFF

/etc/init.d/ltica

#! /bin/sh
cd /home/root
/usr/bin/python /home/root/ltica.py &

exit 0

vi使init
ln -s /etc/init.d/ltica /etc/rc5.d/S20ltica

PythonWeb8000

http://192.168.1.125:8000/on13LEDhttp://192.168.1.125:8000/off13LED

Skitched 20140112 032035Skitched 20140112 032035
LEDWeb

R0073701R0073701


Intel Galileo Development BoardLED | KEI SAKAKIs PAGE.


Intel Galileo

ArduinoLinux

Intel

Intel Galileo使

Raspberry PiIntel GalileoLinux使Intel Galileo使

Linux
インテル Galileo 開発ボード GALILEO1
インテル (2014-01-11)
売り上げランキング: 30,587
Getting Started With Intel Galileo
Matt Richardson
Maker Media, Inc
売り上げランキング: 5,634

 - Intel Galileo, ガジェット