Difference between revisions of "How to create a SD-card with the latest software image"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
m
Line 2: Line 2:
 
There is no guarantee that this will work on other ones.}}  
 
There is no guarantee that this will work on other ones.}}  
  
<br> Start session in IGEP&nbsp;SDK&nbsp;Virtual Machine. The first thing you'll do is download latest firwmare from the ISEE site.  
+
<br> Start session in IGEP&nbsp;SDK&nbsp;Virtual Machine. The first thing you'll do is download the latest firwmare from [http://isee.biz/ ISEE site].  
  
Download it from the Software / IGEP Firmware section of your board:
+
#Select Products -&gt; Processor Boards
 +
#Click on your processor board product.
 +
#Click on Software tab
 +
#Click on IGEP Firmware  
 +
#Select Download icon.
  
<br>  
+
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the IGEP
 
+
<pre>tar jxf igep_firmware-yocto-*.tar.bz2
http://www.isee.biz/products/processor-boards/igepv2-board for IGEPv2
+
cd igep_firmware-yocto-*</pre>  
 
+
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.  
http://www.isee.biz/products/processor-boards/igep-com-module for IGEP COM MODULE
+
<pre>./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine </pre>
 
+
<br><br><br> '''Create a MicroSD Card'''  
http://www.isee.biz/products/processor-boards/igep-com-proton for IGEP COM PROTON
 
 
 
<br>  
 
 
 
Next, we will use the application 'tar' to untar (uncompress) the downloaded file.  
 
 
 
Open a Terminal session and go to the directory where you have your downloaded file. Then type:
 
 
 
tar xzf poky-firmware-3.3.1-11.tar.gz
 
 
 
Next, you can enter the extracted directory:
 
 
 
cd poky-firmware-3.3.1-1/
 
 
 
<br> '''Create a MicroSD Card'''  
 
  
 
Now, lets create the MicroSD card with the latest firmware. Before it, you have to know '''which 'device' is the MicroSD listed in the /dev/ directory''', a directory where the detected devices are listed by the Linux system.  
 
Now, lets create the MicroSD card with the latest firmware. Before it, you have to know '''which 'device' is the MicroSD listed in the /dev/ directory''', a directory where the detected devices are listed by the Linux system.  

Revision as of 13:47, 13 August 2012

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.


Start session in IGEP SDK Virtual Machine. The first thing you'll do is download the latest firwmare from ISEE site.

  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 




Create a MicroSD Card

Now, lets create the MicroSD card with the latest firmware. Before it, you have to know which 'device' is the MicroSD listed in the /dev/ directory, a directory where the detected devices are listed by the Linux system.

To know the device name, follow this instructions:

Insert your MicroSD card into the Linux host machine (the machine where you have downloaded the firmware).

In your Terminal session, run the following system command:

dmesg

This instruction will prompt all the system traces. If your MicroSD card has actually been detected by the system, the last lines of that prompt will correspond to the MicroSD card detection and mounting.

Check the MicroSD name and path, for example: /dev/sdb and remember it.

Now you can run the following script in the directory you have just extracted, and you will have to add some parameters. In your Terminal session, type:


./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] the parameter --binary is actually the name of another .tar.gz compressed file that you have already extracted in the previous steps. If you want to auto-complete the [timestamp] parameter, press TAB in the timestamp when writing the instruction and the system will write the name of the file automatically.
  • [machine] is the machine name, options are:
    • igep0020 , for IGEPv2
    • igep0030 , for IGEP COM MODULE
    • igep0032 , for IGEP COM PROTON


This instruction will last a few minutes. When the process ends, you will have a MicroSD card with the latest software on it.

Finally plug the MicroSD card into IGEP Processor Board and power up your board.