From: Anatolij Gustschin <agust@denx•de>
To: liguohu <liguohu@live•com>
Cc: linuxppc-dev <linuxppc-dev@ozlabs•org>
Subject: Re: Help needed with porting ether-net driver from ADS5121 to TWR-MPC5125
Date: Mon, 19 Dec 2011 09:08:27 +0100 [thread overview]
Message-ID: <20111219090827.79997677@wker> (raw)
In-Reply-To: <BLU0-SMTP14243F8B3BC45B200DD0EF8C6A00@phx.gbl>
Hi,
On Fri, 16 Dec 2011 08:38:58 +0800
G.H.Lee <liguohu@live•com> wrote:
...
> 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.
>
> 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.
Please try following patch for fs_enet driver:
http://patchwork.ozlabs.org/patch/87320/
There are also other patches for TWR-MPC5125 support:
http://patchwork.ozlabs.org/patch/87925/
http://patchwork.ozlabs.org/patch/87926/
http://patchwork.ozlabs.org/patch/87321/
Thanks,
Anatolij
prev parent reply other threads:[~2011-12-19 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 0:38 Help needed with porting ether-net driver from ADS5121 to TWR-MPC5125 G.H.Lee
2011-12-19 8:08 ` Anatolij Gustschin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111219090827.79997677@wker \
--to=agust@denx$(echo .)de \
--cc=liguohu@live$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox