Difference between revisions of "How to upgrade and recover the factory firmware"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
#REDIRECT:[[Update the PRE-INSTALLED software image to a current release]]
 +
__TOC__
 +
 
== How to upgrade the factory firmware ==
 
== How to upgrade the factory firmware ==
 
=== Overview of How-To ===
 
=== Overview of How-To ===
 
This How-To is meant to be a starting point for people to learn how to upgrade the factory firmware for IGEP v2 devices as quickly and easily as possible.
 
This How-To is meant to be a starting point for people to learn how to upgrade the factory firmware for IGEP v2 devices as quickly and easily as possible.
  
This How-To works with the Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.
+
This How-To works with the [[Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine | Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]] but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.
  
 
=== Requirements ===
 
=== Requirements ===
*'''Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine'''
+
*[[Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine | '''Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine''']]
  
 
=== Upgrade the factory firmware ===
 
=== Upgrade the factory firmware ===
 
==== Upgrade the firmware using an NFS-TFTP environment ====
 
==== Upgrade the firmware using an NFS-TFTP environment ====
First of all setup a poky-image-sato NFS-TFTP environment using latest images as explained in [[Ubuntu804IGEPv20SDKVirtualMachine|Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]]
+
First of all setup a poky-image-sato NFS-TFTP environment using latest images as explained in [[Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]]
  
 
With this kernel the partitions looks like,
 
With this kernel the partitions looks like,
Line 40: Line 43:
 
Restart your board and enjoy your new firmware. That's all folks.
 
Restart your board and enjoy your new firmware. That's all folks.
  
=== Annex: firmware status ===
+
=== I want compile and hack all software ===
<pre>
+
* [[The_bootloader_X-loader]]
#html
+
* [[The_bootloader_U-Boot]]
<!-- Start table -->
+
* [[The_Linux_kernel]]
<table cellspacing="2" cellpadding="2" border="1" style="color:black; border-collapse: collapse;">
+
* [[Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine]]
  <tr style="background:#d1d1d1; text-align:center;">
 
    <th><b>&nbsp;Firmware version&nbsp;</b></th>
 
    <th><b>&nbsp;X-load version&nbsp;</b></th>
 
    <th><b>&nbsp;U-boot version&nbsp;</b></th>
 
    <th><b>&nbsp;Kernel version&nbsp;</b></th>
 
    <th><b>&nbsp;Rootfs&nbsp;</b></th>
 
    <th><b>&nbsp;Hw. Rev. B&nbsp;</b></th>
 
    <th><b>&nbsp;Hw. Rev. C&nbsp;</b></th>
 
  </tr>
 
  <tr style="text-align:center;">
 
    <td>&nbsp;<a href="http://downloads.myigep.com/releases/binaries/firmware/firmware-poky-image-sato-igep0020-3.2.1-0.tar.gz">3.2.1-0</a><a href="http://downloads.myigep.com/releases/binaries/firmware/firmware-poky-image-sato-igep0020-3.2.1-0.tar.gz.md5">&nbsp;(md5sum)</a>&nbsp;</td>
 
    <td>&nbsp;1.4.2-2&nbsp;</td>
 
    <td>&nbsp;2009.11-1&nbsp;</td>
 
    <td>&nbsp;2.6.28.10-3&nbsp;</td>
 
    <td>&nbsp;poky-image-sato&nbsp;<a href="http://git.myigep.com/gitweb?p=pub/scm/poky.git;a=commit;h=949b440e52d637ef52eadb50c87e615eebd64ed4">(949b440e52d637ef52eadb50c87e615eebd64ed4)</a>&nbsp;</td>
 
    <td style="background: green;">YES</td>
 
    <td style="background: green;">YES</td>
 
  </tr>
 
  <tr style="text-align:center;">
 
    <td>&nbsp;<a href="http://downloads.myigep.com/releases/binaries/firmware/firmware-poky-image-sato-igep0020b-3.2.0-0.tar.gz">3.2.0-0</a><a href="http://downloads.myigep.com/releases/binaries/firmware/firmware-poky-image-sato-igep0020b-3.2.0-0.tar.gz.md5">&nbsp;(md5sum)</a>&nbsp;</td>
 
    <td>&nbsp;1.4.2-1&nbsp;</td>
 
    <td>&nbsp;2009.11-0&nbsp;</td>
 
    <td>&nbsp;2.6.28.10-igep0020b-2&nbsp;</td>
 
    <td>&nbsp;poky-image-sato&nbsp;<a href="http://git.myigep.com/gitweb?p=pub/scm/poky.git;a=commit;h=47ba87263b3e82a40d5437c49f05076d0c177f2e">(47ba87263b3e82a40d5437c49f05076d0c177f2e)</a>&nbsp;</td>
 
    <td style="background: green;">YES</td>
 
    <td style="background: red;">NO</td>
 
  </tr>
 
</table>
 
</pre>
 
 
 
[[Category:How to forge]]
 

Latest revision as of 16:32, 22 August 2012

How to upgrade the factory firmware

Overview of How-To

This How-To is meant to be a starting point for people to learn how to upgrade the factory firmware for IGEP v2 devices as quickly and easily as possible.

This How-To works with the Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.

Requirements

Upgrade the factory firmware

Upgrade the firmware using an NFS-TFTP environment

First of all setup a poky-image-sato NFS-TFTP environment using latest images as explained in Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine

With this kernel the partitions looks like,

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00040000 "X-Loader"
mtd1: 00180000 00040000 "U-Boot"
mtd2: 00080000 00040000 "U-Boot Env"
mtd3: 00300000 00040000 "Kernel"
mtd4: 1fa80000 00040000 "File System"

To flash files to mtd partitions just use the nandwrite program. For example, to flash the firmware factory v3.2.1-0 download from

and copy to target directory /home/root in your board, then follow next steps

# cd /home/root/firmware-factory-igep0020-3.2.1-0
# for i in 0 1 2 3 4; do flash_eraseall /dev/mtd${i}; done
# nandwrite -p /dev/mtd0 x-load-ddp-1.4.2-2.igep0020-flash.bin.ift
# nandwrite -p /dev/mtd1 u-boot-arm-2009.11-1.igep0020.bin
# nandwrite -p /dev/mtd2 u-boot-environment.bin
# nandwrite -p /dev/mtd3 uImage-2.6.28-r4-igep0020-20100321091933.bin
# nandwrite -p /dev/mtd4 poky-image-sato-igep0020-20100321084218.rootfs.jffs2

Restart your board and enjoy your new firmware. That's all folks.

I want compile and hack all software