I've checked the TA bit. The TA bit is 11 which means the TA bit is not correct.
I changed the code to not verify the TA bit, It still returns all
ones. Then I printed out all the values get. All that I get is 1. I'm
going to check the MDIO with a oscilloscope.
Thanks paul, you give me another way
Yes, the PHY address is correct, I've checked the schematics, and
2.6.22 is also using this PHY address.
The different between 2.6.22 and 2.6.32.6 is that:
In 2.6.22, we use arch/ppc/8260_io/fcc_enet.c as the driver. IMMR
address 0xf000 is directly used.
In 2.6.32.6, cpm2-fcc-enet driver is use
Peter Pan wrote:
Recently, I'm porting Linux 2.6.32.6 to our customized MPC8247 based
board. Everything is fine out except my ethernets. I uses
cpm2-scc-enet and cpm2-fcc-enet drivers.
My ethernet works fine in U-Boot with the same setting, and our
previous Linux 2.6.22 is also working, so there
I tried to skip the turn around bit check in source, but the mii bus
still get the 0x PHYIDs.
I will check if there is any pull ups on mdio line.
Thank you.
2010/3/31 p...@conspiracy.net :
> I had the same issue on a board. The original was config was a 8247
> with 2.6.27 and changed the
Recently, I'm porting Linux 2.6.32.6 to our customized MPC8247 based
board. Everything is fine out except my ethernets. I uses
cpm2-scc-enet and cpm2-fcc-enet drivers.
My ethernet works fine in U-Boot with the same setting, and our
previous Linux 2.6.22 is also working, so there should be nothing
w