summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhengda <zhengda@web>2010-05-04 03:03:10 +0000
committerGNU Hurd web pages engine <web-hurd@gnu.org>2010-05-04 03:03:10 +0000
commit65cbf488fdc4ad6f112d10af5f3860a935825880 (patch)
tree74334cfdba4268a102d1dff1b77bcfc67ab50909
parent524d6c6efe27ac1c48b919ca8c56adba3018c298 (diff)
-rw-r--r--user/zhengda.mdwn4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/zhengda.mdwn b/user/zhengda.mdwn
index 79a638f2..56228efd 100644
--- a/user/zhengda.mdwn
+++ b/user/zhengda.mdwn
@@ -13,7 +13,7 @@ porting DDE developed by DROPS to the Hurd, and it will still run in the user sp
The introduction of DDE/DDEKit can be found in [here](http://wiki.tudos.org/DDE/DDEKit) and more information can be found [here](http://os.inf.tu-dresden.de/pipermail/l4-hackers/2009/004291.html). DDE/DDEKit is a library, and it should be compiled with the code of Linux or FreeBSD drivers. DDE Linux26 is still under development and it can now support network and block devices (but doesn't support SCSI).
## My work
-I separate DDE Linux26 to 2 parts: libddekit and libdde_linux26. I also provide a library called libmachdev on the top of the Linux code to provide the Mach device interface, so it is easy for the user to compile a Linux driver and run it in the Hurd. The latest code can be found in the dde branch of the incubator repository. To build DDE, we have to first install libpciaccess. libdde_linux26 has to be compiled manually (building dde_pcnet32 doesn't compile libdde_linux26 automatically).
+I separate DDE Linux26 to 2 parts: libddekit and libdde_linux26. I also provide a library called libmachdev on the top of the Linux code to provide the Mach device interface, so it is easy for the user to compile a Linux driver and run it in the Hurd. The latest code can be found in the dde branch of the incubator repository.
The current status: the pcnet32 driver can work very well in DDE Linux26 now. I hope someone can try other NIC drivers. Please run DDE with GNUMach in the [master-user_level_drivers](http://git.savannah.gnu.org/cgit/hurd/gnumach.git/) branch.
@@ -21,6 +21,8 @@ There is a minor problem when we compile a Linux driver. Linux drivers use jiffi
## Build and run DDE drivers
+DDE requires the pfinet with the modification during my GSoC project in 2008 and that pfinet requires libpcap-dev. To build DDE, we have to first install libpciaccess. libdde_linux26 has to be compiled manually (building dde_pcnet32 doesn't compile libdde_linux26 automatically).
+
To build a Linux driver with DDE Linux, the easiest way is to use dde_pcnet32 (also in the dde branch) as a template. The directory of dde_pcnet32 has Makefile, Makeconf.local, default.ld, pcnet32.c and main.c. If we need to build a new driver file, we only need to replace pcnet32.c with the new file and change Makefile accordingly.
To run a DDE NIC driver: