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 the latest firwmare from [http://isee.biz/ ISEE site].  
+
'''Create a MicroSD Card''' <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].  
  
 
#Select Products -&gt; Processor Boards  
 
#Select Products -&gt; Processor Boards  
Line 15: Line 15:
 
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.  
 
Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media.  
 
<pre>./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine </pre>  
 
<pre>./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine </pre>  
<br><br><br> '''Create a MicroSD Card'''
+
where:<br>&lt;mmc&gt; - is the SD-Card device of your computer.<br>&lt;image file&gt; - is the file that contains bootloader, kernel and rootfs image.<br>&lt;machine&gt; - 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
 +
 
 +
For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type<br>
 +
<pre>./igep-media-create --mmc /dev/sdf --machine igep0020 --image demo-image-sato-igep00x0.tar.bz2</pre>
 +
This should give you a bootable SD-card.<br><br><br><br><br>
  
 
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:50, 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.

Create a MicroSD Card
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 

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

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

This should give you a bootable SD-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.