SVME183 TFFS リカバリー方法

SVME183 TFFS リカバリー方法



使用していて動作しなくなったTFFSをリカバリーします。


SVME/DMV-183, PowerPC 7447A General Purpose Monitor, Version 10.1
Copyright (c) 2007, Curtiss-Wright Controls, Inc.

Type ? for help

(CPU 0) 40000000*

(CPU 0) 40000000* nvmi ←Flashデバイスの情報を表示

Bank:                      0xE0000000 – 0xE7FFFFFF (boot bank)
Flash Manufacturer ID:     0x00000001
Device ID:                 0x007e2301
Bank Byte Width:           0x00000004
Device Byte Width:         0x00000002
Write Buffer Size:         0x00000040
Number of erase regions:   0x00000001
 Region: 0x00 Number of Segments: 0x00000200 Segment Size: 0x00040000
Locked, the bank is S/W protected

Bank:                      0xDFD80000 – 0xDFD9FFFF
Device:                    NOVRAM

Bank:                      0x00000000 – 0x1FFFFFFF
Device:                    DRAM

(CPU 0) 40000000*

(CPU 0) 40000000* nvml e0000000 u ←Flashの書き込みプロテクトを解除します

Bank successfully unlocked

(CPU 0) 40000000* nvme e0000000 7600000 ←Flashの領域をイレースします(数分掛かります)
※E7600000以降はGPMで使用しているのでその前のアドレスまで消去しています

Erasing Flash:
Destination address : 0xE0000000
Length              : 0x07600000

Erasing……………………………………………………………………e

(CPU 0) 40000000*

(CPU 0) 40000000* reset  ←リセットします

SVME/DMV-183, PowerPC 7447A General Purpose Monitor, Version 10.1
Copyright (c) 2007, Curtiss-Wright Controls, Inc.

Type ? for help

(CPU 0) 40000000*

(CPU 0) 40000000* ses ←Etherモードへ
Starting the Ethernet stack (takes approx. 5-15 seconds)
The commands CLD, LOOPCLD, I2C* and SCRUB will not be available

SVME/DMV-183, PowerPC 7447A General Purpose Monitor, Version 10.1
Copyright (c) 2007, Curtiss-Wright Controls, Inc.

Type ? for help

(CPU 0) 40000000E appupd  ←BootROMを再書き込み

Initializing RAM buffer (0x00900000 to 0x018FFFFF) with 0xFF
– – – – – – – – – – – – – – – – – – – – – – – – – – – – — – –
TFTP server

Buffer address: 0x00900000
Buffer size   : 0x01000000
Ethernet Port : ETHFP
IP address    : 192.168.11.183

TFTP server waiting for a request …
Download started of file bootrom.hex
\
S-record download completed, PC = 0x00000000
Lowest address : 0x00900000
Highest address: 0x009756F0
Transfer completed !

Flash Programming Started

Bank successfully unlocked

Programming Flash:
Source address      : 0x00900000
Destination address : 0xE0000100
Length              : 0x000756F0

Programming….Complete

Bank successfully locked

(CPU 0) 40000000E

(CPU 0) 40000000E reset ←リセットします

SVME/DMV-183, PowerPC 7447A General Purpose Monitor, Version 10.1
Copyright (c) 2007, Curtiss-Wright Controls, Inc.

Type ? for help

(CPU 0) 40000000*

(CPU 0) 40000000* g ←BootROMを起動

Resetting the board to jump to address 0xE0000100

                            VxWorks System Boot

Copyright 1984-2005  Wind River Systems, Inc.

CPU: CWCEC VME-183
Version: VxWorks 6.4
BSP version: 2.0/REL 1.3 603143-103
Creation date: Feb 20 2009, 18:03:55

Press any key to stop auto-boot…
 0
auto-booting…

boot device          : gteth
unit number          : 2
processor number     : 0
host name            : testSys
file name            : /opt/WindRiver/vxworks-6.4/target/config/cwv183/vxWorks.st
inet on ethernet (e) : 192.168.11.183
host inet (h)        : 192.168.11.237
user (u)             : taka
ftp password (pw)    : taka
flags (f)            : 0x8
target name (tn)     : svme183
startup script (s)   : /tftpboot/startup706_vx64

Attaching interface lo0… done
Attached IPv4 interface to gteth unit 2
Loading… 1860068 + 281064
Starting at 0x300000…

Attaching interface lo0… done
Attached IPv4 interface to gteth unit 2

Adding 7111 symbols for standalone.

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]       ]]]]]]]]]]]  ]]]]     ]]]]]]]]]]       ]]              ]]]]         (R)
 ]     ]]]]]]]]]  ]]]]]]     ]]]]]]]]       ]]               ]]]]  ]]     ]]]]]]]  ]]]]]]]]     ]]]]]] ]     ]]                ]]]]  ]]]     ]]]]] ]    ]]]  ]     ]]]] ]]]   ]]]]]]]]]  ]]]] ]] ]]]]  ]]   ]]]]]  ]]]]     ]]]  ]]    ]  ]]]     ]] ]]]]] ]]]]]]   ]] ]]]]]]] ]]]] ]]   ]]]]  ]]]]]     ]  ]]]]     ]]]]]      ]]]]]]]] ]]]]   ]] ]]]]    ]]]]]]]    ]]]]  ]]]]]]      ]]]]]     ]]]]]]    ]  ]]]]]  ]]]]   ]] ]]]]    ]]]]]]]]    ]]]]  ]]]]]]]    ]]]]]  ]    ]]]]]]  ]    ]]]   ]]]]   ]] ]]]]    ]]]] ]]]]    ]]]]  ]]]]]]]]  ]]]]]  ]]]    ]]]]]]]      ]     ]]]]]]]  ]]]]    ]]]]  ]]]] ]]]]]  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]       Development System
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]  ]]]]]]]]]]]]]]]]]]]]]]]]]]]       VxWorks 6.4
 ]]]]]]]]]]]]]]]]]]]]]]]]]]       KERNEL: WIND version 2.10
 ]]]]]]]]]]]]]]]]]]]]]]]]]       Copyright Wind River Systems, Inc., 1984-2006

 CPU: CWCEC VME-183.  Processor #0.
 Memory Size: 0x1ff00000.  BSP version 2.0/REL 1.3 603143-103.
 Created: Feb 20 2009, 18:07:06
 ED&R Policy Mode: deployed
Error: unable to open startup script '/tftpboot/startup706_vx64'.

->
-> sysTffsFormat ←TFFSをフォーマット
formatting………………………………………………………………….
value = 0 = 0x0

->
-> usrTffsConfig 0,0,"/tffs0" ←TFFSをマウント
value = 0 = 0x0
-> dosFsShow "/tffs0" ←容量を確認

volume descriptor ptr (pVolDesc):    0x7fe3e0
XBD device block I/O handle: 0x10001
auto disk check on mount:      NOT ENABLED
volume write mode:         copyback (DOS_WRITE)
max # of simultaneously open files:    22
file descriptors in use:       0
# of different files in use:       0
# of descriptors for deleted files:    0
# of  obsolete descriptors:        0

current volume configuration:
 – volume label:    NO LABEL ; (in boot sector:              )
 – volume Id:       0x0
 – total number of sectors:   158,390
 – bytes per sector:     512
 – # of sectors per cluster: 8
 – # of reserved sectors:    1
 – FAT entry size:      FAT16
 – # of sectors per FAT copy:    78
 – # of FAT table copies:   2
 – # of hidden sectors:      10
 – first cluster is in sector #  172
 – Update last access date for open-read-close = FALSE
 – directory structure:         VFAT
 – file name format:            8-bit (extended-ASCII)
 – root dir start sector:               157
 – # of sectors per root:               15
 – max # of entries in root:            240

FAT handler information:
————————
 – allocation group size:       2 clusters
 – free space on volume:        81,006,592 bytes
value = 0 = 0x0
->

 

lhsSVME183 TFFS リカバリー方法