This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8148 phy mii mode cpsw_mdio_read return EIO

     we have a dm8148board that phy use mii mode  .I change the DM8148 uboot code :

1   __raw_writel(0x0,GMII_SEL); 

2  function cpsw_pad_config  i use  /*For PG1.0 we only support GMII Mode, setup gmii0/gmii1 pins here*/

when uboot  up i ping the host pc   error  .in function miiphy_reset  call the cpsw_mdio_read  return EIO  .

have anyone give me some advise?  dm8148  support mii mode have change other ? my uboot version is u-boot-04.04.00.01.

  • Hello,

    Refer to the below links:

    http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#CPSW_MII_Phy

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot#Boot_Mode_Switch_settings

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/165720.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/194328.aspx

    Regards,
    Pavel