<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
FONT-SIZE: 10.5pt; COLOR: #000000; LINE-HEIGHT: 1.5; FONT-FAMILY: ËÎÌå
}
</STYLE>
<META content="MSHTML 6.00.2900.6148" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV>
<DIV>
<DIV>Hello, all</DIV>
<DIV>
<DIV class=FoxDiv20111215105216561795>
<DIV> </DIV>
<DIV>
<DIV class=xg_user_generated>
<P>I am a new user of the board TWR-MPC5125 made by freescale. Now I am trying
to porting the new kernel, i.e. the version 3.0.4, to this board. I have porting
the serial driver and the nand flash driver successfully. And I can also mount
the root file system. But I can not use the ether-net interface now. I have
tried to port the ether-net driver based on the ether-net driver for ADS 5121,
which is provided by the new kernel 3.0.4. The only thing I have
to do in the porting is that I should change the MII mode in ADS5121 board to
RMII mode in my board. And I find that I can send packages out if I use the
"ping" command. But I can not receive any package for responding. And I also
found that the interrupt routine for sending packages was running but the
interrupt routine for receiving message was not called by the kernel. I don't
know why. </P>
<P> </P>
<P>Can anyone help me? Should I change some other codes beyond the ether-net
driver? Someone told me that I should regulate the kernel because of the
differences among the different kerenl versions if the MAC was integrated inside
the SOC, which was the fatto in my board. But I don't know how to regulate.</P>
<P> </P>
<P></P>
<P>B.T.W. : The hardware is good enough because I can use the ether net
interface in u-boot and if using the kernel provided by freescale. Moreover, the
u-boot is also good and I have not change it. So the ether net pins are
configured correctly. But I have not porting the driver for DMA. But I think it
is Ok because the "ping" command can be used correctly if using the kernel
provided by freescale when I cancel the DMA driver when configuring the
kernel.</P>
<P> </P>
<P>Thanks.</P></DIV></DIV></DIV></DIV></DIV></DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>
<DIV><SPAN style="FONT-SIZE: 10.5pt; COLOR: #000000; FONT-FAMILY: ËÎÌå">Guohu
Li</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10.5pt; COLOR: #000000; FONT-FAMILY: ËÎÌå"><SPAN
class=short_text lang=en c="4" a="undefined" closure_uid_cg7imv="127"><SPAN
class=hps closure_uid_cg7imv="108">
<HR id=null>
</SPAN></SPAN></SPAN></DIV></SPAN></DIV></BODY></HTML>