Forum Discussion
Altera_Forum
Honored Contributor
19 years agoproblem with dm9000a
Hello everyone: I want to enable network of uClinux on my custom board, but there seems to be some problem.. 1, I can't see the "<DM9000x> I/O: 80900090, VID: 90000a46 and eth0" messag...
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hippo@Mar 30 2007, 12:05 PM gunzip uclinux-dist-20060803-nios2-02.diff.gz
you will get uclinux-dist-20060803-nios2-02.diff
edit this file, and you can find dm9ks stuff.
note you need to update arch/nios2nommu/setup.c, drvers/next/ spcae.c, makefile and kconfig.
but i wonder there are problems in your hardware, so you should try to add some debug messages and dump in the old dm9000x.c . using a new driver won't work on a bad hardware.
and the link to uclinux-dist-20070130,
http://s4.quicksharing.com/v/2589078/uclin...30.tar.bz2.html (http://s4.quicksharing.com/v/2589078/uclinux_dist_20070130.tar.bz2.html)
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22651)
--- quote end ---
--- Quote End --- Thank you so much, hippo. I follow the steps instructed by you, as below(I 'm not sure all of the steps are right, so I would like your checking, thanks:): 1, Create a txt file named dm9ks.c in driver/net, and paste the dm9ks.c code (found in .diff) into it; 2, update setup.c by adding "|| (CONFIG_DM9KS_ETH)" after "#if defined (CONFIG_CS89x0) || (CONFIG_SMC91111) || (CONFIG_OPEN_ETH) || (CONFIG_MTIP1000_ETH) || (CONFIG_DM9000_ETH)"# two place# 3, update space.c by adding "#if defined(CONFIG_DM9KS_ETH) {dmfe_probe, 0}, # endif" 4, update net/Kconfig by adding " config DM9KS_ETH bool "DM9KS DM9000A support" help This is support for the Davicom DM9000A Ethernet chip." 5, update the net/makefile by adding "obj-$(CONFIG_DM9KS_ETH) += dm9ks.o" But the result seems to be not change.. I do checked the hardware(it is not design by myself), about the components, the pins and so on, Maybe I should do some deep work, I will. And Now I doubt whether the uClinux provided by microtronix supports the dm9000a... Dose anyone use microtronix uClinux on DE2 successfully?Please tell me.. hippo, thanks again, for your time and your warmheart. I have learned a lot during the process. Good Luck! Sincerely 0quanquan0