Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to upgrade and recover the factory firmware

3,939 bytes added, 15:38, 24 May 2010
Created page with '== 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 …'
== 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 ===
*'''Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine'''

=== 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 [[Ubuntu804IGEPv20SDKVirtualMachine|Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]]

With this kernel the partitions looks like,

<pre>
# 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"
</pre>
To flash files to mtd partitions just use the nandwrite program. For example, to flash the firmware factory v3.2.1-0 download from

*http://www.igep.es/downloads/01-ISEE_Products/IGEPv2/SW_Releases/binaries/firmware/firmware-poky-image-sato-igep0020-3.2.1-0.tar.gz

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

<pre>
# 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
</pre>
Restart your board and enjoy your new firmware. That's all folks.

=== Annex: firmware status ===
<pre>
#html
<!-- Start table -->
<table cellspacing="2" cellpadding="2" border="1" style="color:black; border-collapse: collapse;">
<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>
0
edits