What can I do with IGEP AQUILA EXPANSION

From IGEP - ISEE Wiki

Revision as of 12:28, 18 November 2013 by Pau (talk | contribs) (How to use Ethernet)

Jump to: navigation, search
Igep community logo.png This is a work in progress article. Help other developers like you in the IGEP Community by improving it!


Overview

This is the 2/3 chapter of the Getting Started with IGEP AQUILA EXPANSION Tutorial Guide.

In this second chapter, we will learn some basics tasks. Upon completion, you will be ready to continue with chapter 3/3 that explains more advanced tasks.


What can I do

You must be connected to the board using serial interface.

How to use Ethernet

IGEP COM AQUILA uses lightweight SSH server dropbear to accept SSH remote connections.

In your open serial interface connection, find the private IP assigned via DHCP:

root@igep0033:~# ifconfig eth0 | grep "inet addr"
          inet addr:192.168.2.173  Bcast:192.168.2.255  Mask:255.255.255.0

In my case was 192.168.2.173. Connect to the board using the SSH protocol

 ssh root@192.168.2.173 

An empty password for root user should work to access to the shell prompt.

Flash internal memory

uSD firmware contains the roofs available to write the firmware to the flash memory.

  • Enter to the /opt/firmware and run the igep-flash script :
 igep-flash --machine igep0033 --image /opt/firmware/core-image-validation-igep0033-20130916081322.rootfs.tar.bz2 

When finish, power off your board, unplug the micro-SD card and power on the board. That's all, enjoy the new firmware running from the flash memory.

NOTE: You can speed up flash procedure. By default the flash script runs the nandtest command to mark bad blocks, this can take a long time and in most cases is not necessary, you can speed up the flash procedure running the script as follows:

igep-flash --machine igep0033 --skip-nandtest --image /opt/firmware/core-image-validation-igep0033-20130916081322.rootfs.tar.bz2

How to use audio HDMI

  • Download a WAV sample:
wget http://www-mmsp.ece.mcgill.ca/Documents../AudioFormats/WAVE/Samples/AFsp/M1F1-float32WE-AFsp.wav
  • Play the WAV sample:
aplay M1F1-float32WE-AFsp.wav

How to use LEDs

The board has three user leds available that can be controlled. In its simplest form, you can control of LEDs from userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands:

A detailed guide on how use GPIO-LEDS can be found by following this link: How to handle the gpio-LED

Control AQUILA COM Green LED

echo "1" > /sys/class/leds/com\:green\:user/brightness

You can turn them down using the same command and write '0' instead of '1'.

Control AQUILA EXPANSION Bicolor LED

echo "1" > /sys/class/leds/base\:green\:user/brightness
echo "1" > /sys/class/leds/base\:red\:user/brightness

You can turn them down using the same command and write '0' instead of '1'.

How to use Reset Button

Under construction

How to use EEPROM

How to use USB OTG

Under construction



You have successfully completed this chapter of the guide.


Continue this tutorial guide: 3/3 - Start developing under IGEP Technology
Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png