Update the PRE-INSTALLED software image to a current release

From IGEP - ISEE Wiki

Jump to: navigation, search
Information.jpg IMPORTANT NOTE: This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;

without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE



Summary

This article explains how to update the pre-installed software of your IGEP Processor Board to a current release. This will update to the latest available version of the pre-installed software, which consists of IGEP X-Loader, IGEP Kernel and the IGEP firmware Yocto.

This tutorial will follow the following steps:

  1. Download the latest firmware from ISEE in a Linux PC.
  2. Run a script that will automatically setup and create a MicroSD card with the latest software in your host PC.
  3. Then boot your IGEP Processor Board from that MicroSD card you have just created.
  4. Finally, you can write the updated software from the MicroSD to the flash memory on your IGEP device.
Information.jpg If you want to run a different software distribution, you can follow this article: How to boot from MicroSD Card.


Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png


How to create a SD-card with the latest software image

(from How to create a SD-card with the latest software image)

Information.jpg 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 <mmc> --image <image file> --machine <machine>

where:
<mmc> - is the SD-Card device of your computer.
<image file> - is the file that contains bootloader, kernel and rootfs image.
<machine> - 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 )



Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png

How to flash the latest software image

(from How to flash the latest software image)

Flashing only supported on the following boards

IGEP SMARC AQUILA (512 MiB NaND)
IGEP SMARC AM335X
IGEP SMARC iMX6
IGEP SMARC iMX6UL

Now you have a booted IGEP board with latest IGEP firmware running from MicroSD card, you can write the firmware to the flash memory.

Enter to the IGEP Processor Board using 'root' as login name and an 'empty password', enter to the /opt/firmware and run the igep-flash script

igep-flash --image /opt/firmware/demo-image-sato-igep00x0.tar.bz2

When finish, power off your board, unplug the micro-SD card and power on the board. That's all, enjoy the new firmware running from the flash memory.

NOTE: You can speed up flash procedure. By default the flash script runs the nandtest command to mark bad blocks, this can take a long time and in most cases is not necessary, you can speed up the flash procedure running the script as follows:

igep-flash --image /opt/firmware/demo-image-sato-igep00x0.tar.bz2 --skip-nandtest 

Pre-installed software on IGEP Processor Boards

(from Pre-installed_software_on_IGEP_Processor_Boards)

Overview

If you have a brand new IGEP Processor Board you must know that it comes with a firmware provided and installed on it by ISEE.

By default, if you power up your board it will run the software on the flash. But you can prepare a MicroSD card and boot from it by inserting it to the MicroSD card reader of your IGEP Processor Board, as it has more priority than the flash.

The pre-installed software consists of a minimal Linux-based distribution with a lite X Window System and GNOME Mobile based applications created with Yocto Platform Builder.

About the pre-installed software

The pre-installed software consists of:

  • IGEP X-loader: a bootloader compatible with all IGEP Processor Boards.
  • IGEP Kernel: a Linux Kernel maintained by ISEE.
  • IGEP firmware Yocto: the software distribution consists of a lite X Window System and GNOME Mobile based applications created with Yocto tools

For more information about these specific sotware, read the following articles:

Other useful articles:


Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png