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

From IGEP - ISEE Wiki

Jump to: navigation, search
m
 
(9 intermediate revisions by one other user 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 ===
Line 45: Line 48:
 
* [[The_Linux_kernel]]
 
* [[The_Linux_kernel]]
 
* [[Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine]]
 
* [[Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine]]
 
[[Category:How to forge|Firmware]]
 

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