Update the PRE-INSTALLED software image to a current release

From IGEP - ISEE Wiki

Revision as of 16:46, 13 August 2012 by Pau (talk | contribs)

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.


Pre-installed software on IGEP Processor Boards

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

Now you have a booted board with latest 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.bz

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.bz --skip-nandtest 

Firmware releases

IMPORTANT NOTE (Update on February 29th, 2012):


IGEP™ Processor Boards with new 512 MB RAM and 512 MB NAND flash from Micron require a recent version of IGEP X-LOADER and KERNEL ottherwise they won't boot correctly. Bootable microSD cards with software older will not boot these upgraded COMs. Follow the “IGEP™ firmware update procedure” to update to the latest firmware version.

The required minimum versions of software that supports the new flash are v2.4.0-2 for IGEP X-LOADER and 2.6.37-2 for KERNEL

Bootable boards and MicroSD cards with software older than version 3.3.1-11 will not boot properly, please update to the latest version


  • Poky Image Sato Release 3.3.1-11
    • What's new ?
      • Support for new 512 MB RAM and 512 MB NAND flash from Micron
      • Updated kernel to the latest stable release 2.6.37-2, see Linux Kernel 2.6.37.y for details
      • Updated IGEP X-LOADER to 2.4.0-2
    • Supported IGEP™ products.
      • Boards :
        • IGEP™ v2
        • IGEP™ COM MODULE
        • IGEP™ COM PROTON
      • Expansion boards :
        • IGEP™ v2 EXPANSION
        • IGEP™ BERLIN
        • IGEP™ PARIS
        • IGEP™ NEW YORK