Difference between revisions of "Getting started with IGEPv2"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Monitor)
(Getting started)
Line 84: Line 84:
 
== Remote connection via Ethernet ==
 
== Remote connection via Ethernet ==
  
{{Message/Information Message|title=|message=If you aren't using a Linux operating system, use [http://labs.isee.biz/index.php/IGEP_SDK_Virtual_Machine IGEP SDK Virtual Machine] to connect to the board}}
+
{{Message/Information Message|title=|message=If you aren't using a Linux operating system, use [http://labs.isee.biz/index.php/IGEP_SDK_Virtual_Machine IGEP SDK Virtual Machine] to connect to the board]}}
  
 
In your Host Machine, open a terminal sessions set up an Ethernet alias for your network interface,
 
In your Host Machine, open a terminal sessions set up an Ethernet alias for your network interface,
Line 95: Line 95:
  
 
an empty password for root user should work to access to the shell prompt.
 
an empty password for root user should work to access to the shell prompt.
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending
 
|Next_Step={{#lst:Template:Links|IGEPv2_Community_Guides_2}}
 
}}
 
 
{{Table/IGEP Technology Devices
 
|Tech_Family={{#lst:Template:Links|IGEPv2_Tech_Family}}
 
|Tech_ID={{#lst:Template:Links|IGEPv2_Tech_ID}}
 
|Name={{#lst:Template:Links|IGEPv2_Name}}
 
|Image={{#lst:Template:Links|IGEPv2_Image}}
 
|ISEE_MainPage={{#lst:Template:Links|IGEPv2_ISEE_MainPage}}
 
|ISEE_Hardware={{#lst:Template:Links|IGEPv2_ISEE_Hardware}}
 
}}= Getting started =
 
 
 
<div style="text-align: center;">
 
{{#ev:youtube|jtHL6JVo7kA|500}}
 
</div>
 
 
== Network ==
 
 
You may now plug the Ethernet cable into the 10/100 Ethernet jack of the board to get network access. The default firmware configures the ethernet device with static ip address (192.168.5.1),
 
 
== Keyboard/Mouse ==
 
 
The USB Host of the board is ONLY USB High speed (480Mbit/s). You will need a powered USB HUB 2.0 to connect to most USB devices.
 
 
Now, plug your keyboard and mouse into the hub.
 
 
 
Remember to use the proper cable to connect the USB OTG port on the Overo expansion board to your hub.  We recommended that you use a cable like the USB Mini-B to Mini-A Adapter. Though a common USB Standard-A to Mini-B type cable will fit, it will not work. OTG ports require a cable that grounds the ID pin in order to enable the port to act in host mode.
 
 
''' Basic '''
 
 
Connect an USB hub to the USB type-A connector (USB Host) in IGEPv2.
 
 
Then plug an USB keyboard and USB mouse to the USB hub.
 
 
 
''' Know more '''
 
 
Only USB 2.0 devices will work in IGEPv2, so if you connect any USB mouse 1.0 into the USB host connector without using an USB hub 2.0, it will not work.
 
 
== Power up IGEPv2 (5V DC) ==
 
 
''' Basic '''
 
 
Once you have connected the peripherals '''you can apply power''' to your IGEPv2 (5V DCC).
 
 
 
''' Know more '''
 
 
'' Led's sequence: ''
 
 
When you power up your board, you will also see how two red LED's light up while the system boots (the sequence will be different based on software version). After a few seconds, there is a fixed green led on.
 
 
 
'' Boot priority: ''
 
 
IGEPv2 can boot from many other devices (listed by priority):
 
 
# from USB
 
# from UART3
 
# from a MMC/MicroSD card
 
# from OneNAND memory
 
 
As we haven't set any other boot device rather than the oneNAND (the IGEPv2 flash memory) the system boots from it.
 
 
But, for example, if as '''the MicroSD card has an upper priority than the flash''', if you plug a MicroSD card into IGEPv2 (with the right configuration on it), it will boot from the MicroSD card.
 
 
== Test the Demo software distribution ==
 
 
''' Basic '''
 
 
When IGEPv2 powers up, the desktop of the preinstalled software will appear on the screen.
 
 
You can use the mouse and the keyboard to test the demo applications.
 
 
[[Image:Poky-screenshot.png|thumb|500px|center|Screenshot of the Desktop of the pre-installed software]]
 
 
 
''' Know more '''
 
 
All IGEP Processor Boards, including IGEPv2, have a pre-installed software in its flash memory which consists of a '''minimal Linux-based distribution''' with a lite X Window System and GNOME Mobile based applications created with '''Poky Platform Builder'''.
 
 
== Log into IGEPv2 via Ethernet interface ==
 
{{Message/Information Message|title=|message=In non-Linux operating system, use [http://labs.isee.biz/index.php/IGEP_SDK_Virtual_Machine IGEP SDK Virtual Machine] to connect to IGEP COM MODULE via USB or read article [http://labs.isee.biz/index.php/Using_USB_ethernet_gadget_to_communicate "Using USB ethernet gadget to communicate"]}}
 
 
In your Host Machine:
 
 
Open a Terminal session and set the IP of the Ethernet interface in which IGEP is connected (for example eth0):
 
 
*In the file /etc/network/interfaces, you should add:
 
<pre>iface eth0 inet dhcp
 
iface eth0:0 inet static
 
address 192.168.5.10
 
netmask 255.255.255.0</pre>
 
*Type in a terminal:
 
<pre>sudo ifup eth0:0</pre>
 
*Revise that:
 
<pre>jdoe@ubuntu ~ $ ifconfig
 
...
 
eth0:0    Link encap:Ethernet  HWaddr 08:00:27:ad:0c:ad 
 
          inet addr:192.168.5.10  Bcast:0.0.0.0  Mask:255.255.255.0
 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 
...</pre>
 
*Connect to IGEP device
 
 
jdoe@ubuntu ~ $ ssh root@192.168.5.1
 
  
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending

Revision as of 11:49, 5 September 2012



Overview

This is the 1/3 chapter of the Getting Started with IGEPv2 Tutorial Guide.

In this first chapter, we will learn :

  • Connect some preripherals, including monitor and USB peripherals.
  • Boot the board and touring the default firmware.
  • Connect remotely to the board via ethernet.

Upon completion, you will be ready to continue with chapter 2/3 that explains more advanced tasks.

A REMINDER TO UPDATE the PRE-INSTALLED SOFTWARE IMAGE to a CURRENT RELEASE

We highly recommended that you update your software image to a recent release to ensure you have the latest features and bug fixes. Please see the article on IGEP YOCTO Firmware

Requirements

In this tutorial we are going to use the following peripherals:

  • IGEPv2 with its power supply
  • Monitor compatible with DVI-D
  • HDMI/DVI-D cable.
  • Network cable.
  • Powered USB HUB 2.0.
  • USB keyboard and a mouse
  • PC

Getting started

The following video illustrates the getting started process. You will see how to connect some peripherals and power up the board.

Monitor

The board will connect to your DVI monitor via its HDMI connector. You can use a HDMI/DVI-D cable to connect the board to the monitor. Your monitor should be able to support 1024 x 768 @ 60 Hz, wich is the default resolution used by the firmware.

If your monitor doesn't have an DVI-D input, you can also use a HDMI input using a HDMI/HDMI cable, in that case you should edit the kernel cmdline parameters and replace :

omapfb.mode=dvi:1280x720MR-16@60

for this one

omapfb.mode=dvi:hd720-16@60

Network

You may now plug the Ethernet cable into the 10/100 Ethernet jack of the board to get network access. The default firmware configures the ethernet device with static ip address (192.168.5.1),

Keyboard/Mouse

The USB Host of the board is ONLY USB High speed (480Mbit/s). You will need a powered USB hub 2.0 to connect to most USB devices.

Now, connect an USB hub to the USB Host and plug your keyboard and mouse into the hub.

Booting

With all the peripherals attached, plug in the wall adapter (5V DC) and powe on your board. You willsee a few lights flash, see how tow red leds light up and after a few seconds may light up only a fixed green led. The sequence will be different based on softwre version.

"Under the hood" the bootloader is preparing to load the linux kernel. The linux kernel loads and initializes the hardware and mounts the root file system. Finally, you will see a screen desktop like the following screenshot.

The pre-installed firmware in its flash memory consists of a minimal Linux-based distribution with a lite X Window System and GNOME Mobile based applications created with Poky Platform Builder.

You can use the mouse and the keyboard to dive into the desktop.

Screenshot of the Desktop of the pre-installed software

Remote connection via Ethernet

Information.jpg If you aren't using a Linux operating system, use IGEP SDK Virtual Machine to connect to the board]

In your Host Machine, open a terminal sessions set up an Ethernet alias for your network interface,

$ sudo ifconfig eth0:0 192.168.5.10

connect to the board using the SSH protocol

$ ssh root@192.168.5.1

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



You have successfully completed this chapter of the guide.


Continue this tutorial guide: [[What can I do with IGEPv2|2/3 - What can I do with IGEPv2]]
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