Difference between revisions of "Update the PRE-INSTALLED software image to a current release"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (Pre-installed software on IGEP Processor Boards)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Message/Information Message|title=TITLE|message='''IMPORTANT NOTE''': This software is distributed in the hope that it will be useful, but '''WITHOUT ANY WARRANTY''';
+
{{Message/Information Message|title=|message='''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'''}}
+
without even the implied warranty of '''MERCHANTABILITY''' or '''FITNESS FOR A PARTICULAR PURPOSE'''}}  
  
 +
<br>
  
 
----
 
----
  
= Pre-installed software on IGEP Processor Boards =
+
= Summary =
  
{{#lst:Pre-installed software on IGEP Processor Boards|section01}}
+
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.
  
''(for more information read the article: [[Pre-installed software on IGEP Processor Boards]] or visit the [[:Category:Software|software]] category)''
+
This tutorial will follow the following steps:  
  
If you want to '''update your pre-installed software''':
+
#'''Download the latest firmware''' from ISEE in a Linux PC.
 +
#Run a script that will automatically setup and '''create a MicroSD card''' with the latest software in your host PC.
 +
#Then '''boot your IGEP Processor Board''' from that MicroSD card you have just created.
 +
#Finally, you can write the updated software from the MicroSD to the '''flash memory''' on your IGEP device.
  
# '''Create a MicroSD card in your host PC''' with the latest software.
+
{{Message/Information Message|message=If you want to run a '''different software distribution''', you can follow this article: [[How to boot from MicroSD Card]].}}
# Then '''boot your IGEP Processor Board''' from that MicroSD card you have just created.
 
# Finally, you can write the updated software from the MicroSD to the '''flash memory''' on your IGEP device.
 
  
= How to create a SD-card with latest software image =
+
<br>
  
{{Message/Information Message|title=TITLE|message=This How-To was tested with an Ubuntu 10.04 host machine, but most of the contents are valid also for other GNU/Linux distributions.
+
{{Message/Forum}}
There is no guarantee that this will work on other distributions.}}
 
  
Start session in a Linux PC. The first thing you'll do is download latest firwmare from the ISEE site.
 
  
Download it from the Software / IGEP Firmware section of your board:
+
= How to create a SD-card with the latest software image  =
  
http://www.isee.biz/products/processor-boards/igepv2-board for IGEPv2
+
''(from [[How to create a SD-card with the latest software image]])'' {{:How to create a SD-card with the latest software image}}
  
  http://www.isee.biz/products/processor-boards/igep-com-module for IGEP COM MODULE
+
= How to flash the latest software image =
  
http://www.isee.biz/products/processor-boards/igep-com-proton for IGEP COM PROTON
+
''(from [[How to flash the latest software image]])''
  
 +
{{:How to flash the latest software image}}
  
Next, open a Terminal to untar the firmware you have just donwloaded and enter to the directory:
+
= Pre-installed software on IGEP Processor Boards  =
 +
''(from [[Pre-installed_software_on_IGEP_Processor_Boards]])''
 +
{{#lst:Pre-installed_software_on_IGEP_Processor_Boards}}
  
tar xzf poky-firmware-3.3.1-11.tar.gz
+
[[Category:Software]] [[Category:Boot_loaders]] [[Category:Linux_Kernel]] [[Category:Software_distributions]]
cd poky-firmware-3.3.1-11/
 
 
 
Insert your SD card into the host machine (the machine you downloaded the firmware), and run following command
 
 
 
./poky-media-create --mmc [device] --binary poky-image-sato-igep00x0-[timestamp].tar.gz --machine [machine]
 
 
 
where:
 
* [device] is the SD card device name, for example: /dev/sdb
 
* [timestamp] is the timestamp of tar.gz file
 
* [machine] is the machine name, options are
 
** igep0020
 
** igep0030
 
** igep0032
 
 
 
Finally plug the MicroSD card into IGEP Processor Board and power up your board.
 
 
 
= 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 ./flash script
 
 
 
cd /opt/firmware
 
./flash.sh
 
 
 
When finish, unplug the MicroSD card and reboot the board, enjoy the new firmware running from flash memory.
 
 
 
= Firmware releases =
 
<span style="color: red;">'''IMPORTANT NOTE (Update on February 29th, 2012): '''<br/><br/>
 
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.
 
</span>
 
 
 
<span style="color: red;">
 
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
 
</span>
 
 
 
<span style="color: red;">
 
'''Bootable boards and MicroSD cards with software older than version 3.3.1-11 will not boot properly, please update to the latest version'''
 
</span>
 
<hr>
 
 
 
* '''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
 
 
 
[[Category:Software]]
 
[[Category:Boot loaders]]
 
[[Category:Linux Kernel]]
 
[[Category:Software distributions]]
 

Latest revision as of 16:14, 2 March 2016

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