YAMON

From LinuxMIPS
Jump to: navigation, search

YAMON™ is the ROM monitor used on MIPS Technologies' development boards.

An example of YAMON boot log on a MIPS Malta Board with a 24Kc core:

YAMON ROM Monitor, Revision 02.06.
Copyright (c)  MIPS Technologies, Inc. - All Rights Reserved.

For a list of available commands, type 'help'.

Compilation time =              Mar :50:44
Board type/revision =           0x02 (Malta) / 0x00
Core board type/revision =      0x07 (CoreFPGA-2) / 0x00
System controller/revision =    MIPS SOC-it 101 OCP / 1.3   SDR-FW-1:1
FPGA revision =                 0x0001
MAC address =                   00.d0.a0.00.04.2b
Board S/N =                    
PCI bus frequency =             33.33 MHz
Processor Company ID/options =  0x01 (MIPS Technologies, Inc.) / 0x00
Processor ID/revision =         0x93 (MIPS 24Kc) / 0x60
Endianness =                    Little
CPU/Bus frequency =             25 MHz / 25 MHz
Flash memory size =             4 MByte
SDRAM size =                    64 MByte
First free SDRAM address =      0x800b3860

Environment variables

YAMON maintains a set of the environment variables in non-volatile memory. Example of environment variables in YAMON:

YAMON> set

baseboardserial (RO)  
bootfile        (R/W)
bootprot        (R/W)  tftp
bootserport     (R/W)  tty0
bootserver      (R/W)  0.0.0.0
cpuconfig       (R/W)
ethaddr         (RO)   00.d0.a0.00.04.2b
fpu             (R/W)
gateway         (R/W)  0.0.0.0
ipaddr          (R/W)  
memsize         (RO)   0x04000000
modetty0        (R/W)  38400,n,8,1,hw
modetty1        (R/W)  38400,n,8,1,hw
prompt          (R/W)  YAMON
start           (R/W)
startdelay      (R/W)
subnetmask      (R/W)  
yamonrev        (RO)   02.06

User API

YAMON provides a set of functions callable by application. Pointers to these functions are located in a table located at 0x9fc00500.

Booting

An SREC kernel image can be loaded in YAMON as follows:

YAMON> load tftp://<tftp server name>/<srec file in /tftpboot>

for example, if I have a vmlinux.srec in /tftpboot on , then:

YAMON> load tftp:///vmlinux.srec


YAMON> fread tftp://<ipaddr>/<filename> <address>

Load binary image to RAM or flash (depending on address) from TFTP server. The image is a binary file, not in ELF format.

There is also second-stage IDE bootloader

External Links

  • .

The following documents require a simple free registration to access.

  • .
  • .
  • .
NewPP limit report Cached time: Cache expiry: 86400 Dynamic content: false CPU time usage: 0.011 seconds Real time usage: 0.013 seconds Preprocessor visited node count: 33/1000000 Preprocessor generated node count: 60/1000000 Post‐expand include size: 0/2097152 bytes Template argument size: 0/2097152 bytes Highest expansion depth: 2/40 Expensive parser function count: 0/100 Transclusion expansion time report (%,ms,calls,template) 100.00% -total Saved in parser cache with key wikidb:pcache:idhash:836-0!*!0!!en!*!* and timestamp and revision id 14629