How to upgrade and recover the factory firmware
From IGEP - ISEE Wiki
Contents
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 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.
Annex: firmware status
#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> Firmware version </b></th> <th><b> X-load version </b></th> <th><b> U-boot version </b></th> <th><b> Kernel version </b></th> <th><b> Rootfs </b></th> <th><b> Hw. Rev. B </b></th> <th><b> Hw. Rev. C </b></th> </tr> <tr style="text-align:center;"> <td> <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"> (md5sum)</a> </td> <td> 1.4.2-2 </td> <td> 2009.11-1 </td> <td> 2.6.28.10-3 </td> <td> poky-image-sato <a href="http://git.myigep.com/gitweb?p=pub/scm/poky.git;a=commit;h=949b440e52d637ef52eadb50c87e615eebd64ed4">(949b440e52d637ef52eadb50c87e615eebd64ed4)</a> </td> <td style="background: green;">YES</td> <td style="background: green;">YES</td> </tr> <tr style="text-align:center;"> <td> <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"> (md5sum)</a> </td> <td> 1.4.2-1 </td> <td> 2009.11-0 </td> <td> 2.6.28.10-igep0020b-2 </td> <td> poky-image-sato <a href="http://git.myigep.com/gitweb?p=pub/scm/poky.git;a=commit;h=47ba87263b3e82a40d5437c49f05076d0c177f2e">(47ba87263b3e82a40d5437c49f05076d0c177f2e)</a> </td> <td style="background: green;">YES</td> <td style="background: red;">NO</td> </tr> </table>