@@ -7,13 +7,17 @@ IO boards, with HostMot2 firmware.
77
88== SYNOPSIS
99
10- *loadrt hm2_eth* [**config=**"__str__[,__str__...]"] [**board_ip=**__ip__[,__ip__...] ] [**board_mac=**__mac__[,__mac__...] ] [**firewall=**__auto|iptables|nft|none__]
10+ *loadrt hm2_eth* [**config=**"__str__[,__str__...]"] [**board_ip=**__ip__[,__ip__...] ] [**board_rtnet=**__posix|evl__[,__posix|evl__...] ] [** board_mac=**__mac__[,__mac__...] ] [**firewall=**__auto|iptables|nft|none__]
1111
1212*config* [default: ""]::
1313 HostMot2 config strings, described in the hostmot2(9) manpage.
1414*board_ip* [default: ""]::
1515 The IP address of the board(s), separated by commas.
1616 As shipped, the board address is 192.168.1.121.
17+ *board_rtnet* [default: posix]::
18+ The real time ethernet implementation of the board(s), separated by
19+ commas. Use *posix* for PREEMT_RT. Use *evl* if you are running a
20+ Xenomai4 EVL kernel and have a supported network card.
1721*firewall* [default: auto]::
1822 Selects the firewall backend used to isolate the dedicated interface.
1923 By default hm2_eth installs the rules itself; rtapi_app raises
@@ -124,6 +128,8 @@ hm2___<BoardType>__.__<BoardNum>__.packet-error-level (s32, out)::
124128 The error level is always in the range from 0 to packet-error-limit, inclusive.
125129hm2___<BoardType>__.__<BoardNum>__.packet-error-exceeded (bit, out)::
126130 This pin is TRUE when the current error level is equal to the maximum, and FALSE at other times.
131+ hm2___<BoardType>__.__<BoardNum>__.packet-error-total (u32, io)::
132+ This pin shows the total package error count.
127133
128134== PARAMETERS
129135
@@ -150,6 +156,16 @@ hm2___<BoardType>__.__<BoardNum>__.packet-read-timeout (s32, rw)::
150156Setting this value too low can cause spurious read errors.
151157Setting it too high can cause realtime delay errors.
152158
159+ == FUNCTIONS
160+
161+ hm2_eth.realtime-init::
162+ Realtime initialization function. This function initializes the realtime
163+ ethernet for *evl*. With *posix*, this function is not needed.
164+ It needs to be called once at startup using:
165+ ....
166+ initf hm2_eth.realtime-init servo-thread
167+ ....
168+
153169== NOTES
154170
155171hm2_eth installs firewall rules to control the network interface while
0 commit comments