|
OpenRISC 1000: ORPmon
What is ORPmon?
ORPmon is user friendly open source TFTP loader program with a lot of useful utilities and extra functions -- e.g. memory dump/patching, flash loading, crc calculation... Its small size and scallability makes it useful and fast to load in most applications. ORPmon is accessible using serial port or VGA terminal. In former case it should be connected to some tty device. Although it is primary use for program loading and executing, it can also be used for board/device testing. Numerous tests are already included, while custom can be easily added. When ORPmon displays prompt, e.g. 'orpmon>', it is waiting for input. Valid command should be entered. For more information about commands type 'help' in the ORPmon command prompt.
Installation
ORPmon is available in the cvs under 'or1k/orpmon'. You can also get it directly by using the CVSget.
ORPmon is configured by editing include/board.h. 'make all' afterwards builds the ORPmon according to the given configuration. Two binaries are produced, orpmon.or32, orpmon-flash.or32. They are basically the same, except the latter starts from flash. ORP monitor command reference card (PDF, 40KB) in Adobe Portable Document Format is available by 'make docs' in doc directory.
cvs -d :pserver:cvs@cvs.opencores.org:/home/oc/cvs -z9 co or1k/orpmon
[edit] include/board.h
make clean all
Check out the JTAG server aplication for connecting GDB to real hardware using Xilinx parallel cable III. Compile the program and run it as root (so open new terminal for that):
cvs -d :pserver:cvs@cvs.opencores.org:/home/oc/cvs -z9 co or1k/jtag
make clean all
./jp1-xilinx 9999
Then load the orpmon.or32 or orpmon-flash.or32 file onto the board, using e.g. gdb:
or32-uclinux-gdb orpmon.or32
(gdb) target jtag jtag://localhost:9999
(gdb) load
(gdb) set $pc=0x100
(gdb) c
Mailing List / Discussion Forum
To participate in the development or simply to discuss uClinux/OR1K issues and to report bugs, go to the openrisc mailing list. To subscribe to the list, follow mailing list subscribe instructions.
|