IGEP Firmware set-up

From IGEP - ISEE Wiki

Jump to: navigation, search

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/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</span>

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