L2-Switch ARP reply

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

L2-Switch ARP reply

2,275件の閲覧回数
bba
Contributor III

Hello, we want to use the L2-switch on our own hardware and found another problem with missing ARP reply.

After reboot of the iMX28evk it is not reachable from the host-pc and does not respond to arp requests, so the arp table is empty. After ping the pc from the emod, there is an entry in the arp table of the pc and the emod is reachable.

Reading the freescale forum there is a similar request: http://forums.freescale.com/t5/i-MX-Microprocessors/i-MX287-ARP-reply/td-p/67495

Do you have any idea, how to solve the problem?

Kind regards,

Birger

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,638件の閲覧回数
bba
Contributor III

Hello, our hardware specialist found the reason why the switch does not respond to ARP requests.


The registers HW_ENET_SWI_BCAST_DEFAULT_MASK and HW_ENET_SWI_MCAST_DEFAULT_MASK wasn't set, so broadcast messages (e.g. ARP requests) were not forwarded to the controller.

Together with some other collegues we changes the fec-switch.c code as follows:

Replace inside functions esw_main() switch_set_mac_address():

writel(MCF_ESW_DBCR_P1 | MCF_ESW_DBCR_P2, &fecp->ESW_DBCR);

with

writel(MCF_ESW_DBCR_P0 | MCF_ESW_DBCR_P1 | MCF_ESW_DBCR_P2, &fecp->ESW_DBCR);

Kind regards,

Birger

0 件の賞賛
返信

1,638件の閲覧回数
erickang
Contributor II

Dear Birger,

Thanks for your information.

I confirmed the ARP operation based on your modified file.

Best Regards,

Eric.

0 件の賞賛
返信