The RTL-EtherbootD project has been developed with RTLinux-3.2-pre3 and the Linux kernel 2.4.21. Testing RTL-EtherbootD with other releases may cause errors. If so, please report them to racamlas_at_ono_dot_com.
Compiling the modules
In order to compile RTL-EtherbootD users must modify the fifth line of the Makefile to set the path to the rtl.mk file (included in the RTLinux sources directory). Once modified, save the changes and run "make" to compile the modules.
Testing the modules
Before inserting the modules you must be sure that there is no Linux driver using the Ethernet card. Linux drivers does not have to be removed, just turning down the interface will allow the RTLinux driver to work (ie: ifdown eth0 or ifconfig down eth0).
After compiling, the drivers are located in the modules directory. A module file named rtl_<driver_name>_drv.o is the porting of the <driver_name> Etherboot Driver to RTLinux.
In the examples directory there are three examples: read_example, ping and ping_debug. The read_example module tests the read call of the driver.
The ping example runs an ICMP echo server that replies to ping calls, and the ping_debug example is the same example but with more debugging messages.
Before inserting the driver run "rtlinux start" and the "inst" script included in the parent directory (this script inserts a real-time Dynamic Memory Allocator module called TLSF).
At this moment, the RTLinux Ethernet driver can be inserted (see your card model in the full list of drivers). Next, insert the example module "ping_debug" (a parameter with the IP has to be passed to the module)and finally ping the RTLinux machine from other machine.
Even if the test works or fails please send a dmesg print to : racamlas_at_ono_dot_com and a copy to serpeal_at_upvnet_dot_upv_dot_es.
We will also try to solve any problem you have when compiling or testing the drivers.
NOTE
RTL-EtherbootD is under development, so testing the drivers included in this beta release may cause your system to crash. In order to prevent this, it is hardly recommended to insert the rtl_debug.o module (you must check it when compiling RTLinux-GPL). If your system crashes we can also debug your system if you send us by e-mail the last lines in /var/log/ksymoops/<last_log>.ksyms .
|