Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP COM MODULE

39 bytes removed, 18:21, 20 April 2012
no edit summary
| bgcolor="#cccccc" |'''What can I do with IGEP0030'''
|-
| If you have '''successfully completed the [[Getting Started with IGEP0030 IGEP COM MODULE board|first chapter of this guide]]''', you can continue with this tutorial guide about IGEP0030IGEP COM MODULE.
|}
| [[Image:Igep0030.jpg|250px|center|link=Category:IGEP0030]]
|-
|'''1) [[What can I do with IGEP0030#Booting and setting up|Booting up IGEP0030]]'''
|-
|'''2) [[What can I do with IGEP0030#Updating the pre-installed software|Updating the pre-installed software]]'''
|-
|'''3) [[What can I do with IGEP0030#Flashing the software image|Flashing the latest firmware to the IGEP0020 flash memory]]'''
|-
|'''4) [[What can I do with IGEP0030#Connect to IGEP0030 via network interfaces|Connect to IGEP0030 via network interfaces]]'''
|-
|'''5) [[What can I do with IGEP0030#Basic instructions|Basic instructions]]'''
|-
|'''6) [[What can I do with IGEP0030#Send a file between a PC and IGEP0030|Send a file between a PC and IGEP0030]]'''
|-
|'''7) [[What can I do with IGEP0030#How to handle the gpio-LED's|Handle IGEP0020 LED's]]'''
|-
|'''8) [[What can I do with IGEP0030#Mount a MicroSD card|Mount a MicroSD card]]'''
|-
|}
This distribution consists on a '''minimal Linux-based distribution''' with a lite X Window System and GNOME Mobile based applications created with '''Poky Platform Builder'''.
In the previous chapter of this tutorial, we have booted IGEP0030 IGEP COM MODULE with its pre-installed software.
Once the board has booted up, you can log in into IGEP0030 via many interfaces. In the previous chapter of this tutorial we have used the USB Ethernet Gadget and the Wifi interface, but you can use many other interfaces when connecting IGEP0030 IGEP COM MODULE to an IGEP Expansion Board.
'''Boot priority'''
In fact, IGEP0030 IGEP COM MODULE can boot from many other devices (listed by priority):
# from USB
3) '''Create a MicroSD card''' in your external computer.
4) '''Plug the MicroSD card''' to IGEP0030 IGEP COM MODULE and boot from it.
|}
4) '''Plug the MicroSD card'''
Therefore, you are ready to try it. '''Plug the MicroSD card into IGEP0030IGEP COM MODULE''' and '''power up your board'''.
=== Flashing the software image ===
----
Now your IGEP0030 IGEP COM MODULE has the latest firmware '''running from MicroSD card'''.
But you might want to write the firmware to the flash memory, so '''you won't need the MicroSD card when booting''' the board. So let's do it.
''Note: The following process is assuming that your host PC is connected to IGEP0020 via USB Ethernet Gadget or via Wifi. If not, read the [[Getting Started with IGEP0030 IGEP COM MODULE board|previous chapter of this tutorial]].''
Enter to IGEP0030 IGEP COM MODULE using:
* root as login name
* an empty password
The software provided by ISEE has a script that flashes the content of your MicroSD Card to the flash memory in your IGEP0030IGEP COM MODULE.
You have to run this script, that is located at /opt/firmware directory. Open a Terminal and run:
./flash.sh
This will last a few minutes. When it is ready, unplug the SD card from IGEP0030 IGEP COM MODULE and reboot the board:
reboot
|}
IGEP0030 IGEP COM MODULE is '''compatible with many Linux distributions'''. In this tutorial we are using Poky Linux, which is the pre-installed software from ISEE.
In case you are not familiar with Bash instructions, here comes some basic instructions to help you startup with the board.
First of all, '''log in to IGEP0030IGEP COM MODULE''' with a console from your host PC (via serial port or via SSH), as shown previous sections in this article. Remember the default settings:
login: root
password: (none: press return)
Once you are logged in IGEP0030IGEP COM MODULE, run the following commands:
cd /
./example.sh
You can edit this file (example.sh) with 'vi', the pre-installed text editor in IGEP0030IGEP COM MODULE.
vi example.sh
=== Send a file between a PC and IGEP0030 IGEP COM MODULE ===
----
In a Linux host PC, you can '''use SCP (secure copy) via SSH to transfer files''' between IGEP0030 IGEP COM MODULE and your host PC.
We are going to use the default settings in IGEP0030 IGEP COM MODULE for USB Ethernet Gadget and Wifi.
''Note: This section is assuming you have successfully followed the previous chapters in this tutorial''
Now let's transfer a file called original.file from your host PC to the directory /home/root/ in your IGEP0030IGEP COM MODULE.
In your Host PC open Terminal and type:
You can repeat the process from the IGEP0030 IGEP COM MODULE console, and transfer a file from IGEP0030 IGEP COM MODULE to your Host PC.
| bgcolor="#cccccc" |'''Overview'''
|-
| Using IGEP0030 IGEP COM MODULE LED's with the associated platform device at /sys/devices/platform/leds-gpio/leds/
|}
IGEP0030 IGEP COM MODULE has many devices that can be controlled using '''simple instructions'''.
In this tutorial, we are going to use the '''4 LED's available in the board''', which probably is the most simple feature in the board, but sometimes you may want LED's to be a way of checking the status of some of your applications.
You can easily '''turn LED's on and off''' using the 'echo' instruction.
Log into IGEP0030 IGEP COM MODULE (via serial port or via SSH, as shown before), and run the following commands to turn LED's on:
<pre>echo 1 &gt; /sys/devices/platform/leds-gpio/leds/d210\:green/brightness
echo 1 &gt; /sys/devices/platform/leds-gpio/leds/d440\:red/brightness
</pre>
You can turn them down using the same command and write '0' instead of '1'. (Note: read [[What can I do with IGEP0030#Known issues|known issues]] below)<br>
If you want to trigger the leds you can enable this mode and select the trigger source (none by default) to: mmc0, mmc1, timer, heartbeat and default-on.<br>
= Known issues =
*In the IGEP0030 IGEP COM MODULE Revision E, the D440 Green LED does not turn off completely due to hardware configuration.
}}
[[Category:IGEP0030IGEP Technology Devices Guides]]
[[Category:Tutorials]]
[[Category:Work in progress]]
0
edits