From: Manuel Sahm <Manuel.Sahm@feig.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Teridian Phy Support tr78q21x3
Date: Wed, 11 Jun 2008 08:25:23 +0200 [thread overview]
Message-ID: <484F6FD3.5050003@feig.de> (raw)
In-Reply-To: <484EE57C.3070603@denx.de>
Hello,
In the U-Boot 1.3.3 there is already this patch included....
But I see another problem:
I uses the AT91SAM9260 microcontroller so I defined in the header:
#define CONFIG_AT91SAM9260 1
Instead of the Davicom Phy (RMII), which is used in the DevBoard
AT91SAM9260EK I want to use the Teridian Phy(MII), so I write in the header:
#undef CONFIG_RMII
Now have a look at the patch:
+#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \
+ defined(CONFIG_AT91SAM9263)
+ macb_writel(macb, USRIO, MACB_BIT(CLKEN));
#else
macb_writel(macb, USRIO, MACB_BIT(MII));
#endif
I don?t go to the line : macb_writel(macb, USRIO, MACB_BIT(MII));
,because of CONFIG_AT91SAM9260
BUT I have to go there or not ?
Thank you very much
Best regards
Manuel
Anatolij Gustschin schrieb:
> Hello,
>
> Manuel Sahm wrote:
>
>
>> I added a Teridian Phy Driver (tr78q21x3) to the Uboot version 1.3.0
>> It works. (even in linux when I use the linux generic macb driver)
>>
>> If I try to use the latest u-boot-version (1.3.3) with the macb driver -
>> ethernet doesn?t work (in u-boot and linux).
>> I don?t know how to add my phy driver to the latest u-boot version !
>>
>
> Maybe it is not a phy driver problem? Teridian phy 78q21x3 supports only
> MII mode. Reverse the following patch locally and check if ethernet works
> again:
>
> http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blobdiff_plain;f=drivers/net/macb.c;h=e5733f6e5b23c6ad7a05dfbda0b5a3d783f701f7;hp=6657d22926b55f4000c03095bb9b87af53247056;hb=8e429b3eee23927c1222679f6b6f53667b21595c;hpb=422b1a01602b6e2fbf8444a1192c7ba31461fd4c
>
> Best regards,
> Anatolij
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080611/3ea0b495/attachment.htm
next prev parent reply other threads:[~2008-06-11 6:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 9:56 [U-Boot-Users] Teridian Phy Support tr78q21x3 Manuel Sahm
2008-06-10 20:35 ` Anatolij Gustschin
2008-06-11 6:25 ` Manuel Sahm [this message]
2008-06-11 7:43 ` Anatolij Gustschin
2008-06-18 7:39 ` Manuel Sahm
2008-06-18 7:59 ` Wolfgang Denk
2008-07-08 8:03 ` [U-Boot-Users] [PATCH] at91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260 Anatolij Gustschin
[not found] ` <4874B6AF.40400@feig.de>
2008-07-09 23:00 ` Anatolij Gustschin
2008-07-10 6:34 ` Manuel Sahm
2008-07-09 23:15 ` [U-Boot-Users] [PATCH v2] " Anatolij Gustschin
2008-07-09 23:29 ` Ben Warren
2008-07-13 12:42 ` Wolfgang Denk
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=484F6FD3.5050003@feig.de \
--to=manuel.sahm@feig.de \
--cc=u-boot@lists.denx.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.