* boards: phytec-som-am335x: ethernet broken after reset
@ 2015-09-23 15:28 Michael Grzeschik
2015-09-24 6:37 ` Teresa Remmet
0 siblings, 1 reply; 4+ messages in thread
From: Michael Grzeschik @ 2015-09-23 15:28 UTC (permalink / raw)
To: t.remmet; +Cc: barebox
Hi Teresa,
With the current code for the phytec-som-am335x, the ethernet works only
after the first powerup. If you soft reset the module the network won't
work anymore.
...
cpsw 4a100000.ethernet: detected phy mask 0x6
mdio_bus: miibus0: probed
cpsw 4a100000.ethernet: Failed to setup slave 0: I/O error
...
That happens in the second boot. The phy is probably in a wrong state and
won't communicate over MDIO.
Do you have any ideas?
Thanks,
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boards: phytec-som-am335x: ethernet broken after reset
2015-09-23 15:28 boards: phytec-som-am335x: ethernet broken after reset Michael Grzeschik
@ 2015-09-24 6:37 ` Teresa Remmet
2015-09-29 14:12 ` Michael Grzeschik
0 siblings, 1 reply; 4+ messages in thread
From: Teresa Remmet @ 2015-09-24 6:37 UTC (permalink / raw)
To: Michael Grzeschik; +Cc: barebox
Hello Michael,
can you give me a little bit more information about the hardware you
are using? As the phytec-som-am335x, includes 3 different modules.
Names of the images in use and hardware revision of the som whould be
great.
I have made a quick test it with a phycore som on master. It worked for
me.
Regards,
Teresa
Am Mittwoch, den 23.09.2015, 17:28 +0200 schrieb Michael Grzeschik:
> Hi Teresa,
>
> With the current code for the phytec-som-am335x, the ethernet works only
> after the first powerup. If you soft reset the module the network won't
> work anymore.
>
> ...
> cpsw 4a100000.ethernet: detected phy mask 0x6
> mdio_bus: miibus0: probed
> cpsw 4a100000.ethernet: Failed to setup slave 0: I/O error
> ...
>
> That happens in the second boot. The phy is probably in a wrong state and
> won't communicate over MDIO.
>
> Do you have any ideas?
>
> Thanks,
> Michael
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boards: phytec-som-am335x: ethernet broken after reset
2015-09-24 6:37 ` Teresa Remmet
@ 2015-09-29 14:12 ` Michael Grzeschik
2015-09-30 14:26 ` Teresa Remmet
0 siblings, 1 reply; 4+ messages in thread
From: Michael Grzeschik @ 2015-09-29 14:12 UTC (permalink / raw)
To: Teresa Remmet; +Cc: barebox
On Thu, Sep 24, 2015 at 08:37:31AM +0200, Teresa Remmet wrote:
> can you give me a little bit more information about the hardware you
> are using? As the phytec-som-am335x, includes 3 different modules.
> Names of the images in use and hardware revision of the som whould be
> great.
It is an 1358.3 som which uses the MT41K128M16JT memory instead of the
MT41J128M16125IT. I created an extra image, as it is used with an custom
baseboard.
> I have made a quick test it with a phycore som on master. It worked for
> me.
Ok, Than there must be some differences. Possibly another used phy on
the 1358.3 module.
Thanks,
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boards: phytec-som-am335x: ethernet broken after reset
2015-09-29 14:12 ` Michael Grzeschik
@ 2015-09-30 14:26 ` Teresa Remmet
0 siblings, 0 replies; 4+ messages in thread
From: Teresa Remmet @ 2015-09-30 14:26 UTC (permalink / raw)
To: Michael Grzeschik; +Cc: barebox
Hello Michael,
Am Dienstag, den 29.09.2015, 16:12 +0200 schrieb Michael Grzeschik:
> On Thu, Sep 24, 2015 at 08:37:31AM +0200, Teresa Remmet wrote:
> > can you give me a little bit more information about the hardware you
> > are using? As the phytec-som-am335x, includes 3 different modules.
> > Names of the images in use and hardware revision of the som whould be
> > great.
>
> It is an 1358.3 som which uses the MT41K128M16JT memory instead of the
> MT41J128M16125IT. I created an extra image, as it is used with an custom
> baseboard.
The MT41K128M16JT is a newer RAM. We tested that this also runs with the
timings of MT41J128M16125IT. Maybe I should add a comment into the code
as this leads to confusion.
>
> > I have made a quick test it with a phycore som on master. It worked for
> > me.
>
> Ok, Than there must be some differences. Possibly another used phy on
> the 1358.3 module.
I have checked this now also on a 1358.3 with MT41K128M16JT and a SMSC
LAN 8710A phy. It works with barebox master.
Regards,
Teresa
>
> Thanks,
> Michael
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-30 14:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 15:28 boards: phytec-som-am335x: ethernet broken after reset Michael Grzeschik
2015-09-24 6:37 ` Teresa Remmet
2015-09-29 14:12 ` Michael Grzeschik
2015-09-30 14:26 ` Teresa Remmet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox