Motorola MVME5100 vxWorks Bootrom書き込み
・ROM Bank Aのbootromを書き換え
※基盤のジャンパJ7をSocket側に設定しPPCBUGを起動する
Copyright Motorola Inc. 1988 – 2006, All Rights Reserved
PPC6 Debugger/Diagnostics Release Version 3.1 – 05/01/06 RM01
COLD Start
Local Memory Found =20000000 (&536870912)
MPU Clock Speed =500Mhz
BUS Clock Speed =100Mhz
Reset Vector Location : ROM Bank B ←Bank B(Socket)から起動
Mezzanine Configuration: Single-MPU
Current 60X-Bus Master : MPU0
Idle MPU(s) : NONE
L2Cache: 2048KB, 200Mhz
System Memory: 512MB, ECC Enabled (ECC-Memory Detected)
PPC6-Bug>
・始めてボードを立ち上げた場合は日付の設定をします。
※既に設定したことがある場合は飛ばしてください。
PPC6-Bug>set 1231091234 ; 設定日時例:2009年12月31日 12:34
・NIOTコマンドにてClient IP address と Server IP addressを設定します。
※←部分以外はそのままENTERで飛ばしてOKです。
PPC6-Bug>niot
Controller LUN =00?
Device LUN =00?
Node Control Memory Address =1FE1D890?
Client IP Address =192.168.11.152? ←クライアントIP(MVME51xx)
Server IP Address =192.168.11.199? ←サーバーIP (TFTPサーバのPC等)
Subnet IP Address Mask =255.255.255.0? ←ネットマスク
Broadcast IP Address =255.255.255.255?
Gateway IP Address =0.0.0.0?
Boot File Name ("NULL" for None) =?
Argument File Name ("NULL" for None) =?
Boot File Load Address =001F0000?
Boot File Execution Address =001F0000?
Boot File Execution Delay =00000000?
Boot File Length =00000000?
Boot File Byte Offset =00000000?
BOOTP/RARP Request Retry =00?
TFTP/ARP Request Retry =00?
Hardware error retry attempts =00?
Trace Character Buffer Address =00000000?
BOOTP/RARP Request Control: Always/When-Needed (A/W)=W?
BOOTP/RARP Reply Update Control: Yes/No (Y/N) =Y?
Update Non-Volatile RAM (Y/N)? y ←設定を残す場合にはyを入れてください。
PPC6-Bug>
・NIOPコマンドにてTFTPサーバよりファイルをダウンロードします。
PPC6-Bug>niop
Controller LUN =00?
Device LUN =00?
Get/Put =G?
File Name =? bootrom.bin ←BSPで作成した、bootrom.binのファイル名です。
Memory Address =00004000?
Length =00000000?
Byte Offset =00000000?
Bytes Received =&244032, Bytes Loaded =&244032
Bytes/Second =&244032, Elapsed Time =1 Second(s)
PPC6-Bug>
PPC6-Bug>pflash 4000:fff00 f4000100
Source Starting/Ending Addresses =00004000/00103EFF
Destination Starting/Ending Addresses =F4000100/F40FFFFF
Number of Effective Bytes =000FFF00 (&1048320)
Program FLASH Memory (Y/N)? y ←yを入力し書き込みします。
Erasing sector =$F4000000
Erasing sector =$F4040000
Erasing sector =$F4080000
Erasing sector =$F40C0000
Programming sector =$F4000000
Programming sector =$F4040000
Programming sector =$F4080000
Programming sector =$F40C0000
FLASH Memory Programming Complete
PPC6-Bug>
PPC6-Bug>
PPC6-Bug>
・書き込んだイメージの起動確認
※基盤のジャンパJ7をSolder側に設定しbootromを起動する
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: Motorola MVME5110-2261 – MPC 7410
Version: VxWorks5.5
BSP version: 1.2/2
Creation date: Aug 21 2009, 16:37:36
Press any key to stop auto-boot…
0
auto-booting…