2008-09-02 08:34:12     how to use the drivers/net/bfin_mac.c

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-09-02 08:34:12     how to use the drivers/net/bfin_mac.c

shuping han (CHINA)

Message: 61536   

 

Hi,

 

I am using the BF537, and I want to use the ethernet function of BF537.

 

we know that there is a MAC in BF537, and I also found that there is a driver in the /linux-2.6.x/drivers/net/bfin_mac.c/.h

 

but I don't know how to use it, anyone has a application based on this? Or how to use make the BF537 work with the ethernet?

 

I have a board used BF537+LAN83C185(PHY)+RJ45, but I don't know how to debug it.

 

Do I need a application on the PC, or how to make the board communicate with the PC or Internet with the RJ45?

 

 

 

Thanks all

TranslateQuoteReplyEditDelete

 

 

2008-09-02 09:30:17     Re: how to use the drivers/net/bfin_mac.c

Mike Frysinger (UNITED STATES)

Message: 61540   

 

what exactly are you trying to do ?  run Linux ?  write a bare metal application ?  something else ?

QuoteReplyEditDelete

 

 

2008-09-05 00:30:34     Re: how to use the drivers/net/bfin_mac.c

shuping han (CHINA)

Message: 61644   

 

The goal is to setup the environment,and I can download the code into the dsp through the RJ45.

 

It is ok whether there is a linux, or not. I just want to get the sample way to reach the goal, and can use some source that are open.

 

 

TranslateQuoteReplyEditDelete

 

 

2008-09-05 01:09:02     Re: how to use the drivers/net/bfin_mac.c

Mike Frysinger (UNITED STATES)

Message: 61645   

 

we only support the Blackfin MAC driver under Linux/u-boot.  if you wish to use the driver in a different environment, you're on your own.

 

if you want to get u-boot/Linux running on your system, review the documentation:

http://docs.blackfin.uclinux.org/

Attachments

    Outcomes