Changes

What can I do with IGEP0020

3,452 bytes added, 17:54, 5 March 2012
no edit summary
__NOTOC__
 
{| cellspacing="0" cellpadding="5" border= Preinstalled software "1" align="center" style="text-align: left;"|-| bgcolor="#cccccc" colspan="3" | '''What can I do with IGEP0020'''|-| [[Image:Igep0020.jpg|250px|center|link=Category:IGEP0020]] |--|1) '''Booting up IGEP0020'''|-By default, |2) '''all brand new IGEP Processor Boards have a firmware Updating the pre-installedsoftware'''|-|3) ' on its ''Flashing the latest firmware to the IGEP0020 flash memory.'''|-|4) '''Connect to IGEP0020 from network interfaces'''|-|5)|-| ) '''Installing other distributions to IGEP0020'''|-|}
That means that if you power up your board it will run a Linux distribution provided and installed by ISEE.
This distribution consists on a '''minimal Linux=== Booting and setting up ===----based distribution''' with a lite X Window System and GNOME Mobile based applications created with '''Poky Platform Builder'''.
{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"
|-
| bgcolor="#cccccc" |'''Pre-installed software'''
|-
|By default, '''all brand new IGEP Processor Boards have a firmware installed''' on its flash memory.
'''That means that if you power up your board it will run a Linux distributions'''distribution provided and installed by ISEE.|}
In this tutorial, we are going to use the pre-installed software in your IGEP0020, that is the Poky Linux.
But if you wish, you can always update This distribution consists on a '''minimal Linux-based distribution''' with a new or a different distributionlite X Window System and GNOME Mobile based applications created with '''Poky Platform Builder'''.
If you are familiar with Linux Kernel and distributionsIn the previous chapter of this tutorial, you can check out the '''[[:Category:Software distributions|Software distributions]]''' category at the IGEP Community Wiki to get many other distributions for your we have booted IGEP0020with its pre-installed software.
OtherwiseOnce the board has booted up, we are now going to introduce it asks for a login in the main components of serial debug port. You can log in into IGEP0020 via the preinstalled software of your IGEP0020: * Bootloaders: * Kernel: * Root File System: * Kernel Modules:  === Booting and setting up ===serial interface.
In the previous chapter of this tutorial, we have booted IGEP0020 with its pre-installed software.
Once the board has booted up, it asks *The default login user is: '''root''' *There is '''no password''' for a login in the serial debug port. You can log in into IGEP0020 via the serial interfacethis user.
*The default login user is: '''root'''
*There is '''no password''' for this user.
'''Boot priority'''
In fact, IGEP0020 can boot from many other devices (listed by priority):
But, as '''the MicroSD card has an upper priority than the flash''', if you plug a MicroSD card (with the right configuration on it) to the MicroSD card reader, IGEP0020 will boot from it and won't boot from the flash memory.
=== Updating your IGEP0020 pre-installed software ===----
We are now going to update the pre{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-installed software to the latest version.align: left;"|-| bgcolor="#cccccc" |'''Requirements - Overview'''|-| For this purpose, you will need:
* a '''microSD card'''
* a '''GNU/Linux distribution installed''' on the computer (a Linux partition or a virtual machine on Windows)
** the main reason is that Windows does not detect multiple partitions on a microSD card
|-
|1) '''Download the latest firmware''' into an external computer.
 
2) '''Uncompress the downloaded file'''.
 
3) '''Create a MicroSD card''' in your external computer.
 
4) '''Plug the MicroSD card''' to IGEP0020 and boot from it.
|}
 
 
We are now going to update the pre-installed software to the latest version.
(if you are familiar with Linux, there might be some instructions and comments you can ignore, as they are for Linux newbies)
At your '''Linux host PC''' you should open '''Terminal'''.
1) '''Downloading the latest firmware''' The first thing you'll need to do is to '''download the latest firwmare ''' from ISEE. At your '''Linux host PC''' you should open '''Terminal''' and type the following command:
wget http://downloads.igep.es/binaries/firmware/poky-firmware-3.3.1-10.tar.gz
 
 
2) ''' Uncompressing the downloaded file'''
Now you have donwloaded a compressed file with the latest official firmware into the current directory (.tar.gz).
Next, we will use the application 'tar' to untar (uncompress) the donwloaded file. In the same Terminal session, type:
tar xzf poky-firmware-3.3.1-10.tar.gz
Next, you can enter go into the extracted directory with the system 'cd' instruction:
cd poky-firmware-3.3.1-10/
3) '''Create a MicroSD card''' We are going to create the MicroSD card with the latest firmware. Before it, we you have to know '''which 'device' is the MicroSD listed in the /dev/ directory''', a place directory where the detected devices are listed by the Linux system.
To '''know the device name''', insert your MicroSD card into the host machine (the machine where you have downloaded the firmware).follow this instructions:
Now '''Insert your MicroSD card''' into the Linux host machine (the machine where you have downloaded the firmware). In your Terminal session, run the following '''system command''':
dmesg
This instruction will prompt all the '''system traces'''. The If your MicroSD card has actually been detected by the system, '''the last lines of that prompt''' will be the ones corresponding correspond to the MicroSD card detection and mounting.
Check the '''MicroSD name and path''', for example: /dev/sdband remember it.
Now you can '''run the following script ''' in the folder you have just extracted, and you will have to add some parameters. In your Terminal session, type:
where:
* [device] is the SD card device name, for example: /dev/sdb
* [timestamp] the parameter --binary is actually the name of another .tar.gz compressed file that you have already extracted in the previous steps. If you want to auto-complete the [timestamp] parameter, press TAB in the ''timestamp'' when writing the instruction and the system will write the name of the file automatically.
This instruction will last a few minutes. When the process ends, you will have a '''MicroSD card with the latest software ''' on it.
4) '''Plug the MicroSD card''' Therefore, you are ready to try it. '''Plug the SD MicroSD card into IGEP0020 ''' and '''power up your board'''.
=== Flashing the software image ===
----
 
Now your IGEP0020 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 the Serial Debug port. If not, read the Serial Port instructions in the [[Getting Started with IGEP0020 board|previous chapter of this tutorial]].''
Now you have a booted board with latest firmware running from MicroSD card, you can write the firmware to the flash memory.
(serial port reminder)Enter to IGEP0020 using:
Enter to IGEP0020 using * root as login name and * an empty password, enter  The software provided by ISEE has a script that flashes the content of your MicroSD Card to the flash memory in your IGEP0020. You have to run this script, that is located at /opt/firmware an directory. Open a Terminal and run the ./flash script:
cd /opt/firmware
./flash.sh
This will last a few minutes. When finishit is ready, unplug the SD card from IGEP0020 and reboot the board, enjoy :  reboot Enjoy the new firmware running from flash memory.
'''Other references''': [[Update_the_PRE-INSTALLED_software_image_to_a_current_release|'''update your pre-installed software image''']]
=== Connect to IGEP0020 via Network interfaces ===
----
*{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Serial ConsoleOverview''': [[Using serial debug port to communicate|-|here]] is 1) '''Plug an explanation about how ethernet cable to correctly configure your Serial Console<br> IGEP0020 *2) '''Connect via ethernet network''', SSH: root@192.168.x.x 3) '''Connect via wireless network''', SSH: [[Using SSH IGEP_WLAN at root@192.168.x.x|} You can log into IGEP0020 via many '''interfaces with network connectivity''', such ethernet, wifi, usb-ethernet gadget, etc. In this tutorial we are going to communicate|here]] is connect via an explanation about how ethernet cable. To to login via Ethernet or USBthat, you need to set an IP in IGEP0020 and start a SSH session in your host PC. Let's do it. First of all, you will need:
* an '''Ethernet cable'''
* a '''Linux or a Windows host PC'''
 
 
Log into IGEP0020 via the '''serial cable to the serial debug port in IGEP0020''', as you have done in the previous chapter of this tutorial guide.
 
Once you are logged in, run the following command:
 
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 want to connect to from our host PC.
 
Now, let's set an IP to this interface in IGEP0020, for example: 192.168.6.2
 
Type the following command in your serial console:
 
ifconfig eth0 192.168.6.1
 
 
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 connect to the target
 
Read this article, where there is a complete explanation about [[Using SSH to communicate|how to login via Ethernet]].
= How to handle the gpio-LED's<br> =
When ever you think you want to stop just press CONTRL+C
 
 
'''Linux distributions'''
 
In this tutorial, we are going to use the pre-installed software in your IGEP0020, that is the Poky Linux.
 
But if you wish, you can always update with a new or a different distribution.
 
If you are familiar with Linux Kernel and distributions, you can check out the '''[[:Category:Software distributions|Software distributions]]''' category at the IGEP Community Wiki to get many other distributions for your IGEP0020.
 
Otherwise, we are now going to introduce the main components of the preinstalled software of your IGEP0020:
 
* Bootloaders:
* Kernel:
* Root File System:
* Kernel Modules:
 
 
0
edits