[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Questions about the Ethernet interface



Hi Peter,

Never mind, I think I've got it sorted.  Stupid pistake on my part, 
again and error in the xparameters.h, hadn't set the emc base address 
properly!! *blush*

just rebuilding kernel now to test.  I analysed the PHY info coming 
back, and it's definitely working poperly, have a link, and so on.  I 
think it will be working any time now.

thanks for your help

john

John Williams wrote:
> Hi Peter,
> 
> Peter Ryser wrote:
> 
>> a few questions:
>> - what board are you using again?
> 
> 
> insight v2mb1000 main board, with p160 comms module
> 
>> - is the PHY set up for autoconfiguration?
> 
> 
> not sure, how do i check?  I've tried using mii-tool to force a reset / 
> autonegotiation, but didn't do anything.
> 
>> - what is your OPB frequency?
> 
> 
> 66mhz
> 
>> - what happens if you run mii-tool, i.e. what is the output?
> 
> 
> sash$ mii-tool -v
> 
> eth0: 10 Mbit, half duplex, no link
>   product info: vendor 00:00:00, model 0 rev 0
>   basic mode:   10Mbit, half duplex
>   basic status: no link
>   capabilities:
>   advertising:
> 
>> - do you have any link and activity LEDs on the board/connector?
> 
> 
> the link LED on p160 glows when I connect an ethernet cable
> 
> I haven't seen the activity LED blink yet.
> 
>> - do you have a 10/100Mbps indicator LED on the board?
> 
> 
> yes, it's off.  the network topology is that I have a windows PC and the 
> microblaze board connected to a 10mbps hub, which then connects to the 
> our main intranet.  IP address, broadcast and netmask etc are set properly.
> 
>> - did you try to comment out the mii detection code (just for 
>> debugging purposes)?
> 
> 
> no, it didn't seem necessary once I found the error i had introduced. 
> The MII query stuff looks like it's working properly
> 
>> - does the Ethernet work with the standalone web server?
> 
> 
> haven't tried it, it looks like quite a pain to get going, but i should 
> probably give it a try.
> 
> I wrote a little standalone test program to query the PHY via the MII, 
> basically just read all 32 registers of PHY number 0.  Im just looking 
> for some MII documentation, to see what the register contents mean. But, 
> it's clear that the MII link is working, I'm getting some meaningful 
> data back from the XEmac_PhyRead() low level function.
> 
> John
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : 
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


-- 
Dr John Williams, Research Fellow,
Reconfigurable Computing, School of ITEE
University of Queensland, Brisbane, Australia
Ph : (07) 3365 8305

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/