Motorola MVME7100 vxWorks Bootrom書き込み
・Flash0側のbootrom書き換え
・MVME7100のDipSW S1-2をOFFに変更する。
・電源オンする
・MotLoadが起動
Copyright Motorola Inc. 1999-2008, All Rights Reserved
MOTLoad RTOS Version 2.0, PAL Version 1.1 IR04
Tue Mar 11 13:52:50 MST 2008
*** Internal Release Build ***
MPU-Type =MPC8641D
MPU-CORE Clock Speed =1000MHz
MPU-MPX Clock Speed =500MHz
MPU-DDR Clock Speed =250MHz
MPU-SYS Clock Speed =100MHz
MPU-Int Cache(L2) Enabled, 1MB, L2CR =F0000000
Reset/Boot Vector =Flash0
Local Memory Found =0_40000000 (1024 MB)
User Download Buffer =005A2000:007A1FFF
MVME7100>
・bootROMイメージ(bootrom.bin)を作成しPCのTFTPサーバを起動します。
※イメージは、make bootrom.binにて作成
・TFTPでファイルイメージをダウンロードする。
オプション説明:
-c192.168.11.171 自信のIPアドレス
-s192.168.11.3 TFTPサーバのIPアドレス
-fbootrom.bin ダウンロードするbootromファイル名
MVME7100> tftpGet -c192.168.11.171 -s192.168.11.3 -fbootrom.bin
Network Loading from: /dev/enet0
Loading File: bootrom.bin
Load Address: 005A2000
Download Buffer Size = 00200000
Client IP Address = 192.168.11.171
Server IP Address = 192.168.11.3
Gateway IP Address = 192.168.11.253
Subnet IP Address Mask = 255.255.255.0
Network File Load in Progress…
Bytes Received =&266148, Bytes Loaded =&266148
Bytes/Second =&266148, Elapsed Time =1 Second(s)
MVME7100>
・Flashへイメージを書き込む。
※現在起動しているバンクの確認
BootがYesになっている方が起動バンク
※書き込むバンクは反対側になります。
MVME7100> flashShow
Device-Name Base-Address,Size Device-Size,Count Boot Type
/dev/flash0 F8000000,08000000 04000000,00000002 Yes AMD 29LV160
MVME7100>
※/dev/flash0側に書き込みする
MVME7100> flashProg -d/dev/flash0 -o07e00000 -n100000
Source Starting/Ending Addresses =005A2000/006A1FFF
Destination Starting/Ending Addresses =FFE00000/FFEFFFFF
Number of Effective Bytes =00100000 (&1048576)
Program Flash Memory (Y/N)? y
MVME7100>
・書き込み終了
・MVME7100のDipSW S1-2をONに変更する。
・電源オン
・vxWorks BootROMが起動
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: Motorola MVME7100-163 – MPC8641D
Version: VxWorks5.5.1
BSP version: 1.2/0
Creation date: Sep 04 2008, 17:10:32
Press any key to stop auto-boot…
6
auto-booting…
[VxWorks Boot]: