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.
 +
There is no guarantee that this will work on other distributions.}}
 +
 
<section begin=IGEPv2 />
 
<section begin=IGEPv2 />
 
<section begin=IGEP_COM_MODULE />
 
<section begin=IGEP_COM_MODULE />
 
<section begin=IGEP_COM_PROTON />
 
<section begin=IGEP_COM_PROTON />
{{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.
 
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.
 
Start session in a Linux PC. The first thing you'll do is download latest firwmare from the ISEE site.
  
Line 17: Line 17:
 
<section end=IGEP_COM_PROTON />
 
<section end=IGEP_COM_PROTON />
  
Next, open a Terminal to untar the firmware you have just donwloaded and enter to the directory:
+
 
 +
Next, we will use the application 'tar' to untar (uncompress) the downloaded file.
 +
 
 +
Open a Terminal session and go to the folder 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
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
+
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 folder 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]
 
  ./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
+
* '''[device]''' is the SD card device name, for example: /dev/sdb
* [timestamp] is the timestamp of tar.gz file
+
* '''[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 is
+
* '''[machine]''' is the machine name, options are:
 
<section begin=IGEPv2 />** igep0020 , for IGEPv2<section end=IGEPv2 />
 
<section begin=IGEPv2 />** igep0020 , for IGEPv2<section end=IGEPv2 />
 
<section begin=IGEP_COM_MODULE />** igep0030 , for IGEP COM MODULE<section end=IGEP_COM_MODULE />
 
<section begin=IGEP_COM_MODULE />** igep0030 , for IGEP COM MODULE<section end=IGEP_COM_MODULE />
 
<section begin=IGEP_COM_PROTON />** igep0032 , for IGEP COM PROTON<section end=IGEP_COM_PROTON />
 
<section begin=IGEP_COM_PROTON />** igep0032 , for IGEP COM PROTON<section end=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.
 
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 />
 
<section end=IGEPv2 /><section end=IGEP_COM_MODULE /><section end=IGEP_COM_PROTON />

Revision as of 16:12, 2 May 2012

Information.jpg 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.

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:


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 folder 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 folder 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.