Motorola MVME4100 vxWorks Bootrom書き込み
・Flash0側のbootrom書き換え
・MVME4100のDipSWJ1-2をOFFに変更する。
・電源オンする
・MotLoadが起動
Copyright Emerson Inc. 2009, All Rights Reserved
Copyright Motorola Inc. 1999-2007, All Rights Reserved
MOTLoad RTOS Version 2.0, PAL Version 1.1 RM01
Fri Feb 27 10:59:31 MST 2009
MPU-Type =MPC8548E
MPU-Int Clock Speed =1333MHz
MPU-CCB Clock Speed =533MHz
MPU-DDR Clock Speed =266MHz
MPU-PCI Clock Speed =100MHz, PCI-X, 64-bit
PMC-PCI Clock Speed =100MHz, PCI-X, 64-bit, 3.3V
MPU-PCI Express Link Inactive
MPU-Int Cache(L2) Enabled, 512KB, L2CTL =A0000300
Reset/Boot Vector =Flash0
Local Memory Found =0_80000000 (2048 MB)
User Download Buffer =015A1000:017A0FFF
MVME4100>
・bootROMイメージ(bootrom.bin)を作成しPCのTFTPサーバを起動します。
※イメージは、make bootrom.binにて作成
・TFTPでファイルイメージをダウンロードする。
オプション説明:
-c192.168.11.141 自信のIPアドレス
-s192.168.11.3 TFTPサーバのIPアドレス
-fbootrom.bin ダウンロードするbootromファイル名
MVME4100> tftpGet -c192.168.11.141 -s192.168.11.3 -fbootrom.bin
Network Loading from: /dev/enet0
Loading File: bootrom.bin
Load Address: 015A1000
Download Buffer Size = 00200000
Client IP Address = 192.168.11.141
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 =&1048576, Bytes Loaded =&1048576
Bytes/Second =&1048576, Elapsed Time =1 Second(s)
MVME4100>
・Flashへイメージを書き込む。
※現在起動しているバンクの確認
BootがYesになっている方が起動バンク
※書き込むバンクは反対側になります。
MVME4100> flashShow
Device-Name Base-Address,Size Device-Size,Count Boot Type
/dev/flash0 F8000000,08000000 04000000,00000002 Yes AMD 29LV160
MVME4100>
※/dev/flash0側に書き込みする
MVME4100> flashProg -d/dev/flash0 -o7e00000 -n100000
Source Starting/Ending Addresses =015A1000/016A0FFF
Destination Starting/Ending Addresses =FFE00000/FFEFFFFF
Number of Effective Bytes =00100000 (&1048576)
Program Flash Memory (Y/N)? y
MVME4100>
・書き込み終了
・MVME4100のDipSWJ1-2をONに変更する。
・電源オン
・vxWorks BootROMが起動
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: MPC8548E – Emerson MVME4100
Version: VxWorks5.5.1
BSP version: 1.2/0
Creation date: May 19 2009, 14:19:43
Press any key to stop auto-boot…
6
[VxWorks Boot]: