Difference between revisions of "Getting started with IGEPv2"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (Test the Demo software distribution)
 
(80 intermediate revisions by 5 users not shown)
Line 11: Line 11:
 
__TOC__
 
__TOC__
  
 
+
=Requirements=
= Overview =
 
 
 
This is the 1/3 chapter of IGEPv2 Tutorial Guide.
 
 
 
In this first chapter, we will learn '''how to connect some peripherals''', '''how to boot IGEPv2''' and '''how to log into IGEPv2 via Ethernet'''.
 
 
 
 
 
= Requirements =
 
 
 
 
In this tutorial we are going to use the following peripherals:
 
In this tutorial we are going to use the following peripherals:
  
 
* IGEPv2 with its power supply
 
* IGEPv2 with its power supply
* a monitor compatible with DVI-D
+
* Monitor compatible with DVI-D
* a network cable.
+
* HDMI/DVI-D cable
* a USB keyboard and a mouse
+
* Network cable
* a PC with Linux or Windows
+
* Powered USB HUB 2.0
 
+
* USB keyboard and a mouse
 
+
* PC
= Getting started =
 
  
 +
=Getting started=
 +
The following video illustrates the getting started process. You will see how to connect some peripherals and power up the board.
  
 
<div style="text-align: center;">
 
<div style="text-align: center;">
 
{{#ev:youtube|jtHL6JVo7kA|500}}
 
{{#ev:youtube|jtHL6JVo7kA|500}}
 
</div>
 
</div>
 +
==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, which is the default resolution used by the firmware.
  
 +
If your monitor doesn't have a DVI-D input, you can also use a HDMI input using a HDMI/HDMI cable, in that case you should [[How_do_I_edit_my_kernel_command_line | edit the kernel cmdline parameters]] and replace :
  
== Connect a DVI monitor ==
+
omapfb.mode=dvi:1280x720MR-16@60
 
 
''' Basic '''
 
 
 
IGEPv2 has a '''HDMI connector''' with a '''DVI-D interface'''
 
 
 
Connect IGEPv2 to a DVI-D compatible monitor.
 
 
 
 
 
''' Know more '''
 
 
 
The Digital Visual Interface (DVI) is a video standard interface designed to provide very high visual quality on digital display devices such as flat panel LCD computer displays and digital projectors. It is partially compatible with the High-Definition Multimedia Interface (HDMI) standard in digital mode (DVI-D), and VGA in analog mode (DVI-A).
 
 
 
Note that your monitor should be able to support 1024 x 768 @ 60 Hz, which is the default resolution in the preinstalled software.
 
 
 
 
 
== Connect an Ethernet Network cable ==
 
 
 
''' Basic '''
 
 
 
Plug an '''Ethernet cable''' between IGEPv2 and your client machine (or any other network device with ethernet connectivity).
 
 
 
 
 
''' Know more '''
 
 
 
IGEPv2 comes with one 10/100BASE-TX Ethernet ports.
 
 
 
In the following chapters we will use ethernet to access IGEPv2 with IP configuration, send files, etc.
 
 
 
 
 
== Connect USB devices (keyboard and mouse) ==
 
 
 
''' Basic '''
 
 
 
Connect a USB hub to the USB type-A connector (USB Host) in IGEPv2.
 
 
 
Then plug a 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 a 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 '''
 
 
 
{{Message/Information Message|title=|message=IGEPv2 comes with a [[Pre-installed software on IGEP Processor Boards|IGEP Firmware]].}}
 
 
 
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'''.
 
 
 
In the next chapter of this tutorial guide, we will learn how to update the pre-installed software of your board.
 
 
 
== Log into IGEPv2 via Ethernet interface ==
 
 
 
'''Basic'''
 
 
 
You can log into IGEPv2 via many interfaces, such Serial, Wifi, USB-Ethernet Gadget, etc.
 
 
 
In this tutorial we are going to connect to the board via its Ethernet interface.
 
 
 
By default, all IGEP Processor boards have a '''static IP in their Ethernet interface which is 192.168.5.1'''
 
 
 
First of all, adjust the IP of your PC in order to be in the right subnet of IGEPv2, for example: 192.168.5.10
 
 
 
 
 
'' Linux: ''
 
 
 
If you are running Linux in your PC, open a Terminal session and set the IP of the Ethernet interface in which IGEPv2 is connected (for example eth0):
 
 
 
Run the following commands:
 
 
 
sudo ifconfig eth0 192.168.5.10 up
 
 
 
 
 
'' Windows: ''
 
 
 
If you are running Windows in your PC, depending of your OS version and your configuration the steps might be slightly different:
 
 
 
# Click the '''Start button''' and select the '''Control Panel'''
 
# Go to '''Network configuration'''
 
# Right click the interface where IGEPv2 is connected (for example: Local Network) and select '''Propierties'''
 
# Select the '''TCP/IP Internet Protocol''' configuration and click the '''Propierties button'''
 
# Set a static IP (192.168.5.10) and 255.255.255.0 as network submask
 
# Close all the dialogs
 
 
 
 
 
Now you are ready to log into IGEPv2 via its Ethernet interface. You just need a program with a SSH client.
 
 
 
In this tutorial we are going to use Putty, as it is a multi-platform program.
 
 
 
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]]
+
for this one :
  
Follow these steps to connect to IGEPv2:
+
omapfb.mode=dvi:hd720-16@60
  
# Select the '''SSH''' at connection type.
+
==Network==
# Insert the '''IP address of the target''' (IGEPv2 default IP: 192.168.5.1)
+
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).
# Ensure that the port is set to '''22''', the default for SSH communications.
 
# Finally, press the '''Open button''' to start the SSH session.
 
  
If everything goes right, you will be able to access to an IGEPv2 console from your PC via Ethernet.
+
==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.
  
To login IGEPv2 use:
+
Now, connect an USB hub to the USB Host and plug your keyboard and mouse into the hub.
  
user:root
+
==Booting==
password: (no password for this user: press return)
+
With all the peripherals attached, plug in the wall adapter (5V DC) and power on your board. You will see a few lights flash, see how to red leds light up and after a few seconds may light up only a fixed green led. The sequence will be different based on software 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.
  
''' Know more '''
+
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.
  
In the pre-installed software, the default configuration for all the network interfaces is:
+
You can use the mouse and the keyboard to dive into the desktop.
  
*eth0 - 192.168.5.1
+
[[Image:Poky-screenshot.png|thumb|center|500px|Screenshot of the Desktop of the pre-installed software]]
*eth0:0 - via dhcp
 
*wlan0 - 192.168.6.1
 
*usb0 - 192.168.7.1
 
  
 +
==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}}
  
By default, the IP of the Ethernet interface is 192.168.5.1
+
In your Host Machine, open a terminal sessions set up an Ethernet alias for your network interface,
  
Once you are logged in, you can see which interfaces are up in IGEPv2.
+
$ sudo ifconfig eth0:0 192.168.5.10
  
In the SSH console, run:
+
Connect to the board using the SSH protocol
  
  ifconfig
+
  $ ssh root@192.168.5.1
  
It will list all the active network interfaces.
+
An empty password for root user should work to access to the shell prompt.
 
 
If you want to change, for example, ''eth0'' you can use the following commands (if you do it now, it will close the SSH session, as it will change the Ethernet IP):
 
 
 
ifconfig eth0 < new IP >
 
 
 
In order to make permanent changes (save the configuration upon next start), you will have to edit the /etc/network/interfaces file in your IGEPv2.
 
== Log into IGEPv2 via WIFI interface ==
 
{{#lst:Using IGEP WLAN to communicate|wifi_connect}}
 
  
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending
 
{{Navigation/IGEP Technology Guides/Getting Started/Ending
 
|Next_Step={{#lst:Template:Links|IGEPv2_Community_Guides_2}}
 
|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}}
 
 
}}
 
}}
  
 
[[Category:IGEP Technology Devices Guides]]
 
[[Category:IGEP Technology Devices Guides]]

Latest revision as of 10:10, 9 April 2018


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, which is the default resolution used by the firmware.

If your monitor doesn't have a 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 power on your board. You will see a few lights flash, see how to red leds light up and after a few seconds may light up only a fixed green led. The sequence will be different based on software 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