Motorola MVME6100 vxWorks Bootrom書き込み
・Flash0側のbootrom書き換え
・MVME6100のDipSWJ4-2をONに変更する。
・電源オンする
・MotLoadが起動
Copyright Motorola Inc. 1999-2007, All Rights Reserved
MOTLoad RTOS Version 2.0, PAL Version 2.1 RM02
Wed Feb 7 11:32:02 MST 2007
MPU-Type =MPC74x7
MPU-Int Clock Speed =1266MHz
MPU-Ext Clock Speed =133MHz
MPU-Int Cache(L2) Enabled, 512KB, L2CR =C0000000
MPU-Ext Cache(L3) Enabled, 2MB, 211MHz, L3CR =DC026000
PCI bus instance 0 =64 bit, 133 Mhz, PCI-X
PCI bus instance 1 =64 bit, PCI
Reset/Boot Vector =Flash1
Local Memory Found =20000000 (&536870912)
User Download Buffer =006B7000:008B6FFF
・bootROMイメージ(bootrom.bin)を作成しPCのTFTPサーバを起動します。
※イメージは、make bootrom.binにて作成
・TFTPでファイルイメージをダウンロードする。
オプション説明:
-c192.168.11.161 自信のIPアドレス
-s192.168.11.3 TFTPサーバのIPアドレス
-fbootrom.bin ダウンロードするbootromファイル名
MVME6100> tftpGet -fbootrom.bin -c192.168.11.61 -s192.168.11.3
Network Loading from: /dev/enet0
Loading File: bootrom.bin
Load Address: 006B7000
Download Buffer Size = 00200000
Client IP Address = 192.168.11.61
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 =&293908, Bytes Loaded =&293908
Bytes/Second =&293908, Elapsed Time =1 Second(s)
MVME6100>
・Flashへイメージを書き込む。
※現在起動しているバンクの確認
BootがYesになっている方が起動バンク
※書き込むバンクは反対側になります。
MVME6100> flashShow
Device-Name Base-Address,Size Device-Size,Count Boot Type
/dev/flash0 F4000000,04000000 02000000,00000002 No Intel 28F256
/dev/flash1 F8000000,04000000 02000000,00000002 Yes Intel 28F256
MVME6100>
※BootがNoになっている/flash0側に書き込みする
MVME6100> flashProg -d/dev/flash0 -o3f00100 -nfff00
Source Starting/Ending Addresses =006B7000/007B6EFF
Destination Starting/Ending Addresses =F7F00100/F7FFFFFF
Number of Effective Bytes =000FFF00 (&1048320)
Program Flash Memory (Y/N)? y
MVME6100>
・書き込み終了
・MVME6100のDipSWJ4-2をOFF(元に戻す)に変更する。
・電源オン
・vxWorks BootROMが起動
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: Motorola MVME6100-0163 – MPC 7457
Version: VxWorks5.5.1
BSP version: 1.2/3
Creation date: May 29 2008, 17:29:32
Press any key to stop auto-boot…
3
[VxWorks Boot]:
・Flash1側のbootrom書き換え
・MVME6100のDipSWJ4-2をOFFに変更する。
・電源オンする
・MotLoadが起動
Copyright Motorola Inc. 1999-2007, All Rights Reserved
MOTLoad RTOS Version 2.0, PAL Version 2.1 RM02
Wed Feb 7 11:32:02 MST 2007
MPU-Type =MPC74x7
MPU-Int Clock Speed =1266MHz
MPU-Ext Clock Speed =133MHz
MPU-Int Cache(L2) Enabled, 512KB, L2CR =C0000000
MPU-Ext Cache(L3) Enabled, 2MB, 211MHz, L3CR =DC026000
PCI bus instance 0 =64 bit, 133 Mhz, PCI-X
PCI bus instance 1 =64 bit, PCI
Reset/Boot Vector =Flash0
Local Memory Found =20000000 (&536870912)
User Download Buffer =006B7000:008B6FFF
・bootROMイメージ(bootrom.bin)を作成しPCのTFTPサーバを起動します。
※イメージは、make bootrom.binにて作成
・TFTPでファイルイメージをダウンロードする。
オプション説明:
-c192.168.11.61 自信のIPアドレス
-s192.168.11.3 TFTPサーバのIPアドレス
-fbootrom.bin ダウンロードするbootromファイル名
MVME6100> tftpGet -fbootrom.bin -c192.168.11.61 -s192.168.11.3
Network Loading from: /dev/enet0
Loading File: bootrom.bin
Load Address: 006B7000
Download Buffer Size = 00200000
Client IP Address = 192.168.11.61
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 =&293908, Bytes Loaded =&293908
Bytes/Second =&293908, Elapsed Time =1 Second(s)
MVME6100>
・Flashへイメージを書き込む。
※現在起動しているバンクの確認
BootがYesになっている方が起動バンク
※書き込むバンクは反対側になります。
MVME6100> flashShow
Device-Name Base-Address,Size Device-Size,Count Boot Type
/dev/flash0 F4000000,04000000 02000000,00000002 Yes Intel 28F256
/dev/flash1 F8000000,04000000 02000000,00000002 No Intel 28F256
MVME6100>
※BootがNoになっている/flash1側に書き込みする
MVME6100> flashProg -d/dev/flash1 -o3f00100 -nfff00
Source Starting/Ending Addresses =006B7000/007B6EFF
Destination Starting/Ending Addresses =FBF00100/FBFFFFFF
Number of Effective Bytes =000FFF00 (&1048320)
Program Flash Memory (Y/N)? y
MVME6100>
・書き込み終了
・MVME6100のDipSWJ4-2をON(元に戻す)に変更する。
・電源オン
・vxWorks BootROMが起動
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: Motorola MVME6100-0163 – MPC 7457
Version: VxWorks5.5.1
BSP version: 1.2/3
Creation date: May 29 2008, 17:29:32
Press any key to stop auto-boot…
3
[VxWorks Boot]: