I am planning to write code on the PS (ARM) side to read the temperature of the PHY chip, namely, Marvell 88E1512 (eth0) on the zedboard, but to no avail.
Datasheet of the Marvell 88E1512 chip states that one "can read the temperature from register_26_6.4:0 or register_27_6.7:0". The data read from there (by calling ioctl(socket, SIOCSMIIREG, ®_info) ), unfortunately, is either 0x0000 or 0xFFFF.
What is the best practice to achieve this? Any input / recommendation would be greatly appreciated.
Additionally, what is the difference between phy_id and page?
Thank you for reading.