0
edits
Changes
no edit summary
|-
|4) '''Connect to IGEP0020 from network interfaces'''
|-
|5) '''Handle IGEP0020 LED's'''
|-
|n) '''Installing other distributions to IGEP0020'''
ifconfig
This will '''list all the enabled network interfaces ''' in your IGEP0020. We are going to '''focus on 'eth0''''. This is the ethernet interface in your IGEP0020, which is the interface we will '''connect to from our host PC'''.
Now, let's '''set an static IP ''' to this interface in IGEP0020, for example: 192.168.6so we will be able to reach the target from the PC.2
Type the following command in your serial console:
ifconfig eth0 192.168.6.12 Next, set an '''IP within the subnet''' in your host PC, for example: 192.168.6.3 Then, run a '''SSH client''' such '''Putty''' and start a SSH session to the target from your host PC. You can download it from its official page at: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Install and run Putty. It will look like this:
[[Image:Putty ssh.png|center]]
# Select the '''SSH''' at connection type.# Next, set an insert the '''IP within address of the subnet in your host PCtarget'''. In this case, for example: the IGEP0020 IP you have already set (192.168.6.3).# Ensure that the port is set to '''22''', the default for SSH communications.# Finally, push the '''Open button''' to start the SSH session.
= How to handle the gpio-LED's<br> == Basic instructions in Linux ===(Work in progress article. Coming soon!)
<pre>echo 1 > /sys/devices/platform/leds-gpio/leds/d240\:green/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/d240\:red/brightness
echo 1 > /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'.
'''Other functionalities'''
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>
To enable any of this modes you just have to change a parameter in the directory of the led you want to control. You can see all the possibilities using the instruction 'cat':<br>
<pre>$ cat /sys/devices/platform/leds-gpio/leds/d240\:green/trigger
[none] mmc0 mmc1 timer heartbeat default-on
</pre>
In the example above, we have checked the status of the trigger in led D240:green. Mode 'none' is selected.
To change it, for example, to the timer mode you can use 'echo':<br>
<pre>echo timer > /sys/devices/platform/leds-gpio/leds/d240\:green/trigger
</pre>
In this case, we have set the trigger to the 'timer' mode. Now you can set the time for what the led is ON and the time it is OFF using:<br>
<pre>echo 250 > /sys/devices/platform/leds-gpio/leds/d240\:green/delay_on
echo 750 > /sys/devices/platform/leds-gpio/leds/d240\:green/delay_off
</pre>
Now the selected led is configured with a timer consisting of 250 miliseconds ON and 750 miliseconds OFF.
=== Transfer a file to the board via network ===(Work in progress article. Coming soon!) === Mounting the MicroSD Card ===(Work in progress article. Coming soon!) === How to use RS-485 ===---- {| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-| Follow the link to the extensive article: [[How_to_use_RS485_on_IGEP0020_board|How to use RS-485 on IGEP0020 board]]|}
{| cellspacing= How to get sound out (audio out) "0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-| Use: aplay sample.wav|}
The amplifiers for the headset output are disabled by default, so the first thing you'll do is enable these amplifiers with
aplay sample.wav
=== How to get sound in (audio in) === {| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-| Use: arecord -t wav -c 2 -r 44100 -f S16_LE -v audio-in.wav|}
You can record audio in with
When ever you think you want to stop just press CONTRL+C
= Developing under IGEP Technology =
Visit the following link and '''start [[Start developing under IGEP Technology|developing under IGEP Technology]]'''
* Cross compiling (hello world program)
* SDK tools
* Linux distributions
* Mux configuration
* Kernel modules
* Run at startup applications
* The main components of the preinstalled software of your IGEP0020:
** Bootloaders
** Kernel
** Root File System
** Kernel Modules
[[Category:IGEP0020]]
[[Category:Tutorials]]