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 1: Line 1:
{{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/Information Message|title=TITLE|message=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 distributions.}}
+
There is no guarantee that this will work on other ones.}}  
  
<section begin=IGEPv2 /><section begin=IGEP_COM_MODULE /><section begin=IGEP_COM_PROTON />
+
<br> Start session in a Linux PC. The first thing you'll do is download latest firwmare from the ISEE site.  
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:
 +
 
 +
<br>
  
Download it from the Software / IGEP Firmware section of your board:
 
<section end=IGEPv2 /><section end=IGEP_COM_MODULE /><section end=IGEP_COM_PROTON />
 
<section begin=IGEPv2 />
 
 
  http://www.isee.biz/products/processor-boards/igepv2-board for IGEPv2
 
  http://www.isee.biz/products/processor-boards/igepv2-board for IGEPv2
<section end=IGEPv2 /><section begin=IGEP_COM_MODULE />
+
 
 
  http://www.isee.biz/products/processor-boards/igep-com-module for IGEP COM MODULE
 
  http://www.isee.biz/products/processor-boards/igep-com-module for IGEP COM MODULE
<section end=IGEP_COM_MODULE /><section begin=IGEP_COM_PROTON />
+
 
 
  http://www.isee.biz/products/processor-boards/igep-com-proton for IGEP COM PROTON
 
  http://www.isee.biz/products/processor-boards/igep-com-proton for IGEP COM PROTON
<section end=IGEP_COM_PROTON />
 
  
<section begin=IGEPv2 /><section begin=IGEP_COM_MODULE /><section begin=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:
+
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
 
  tar xzf poky-firmware-3.3.1-11.tar.gz
  
Next, you can enter the extracted directory:
+
Next, you can enter the extracted directory:  
  
 
  cd poky-firmware-3.3.1-1/
 
  cd poky-firmware-3.3.1-1/
  
 +
<br> '''Create a MicroSD Card'''
  
'''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.
+
To '''know the device name''', follow this instructions:
  
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).
  
'''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''':  
 
 
In your Terminal session, run the following '''system command''':
 
  
 
  dmesg
 
  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.
+
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.
+
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:
+
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:  
  
 +
<br>
  
 
  ./poky-media-create --mmc [device] --binary poky-image-sato-igep00x0-[timestamp].tar.gz --machine [machine]
 
  ./poky-media-create --mmc [device] --binary poky-image-sato-igep00x0-[timestamp].tar.gz --machine [machine]
  
where:
+
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.
+
*'''[device]''' is the SD card device name, for example: /dev/sdb  
* '''[machine]''' is the machine name, options are:
+
*'''[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.  
<section end=IGEPv2 /><section end=IGEP_COM_MODULE /><section end=IGEP_COM_PROTON />
+
*'''[machine]''' is the machine name, options are:
<section begin=IGEPv2 />** igep0020 , for IGEPv2<section end=IGEPv2 />
+
 
<section begin=IGEP_COM_MODULE />** igep0030 , for IGEP COM MODULE<section end=IGEP_COM_MODULE />
+
**igep0020 , for IGEPv2  
<section begin=IGEP_COM_PROTON />** igep0032 , for IGEP COM PROTON<section end=IGEP_COM_PROTON />
+
**igep0030 , for IGEP COM MODULE  
+
**igep0032 , for IGEP COM PROTON
<section begin=IGEPv2 /><section begin=IGEP_COM_MODULE /><section begin=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.
+
<br> 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.
+
Finally plug the MicroSD card into IGEP Processor Board and power up your board.  
  
<section end=IGEPv2 /><section end=IGEP_COM_MODULE /><section end=IGEP_COM_PROTON />
+
<br>  
  
[[Category:Software]]
+
[[Category:Software]] [[Category:Boot_loaders]] [[Category:Software_distributions]] [[Category:Linux_Kernel]]
[[Category:Boot loaders]]
 
[[Category:Software distributions]]
 
[[Category:Linux Kernel]]
 

Revision as of 13:39, 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 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:


http://www.isee.biz/products/processor-boards/igepv2-board for IGEPv2
http://www.isee.biz/products/processor-boards/igep-com-module for IGEP COM MODULE
http://www.isee.biz/products/processor-boards/igep-com-proton for IGEP COM PROTON


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/


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.