Hi
I want to run ndk on C6747 custom board。I add the driver from ndk 2.00 . I add PSC and pinmux to the progect.It seems that initialization of EMAC is completed.But link status is not correct. I recorded the MDIO0 register.
R MDIO0_REV 0x0000000B 0x00070105
R MDIO0_CONTROL 0x0000000B 0x4100004B
R MDIO0_ALIVE 0x0000000B 0x00000002
R MDIO0_LINK 0x0000000B 0x00000000
R MDIO0_LINKINTRAW 0x0000000B 0x00000000
R MDIO0_LINKINTMASKED 0x0000000B 0x00000000
R MDIO0_USERINTRAW 0x0000000B 0x00000001
R MDIO0_USERINTMASKED 0x0000000B 0x00000000
R MDIO0_USERINTMASKSET 0x0000000B 0x00000000
R MDIO0_USERINTMASKCLEAR 0x0000000B 0x00000000
R MDIO0_USERACCESS0 0x0000000B 0x20217849
R MDIO0_USERPHYSEL0 0x0000000B 0x00000000
R MDIO0_USERACCESS1 0x0000000B 0x00000000
R MDIO0_USERPHYSEL1 0x0000000B 0x00000000
MDIO0_LINK is zero.it should no be zero.AND MDIO0_LINK is read-only.
also when I connect my laptop to the custom board using network cable,my laptop does not find anything connect to it.(my laptop is working properly ) ,it maybe realted to GPIO。So I add the gpioRegs->BANK[GP3].SET_DATA = GP3P11 at the start of my progect.
And after I run the progect ,the The network card of my computer can not find the the board。Please give me some advice.
Thanks for your reply.(I have read the Guidelines when porting NDK to different PHYs on wiki ).