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

From IGEP - ISEE Wiki

Jump to: navigation, search
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<br>
+
{{Message/Information Message|title=|message='''IMPORTANT NOTE''': This software is distributed in the hope that it will be useful, but '''WITHOUT ANY WARRANTY''';
{| width="97%" cellspacing="4" cellpadding="4" border="0" align="center"
+
without even the implied warranty of '''MERCHANTABILITY''' or '''FITNESS FOR A PARTICULAR PURPOSE'''}}  
|-
+
 
| bgcolor="#ff0000" |
+
<br>  
[[Image:Warning_icon.png|left|52x47px]]<span style="color: rgb(255, 255, 255);">'''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'''</span>
 
|}
 
<br>
 
<hr>
 
<br>
 
  
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.
+
----
  
<br>
+
= Summary =
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.
 
  
<br>
+
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.  
Therefore, when you power up your board it '''boots the pre-installed software''', which consists on a minimal '''Linux-based distribution''' with a lite X Window System and GNOME Mobile based applications created with Poky Platform Builder.
 
  
<br>
+
This tutorial will follow the following steps:
If you want to '''update your pre-installed software''', you can '''create a MicroSD card''' in your host PC with the latest sofwtare. Then boot your IGEP Processor Board from that MicroSD card.
 
  
<br>
+
#'''Download the latest firmware''' from ISEE in a Linux PC.
Finally, you can write the updated software from the MicroSD to the flash memory on your IGEP device.
+
#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.
  
<br>
+
{{Message/Information Message|message=If you want to run a '''different software distribution''', you can follow this article: [[How to boot from MicroSD Card]].}}
This How-To is meant to be a starting point for people to learn to:
 
* '''create a SD card with latest firmware''' available
 
* write it to the flash memory
 
  
for any IGEP Processor Board as quickly and easily as possible.
 
 
<br>
 
<br>
<br>
 
Note: 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. We do not issue any guarantee that this will work on other distributions.
 
<br>
 
 
= How to create a SD-card with latest software image =
 
 
The first thing you'll do is download latest firwmare
 
 
wget http://downloads.igep.es/binaries/firmware/poky-firmware-3.3.1-8.tar.gz
 
 
Next, untar the firmware and enter to the directory
 
 
tar xzf poky-firmware-3.3.1-8.tar.gz
 
cd poky-firmware-3.3.1-8/
 
 
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-20110921101149.tar.gz --machine [machine]
+
{{Message/Forum}}
  
where:
 
* [device] is the SD card device name, for example: /dev/sdb
 
* [machine] is the machine name, options are
 
** igep0020 // for IGEPv2
 
** igep0030 // for IGEP COM MODULE
 
  
Finally plug the SD card into IGEP device and power up your board.
+
= How to create a SD-card with the latest software image  =
  
= How to flash the latest software image =
+
''(from [[How to create a SD-card with the latest software image]])'' {{:How to create a SD-card with the latest software image}}
  
Now you have a booted board with latest firmware running from SD card, you can write the firmware to the flash memory.
+
= How to flash the latest software image  =
  
Enter to the IGEP device using root as login name and an empty password, enter to the /opt/firmware an run the ./flash script
+
''(from [[How to flash the latest software image]])''
  
cd /opt/firmware
+
{{:How to flash the latest software image}}
./flash.sh
 
  
When finish, unplug the SD card and reboot the board, enjoy the new firmware running from flash memory.
+
= Pre-installed software on IGEP Processor Boards  =
 +
''(from [[Pre-installed_software_on_IGEP_Processor_Boards]])''
 +
{{#lst:Pre-installed_software_on_IGEP_Processor_Boards}}
  
[[Category:Software]]
+
[[Category:Software]] [[Category:Boot_loaders]] [[Category:Linux_Kernel]] [[Category:Software_distributions]]
[[Category:Sotware applications]]
 
[[Category:Tutorials]]
 

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