UBL/U-BOOT and MARVELL LINK STREET

We have a problem where DHCP fails at the U-Boot prompt. My version of U-Boot is as follows:
`U-Boot 2010.12-00000-gadf5366 (Jul 20 2016 - 16:29:05)
We have switched from a LAN8710 to a Marvell Link Street 88E6352 part. It appears to me that the initialization of the PHY is failing. This is what I get when I run 'mii dump 0 0'
1. (0000) -- PHY control register -
I need that register to be 3100 or something like that. I would like to know if my UBL should handle the Marvell part or not. And, how I can fix this problem.
Thanks, Mark
Mark Stolp Senior Firmware Engineer ClearOne | 5225 Wiley Post Way Suite 500 | Salt Lake City, UT 84116 P +1-801-303-3427 F +1-801-303-5711 C clearone.comhttps://www.clearone.com/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-LinkedIn....]https://www.linkedin.com/company/clearone-/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Facebook....] https://www.facebook.com/ClearOne/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Twitter.p...] https://twitter.com/ClearOne [https://www.clearone.com/sites/default/files/sigs/socialICon-email-YouTube.p...] https://www.youtube.com/user/ClearOneTraining [https://www.clearone.com/sites/default/files/sigs/socialICon-email-gab.png] https://gab.com/ClearOne [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Blog.png] https://blog.clearone.com/ NASDAQ: CLRO
[https://www.clearone.com/sites/default/files/sigs/BMA%20360%20Demo%20banner-...]https://share.hsforms.com/1a_g3rdOATsOUyPKrIJpssg2nlbu
Get Your Monthly Pet Adoption Wallpaper Calendar Here https://www.clearone.com/adopt-homeless-pet
Please consider the environment before printing this email. This electronic mail message and any attachment is confidential. The message is intended only for the use of the addressee(s). If you are not the intended recipient, or the person responsible to deliver it to the intended recipient, you may not use, disseminate, distribute or copy this communication. If you have received this message in error, please immediately notify us by email reply or by telephone at +1-801-975-7200, and delete this original message. Thank you.

:)
1. this is really old U-Boot 2. even current U-Boot does not have a full driver for Link Street switches. Your version from 2010.12 probably does not have this driver at all, so you are basically stuck with the automatic settings the switch got on reset 3. initialization of Link Street switches is not as straightforward - one question is which addressing mode are you using: Link Street switches can expose the register space directly on all the addresses on the MDIO bus (Single Chip Addressing Mode), or indirectly to only one MDIO address (Multi Chip Addressing Mode).
In this Multi Chip Addressing Mode you access the Switch internal registers via MDIO registers 0x00 (SMI Command Register) and 0x01 (SMI Data Register)
My advice is to read the corresponding documentaion and upgrade to current U-Boot.
Marek
On Tue, 2 Mar 2021 17:42:31 +0000 Mark Stolp Mark.Stolp@clearone.com wrote:
We have a problem where DHCP fails at the U-Boot prompt. My version of U-Boot is as follows:
`U-Boot 2010.12-00000-gadf5366 (Jul 20 2016 - 16:29:05)
We have switched from a LAN8710 to a Marvell Link Street 88E6352 part. It appears to me that the initialization of the PHY is failing. This is what I get when I run 'mii dump 0 0'
(0000) -- PHY control register -
I need that register to be 3100 or something like that. I would like to know if my UBL should handle the Marvell part or not. And, how I can fix this problem.
Thanks, Mark
Mark Stolp Senior Firmware Engineer ClearOne | 5225 Wiley Post Way Suite 500 | Salt Lake City, UT 84116 P +1-801-303-3427 F +1-801-303-5711 C clearone.comhttps://www.clearone.com/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-LinkedIn....]https://www.linkedin.com/company/clearone-/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Facebook....] https://www.facebook.com/ClearOne/ [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Twitter.p...] https://twitter.com/ClearOne [https://www.clearone.com/sites/default/files/sigs/socialICon-email-YouTube.p...] https://www.youtube.com/user/ClearOneTraining [https://www.clearone.com/sites/default/files/sigs/socialICon-email-gab.png] https://gab.com/ClearOne [https://www.clearone.com/sites/default/files/sigs/socialICon-email-Blog.png] https://blog.clearone.com/ NASDAQ: CLRO
[https://www.clearone.com/sites/default/files/sigs/BMA%20360%20Demo%20banner-...]https://share.hsforms.com/1a_g3rdOATsOUyPKrIJpssg2nlbu
Get Your Monthly Pet Adoption Wallpaper Calendar Here https://www.clearone.com/adopt-homeless-pet
Please consider the environment before printing this email. This electronic mail message and any attachment is confidential. The message is intended only for the use of the addressee(s). If you are not the intended recipient, or the person responsible to deliver it to the intended recipient, you may not use, disseminate, distribute or copy this communication. If you have received this message in error, please immediately notify us by email reply or by telephone at +1-801-975-7200, and delete this original message. Thank you.
participants (2)
-
Marek Behun
-
Mark Stolp