[PATCH] test/py: mii: Add tests for mii command

Tom Rini trini at konsulko.com
Tue Nov 21 23:43:47 CET 2023


On Tue, Nov 21, 2023 at 02:10:51PM +0530, Love Kumar wrote:

> Add below test cases for mii commands:
> mii_info -To display MII PHY info
> mii_list - To list MII devices
> mii_set_device - To set MII device
> mii_read - To reads register from MII PHY address
> mii_dump - To display data from MII PHY address
> 
> Signed-off-by: Love Kumar <love.kumar at amd.com>

A thing I'm not sure about now is on my j721e_evm_a72:
=> mii device
MII devices: 'mdio at f00' 'ethernet at 46000000port@1'
Current device: 'mdio at f00'
=> mii info
=>
=> mii device 'ethernet at 46000000port@1'
=> mii info 0
PHY 0x00: OUI = 0x80028, Model = 0x23, Rev = 0x01, 100baseT, FDX

Which I think matches how things are overall on this platform. So, I
don't know if it's reasonable to say I should just disable the test here
entirely, or if the test should be able to / require device to be set.
Especially since I think as-written it's finding a bug in FEC stuff.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231121/24e2675d/attachment.sig>


More information about the U-Boot mailing list