Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12615 Discussions

expand a DM9000A Ethernet module

Altera_Forum
Honored Contributor II
2,605 Views

Hi,:)  

I use DE0 development board which is a simplification of DE2,but there are no Ethernet module on DE0 board. I would like to add the same dm9000 Ethernet module as the DE2 board on the DE0 .Should the dm9000a driver be modified ? I use the ip core DM9000A_IF which is recommended by the NiosWiki.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
530 Views

Hi, scola 

To my opinion, drivers in Linux depends on devices or chips not board. Board selection in kernel config is to simplify the kernel selection. So, I think you can use your DM9000A IP Core and use the reference driver in Linux, if you're using a nios without MMU. But if you're using a nios with MMU, maybe the driver should be modified. 

If I am wrong, please forgive me :) 

 

--Smarter.UJS
0 Kudos
Altera_Forum
Honored Contributor II
530 Views

Hi 

Have you expand a dm9000a ethernet module

I think its hard to do it for there have no device for ethernet. 

i am looking forward for your reply.
0 Kudos
Altera_Forum
Honored Contributor II
530 Views

Yeah ! A DM9000A Ethernet module has been expanded and I have built my quartusii project successfully.I selected the DE2 board as my platform in the uclinux kernel configuration ,for the de0 board is similar to the de2 board. But I met the following error when I download the zImage to the DE0 board : 

 

dm9000 Etheret Driver,V1.31 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:read wrong id 0x2b2a2928 

dm9000 dm9000.0:wrong id: 0x2b2a2928 

dm9000 dm9000.0:not found <-19>. 

 

 

It looks as if the DM9000a device has not been detected yet.
0 Kudos
Altera_Forum
Honored Contributor II
530 Views

I also encounter this problem,I use DE1 development board and nios2-linux-20100621.rar.In sopc &#65292;named"dm9000",I do not know DM9000 module is connected and uClinux,I checked dm9000 and dm9000.h &#65292;no have “na_dm9000”  

my error is: 

dm9000 Etheret Driver,V1.31 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:read wrong id 0x22222020 

dm9000 dm9000.0:wrong id: 0x22222020 

dm9000 dm9000.0:not found <-19>. 

 

who can help me? 

thank you very much!
0 Kudos
Altera_Forum
Honored Contributor II
530 Views

Hi 

 

Did you resolve your problem with dm9000? Now I'm working on it and have the same problem as you.
0 Kudos
Reply