All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue
@ 2005-11-28 17:14 Simon Yang
  2005-11-28 17:28 ` [U-Boot-Users] " David Updegraff
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Yang @ 2005-11-28 17:14 UTC (permalink / raw)
  To: u-boot

Dear All,

Now I use VSC8201PHY on MPC8347 with uboot-1.1.3,I think VSC8201 PHY
is similar to CIS8201PHY,so I add struct phy_info_vsc8201 based on
struct phy_info_cis8201 in tsec.c and related registers in tsec.h, but
during bootup I meet below problem in tsec.c when it goes to read
phy_id in function read_phy_reg(), the phy_id is always ffffffff, the
log file is as follow:

Net:   TSEC initialize begin...
In Read reg func PHY ID is:0
Register number MIIMADD is 2
PHY Reg after read PHYIR1 is:ffff
PHY Reg High 16 bit is:ffff0000
Begin Read phy reg!
In Read reg func PHY ID is:0
Register number MIIMADD is 3
PHY Reg after read PHYIR2 is:ffff
Tsec: read from reg is ffffffff
Freescale TSEC0: PHY id ffffffff is not supported!
Freescale TSEC0: No PHY found
TSEC initialize begin...
In Read reg func PHY ID is:1
Register number MIIMADD is 102
PHY Reg after read PHYIR1 is:ffff
PHY Reg High 16 bit is:ffff0000
Begin Read phy reg!
In Read reg func PHY ID is:1
Register number MIIMADD is 103
PHY Reg after read PHYIR2 is:ffff
Tsec: read from reg is ffffffff
Freescale TSEC1: PHY id ffffffff is not supported!
Freescale TSEC1: No PHY found
Freescale TSEC0, Freescale TSEC1

Thanks in advance.

Best Regards
SImon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue
  2005-11-28 17:14 [U-Boot-Users] Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue Simon Yang
@ 2005-11-28 17:28 ` David Updegraff
  2005-11-29  2:19   ` Simon Yang
  0 siblings, 1 reply; 4+ messages in thread
From: David Updegraff @ 2005-11-28 17:28 UTC (permalink / raw)
  To: u-boot

Simon

check your config file settings for:

#define TSEC1_PHY_ADDR		0
#define TSEC1_PHYIDX		0
#define TSEC2_PHY_ADDR		1
#define TSEC2_PHYIDX		0

for sanity of MDIO stuff.

> Dear All,
> 
> Now I use VSC8201PHY on MPC8347 with uboot-1.1.3,I think VSC8201 PHY
> is similar to CIS8201PHY,so I add struct phy_info_vsc8201 based on
> struct phy_info_cis8201 in tsec.c and related registers in tsec.h, but
> during bootup I meet below problem in tsec.c when it goes to read
> phy_id in function read_phy_reg(), the phy_id is always ffffffff, the
> log file is as follow:
> 
> Net:   TSEC initialize begin...
> In Read reg func PHY ID is:0
> Register number MIIMADD is 2
> PHY Reg after read PHYIR1 is:ffff
> PHY Reg High 16 bit is:ffff0000
> Begin Read phy reg!
> In Read reg func PHY ID is:0
> Register number MIIMADD is 3
> PHY Reg after read PHYIR2 is:ffff
> Tsec: read from reg is ffffffff
> Freescale TSEC0: PHY id ffffffff is not supported!
> Freescale TSEC0: No PHY found
> TSEC initialize begin...
> In Read reg func PHY ID is:1
> Register number MIIMADD is 102
> PHY Reg after read PHYIR1 is:ffff
> PHY Reg High 16 bit is:ffff0000
> Begin Read phy reg!
> In Read reg func PHY ID is:1
> Register number MIIMADD is 103
> PHY Reg after read PHYIR2 is:ffff
> Tsec: read from reg is ffffffff
> Freescale TSEC1: PHY id ffffffff is not supported!
> Freescale TSEC1: No PHY found
> Freescale TSEC0, Freescale TSEC1
> 
> Thanks in advance.
> 
> Best Regards
> SImon
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue
  2005-11-28 17:28 ` [U-Boot-Users] " David Updegraff
@ 2005-11-29  2:19   ` Simon Yang
  2005-11-29 13:05     ` Simon Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Yang @ 2005-11-29  2:19 UTC (permalink / raw)
  To: u-boot

Hi David,

I have checked the config file settings, they are correct.

For the MDIO I get nothing on MDIO read frame and write frame of SMI
when the uboot is running.What's wrong with it?



2005/11/29, David Updegraff <dave@cray.com>:
> Simon
>
> check your config file settings for:
>
> #define TSEC1_PHY_ADDR          0
> #define TSEC1_PHYIDX            0
> #define TSEC2_PHY_ADDR          1
> #define TSEC2_PHYIDX            0
>
> for sanity of MDIO stuff.
>
> > Dear All,
> >
> > Now I use VSC8201PHY on MPC8347 with uboot-1.1.3,I think VSC8201 PHY
> > is similar to CIS8201PHY,so I add struct phy_info_vsc8201 based on
> > struct phy_info_cis8201 in tsec.c and related registers in tsec.h, but
> > during bootup I meet below problem in tsec.c when it goes to read
> > phy_id in function read_phy_reg(), the phy_id is always ffffffff, the
> > log file is as follow:
> >
> > Net:   TSEC initialize begin...
> > In Read reg func PHY ID is:0
> > Register number MIIMADD is 2
> > PHY Reg after read PHYIR1 is:ffff
> > PHY Reg High 16 bit is:ffff0000
> > Begin Read phy reg!
> > In Read reg func PHY ID is:0
> > Register number MIIMADD is 3
> > PHY Reg after read PHYIR2 is:ffff
> > Tsec: read from reg is ffffffff
> > Freescale TSEC0: PHY id ffffffff is not supported!
> > Freescale TSEC0: No PHY found
> > TSEC initialize begin...
> > In Read reg func PHY ID is:1
> > Register number MIIMADD is 102
> > PHY Reg after read PHYIR1 is:ffff
> > PHY Reg High 16 bit is:ffff0000
> > Begin Read phy reg!
> > In Read reg func PHY ID is:1
> > Register number MIIMADD is 103
> > PHY Reg after read PHYIR2 is:ffff
> > Tsec: read from reg is ffffffff
> > Freescale TSEC1: PHY id ffffffff is not supported!
> > Freescale TSEC1: No PHY found
> > Freescale TSEC0, Freescale TSEC1
> >
> > Thanks in advance.
> >
> > Best Regards
> > SImon
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue
  2005-11-29  2:19   ` Simon Yang
@ 2005-11-29 13:05     ` Simon Yang
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Yang @ 2005-11-29 13:05 UTC (permalink / raw)
  To: u-boot

Does anybody use this PHY before and it works well before? Please give
me some comment on it, thanks a lot!

2005/11/29, Simon Yang <bestwish.simon@gmail.com>:
> Hi David,
>
> I have checked the config file settings, they are correct.
>
> For the MDIO I get nothing on MDIO read frame and write frame of SMI
> when the uboot is running.What's wrong with it?
>
>
>
> 2005/11/29, David Updegraff <dave@cray.com>:
> > Simon
> >
> > check your config file settings for:
> >
> > #define TSEC1_PHY_ADDR          0
> > #define TSEC1_PHYIDX            0
> > #define TSEC2_PHY_ADDR          1
> > #define TSEC2_PHYIDX            0
> >
> > for sanity of MDIO stuff.
> >
> > > Dear All,
> > >
> > > Now I use VSC8201PHY on MPC8347 with uboot-1.1.3,I think VSC8201 PHY
> > > is similar to CIS8201PHY,so I add struct phy_info_vsc8201 based on
> > > struct phy_info_cis8201 in tsec.c and related registers in tsec.h, but
> > > during bootup I meet below problem in tsec.c when it goes to read
> > > phy_id in function read_phy_reg(), the phy_id is always ffffffff, the
> > > log file is as follow:
> > >
> > > Net:   TSEC initialize begin...
> > > In Read reg func PHY ID is:0
> > > Register number MIIMADD is 2
> > > PHY Reg after read PHYIR1 is:ffff
> > > PHY Reg High 16 bit is:ffff0000
> > > Begin Read phy reg!
> > > In Read reg func PHY ID is:0
> > > Register number MIIMADD is 3
> > > PHY Reg after read PHYIR2 is:ffff
> > > Tsec: read from reg is ffffffff
> > > Freescale TSEC0: PHY id ffffffff is not supported!
> > > Freescale TSEC0: No PHY found
> > > TSEC initialize begin...
> > > In Read reg func PHY ID is:1
> > > Register number MIIMADD is 102
> > > PHY Reg after read PHYIR1 is:ffff
> > > PHY Reg High 16 bit is:ffff0000
> > > Begin Read phy reg!
> > > In Read reg func PHY ID is:1
> > > Register number MIIMADD is 103
> > > PHY Reg after read PHYIR2 is:ffff
> > > Tsec: read from reg is ffffffff
> > > Freescale TSEC1: PHY id ffffffff is not supported!
> > > Freescale TSEC1: No PHY found
> > > Freescale TSEC0, Freescale TSEC1
> > >
> > > Thanks in advance.
> > >
> > > Best Regards
> > > SImon
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-29 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-28 17:14 [U-Boot-Users] Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue Simon Yang
2005-11-28 17:28 ` [U-Boot-Users] " David Updegraff
2005-11-29  2:19   ` Simon Yang
2005-11-29 13:05     ` Simon Yang

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.