- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Where can I find the driver for Opencores 10/100 Ethernet MAC?
Lien copié
5 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
What network stack/OS are you planning to use?
A couple of years ago I ported this MAC to work with Nios I and the plugs library. I can post this code but it won't be compatible with LWIP or linux -- some work would be needed to port it.... however it wouldn't surprise me if others here have done such a port or written a new driver from scratch already. Let me know if you're interested.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello yaoli
I have written a driver for the Opencores MAC 10/100 and used it to generate a lwip webserver project. Unfirtunately, I don't see how I can add an attachement to this post, so I'll try to send it to you somehow. Regards Nir Drabkin Altera DFAE Braemac Pty Ltd.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello nir,
Please post your design in "Post Your Own IP" board. http://www.niosforum.com/forum/index.php?a...ct=st&f=15&t=16 (http://www.niosforum.com/forum/index.php?act=st&f=15&t=16)- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The Opencores 10/100 Ethernet MAC seemes to be supported by Linux. You will find it in the kernel configuration, among with some other network device drivers.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello,
I had successfully generated the system in Verilog, but in software compilation I found this errors. For now, I'm compiling a "Hello World" example, which don't require any network resource. Thank you! -- make -s all Compiling alt_sys_init.c... In file included from system_description/alt_sys_init.c:72: /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:48:30: alt_ethernet_dev.h: No such file or directory In file included from system_description/alt_sys_init.c:72: /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:65: error: parse error before "alt_ethernet_dev_list" /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:65: warning: no semicolon at end of struct or union /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:77: error: parse error before '}' token /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:77: warning: type defaults to `int' in declaration of `opencores_ethernet_mac_if' /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:77: warning: data definition has no type or storage class /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:80: error: parse error before '*' token /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:81: error: parse error before '*' token /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:82: error: parse error before '*' token /cygdrive/c/altera/kits/nios2/components/OpenCores_Avalon_10_100_Ethernet_MAC/HAL/inc/OpenCores_Ethernet_MAC.h:83: error: parse error before '*' token system_description/alt_sys_init.c:87: error: parse error before "opencores_ethernet_mac" system_description/alt_sys_init.c:87: warning: type defaults to `int' in declaration of `opencores_ethernet_mac' system_description/alt_sys_init.c:87: warning: braces around scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: braces around scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: braces around scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: error: `opencores_ethernet_mac_rx' undeclared here (not in a function) system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: error: `opencores_ethernet_mac_input' undeclared here (not in a function) system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: excess elements in scalar initializer system_description/alt_sys_init.c:87: warning: (near initialization for `opencores_ethernet_mac') system_description/alt_sys_init.c:87: warning: data definition has no type or storage class system_description/alt_sys_init.c: In function `alt_sys_init': system_description/alt_sys_init.c:104: warning: implicit declaration of function `alt_ethernet_dev_reg' make[1]: *** [obj/alt_sys_init.o] Error 1 make: *** [system_project] Error 2 Build completed
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable