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

From IGEP - ISEE Wiki

Jump to: navigation, search
m
 
(24 intermediate revisions by 7 users not shown)
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 />
+
'''Create IGEP Firmware bootable SD-card''' <br>  
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:
+
'''IGEP AM335x''' - The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-4-2-0-am335x ISEE site Yocto IGEP AM335x] <br>
 +
'''IGEP OMAP 3''' - Start session in IGEP SDK Virtual Machine. The first thing you'll do is download the latest firwmare from [http://www.isee.biz/support/downloads/item/igep-firmware-yocto-1-2-2-6 ISEE site Yocto IGEP OMAP 3] <br>
 +
'''IGEP SMARC i.MX6 Dual/Quad''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6q-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Dual/Quad] <br>
 +
'''IGEP SMARC i.MX6 DualLite''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6dl-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 DualLite] <br>
 +
'''IGEP SMARC i.MX6 Solo''' - The first thing you'll do is download the latest firwmare from [http://downloads.isee.biz/pub/releases/firmware/igep_firmware-yocto-1.8-0-imx6s-igep0046.tar.bz2 ISEE site Yocto IGEP SMARC i.MX6 Solo] <br>
  
<section begin=IGEPv2 />
+
<br>  
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
 
<section end=IGEP_COM_MODULE /><section begin=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 />
+
#Select Products -&gt; Processor Boards
Next, we will use the application 'tar' to untar (uncompress) the downloaded file.
+
#Click on your processor board product.
 +
#Click on Software tab
 +
#Click on IGEP Firmware
 +
#Select Download icon.
  
Open a Terminal session and go to the folder where you have your downloaded file. Then type:
+
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the IGEP
 +
<pre>tar jxf igep_firmware-yocto-*.tar.bz2
 +
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.
 +
<pre>./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine <machine></pre>
 +
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:  
  
tar xzf poky-firmware-3.3.1-11.tar.gz
+
*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
  
Next, you can enter the extracted directory:
 
  
cd poky-firmware-3.3.1-1/
+
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>
 +
For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM&nbsp;MODULE ('igep0030'), type<br>
 +
<pre>./igep-media-create --mmc /dev/sdb --machine igep0030 --image demo-image-sato-igep00x0.tar.bz2</pre>
 +
These methods should give you a bootable SD-card. <br>
  
 +
<br>
  
'''Create a MicroSD Card'''
+
'''Booting IGEP device and login/connect methods'''  
  
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.
+
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.  
  
To '''know the device name''', follow this instructions:
+
If you want login in/connect to the system, you have several options: <br>
  
'''Insert your MicroSD card''' into the Linux host machine (the machine where you have downloaded the firmware).
+
*'''Serial debug link''', you should just plug serial cable to your computer<br>
 +
*'''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&nbsp;<br>
 +
*'''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 <br>
 +
*'''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
  
In your Terminal session, run the following '''system command''':
+
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. <br>
  
dmesg
+
Then, you could play and fun with IGEP&nbsp;board.
  
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.
+
For example, you could flash the latest software image into internal FLASH memory ( [http://labs.isee.biz/index.php/How_to_flash_the_latest_software_image How to flash the latest software image] )
  
Check the '''MicroSD name and path''', for example: /dev/sdb and remember it.
+
<br>
  
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:
+
<br>
  
 +
{{Message/Forum}}
  
./poky-media-create --mmc [device] --binary poky-image-sato-igep00x0-[timestamp].tar.gz --machine [machine]
+
[[Category:Software]] [[Category:Boot_loaders]] [[Category:Software_distributions]] [[Category:Linux_Kernel]]
 
 
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:
 
<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_PROTON />** igep0032 , for IGEP COM PROTON<section end=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.
 
 
 
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 />
 

Latest revision as of 18:07, 7 December 2016

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