Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP SDK Virtual Machine

7,046 bytes added, 09:22, 13 December 2013
m
Download the IGEP SDK Virtual Machine
*VirtualBox: An Oracle product that lets you run multiple operating systems at the same time on your PC. It allows you to create isolated virtual machines to try things out. See [https://www.virtualbox.org https://www.virtualbox.org] for more information.
*VMware Player: A VMware product that lets you run multiple operating systems at the same time on your PC. It allows you to create isolated virtual machines to try things out. See [httphttps://wwwmy.vmware.com/products/player http:web/vmware/www.vmware.comfree#desktop_end_user_computing/productsvmware_player/5_0|PLAYER-502|product_downloads VMware playerversion 5] for more information.
'''OVA File:''' Is a TAR file with the OVF directory inside. The Open Virtual Machine Format file defines the Virtual Machine, including which disk image (vmdk) to use. The disk image contains a Linux distribution build by ISEE. For information on the Open Virtual Machine Format file, see [http://en.wikipedia.org/wiki/Open_Virtualization_Format this page].
 
 
{| width="97%" cellspacing="4" cellpadding="4" border="0" align="center"
|-
| bgcolor="#0000ff" |
[[Image:Warning_icon.png|left|52x47px]]<span style="color: rgb(255, 255, 255);">'''VMware player version 6 contains a bug importing OVA files, we suggest to use VMware player version 5 instead.'''</span>
 
|}
 
= General information about software used =
 
=== Linux ===
 
IGEP SDK and IGEP firmware runs Linux kernel. Linux is a clone of the operating system UNIX, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX and Single UNIX Specification compliance.
 
It has all the features you would expect in a modern fully-fledged UNIX, including true multitasking, virtual memory, shared libraries, demand loading, shared copy-on-write executables, proper memory management, and multistack networking including IPv4 and IPv6.
 
Although originally developed first for 32-bit x86-based PCs (386 or higher), today Linux also runs on (at least) the Alpha AXP, Sun SPARC, Motorola 68000, PowerPC, ARM, Hitachi SuperH, IBM S/390, MIPS, HP PA-RISC, Intel IA-64, AMD x86-64, AXIS CRIS, Renesas M32R, Atmel AVR32, Renesas H8/300, NEC V850, Tensilica Xtensa, and Analog Devices Blackfin architectures; for many of these architectures in both 32- and 64-bit variants.
 
=== Distribution ===
 
A Linux distribution is a member of the family of Unix-like operating systems built on top of the Linux kernel. Such distributions (often called distros for short) are operating systems including a large collection of software applications such as word processors, spreadsheets, media players, and database applications. These operating systems consist of the Linux kernel and, usually, a set of libraries and utilities from the GNU Project, with graphics support from the X Window System. Distributions optimized for size may not contain X and tend to use more compact alternatives to the GNU utilities, such as BusyBox, uClibc, or dietlibc. There are currently over six hundred Linux distributions. Over three hundred of those are in active development, constantly being revised and improved.
 
Because most of the kernel and supporting packages are free and open source software, Linux distributions have taken a wide variety of forms—from fully featured desktop, server, laptop, netbook, mobile phone, and tablet operating systems as well as minimal environments (typically for use in embedded systems or for booting from a floppy disk). Aside from certain custom software (such as installers and configuration tools), a distribution is most simply described as a particular assortment of applications installed on top of a set of libraries married with a version of the kernel, such that its "out-of-the-box" capabilities meet most of the needs of its particular end-user base.
 
=== IGEP SDK ===
 
IGEP SDK Virtual Machine provides IGEP SDK. IGEP SDK is located into the /opt/poky directory and contains a setup script, which can be sourced to initialize a suitable environment. After sourcing this, the compiler, a special version of pkgconfig and other useful utilities are added to the PATH. Variables to assist pkgconfig and autotools are also set. IGEP SDK can compile programs for Gnome mobile environment (GMAE) and Qt Embedded environment (Qte).
 
{| cellspacing="1" cellpadding="1" border="1" width="200"
|-
| [[Image:IGEPSDKgnomemobile.PNG|400px]]
| [[Image:IGEPSDKqte.PNG|400px]]
|-
| GMAE architecture
| Qte architecture
|}
= Features =
IGEP SDK Virtual Machine includes Software Development Kit (SDK) from ISEE. All components areinstalled are installed and configured to speed up getting started with IGEP Technology. It is based in Linux Mint distribution (Ubuntu/Debian variant) with the following features:
Distribution based on:
*usb0 − assigned via dhcp.
= Install the IGEP SDK Virtual Machine<br> =
This tutorial guide shows the steps for setup the IGEP SDK Virtual Machine (VM) in your computer, which includes a software development kit with all its software completely installed and ready to use.
<br>
<div style="text-align: center;">
{{#ev:youtube|LFoNT5XHHugltblNWrfaa0|500}}
</div>
=== Requirements ===
First of all, download the Virtual Machine:
httphttps://www.isee.biz/componentsupport/zoodownloads/item/igep-virtual-machine-sdk-yocto
You can also download the Virtual Machine manual:
.. or you can:
#Open a web browser and go to [http://www.isee.biz/ www.isee.biz], the main page from ISEE.
#In the product section, go to the page of the product you have, for example, IGEPv2.
#Select the "IGEP SDK Virtual Machine" and downloaded it into your PC.
#''Virtualbox'' [http://www.virtualbox.org], a multiplatorm application for Linux, Mac or Windows
#''VMWare Player'' [http://www.vmware.com/products/player/], which can be downloaded for Windows or Linux.
 
'''NOTE:''' Old virtualization software maybe has problems with IGEP SDK VM ova file. Upgrade it to solve this problem.
 
==== '''VirtualBox ''' ====
Continue with the installation, leave the default configuration of the Virtual Machine and finally click to import.
''If you edit the default configuration, ensure to set bridge mode to the network adapter ''
==== <br> '''VMWare ''' ====
Open a new virtual machine and select the .ova downloaded file.
=== Install additional features to the VM ===
When finnishing the installation, restart the VM and you will be able to switch to full screen, copy/paste between OS's, etc.<br>
= Using Virtual Machine = === Customize your Virtual Machine === Maybe you need more software to develop your applications or do your task. ==== Graphical procedure ==== Use “Synaptic Package Manager”, this application is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+.  Features: [[Image:IGEPSDKsynaptic.PNG|right]]  *Install, remove and upgrade any packages or whole system. *Manage package repositories (sources, list). *Find packages by name, description and several other attributes. *Browse all available online documentation related to a package. *Download the latest changelog of a package. *Lock packages to the current version. *Force the installation of a specific package version. *Undo/Redo of selections. *Built-in terminal emulator for the package manager. *And select the packages you wish to install.<br><br><br><br> ==== Command line text procedure ==== You can also use the “apt” command line program to install and remove software packages from your system (one at a time or many at once), as well as update your system's internal listing of what packages are available from your currently selected list or repositories. Use a terminal to execute apt-get:*Install a “NameOfPackage” package:<pre>apt-get install NameOfPackage</pre>*Remove a package:<pre>apt-get remove NameOfPackage</pre>*Search for a package:<pre>apt-cache search NameOfPackage</pre>*Update the repository (list of available .deb's):<pre>apt-get update</pre>*Upgrade your system (can be useful in maintaining an up-to-date system):<pre>apt-get upgrade</pre>*To see a short list of common commands:<pre>apt-get --help</pre> === Attach removable devices to Virtual Machine === Sometimes you will need to connect some external peripherals to your Virtual Machine like: USB serial converters, SD Card readers, USB Ethernet Gadget, etc. These peripherals can be connected in your native operating system or in your guest operating system.  ==== Connect external peripherals in Virtual Box<br> ==== {| cellspacing="1" cellpadding="1" border="1" width="200"|-| [[Image:Addperipheralvirtualbox1.PNG]] | [[Image:Addperipheralvirtualbox2.PNG]]|} Disconnect from Virtual Machine unsetting your peripheral  ==== Connect external peripherals in VMware Player<br> ==== {| cellspacing="1" cellpadding="1" border="1" width="200"|-| [[Image:AddperipheralVMware1.PNG]] | [[Image:AddperipheralVMware2.PNG]]|} Disconnect from Virtual Machine unsetting your peripheral  === Connect your board to the Virtual Machine ===
In this tutorial we are going to connect IGEPv2 via ethernet to your computer, but you can use other boards and interfaces, such USB-Ethernet Gadget.
In the Virtual Machine, open a terminal session and check that appears a network interface called eth0:0
If it does not mount it, check the connections and reconnect the wired connection of the Virtual machine.
=== Compile an run and debug a 'C' application using Eclipse IDE ===
You can use any of the preinstalled IDE's in the IGEP SDK Virtual Machine. The VM has many installed and configured IDE's such Eclipse and Qt creator ready to develop your applications.
At the console tab you will see the remote program execution.
==== '''Debugging your applications ''' ====
You can also debug your applications:
#Close the communication with the stop button.
= Other uses: = === Set up a Network file system === ''(from [[Set up a Network File System between IGEP Board and IGEP Virtual Machine]])''  {{#lst:Set up a Network File System between IGEP Board and IGEP Virtual Machine|overview}}  === Develop with Qt under IGEP Technology === ''(from [[How to develop with Qt under IGEP Technology]])''  {{#lst:How to develop with Qt under IGEP Technology|overview}}  === Develop with Codeblocks === ''(from [[Install and configure Codeblocks for IGEP devices]])''  {{#lst:Install and configure Codeblocks for IGEP devices|overview}}   {{Message/Forum}} [[Category:Development_tools]] [[Category:How_to_forge|Development virtual machine]][[Category:Software applications]][[Category:Work_in_progress]]
4,199
edits