Difference between revisions of "IGEP Firmware set-up"

From IGEP - ISEE Wiki

Jump to: navigation, search
Line 88: Line 88:
 
[http://downloads.isee.biz/denzil/rpm/ Software public repositories] (RPM-based)
 
[http://downloads.isee.biz/denzil/rpm/ Software public repositories] (RPM-based)
  
====<span id="Install" class="mw-headline">Install</span>====
+
===='''<span id="Install" class="mw-headline">Install</span>'''====
 
 
 
Download latest firmware from downloads server
 
Download latest firmware from downloads server
  
Line 101: Line 100:
 
''(from [bs://labs.isee.biz How to create a SD-card with the latest software image] )''
 
''(from [bs://labs.isee.biz How to create a SD-card with the latest software image] )''
  
=====Create IGEP Firmware bootable SD-card=====
+
====='''Create IGEP Firmware bootable SD-card'''=====
 
Account information
 
Account information
  

Revision as of 11:01, 18 September 2018

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


Warning icon.png


You should install kernel modules into each rootfs you download, don't miss  Linux Kernel Tutorial.

*!* General information about RootFS *!*

To log into each one of the RootFS and igep firmware presented below you use

UBUNTU / DEBIAN

  • Username: root
  • Password: letmein

YOCTO

  • Username: root
  • Password:

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 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 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 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)

Install

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/igep002hf-yocto-pyro-minimal-base-no-version.bz2 -C /media/user/rootfs

(from [bs://labs.isee.biz How to create a SD-card with the latest software image] )

Create IGEP Firmware bootable SD-card

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)


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 ( How to flash the latest software image )

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

IGEP Tools are a set of binaries that should come with every firmware provided by ISEE. These tools will allow you to handle in a easy way the process of updating and creating new bootable media that will run on igep devices. A basic concept of each tools is described:

  • igep-media-create:  Create a new bootable SD cards or HD images.
  • igep-flash: Flash bootable images to the board's flash memory
  • create-android-image: Create an Android image tarball from Android build
  • e-functions: Required by other igep tools to function properly.