From: Neeraj Garg <neerajg@cdac.in>
To: Georg Schardt <schardt@team-ctech.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: EDK10.1 and emaclite
Date: Tue, 09 Sep 2008 13:55:59 +0530 [thread overview]
Message-ID: <48C63317.7080709@cdac.in> (raw)
In-Reply-To: <48C62603.7080606@team-ctech.de>
[-- Attachment #1: Type: text/plain, Size: 3398 bytes --]
I am using Emac but the configuration is more or less same for the two.
Look at the messages that I am getting at startup
[ 3.225313] xilinx_emac xilinx_emac.0: MAC address is now 0:a0:22:
1: 1:f2
[ 3.264036] XEmac: using fifo mode.
[ 3.288583] XEmac: *Detected PHY at address 0, ManufID 0x0040, Rev.
0x61e4*.
[ 3.328138] eth0: Dropping NETIF_F_SG since no checksum feature.
[ 3.368685] eth0: Xilinx 10/100 EMAC at 0x11000000 mapped to
0xC3020000, irq=5
[ 3.404090] eth0: XEmac id 1.4a, block id 128, type 1
Points that you cant check
First look at ethernet interface RJ45 connector that power is coming,
LED should blink.
1) check whether IRQ is right, its zero in your case. If it is right
then issue ping and read interrupts arriving on your ethernet interface
(cat /proc/interrupts), If number of interrupts are increasing then its
sure that your PHY is ok , the problem is with mode selection (10 MBPS,
or 100 MBPS) if that is the issue let me know , I'll tell you where to
make changes in driver files.
2) If nothing of the above works then there is problem with PHY address
detection. You have to look in hardware specification (your hardware
board ) to find out PHY address.
-------------------------------------------------------------------
Neeraj Garg
Georg Schardt wrote:
> Hi again,
>
> mmh, there is no kernel message with PHY detection, but all PHY
> drivers are compiled in.
> i looked at my xps project and there is only one ip-core
> "Ethernet_MAC" with type "xps_ethernetlite".
> is it possible that the phy connection is missing ? i use the base
> system builder with the board support files supported from avnet.
>
> where can i look for the ethernet speed ? the ethernetlite ip has no
> speed options
>
> thanks for your help
> georg
>
> Neeraj Garg wrote:
>> Hi Georg,
>>
>> Can you post linux bootup message where its says PHY is detected at
>> paticular address, and check with your hardware what is actual
>> address of PHY. Also I would like to know the configuration of your
>> hardware whether its configured of 10MBPS OR 100MBPS.
>>
>>
>> ------------------------------------------------------------------------------------------
>>
>> --
>> Neeraj Garg
>>
>>
>>
>> Message: 3
>> Date: Mon, 08 Sep 2008 18:29:53 +0200
>> From: Georg Schardt <schardt@team-ctech.de>
>> Subject: EDK10.1 and emaclite
>> To: linuxppc-embedded@ozlabs.org
>> Message-ID: <48C55301.4070208@team-ctech.de>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Hi all,
>>
>> im trying to use the emaclite core which comes with the EDK10.1 with
>> the 2.6.26 kernel from git.xilinx.com on virtex4fx12 minimodul. the
>> emac is detect by the kernel:
>>
>> xilinx_emaclite xilinx_emaclite.0: MAC address is now 2: 0: 0: 0: 0: 0
>> xilinx_emaclite xilinx_emaclite.0: using fifo mode.
>> xilinx_emaclite xilinx_emaclite.0: Xilinx EMACLite at 0x81000000
>> mapped to 0xC5060000, irq=0
>>
>> i can change the mac-address with ifconfig and i can give an
>> ip-address to the device,
>> but a ping is not possible and arp is not working. i think that the
>> phy is not working right.
>>
>> has someone others the same problem ? what can i changed ? i have
>> tried out all possible phy driver in the linux kernel
>>
>> a setup with the lltemac is working fine, but i want to use the emaclite
>>
>> thanks
>> regards
>> georg
>>
[-- Attachment #2: Type: text/html, Size: 4507 bytes --]
next prev parent reply other threads:[~2008-09-09 8:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 4:09 EDK10.1 and emaclite Neeraj Garg
2008-09-09 7:30 ` Georg Schardt
2008-09-09 8:25 ` Neeraj Garg [this message]
2008-09-09 8:36 ` Georg Schardt
2008-09-09 8:59 ` Georg Schardt
2008-09-09 18:58 ` jozsef imrek
2008-09-09 15:23 ` John Linn
2008-09-09 18:40 ` jozsef imrek
-- strict thread matches above, loose matches on Subject: below --
2008-09-08 16:29 Georg Schardt
2008-09-08 22:25 ` John Linn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C63317.7080709@cdac.in \
--to=neerajg@cdac.in \
--cc=linuxppc-embedded@ozlabs.org \
--cc=schardt@team-ctech.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.