Presentation is loading. Please wait.

Presentation is loading. Please wait.

ELG) System Develop. Team

Similar presentations


Presentation on theme: "ELG) System Develop. Team"— Presentation transcript:

1 ELG) System Develop. Team
iPECS MFIM Recovery Process Recovery to rev. 6.1Ak July ELG) System Develop. Team

2 Contents 1. File Descriptions 2. TFTP Server
3. Bootloader CLIs and Variables 4. Recovery Process 5. Example 1: MFIM50B 6. Example 2: MFIM1200

3 ▣ File Descriptions (provided by ELG)
1. MFIM50A 1) small_boot.bin: boot (armboot) image 2) 92M_Kernel.rom: kernel image 3) fs-mfim50a-61Ak.yaffs2: root file system image (no H/W issue) 2. MFIM50B 2) 93M_Kernel.rom: kernel image 3) fs-mfim50b-61Ak.yaffs2: root file system image (no H/W issue) 3. MFIM100 1) MFIM100_BOOT.bin: boot (armboot) image 2) 95M_Kernel.rom: kernel image 3) fs-mfim100-61Ak.yaffs2: root file system image (for H/W issue 3) 4. MFIM300 1) MFIM300_BOOT.bin: boot (armboot) image 2) 96M_Kernel.rom: kernel image 3) fs-mfim300-61Ak.yaffs2: root file system image (for H/W issue 3) 5. MFIM600 1) MFIM600_BOOT.bin: boot (armboot) image 2) 97M_Kernel.rom: kernel image 3) fs-mfim600-61Ak.yaffs2: root file system image (for H/W issue 3) 6. MFIM1200 1) MFIM1200_BOOT.bin: boot (u-boot) image 2) 98M_Kernel.rom: kernel image 3) fs-mfim Ak.yaffs2: root file system image (no H/W issue) * In case MFIM100/300/600, H/W issue must be issue 3. If H/W issue is 2 or less, it must be recovered to 6.0Bo version.

4 ▣ TFTP Server (not provided by ELG)
1. Download Tftpd32 from 2. Install Tftpd32 program. 3. Run Tftpd32 program. 4. Create a directory for recovery image files and copy all files to here. 5. Click Browse to select the directory that recovery image files existed.

5 ▣ Bootloader CLI Commands and Variables
1) setenv: set evironment variables. 2) tftpboot: boot or load image via network using TFTP protocol. 3) nand erase.part: erase a NAND partition. 4) nand write.yaffs(2): write a NAND image to the NAND partition or address. MFIM50A/50B/100/300/600 5) update: CLI for updating images MFIM1200 6) run updateboot: update a bootloader image. 7) run updatekernel: update a kernel image. 8) run updatefsyaffs: update a root file system image. 2. Variable 1) ipaddr: IP address for local 2) serverip: IP address for TFTP server 3) rootfs: partition name of root file system 4) kernelname: name of kernel image file 5) armbootname: name of bootloader image file 6) a00000: this is not variable but just an memory address of internal memory. 7) boot_name: name of bootloader image file 8) fsfile: name of root file system image file

6 ▣ Recovery Process 1. Bootloader 2. Kernel 2. Root File System
The first step of recovery process is upgrading the bootloader image. (need restart the board after done) CLI: MFIM50A/50B/100/300/600 – update  0  1  1 MFIM run updateboot 2. Kernel After upgrading the bootloader and restarting, the kernel image should be upgraded. The kernel image will be programmed to NOR flash memory first. And then it will programmed to NAND device. (no need to restart the board) MFIM50A/50B/100/300/600 – update  4  0  1 MFIM run updatekernel 2. Root File System This is the final step to recover the system to version 61Ak. Please be care about using the name of root file system image. CLIs: MFIM50A/50B and MFIM100/300/600 [H/W ISSUE 3] tftpboot a00000 fs-mfimXXX-61Ak.yaffs2 nand erase.part rootfs nand write.yaffs2 a00000 rootfs $(filesize) raw MFIM updatefsyaffs

7 ▣ Example 1: MFIM50B 1-1. Bootloader 1) setenv ipaddr 150.150.150.25
2) setenv serverip 3) setenv armbootname small_boot.bin 4) update  0  1  1 5) Restart the board.

8 ▣ Example 1: MFIM50B 1-2. Kernel 1) setenv ipaddr 150.150.150.25
2) setenv serverip 3) setenv kernelname 93M_Kernel.rom 4) update  4  0  1

9 ▣ Example 1: MFIM50B 1-3. Root File System
1) setenv ipaddr 2) setenv serverip 3) tftpboot a00000 fs-mfim50b-61Ak.yaffs2 4) nand erase.part rootfs 5) nand write.yaffs a00000 rootfs $(filesize) raw fs-mfim50b-61Ak.yaffs2

10 ▣ Example 2: MFIM1200 2-1. Bootloader 1) setenv ipaddr 150.150.150.25
2) setenv serverip 3) setenv boot_name MFIM1200_BOOT.bin 4) run updateboot

11 ▣ Example 2: MFIM1200 2-2. Kernel 1) setenv ipaddr 150.150.150.25
2) setenv serverip 3) setenv kernelname 98M_Kernel.rom 4) run updatekernel

12 ▣ Example 2: MFIM1200 2-3. Root File System
1) setenv ipaddr 2) setenv serverip 3) setenv fsfile fs-mfim Ak.yaffs2 4) run updatefsyaffs fs-mfim Ak.yaffs2


Download ppt "ELG) System Develop. Team"

Similar presentations


Ads by Google