1. HOME
  2. アプリケーションノート
  3. SVME-196 初期状態に戻す手順

アプリケーションノート

SVME-196 初期状態に戻す手順

SVME-196 初期状態に戻す手順

※作業を行う前にはジャンパ P22
  11/12 NOR_FLASH_WP
  9/10 NAND_FLASH_WP
  7/8  NVRAM_WP
にジャンパピンが実装されていないことを確認します。
・電源 ON 後、U-boot を起動し vxWorks が起動する前に
'h'または Ctrl+C で起動を停止させます。
・NOR FLASH に書き込まれた vxWorks イメージの消去
erase.b f1000000 f2ffffff を実行します
実行例:

VME-196=> erase.b f1000000 f2ffffff
…………………………………………………………………………………………………………………………………………….
…………………………………………………………………………………… done
Erased 256 sectors
VME-196=>

・U-boot 環境変数を初期値に変更
restoreenv を実行します
実行例:

VME-196=> restoreenv
Restoring Environment in Main NOR Flash…
*** Warning - USER ENVIRONMENT bad CRC, using default environment
Un-Protected 1 sectors
Erasing Flash…
. done
Erased 1 sectors
Writing to Flash… 9….8….7….69….8….7….6….5….4….3….2….1….done
Protected 1 sectors
VME-196=>

・eMMC の中身を消去
scrub MMC を実行します
実行例:

VME-196=> scrub MMC
The scrub operation will scrub the following devices in accordance with:
NISPOM document DoD 5220.22-M dated February 28, 2006
and the DSS Clearing and Sanitization Matrix updated June 28, 2007.
Device: MMC ; Address: N/A; Size: 7.3 GiB; Write Enabled
This operation will take between 10 and 80 minutes, depending on your board variant.
Do you really want to scrub this card? Type "YES" (no quotes) to confirm: YES
Processing Device: MMC; Size (current partition): 7.3 GiB;
Processing user partition:
Clearing WP bits in MMC partition …OK.
Running Secure Erase in MMC partition.. K.
Verifying all MMC set to 0x00…
………………………….
………………………….
<中略>
………………………….
………………………….
……. - OK.
Processing boot partition 0:
Clearing WP bits in MMC partition …OK.
Running Secure Erase in MMC partition../OK.
Verifying all MMC set to 0x00…
OK.
Processing boot partition 1:
Clearing WP bits in MMC partition …OK.
Running Secure Erase in MMC partition..-OK.
Verifying all MMC set to 0x00…

OK.
Processing GA partition 1:
MMC 0 partition 4 is not configured on this device - no further action required.
Processing GA partition 2:
MMC 0 partition 5 is not configured on this device - no further action required.
Processing GA partition 3:
MMC 0 partition 6 is not configured on this device - no further action required.
Processing GA partition 4:
MMC 0 partition 7 is not configured on this device - no further action required.
PASSED.
Scrub of MMC PASSED!!!
Scrub operation successfully completed!
VME-196=>


・電源 OFF 後、再度電源 ON し立ち上がることを確認します