Difference between revisions of "IGEP Firmware set-up"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Created page with "Depending on your desired set-up here you will find key-points on how the get and set the igep firmware ==Ubuntu== Download latest firmware from downloads server * [http://d...")
 
Line 6: Line 6:
 
* [http://downloads.isee.biz/pub/isee-releases/ubuntu/xenial_16.04_lts/ubuntu-xenial-armhf-igep-base-v0.01.tgz Ubuntu Xenial 16.04 LTS (isee-v0.01)]
 
* [http://downloads.isee.biz/pub/isee-releases/ubuntu/xenial_16.04_lts/ubuntu-xenial-armhf-igep-base-v0.01.tgz Ubuntu Xenial 16.04 LTS (isee-v0.01)]
  
===='''Instructions needed to decompress in the SD'''====
+
====Instructions needed to decompress in the SD====
 
  <span class="skimlinks-unlinked">sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</span>
 
  <span class="skimlinks-unlinked">sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</span>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
Line 16: Line 16:
 
* [http://downloads.isee.biz/pub/relaunch/rootfs/debian/stretch/debian-stretch-armhf-igep-base-no-version.tgz Debian Stretch ARM Hard Float]
 
* [http://downloads.isee.biz/pub/relaunch/rootfs/debian/stretch/debian-stretch-armhf-igep-base-no-version.tgz Debian Stretch ARM Hard Float]
  
===='''Instructions needed to decompress in the SD'''====
+
====Instructions needed to decompress in the SD====
 
<pre>sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</pre>
 
<pre>sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</pre>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
Line 27: Line 27:
 
* [http://downloads.isee.biz/pub/relaunch/rootfs/buildroot/skeltal/igep-buildroot-skeltal-base-no-version.bz2 Buildroot ARM Hard Float]
 
* [http://downloads.isee.biz/pub/relaunch/rootfs/buildroot/skeltal/igep-buildroot-skeltal-base-no-version.bz2 Buildroot ARM Hard Float]
  
===='''Instructions needed to decompress in the SD'''====
+
====Instructions needed to decompress in the SD====
 
<pre>sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</pre>
 
<pre>sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]</pre>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
 
<span class="skimlinks-unlinked">'''For example''', to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:</span>
Line 38: Line 38:
 
using a tool from the Yocto Project called Poky. The Poky build system allows developers to create their own complete Linux Distribution for their embedded systems.
 
using a tool from the Yocto Project called Poky. The Poky build system allows developers to create their own complete Linux Distribution for their embedded systems.
  
The firmware that runs on every [index.php/IGEP_Technology_devices IGEP Technology devices] is created in the hope to introduce you quickly to the IGEP Technology. The IGEP Firmware provides a preconfigured Linux system allowing communicating and experiencing easily with IGEP devices.
+
The firmware that runs on every [index.php/IGEP_Technology_devices IGEP Technology devices] is created in the hope to introduce you quickly to the IGEP Technology. The IGEP Firmware provides a preconfigured Linux system allowing communicating and experiencing easily with IGEP devices.
  
 
The image is built using the GNOME Mobile software stack, providing a well defined user experience. The user interface environment used is SATO, it is designed to work well with screens at very high DPI and restricted size. It is coded with focus on efficiency and speed so that it works smoothly on hand- held and other embedded hardware.
 
The image is built using the GNOME Mobile software stack, providing a well defined user experience. The user interface environment used is SATO, it is designed to work well with screens at very high DPI and restricted size. It is coded with focus on efficiency and speed so that it works smoothly on hand- held and other embedded hardware.
Line 72: Line 72:
  
 
* Username: root
 
* Username: root
* Password: <empty>
+
* Password:
  
 
Network configuration (IP addresses)
 
Network configuration (IP addresses)
Line 89: Line 89:
 
| style="text-align: center;"| 
 
| style="text-align: center;"| 
 
|-
 
|-
| scope="row"|[[]]
+
| scope="row"| 
 
||This How-To was tested IGEP SDK Virtual Machine, but most of the contents are valid also for other GNU/Linux distributions.
 
||This How-To was tested IGEP SDK Virtual Machine, but most of the contents are valid also for other GNU/Linux distributions.
 
There is no guarantee that this will work on other ones.
 
There is no guarantee that this will work on other ones.
  
 
|}
 
|}
====='''Create IGEP Firmware bootable SD-card''' =====
+
====='''Create IGEP Firmware bootable SD-card'''=====
'''IGEP AM335x''' - The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-4-2-0-am335x ISEE site Yocto IGEP AM335x]  
+
'''IGEP AM335x''' - The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-4-2-0-am335x ISEE site Yocto IGEP AM335x]
 +
 
 +
'''IGEP OMAP 3''' - Start session in IGEP SDK Virtual Machine. The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-2-2-6 ISEE site Yocto IGEP OMAP 3] <br />'''IGEP SMARC i.MX6 Dual/Quad''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6q-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Dual/Quad] <br />'''IGEP SMARC i.MX6 DualLite''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6dl-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 DualLite] <br />'''IGEP SMARC i.MX6 Solo''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6s-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Solo]
  
'''IGEP OMAP 3''' - Start session in IGEP SDK Virtual Machine. The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-2-2-6 ISEE site Yocto IGEP OMAP 3] <br />'''IGEP SMARC i.MX6 Dual/Quad''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6q-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Dual/Quad] <br />'''IGEP SMARC i.MX6 DualLite''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6dl-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 DualLite] <br />'''IGEP SMARC i.MX6 Solo''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6s-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Solo]
 
  
  
Line 112: Line 113:
 
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.
 
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.
  
<pre>./igep-media-create -–mmc <mmc> --image <image file> --machine <machine></pre>
+
<pre>./igep-media-create -–mmc --image --machine </pre>
where:<br /><mmc> - is the SD-Card device of your computer.<br /><image file> - is the file that contains bootloader, kernel and rootfs image.<br /><machine> - is the IGEP Processor Board. Available options are:
+
where:<br /> - is the SD-Card device of your computer.<br /> - is the file that contains bootloader, kernel and rootfs image.<br /> - is the IGEP Processor Board. Available options are:
  
 
* igep0020 - For IGEP v2 Processor Board
 
* igep0020 - For IGEP v2 Processor Board
Line 127: Line 128:
  
 
<pre>./igep-media-create --mmc /dev/sdb --machine igep0030 --image demo-image-sato-igep00x0.tar.bz2</pre>
 
<pre>./igep-media-create --mmc /dev/sdb --machine igep0030 --image demo-image-sato-igep00x0.tar.bz2</pre>
These methods should give you a bootable SD-card.  
+
These methods should give you a bootable SD-card.
 +
 
  
  
Line 135: Line 137:
 
of IGEP device and power on it. This should result in a running system with Sato graphical desktop root filesystem built by Yocto.
 
of IGEP device and power on it. This should result in a running system with Sato graphical desktop root filesystem built by Yocto.
  
If you want login in/connect to the system, you have several options:  
+
If you want login in/connect to the system, you have several options:
  
 
* '''Serial debug link''', you should just plug serial cable to your computer
 
* '''Serial debug link''', you should just plug serial cable to your computer
 
* '''Ethernet''', you should assign an IP in the range 192.168.5.[2-254] and connect to target using a SSH client and connecting to 192.168.5.1 
 
* '''Ethernet''', you should assign an IP in the range 192.168.5.[2-254] and connect to target using a SSH client and connecting to 192.168.5.1 
* '''Wifi''', connect to IGEP_xx network, a dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.6.1  
+
* '''Wifi''', connect to IGEP_xx network, a dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.6.1
 
* '''USB ethernet gadget''', connect a IGEP device to USB port of your computer, dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.7.1 o (if available) Graphical interface on plugged DVI/TFT display and USB Keyboard in IGEP device
 
* '''USB ethernet gadget''', connect a IGEP device to USB port of your computer, dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.7.1 o (if available) Graphical interface on plugged DVI/TFT display and USB Keyboard in IGEP device
  
The root password is empty, so to log in type ''''root'''' for the user name and hit 'Enter' at the Password prompt: (''empty password'') and you should be in.  
+
The root password is empty, so to log in type ''''root'''' for the user name and hit 'Enter' at the Password prompt: (''empty password'') and you should be in.
  
 
Then, you could play and fun with IGEP board.
 
Then, you could play and fun with IGEP board.
Line 152: Line 154:
 
{| width="auto" cellspacing="0" cellpadding="10" border="0" align="center"
 
{| width="auto" cellspacing="0" cellpadding="10" border="0" align="center"
 
|-
 
|-
| scope="row" bgcolor="#ffffff"|[[]]
+
| scope="row" bgcolor="#ffffff"| 
 
| style="font-size: 130%;" bgcolor="#ffffff"|<span style="color: #000000;">If you have any question, don't ask to ask at the '''[http://forum.isee.biz/ IGEP Community Forum]''' or the '''[http://webchat.freenode.net/?channels=igep IGEP Community Chat]'''</span>
 
| style="font-size: 130%;" bgcolor="#ffffff"|<span style="color: #000000;">If you have any question, don't ask to ask at the '''[http://forum.isee.biz/ IGEP Community Forum]''' or the '''[http://webchat.freenode.net/?channels=igep IGEP Community Chat]'''</span>
| scope="row" bgcolor="#ffffff"|[[]]
+
| scope="row" bgcolor="#ffffff"| 
 
|}
 
|}
 
====<span id="Extending_the_IGEP_Firmware_with_packages" class="mw-headline">Extending the IGEP Firmware with packages</span>====
 
====<span id="Extending_the_IGEP_Firmware_with_packages" class="mw-headline">Extending the IGEP Firmware with packages</span>====

Revision as of 16:38, 17 September 2018

Depending on your desired set-up here you will find key-points on how the get and set the igep firmware

Ubuntu

Download latest firmware from downloads server

Instructions needed to decompress in the SD

sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]

For example, to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:

sudo tar -xvzf /home/user/Downloads/ubuntu-xenial-armhf-igep-base-v0.01.tgz -C /media/user/rootfs

Debian

Download latest firmware from downloads server

Instructions needed to decompress in the SD

sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]

For example, to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:

sudo tar -xvzf /home/user/Downloads/debian-stretch-armhf-igep-base-no-version.tgz -C /media/user/rootfs

Buildroot

Download latest firmware from downloads server

Instructions needed to decompress in the SD

sudo tar -xvzf [your_compressed_rootfs] -C [target_location_rootfs]

For example, to uncompress the rootfs of the link into the rootfs partition of the MicroSD Card you can write:

sudo tar -xjzf /home/user/Downloads/igep-buildroot-skeltal-base-no-version.bz2 -C /media/user/rootfs

Yocto

Introduction

The IGEP Firmware could be [index.php/How_to_get_the_Poky_Linux_distribution built from scratch]

using a tool from the Yocto Project called Poky. The Poky build system allows developers to create their own complete Linux Distribution for their embedded systems.

The firmware that runs on every [index.php/IGEP_Technology_devices IGEP Technology devices] is created in the hope to introduce you quickly to the IGEP Technology. The IGEP Firmware provides a preconfigured Linux system allowing communicating and experiencing easily with IGEP devices.

The image is built using the GNOME Mobile software stack, providing a well defined user experience. The user interface environment used is SATO, it is designed to work well with screens at very high DPI and restricted size. It is coded with focus on efficiency and speed so that it works smoothly on hand- held and other embedded hardware.

If you need to custom more your Linux OS, for example: editing, adding or removing packages, please read [index.php/How_to_get_the_Poky_Linux_distribution this article].

Features

Software included:

GNU/Linux system

  • Linux kernel.
  • Root filesystem (initscripts, X11-based, EXT3, JFFS2, UBIFS, VFAT, NTFS, NFS...)
  • Drivers (USB,SPI,I2C,CAN,Ethernet,GPRS,...)
  • Network protocols (TCP/IP, UDP/IP, ARP, ICMP, SNMP, TFTP, TELNET, DHCP,BOOTP, SSH-SSL, HTTP, HTTP-SSL, NAT, NTP, PPP,...)
  • RPM package system.

GNOME Mobile software stack

  • GTK toolkit for interface construction.
  • GConf application configuration service which leverages XML for data persistence.
  • GnomeVFS file access abstraction layer which provides support for network transparent file manipulation.
  • GStreamer multimedia framework which supports dynamic media editing as well as playback.
  • D-Bus interprocess communication system.
  • BlueZ Bluetooth stack.
  • Avahi service for Zeroconf service discovery.

Software public repositories (RPM-based)

Other useful information

Note that are only available for OMAP3 processors

Account information

  • Username: root
  • Password:

Network configuration (IP addresses)

  • [index.php/Using_Ethernet_to_communicate eth0] − 192.168.5.1
  • eth0:0 − assigned via dhcp.
  • [index.php/Using_IGEP_WLAN_to_communicate wlan0] − 192.168.6.1 (with dhcp server)
  • [index.php/Using_USB_ethernet_gadget_to_communicate usb0] − 192.168.7.1 (with dhcp server)

Install

(from [index.php/How_to_create_a_SD-card_with_the_latest_software_image How to create a SD-card with the latest software image])

 
  This How-To was tested IGEP SDK Virtual Machine, but most of the contents are valid also for other GNU/Linux distributions.

There is no guarantee that this will work on other ones.

Create IGEP Firmware bootable SD-card

IGEP AM335x - The first thing you'll do is download the latest firwmare from ISEE site Yocto IGEP AM335x

IGEP OMAP 3 - Start session in IGEP SDK Virtual Machine. The first thing you'll do is download the latest firwmare from ISEE site Yocto IGEP OMAP 3
IGEP SMARC i.MX6 Dual/Quad - The first thing you'll do is download the latest firwmare from ISEE site Yocto IGEP SMARC i.MX6 Dual/Quad
IGEP SMARC i.MX6 DualLite - The first thing you'll do is download the latest firwmare from ISEE site Yocto IGEP SMARC i.MX6 DualLite
IGEP SMARC i.MX6 Solo - The first thing you'll do is download the latest firwmare from ISEE site Yocto IGEP SMARC i.MX6 Solo


  1. Select Products -> Processor Boards
  2. Click on your processor board product.
  3. Click on Software tab
  4. Click on IGEP Firmware
  5. Select Download icon.

Once the file is downloaded you can create bootable SD-Card, under Linux, untar the IGEP

tar jxf igep_firmware-yocto-*.tar.bz2
cd igep_firmware-yocto-*

Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.

./igep-media-create -–mmc  --image  --machine 

where:
- is the SD-Card device of your computer.
- is the file that contains bootloader, kernel and rootfs image.
- is the IGEP Processor Board. Available options are:

  • igep0020 - For IGEP v2 Processor Board
  • igep0030 - For IGEP COM MODULE Processor Board
  • igep0032 - For IGEP COM PROTON Processor Board
  • igep0033 - For IGEP COM AQUILA Processor Board
  • igep0046 - For IGEP iMX6 Processor Board


For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type

./igep-media-create --mmc /dev/sdf --machine igep0020 --image demo-image-sato-igep00x0.tar.bz2

For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM MODULE ('igep0030'), type

./igep-media-create --mmc /dev/sdb --machine igep0030 --image demo-image-sato-igep00x0.tar.bz2

These methods should give you a bootable SD-card.


Booting IGEP device and login/connect methods

Insert the bootable SD-card media into the micro-SD card socket

of IGEP device and power on it. This should result in a running system with Sato graphical desktop root filesystem built by Yocto.

If you want login in/connect to the system, you have several options:

  • Serial debug link, you should just plug serial cable to your computer
  • Ethernet, you should assign an IP in the range 192.168.5.[2-254] and connect to target using a SSH client and connecting to 192.168.5.1 
  • Wifi, connect to IGEP_xx network, a dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.6.1
  • USB ethernet gadget, connect a IGEP device to USB port of your computer, dynamic IP should be assigned in your host and you can sign into the target connecting to 192.168.7.1 o (if available) Graphical interface on plugged DVI/TFT display and USB Keyboard in IGEP device

The root password is empty, so to log in type 'root' for the user name and hit 'Enter' at the Password prompt: (empty password) and you should be in.

Then, you could play and fun with IGEP board.

For example, you could flash the latest software image into internal FLASH memory ( [index.php/How_to_flash_the_latest_software_image How to flash the latest software image] )


  If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat  

Extending the IGEP Firmware with packages

Note that the repositories are only available for OMAP3 processors

The IGEP Firmware is based on RPM packages. The RPM Package

Manager is a package management system that automates the process of installing, upgrading and removing software packages. If you also need some software that is typically not found in the IGEP Firmware, you can search if this software it’s available in the ISEE repositories.

You can manage packages from the IGEP Firmware using "zypper". Zypper is the command line package manager installed on the IGEP Firmware for installing, removing, updating and querying software packages of local or remote repositories. Use following commands:

  • To get the package list from the repository, use
zypper refresh
  • To search a package
zypper search package_name
  • To install a package from registered repositories, use
zypper install package_name
  • To remove an installed package, use
zypper remove package_name
  • A list of all new packages available can be obtained with the command
zypper list-updates -t package
  • To update your system, just run the
zypper update
  • Other useful zypper commands :
zypper help
zypper help command

IGEP-Tools