boards: phytec-som-am335x: ethernet broken after reset
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 0x6mdio_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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/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:
Quoted 12 lines
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 mask0x6mdio_bus: miibus0: probed
cpsw 4a100000.ethernet: Failed to setup slave 0: I/O error
...
Quoted 8 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 4 lines · Teresa Remmet
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.
Quoted 2 lines
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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hello Michael,
Am Dienstag, den 29.09.2015, 16:12 +0200 schrieb Michael Grzeschik:
Quoted 9 lines · Teresa Remmet
Quoted 4 lines
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.
Quoted 6 lines
Quoted 3 lines
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
Quoted 4 lines
Thanks,
Michael
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox