📄 updateyamon.txt
字号:
UpdateYAMON.txt
January 3, 2005
**********************************************************************
****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******
**********************************************************************
*
* Please follow these directions precisely.
*
**********************************************************************
****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******
**********************************************************************
There are two techniques for updating YAMON. In most all cases,
technique #1 should be used.
**********************************************************************
Technique #1
The preferred technique places the new YAMON in the opposite Flash
bank (the Db1200 boards have two Flash banks), and then changes switch
S11 to swap the Flash banks in the memory map to allow the other Flash
bank to become the boot bank. This technique is the safest and
preferred method since it preserves the existing YAMON.
This technique can be used so long as both Flash banks are populated.
To update YAMON utilizing this method, do the following on the Db1200:
1) Place the newer YAMON file in your TFTP download directory.
C:> copy d:\software\yamon\db1200\yamon-02.27DB1200.rec.m c:\tftpboot
2) Boot the Db1200 in ***LITTLE*** endian (Switch S6.1 is Off). Only if
the board is running in LITTLE endian will the update be done correctly.
YAMON ROM Monitor, Revision 02.27DB1200.
Copyright (c) 1999-2004 MIPS Technologies, Inc. - All Rights Reserved.
Switch S12.1 selects endian.
Compilation time = Dec 22 2004 14:35:18
MAC address = 00.50.c2.0c.20.10
Processor Company ID = 0x03
Processor ID/revision = 0x02 / 0x00
Endianness = Little
CPU = 396 MHz
Flash memory size = 64 MByte
SDRAM size = 256 MByte
First free SDRAM address = 0x8008ec00
YAMON>
3) Prep the memory where YAMON will be downloaded into RAM:
YAMON> fill a0100000 100000 ff
Filling from 0xA0100000 to 0xa01fffff with byte data 0xFF.
YAMON>
4) Download YAMON (the .m file places YAMON in RAM starting at
0xA0100000).
YAMON> load /yamon-02.27DB1200.rec.m
About to load tftp://163.181.60.19/yamon-02.27DB1200.rec.m
Press Ctrl-C to break
........................................
...................
Start = 0x9fc90000, range = (0xa0100000,0xa01cb0e7), format = SREC
YAMON>
If the download fails, repeat the steps above until the newer YAMON
is successfully download into RAM.
5) Erase the Flash area in the [opposite] Flash bank where YAMON will
be placed:
YAMON> erase bdc00000 100000
The following area will be erased:
Start address = 0x1dc00000
Size = 0x00100000
Confirm ? (y/n) y
Erasing...Done
Regardless of the setting of switch S11 (the Swap Boot switch), this
is the command to be used. This command erases the area where YAMON
will reside in Flash.
6) Copy YAMON from RAM into Flash:
YAMON> copy a0100000 bdc00000 100000
Copying...Done
The new YAMON now exists in the opposite Flash bank. (The original
YAMON also exists in the original Flash bank too.)
7) Change switch S11 to the opposite position and boot the new YAMON by
either power cycle or reset switch.
YAMON will boot, and you can verify the version number in the banner
that YAMON prints. It may also be necessary to redo the environment
settings (the environment settings are stored in the same Flash bank
as YAMON, so changing Flash banks via the Swap Boot switch S11 also
changes the environment settings).
Should any problems be encountered, the original YAMON still exists
and can boot the board. Simply change switch S11 to the other position
and reboot the board.
**********************************************************************
Technique #2
The alternate technique is to update YAMON in-place. This technique
is more dangerous since during the update process there is a window
of time in which *NO* boot-able YAMON exists in Flash, thus exists
the opportunity for failure. Please do not utilize this technique
unless there is a good reason to do so.
This technique should be used if only one Flash bank is populated.
To update YAMON utilizing this method, do the following:
1) Perform Step 1 above
2) Perform Step 2 above
3) Perform Step 3 above
4) Perform Step 4 above
5) Erase the Flash area in the Flash bank where YAMON will be placed:
YAMON> erase bfc00000 100000
NOTE: At this point, YAMON no longer exists in Flash!!!
6) Copy YAMON from RAM into Flash:
YAMON> copy a0100000 bfc00000 100000
The new YAMON now exists in Flash again.
7) Reset the Db1200, and the new YAMON takes over.
**********************************************************************
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -