![](https://secure.gravatar.com/avatar/ffb80916cd612121e4bb473a5b155813.jpg?s=120&d=mm&r=g)
Hi, I'm trying to do the "tutorial" for the ENP-2505 card. The card is up after numerous hours of compiling and tweeking. So now I am ready for some programming; I thought.. I tried to start with the Count_8_1 project. I follow the README in $IXROOT/src/microace/aces/tutorial1 and use the workbench to build the microACE. This results in a single .uof file, Count_8_1Gig.uof. I copy this to the $IXROOT/bin/arm-be directory, then I run export CONFIG=ARM_BE and make the code. I modify the ixsys.config file to use interface 0-3 and mode=0, then I copy it to $IXROOT/bin/arm-be. That's it. The output when I run ./ixstart on the board outputs: <snip> ConfigureFBusInterface: ENP has 64Bit IXbus. ConfigureFBusInterface: ENP has 64Bit IXbus. ixconfig: Initialized Resource Manager ixconfig: ix_task_init successful ixconfig: Created OSSL thread ixconfig: ix_res_open_sync successful ixconfig: ix_ns_open_sync successful ixconfig: File ./SlowIngressCount.uof doesn't Exist or doesn't have READ permission. </snip> I have searched all over for the file and the permissions are all set correctly. Now, where can I find this file? What am I doing wrong. I can't seem to run any other aces either. I tried the l3forward, but then I only get ixconfig: Invalid port number 2, even though the config file specifies the four first ports. Can anyone help? Please! I've been sitting all day. By the way sometimes the serial connection hangs during setup, after the kernel is loaded. Is there a better way for rebooting the card than rebooting the host? In advance thanks.. -- Øyvind Hvamstad
![](https://secure.gravatar.com/avatar/6fa2e5999426fe8ddc787363908e43b0.jpg?s=120&d=mm&r=g)
Hi, Did you get this running yet? You seem to be mixing up the "workbench" and "non-workbench" mode. If you are running with mode=0, you need the SlowIngressCount.uof and SlowEgressRR.uof files in your bin/arm-be directory. This is because the ixconfig app loads the microcode with the help of RM and uclo in the non-wkbench mode. You can build them from the command line on your windows machine using src/microace/ucbuild/Makefile.win For mode=1, you can build and download the single Count_8_1Gig.uof from the workbench. See if this works. -- abhijeet On 20 Jun 2003, Øyvind Hvamstad wrote:
Hi, I'm trying to do the "tutorial" for the ENP-2505 card. The card is up after numerous hours of compiling and tweeking. So now I am ready for some programming; I thought..
I tried to start with the Count_8_1 project. I follow the README in $IXROOT/src/microace/aces/tutorial1 and use the workbench to build the microACE. This results in a single .uof file, Count_8_1Gig.uof. I copy this to the $IXROOT/bin/arm-be directory, then I run export CONFIG=ARM_BE and make the code. I modify the ixsys.config file to use interface 0-3 and mode=0, then I copy it to $IXROOT/bin/arm-be. That's it.
The output when I run ./ixstart on the board outputs: <snip> ConfigureFBusInterface: ENP has 64Bit IXbus. ConfigureFBusInterface: ENP has 64Bit IXbus. ixconfig: Initialized Resource Manager ixconfig: ix_task_init successful ixconfig: Created OSSL thread ixconfig: ix_res_open_sync successful ixconfig: ix_ns_open_sync successful ixconfig: File ./SlowIngressCount.uof doesn't Exist or doesn't have READ permission. </snip>
![](https://secure.gravatar.com/avatar/ffb80916cd612121e4bb473a5b155813.jpg?s=120&d=mm&r=g)
On Sat, 2003-06-21 at 19:41, Abhijeet Joglekar wrote:
Hi,
Hi
Did you get this running yet? You seem to be mixing up the "workbench" and "non-workbench" mode. If you are running with mode=0, you need the SlowIngressCount.uof and SlowEgressRR.uof files in your bin/arm-be directory. This is because the ixconfig app loads the microcode with the help of RM and uclo in the non-wkbench mode. You can build them from the command line on your windows machine using src/microace/ucbuild/Makefile.win
No, I'm still not able to run, but with your help, I am now able to load all the files needed. What happens now, is that when configuring all four ports (0-3), I get invalid port 2 and when just running the first 0, I get the error below. My configuration is attached, I'm really at a loss here. Does the gigadrv work on the enp-2505? lsmod tells me: <lsmod> rmdrvr 47704 0 octmac 14068 0 (unused) giga_drv 9128 0 (unused) ue 72124 1 [rmdrvr] ixasl 249568 15 [rmdrvr octmac ue] pciDgNet-arm 2668 1 pciDg-arm 7544 0 [pciDgNet-arm] </lsmod> <error> <serial> Start module gigadrv device id is 1 rmdrvr: Programming FBI ... rmdrvr: Setting up 1-2 Mac mode rmdrvr: Setting up 64 bit bidirectional mode ingressAce: memory violation at pc=0x02027ce8, lr=0x400a6af8 (bad address=0x000) </serial> And from the telnet session: <telnet> [root@frodo arm-be]$./ixstart ixsys_count_8_1.config ConfigureFBusInterface: ENP has 64Bit IXbus. ConfigureFBusInterface: ENP has 64Bit IXbus. ixconfig: Initialized Resource Manager ixconfig: ix_task_init successful ixconfig: Created OSSL thread ixconfig: ix_res_open_sync successful ixconfig: ix_ns_open_sync successful ixconfig: Starting micro aces ixconfig: Starting microace ifaceInput ifaceInput: IX-ACE Initialization Failed Wed Dec 31 20:01:32 1969 ingress_ace.cpp, line 161: init : Couldn't open device /dev/if0. </telnet> </error>
For mode=1, you can build and download the single Count_8_1Gig.uof from the workbench.
Ok, thanks this was not very clear in the README
See if this works.
-- abhijeet Øyvind
![](https://secure.gravatar.com/avatar/74868922a730c8cb7d6b12b2b97d3e75.jpg?s=120&d=mm&r=g)
Hello, I've been trying to connect from Dev Workbench to ENP 2505 board but when I started debuging, the Workbench displayed this error: "Initialize debug library operation failed". lsmod on ENP shows: rmdrvr 47704 0 octmac 14068 0 (unused) giga_drv 9128 0 (unused) ue 72124 1 [rmdrvr] ixasl 249568 15 [rmdrvr octmac ue] pciDgNet-arm 2668 1 pciDg-arm 7544 0 [pciDgNet-arm] Also rs_udebug is running. Could anybody help me please? Regards, Charlie
![](https://secure.gravatar.com/avatar/6fa2e5999426fe8ddc787363908e43b0.jpg?s=120&d=mm&r=g)
What happens now, is that when configuring all four ports (0-3), I get invalid port 2 and when just running the first 0, I get the error below.
Does your board have 4 100 Mb ports or 2 gig ports ? If it has 4 ports, and you are still getting "invalid port 2", that could mean that your kernel is compiled with the wrong board type. Can you check that?
participants (4)
-
Abhijeet Joglekar
-
Charlie
-
Øyvind Hvamstad
-
Øyvind Hvamstadøyvind Hvamstad