Intel Galileo development documentation

Intel Galileo development Documentation

Author:Liutianchen 1552227, Department of Computer Science,Electronical and Information Engineering Institution of Tongji University

Page's permanent Address:http://www.cnblogs.com/liutianchen/p/6357625.html

Please Narrow the browser window to get better reading experience


Section 1 StartUp


Prerequisites and IDE installation

Before starting the development of Intel Galileo,there are several preparations to make.The software recommended to be download are as follows

  • Intel Galileo Arduino IDE
  • CDM WHQL Certification -Drivers for the serial ports on the board
  • PuTTY -the SSH client for the communication between the board and computer
  • IoT devkit prof dev image galileo - the official linux system image published by Intel for The Galileo board
  • Win32 Disk Manager -to flash the system image to the board. The Linux system image is not an ISO file, so the UltraISO is invalid

Due to the fact that the source of intel is not stable enough, the online installation is never recommended. Predownloading will save time. I prefer to download the software for win and linux and save them together.

The IDE setup and win32 setup is user friendly, there is no need to descript more. The following operation is assumed execute on Windows 10

After the installation, we need to configure the software

WARNING:Before connected to computer, the power must be plug-in Because the DC-AC chip on the board TPS652510 have to suffer high eletricity on plug-in the power. If other ports connected before the power on. It is extra possible to damage the board.

Configuration the Intel Galileo Arduino IDE

Tools->Board->Intel Galileo Board Gen 1/2

Open the Device Manager(Win + X,M),check the COM item,if there is USB SERIAL PORT(COM?),remember the No.

Go back to the IDE

Tools->Ports->COM?(That No.)

Till now, the Intel Galileo IDE has successfully connected to the Board


Update the board firmware and flash System

Here is how to flash the official system to the board

Actually, it is not a standard Linux system. Yocto Linux is a series of utilities which are served for the establishment of a new-build Embedded Linux System . The official system image is the Yocto Linux compiled with Intel Galileo Drivers which can startup the board and accompish some basic task

To flash the image to the board

  1. Download the image
  2. Connect the microSD card to your PC
  3. use the tool Win32 Disk Manager to flash the system into the card
  4. Insert the card into the board and power-on the board

It is rather simple,isn't it?

Unfortunately, the Galileo Gen1 doesn't provide video output such like VGA or HDMI (like some PI). Because the board is applied to the occasion without display demand

So, to visit the system, use the tool above PuTTY via the port like 3.5mm earphone port. Set the port NO. referred in the Windows Device Manager as the connector between PuTTY and board via SSH protocol and set the speed 115200. CLick login, there would appear the login window. The origin code is blank so just press enter twice. And then you already logged in the "Pseudo Linux Environment" on the board.


Flash Precompiled Debian Image to SD card

If there is requirement of some utilities and functions constructed in the Standard Linux, it is necessary to build up the Debian Linux onto the board To exert the full potential of the board, the Debian system is the most efficient and effective Linux distribution that recommended

To flash the Debian Linux onto the board, 3 steps is enough

  1. Download the precompiled debian linux image from https://sourceforge.net/projects/galileodebian
  2. Unzip the package and download Rawrite32, connect the object SD card to PC
  3. Start NetBSD Disk Manager (RaWrite32.exe),choose the downloaded image and the SD drive, click Write to disk

Then plug the SD card to the galileo board and restart the board(poweroff and poweron), the Grub boot will check if there is boot partition on the sdcard first before booting from local flash chips

WARNING: Due to the fact that the processor carried on the board is designed for the low-energy-cost scene. The process of start up and some instruction such as "apt-get update" would be extremely slower than the experience on PC or laptop. Please avoid the execuation that cost huge system resources, and try to finish more preworks on the host computor

To connect to the Internet

  1. Plugin the Ethernet Port
  2. Make sure the route has set up DHCP service
  3. Restart the network service on board

In Yocto Project system, service is not supplied.Please execute: /etc/init.d/networking restart to restart network service file,config files will catch distributed netport automatically


Section 2 Arduino Peripherals : Grove - Starter Kit Plus


Intel Galileo Gen1 use the Base Shield to communicate with Groove instruments, the function of base shield seems like the GPIO board

To start the peripherals development and implement your ideas, download the SketchBooks from Seeed Studio Git Page, you can search Arduino or Galileo.

  1. Unzip the downloaded files to a achived repositary
  2. Open the Intel Arduino IDE
  3. Connect the board to your PC, check the COM Port is exist
  4. Click File->Preference->Browse the sketchbook locationand select your unzip repositary

Then click the sketchbook index, there will be a list of examples present the Method to drive the peripherals


Section 3 Yocto Project


Yocto Constructure

Yocto project includes a series of tools for the embedded development

    1. Poky
    2. 元数据集
    3. 板卡支持包
    4. BitBake
    5. Hob
    6. EGLIBC
    7. 应用程序开发包-ADT
原文地址:https://www.cnblogs.com/liutianchen/p/6357625.html