Hi,all
I have compiled RTnet 0.9.12 successfully on my development board with
at91sam9263 arm and dm9161aep network card.After configuring rtnet.conf
file ,I run this : ./rtnet start.And as a result,i got these:
*** RTnet 0.9.12 - built on Jul 14 2011 14:41:32 ***
RTnet: initialising real-time networking
initializing loopback...
RTnet: registered rtlo
RTcfg: init real-time configuration distribution protocol
RTmac: init realtime media access control
RTmac/TDMA: init time division multiple access control mechanism
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl (add): No such device
ifconfig: SIOCGIFFLAGS: No such device
Waiting for all slaves...ioctl: No such device
ioctl: No such device
I try this command :./rtifconfig
and i get :
rtlo Medium: Local Loopback
IP address: 127.0.0.1
UP LOOPBACK RUNNING MTU: 1500
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I think my rtnet is compiled successfully,But there is some wrong
with rt_at91_ether driver.
my software circumstance is
linux-2.6.20.13+RTAI-3.7+RTnet-0.9.12.Linux can run rightly,also with the
network. all of the six test program run successfully in RTAI's testsuit
directory. The first time I compiled RTnet,I got some mistakes:
/usr/src/rtnet/drivers/rt_at91_ether.c: In function `at91_emac_read':
/usr/src/rtnet/drivers/rt_at91_ether.c:65: error: `AT91RM9200_BASE_EMAC'
undeclared (first use in this function)
/usr/src/rtnet/drivers/rt_at91_ether.c:65: error: (Each undeclared
identifier is reported only once
/usr/src/rtnet/drivers/rt_at91_ether.c:65: error: for each function it
appears in.)
/usr/src/rtnet/drivers/rt_at91_ether.c: In function `at91_emac_write':
/usr/src/rtnet/drivers/rt_at91_ether.c:75: error: `AT91RM9200_BASE_EMAC'
undeclared (first use in this function)
Then i added header file "#include <asm/arch/at91rm9200.h>",the
problem solve.
Do you have any ideals to solve my problem?
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users