reading statistics registers from the ixf440 ( ixp12eb)

Hi I am working on the ixp12eb supported by the vxworks os. I am trying to read the statistic registers from the ixf440, so far no success. I went through your example codes. In the control.c file ( libixprouter.tar ) i saw that you use the scratchRead32( ) function to do the job. I could not find this function. Can you advise me on this matter? You my find this Q too obvious, but i am a beginner on the system, anything is helpful to me. thanks Tomer.

On Mon, 2 Sep 2002, tomer wrote:
I went through your example codes. In the control.c file ( libixprouter.tar ) i saw that you use the scratchRead32( ) function to do the job. I could not find this function. Can you advise me on this matter?
The function scratchRead32 is implemented in Scott's Runtime library (available at http://www.cs.princeton.edu/vera/). The file is Runtime/ixp1200/sa/src/Lib/mem_access.h. All it does is read a volatile pointer to a 32-bit integer from the part in virtual memory to which the scratch memory is mapped. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU

hi,
this mail is intended for Yitzchak M. Gottlieb.
I used your advice on checking Scott's Runtime library
for an example on reading regs from scratch memory
and found what I needed in eth.c source file.
I am using the tornado 2.0 to make the loaded object file
using all the needed header files.the problem is that after rebuilding the
project I don't get any object file that I can load.
I am not shoore about the header files I need to use for the source file
or what I need to do in order to load and run the eth.c source file on the
IXP1200.
I will be happy to get any advice on this meter !!
thanks rotem bahar.
----- Original Message -----
From: "Yitzchak M. Gottlieb"
On Mon, 2 Sep 2002, tomer wrote:
I went through your example codes. In the control.c file ( libixprouter.tar ) i saw that you use the scratchRead32( ) function to do the job. I could not find this function. Can you advise me on this matter?
The function scratchRead32 is implemented in Scott's Runtime library (available at http://www.cs.princeton.edu/vera/). The file is Runtime/ixp1200/sa/src/Lib/mem_access.h. All it does is read a volatile pointer to a 32-bit integer from the part in virtual memory to which the scratch memory is mapped.
Zuki
-- Yitzchak Gottlieb zuki@CS.Princeton.EDU

On Wed, 11 Sep 2002, tomer wrote:
hi, this mail is intended for Yitzchak M. Gottlieb. I used your advice on checking Scott's Runtime library for an example on reading regs from scratch memory and found what I needed in eth.c source file. I am using the tornado 2.0 to make the loaded object file using all the needed header files.the problem is that after rebuilding the project I don't get any object file that I can load.
I am not shoore about the header files I need to use for the source file or what I need to do in order to load and run the eth.c source file on the IXP1200.
I will be happy to get any advice on this meter !!
thanks rotem bahar.
Unfortunately I can't give much advice. The Runtime library and its functions were intended specifically to work as part of the Vera system, our own base software for the IXP. It was never intended to be used with another system. Also, I am unfamiliar with the Tornado build system. However, it sounds like tornado doesn't know that you want to use the files in the Runtime library. Is there specifically a place where the Tornado system lists the files it needs? I'm sorry I can't be more help. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU

Hi all, I'm using the 2.01a SDK to develop a MicroC application, not using the MicroACE framework. I've followed a few of the threads in this forum, and I believe I've successfully connected Workbench to the IXP hardware, using the ue.o driver under Linux. However, my current problem is that I can't figure out how to initialize the ethernet ports. In microACE-land, you would call ixconfig, and specify IP addresses and so on through a configuration file. What's the equivalent command/procedure in this case? -- Francis francis@{cse.ogi.edu, francischang.com} OGI School of Science & Engineering at OHSU, SySL Labs
participants (3)
-
Francis
-
tomer
-
Yitzchak M. Gottlieb