Difference between revisions of "IGEP Firmware set-up"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Install IGEP Firmware on bootable SD-card)
(Install IGEP Firmware on bootable SD-card)
 
(17 intermediate revisions by 2 users not shown)
Line 26: Line 26:
  
 
==Ubuntu==
 
==Ubuntu==
Download latest firmware from downloads server
+
Download latest release from downloads server
  
 
* [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) ARM Hard Float]
 
* [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) ARM Hard Float]
Line 35: Line 35:
  
 
  <span class="skimlinks-unlinked">sudo tar -xvzf /home/user/Downloads/ubuntu-xenial-armhf-igep-base-v0.01.tgz -C /media/user/rootfs</span>
 
  <span class="skimlinks-unlinked">sudo tar -xvzf /home/user/Downloads/ubuntu-xenial-armhf-igep-base-v0.01.tgz -C /media/user/rootfs</span>
 +
 
==Debian==
 
==Debian==
Download latest firmware from downloads server
+
Download latest release from downloads server
  
* [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-v0.01.tgz Debian Stretch ARM Hard Float]
  
 
====Instructions needed to decompress in the SD====
 
====Instructions needed to decompress in the SD====
Line 47: Line 48:
  
 
==Buildroot==
 
==Buildroot==
Download latest firmware from downloads server
+
Download latest release from downloads server
  
 
* [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]
Line 56: Line 57:
  
 
  <span class="skimlinks-unlinked">sudo tar -xjzf /home/user/Downloads/igep-buildroot-skeltal-base-no-version.bz2 -C /media/user/rootfs</span>
 
  <span class="skimlinks-unlinked">sudo tar -xjzf /home/user/Downloads/igep-buildroot-skeltal-base-no-version.bz2 -C /media/user/rootfs</span>
 +
 
==Yocto==
 
==Yocto==
 
===<u><span id="Introduction" class="mw-headline">Introduction</span></u>===
 
===<u><span id="Introduction" class="mw-headline">Introduction</span></u>===
Line 105: Line 107:
 
* create-android-image: Create an Android image tarball from Android build
 
* create-android-image: Create an Android image tarball from Android build
 
* e-functions: Required by other igep tools to function properly.
 
* e-functions: Required by other igep tools to function properly.
 +
* writeloader: Used by igep-flash when flashing igep-firmware for IGEPv2, IGEP COM MODULE, and IGEP COM PROTON boards due to ECC compatibility in those board's NAND
  
 
Usually igep-tools should come installed by default with igep firmware releases, in case it is not there you can always download them from our git repository:
 
Usually igep-tools should come installed by default with igep firmware releases, in case it is not there you can always download them from our git repository:
Line 120: Line 123:
  
 
{| class="contenttable sortable"
 
{| class="contenttable sortable"
|-
+
|- style="height: 22px;"
! style="text-align: center;"|IGEP BOARD
+
! style="text-align: center; height: 22px;"|IGEP BOARD
! style="text-align: center;"|Firmware v1.0 no-x11
+
! style="text-align: center; height: 22px;"|Firmware v1.0 no-x11 (Pyro 2.3)
 
|-
 
|-
 
| style="text-align: center;"|IGEPv2
 
| style="text-align: center;"|IGEPv2
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0020/ready-rootfs/yocto/minimal/igep0020-yocto-minimal-kernel-4-9-81.tar.bz2 Yocto Pyro IGEPv2 Minimal]
+
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0020/firmware/igep0020-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro IGEPv2 Minimal]
|-
+
|- style="height: 22px;"
| style="text-align: center;"|IGEP COM MODULE
+
| style="text-align: center; height: 22px;"|IGEP COM MODULE
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0030/firmware/igep0030-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro COM MODULE Minimal]
+
| style="text-align: center; height: 22px;"|[http://downloads.isee.biz/pub/relaunch/igep0030/firmware/igep0030-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro COM MODULE Minimal]
|-
+
|- style="height: 22px;"
| style="text-align: center;"|IGEP COM AQUILA
+
| style="text-align: center; height: 22px;"|IGEP COM AQUILA
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0033/firmware/igep0033-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro AQUILA (NAND 512 MB) Minimal]
+
| style="text-align: center; height: 22px;"|[http://downloads.isee.biz/pub/relaunch/igep0033/firmware/igep0033-yocto-pyro-minimal-firmware-v1.0_512.tar.bz2 Yocto Pyro AQUILA (NAND 512 MB) Minimal  |][http://downloads.isee.biz/pub/relaunch/igep0033/firmware/igep0033-yocto-pyro-skeltal-firmware-v1.0.tar.bz2  <span style="color: #ff0000;">Yocto Pyro AQUILA (NAND 128MB) Skeltal ***</span>]
|-
+
|- style="height: 22px;"
| style="text-align: center;"|IGEP SMARC AM335X
+
| style="text-align: center; height: 22px;"|IGEP SMARC AM335X
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0034/firmware/igep0034-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro AM335X -Minimal]
+
| style="text-align: center; height: 22px;"|[http://downloads.isee.biz/pub/relaunch/igep0034/firmware/igep0034-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro AM335X -Minimal]
|-
+
|- style="height: 22px;"
| style="text-align: center;"|IGEP SMARC iMX6
+
| style="text-align: center; height: 22px;"|IGEP SMARC iMX6
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0046dl/firmware/igep0046dl-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro iMX6DL Minimal] | [http://downloads.isee.biz/pub/relaunch/igep0046q/firmware/igep0046q-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro iMX6Q Minimal]
+
| style="text-align: center; height: 22px;"|[http://downloads.isee.biz/pub/relaunch/igep0046dl/firmware/igep0046dl-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro iMX6DL Minimal] | [http://downloads.isee.biz/pub/relaunch/igep0046q/firmware/igep0046q-yocto-pyro-minimal-firmware-v1.0.tar.bz2 Yocto Pyro iMX6Q Minimal]
|-
+
|- style="height: 22px;"
| style="text-align: center;"|IGEP SMARC iMX6UL/ULL
+
| style="text-align: center; height: 22px;"|IGEP SMARC iMX6UL/ULL
| style="text-align: center;"|[http://downloads.isee.biz/pub/relaunch/igep0146/ready-rootfs/yocto/minimal/igep0146-yocto-minimal-kernel-4-9-11.tar.bz2 Yocto Pyro iMX6UL Minimal]
+
| style="text-align: center; height: 22px;"|[http://downloads.isee.biz/pub/relaunch/igep0146/ready-rootfs/yocto/minimal/igep0146-yocto-minimal-kernel-4-9-11.tar.bz2 Yocto Pyro iMX6UL Minimal]
 
|}
 
|}
 +
<span style="color: #ff0000;">*** Only use this firmware to flash the NAND memory of and IGEP COM AQUILA with 128 MiB NAND. Place it at /opt/firmware and execute the procedure in '' [http://labs.isee.biz/index.php/How_to_flash_the_latest_software_image How Update board Flash with the latest software image]''</span>
  
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the IGEP
+
Insert a SD-Card media and use the [http://labs.isee.biz/index.php/IGEP_Firmware_set-up#IGEP-Tools igep-media-create] script to copy the firmware to SD-Card media.
 
 
<pre>tar jxf igep_firmware-yocto-*.tar.bz2
 
cd igep_firmware-yocto-*</pre>
 
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.
 
  
 
<pre>./igep-media-create --cp-uenv -–mmc  --image  --machine </pre>
 
<pre>./igep-media-create --cp-uenv -–mmc  --image  --machine </pre>
 
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:
 
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:
  
* igep0033 - For IGEP COM AQUILA Processor Board
+
* '''igep0033''' - For IGEP COM AQUILA Processor Board
* igep0034- For IGEP SMARC AM335x , <span style="color: #0000ff;">'''IGEPv2'''</span> , <span style="color: #0000ff;">'''IGEP COM MODULE'''</span> and '''<span style="color: #0000ff;">IGEP COM PROTON</span>''' Processor Boards
+
* '''igep0034'''- For IGEP SMARC AM335x , <span style="color: #0000ff;">'''IGEPv2'''</span> , <span style="color: #0000ff;">'''IGEP COM MODULE'''</span> and '''<span style="color: #0000ff;">IGEP COM PROTON</span>''' Processor Boards
* igep0046 - For IGEP iMX6, iMX6UL Processor Board (S/DL/Q/UL/ULL)
+
* '''igep0046''' - For IGEP iMX6, iMX6UL Processor Board (S/DL/Q/UL/ULL)
 +
 
 +
'''<span style="color: #ff0000;">*** It is important to use igep0034 machine even for IGEPv2  (igep0020) IGEP COM MODULE  (igep0030) and IGEP COM PROTON (igep0032) for this specific tool due to backwards incompatibility. Until a new patch of igep-media-create is made. Remember for those boards to use --machine igep0034 as argument</span>'''
  
<br />For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type
+
<br />For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board , type
  
<pre>./igep-media-create --cp-uenv --mmc /dev/sdf --machine igep0020 --image demo-image-sato-igep00x0.tar.bz2</pre>
+
<pre>./igep-media-create --cp-uenv --mmc /dev/sdf --machine igep0034 --image igep0020-yocto-pyro-minimal-firmware-v1.0.tar.bz2</pre>
 
For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM MODULE ('igep0030'), type
 
For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM MODULE ('igep0030'), type
  
<pre>./igep-media-create --cp-uenv --mmc /dev/sdb --machine igep0030 --image demo-image-sato-igep00x0.tar.bz2</pre>
+
<pre>./igep-media-create --cp-uenv --mmc /dev/sdb --machine igep0034 --image igep0020-yocto-pyro-minimal-firmware-v1.0.tar.bz2</pre>
 
These methods should give you a bootable SD-card.
 
These methods should give you a bootable SD-card.

Latest revision as of 14:05, 27 November 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 release 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 release 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 release 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/rootf

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.
  • writeloader: Used by igep-flash when flashing igep-firmware for IGEPv2, IGEP COM MODULE, and IGEP COM PROTON boards due to ECC compatibility in those board's NAND

Usually igep-tools should come installed by default with igep firmware releases, in case it is not there you can always download them from our git repository:

git clone https://git.isee.biz/igep-tools/igep-tools.git
cd igep-tools/script

Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media, required options are:

Install IGEP Firmware on bootable SD-card

(usefull also How Update board Flash with the latest software image )

The first thing you'll do is download the latest firwmare according to your igep model


IGEP BOARD Firmware v1.0 no-x11 (Pyro 2.3)
IGEPv2 Yocto Pyro IGEPv2 Minimal
IGEP COM MODULE Yocto Pyro COM MODULE Minimal
IGEP COM AQUILA Yocto Pyro AQUILA (NAND 512 MB) Minimal  |Yocto Pyro AQUILA (NAND 128MB) Skeltal ***
IGEP SMARC AM335X Yocto Pyro AM335X -Minimal
IGEP SMARC iMX6 Yocto Pyro iMX6DL Minimal | Yocto Pyro iMX6Q Minimal
IGEP SMARC iMX6UL/ULL Yocto Pyro iMX6UL Minimal

*** Only use this firmware to flash the NAND memory of and IGEP COM AQUILA with 128 MiB NAND. Place it at /opt/firmware and execute the procedure in  How Update board Flash with the latest software image

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

./igep-media-create --cp-uenv -–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:

  • igep0033 - For IGEP COM AQUILA Processor Board
  • igep0034- For IGEP SMARC AM335x , IGEPv2 , IGEP COM MODULE and IGEP COM PROTON Processor Boards
  • igep0046 - For IGEP iMX6, iMX6UL Processor Board (S/DL/Q/UL/ULL)

*** It is important to use igep0034 machine even for IGEPv2  (igep0020) IGEP COM MODULE  (igep0030) and IGEP COM PROTON (igep0032) for this specific tool due to backwards incompatibility. Until a new patch of igep-media-create is made. Remember for those boards to use --machine igep0034 as argument


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

./igep-media-create --cp-uenv --mmc /dev/sdf --machine igep0034 --image igep0020-yocto-pyro-minimal-firmware-v1.0.tar.bz2

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

./igep-media-create --cp-uenv --mmc /dev/sdb --machine igep0034 --image igep0020-yocto-pyro-minimal-firmware-v1.0.tar.bz2

These methods should give you a bootable SD-card.