<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: XUPV2P board opb_emac cannot work with linux-2.6-xlnx</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Yes that should work...<BR>
<BR>
Steve<BR>
<BR>
-----Original Message-----<BR>
From: linuxppc-embedded-bounces+stephen=neuendorffer.name@ozlabs.org on behalf of Qin Lin<BR>
Sent: Mon 3/17/2008 7:17 PM<BR>
To: linuxppc-embedded@ozlabs.org<BR>
Subject: RE: XUPV2P board opb_emac cannot work with linux-2.6-xlnx<BR>
<BR>
<BR>
HI Steve:<BR>
<BR>
when i design the system ,i chose opb_emac_1.04a ,No DMA, Use interrupt ?<BR>
Is it the correct setting for the current driver?<BR>
<BR>
Thanks<BR>
<BR>
<BR>
<BR>
Stephen Neuendorffer wrote:<BR>
><BR>
><BR>
> It should... (I use it regularly on the xup board)<BR>
> Did you remember to connect the interrupt line in your design?<BR>
><BR>
> Steve<BR>
><BR>
>> -----Original Message-----<BR>
>> From: linuxppc-embedded-bounces+stephen=neuendorffer.name@ozlabs.org<BR>
> [<A HREF="mailto:linuxppc-embedded-">mailto:linuxppc-embedded-</A><BR>
>> bounces+stephen=neuendorffer.name@ozlabs.org] On Behalf Of Qin Lin<BR>
>> Sent: Monday, March 17, 2008 12:36 AM<BR>
>> To: linuxppc-embedded@ozlabs.org<BR>
>> Subject: XUPV2P board opb_emac cannot work with linux-2.6-xlnx<BR>
>><BR>
>><BR>
>> HI all,<BR>
>><BR>
>> Is anyone have the opb_emac (no DMA) work with the kernel<BR>
> linux-2.6-xlnx<BR>
>> from git.xilinx.com.<BR>
>> the message seams that it does work ,but the command ping return<BR>
> nothing!<BR>
>><BR>
>> Could you kindly suggest me what to do?<BR>
>><BR>
>> ps:<BR>
>> the kernel booting message<BR>
>> [ 0.258674] net_namespace: 64 bytes<BR>
>> [ 0.269780] NET: Registered protocol family 16<BR>
>> [ 0.290415] Registering device xilinx_emac:0<BR>
>> [ 0.381687] NET: Registered protocol family 2<BR>
>> [ 0.392324] IP route cache hash table entries: 2048 (order: 1, 8192<BR>
>> bytes)<BR>
>> [ 0.399556] TCP established hash table entries: 8192 (order: 4,<BR>
> 65536<BR>
>> bytes)<BR>
>> [ 0.403403] TCP bind hash table entries: 8192 (order: 3, 32768<BR>
> bytes)<BR>
>> [ 0.405409] TCP: Hash tables configured (established 8192 bind<BR>
> 8192)<BR>
>> [ 0.405489] TCP reno registered<BR>
>> [ 0.412758] sysctl table check failed: /kernel/l2cr .1.31 Missing<BR>
>> strategy<BR>
>> [ 0.413189] Call Trace:<BR>
>> [ 0.413244] [cf41feb0] [c0008178] show_stack+0x48/0x184<BR>
> (unreliable)<BR>
>> [ 0.413467] [cf41fed0] [c00303c8] set_fail+0x50/0x68<BR>
>> [ 0.413640] [cf41fef0] [c0030b54] sysctl_check_table+0x64c/0x698<BR>
>> [ 0.413724] [cf41ff20] [c0030b68] sysctl_check_table+0x660/0x698<BR>
>> [ 0.413802] [cf41ff50] [c001e810] register_sysctl_table+0x64/0xb4<BR>
>> [ 0.414141] [cf41ff70] [c01e4b1c]<BR>
> register_ppc_htab_sysctl+0x18/0x2c<BR>
>> [ 0.414311] [cf41ff80] [c01de1e4] kernel_init+0xc8/0x284<BR>
>> [ 0.414384] [cf41fff0] [c0004ab8] kernel_thread+0x44/0x60<BR>
>><BR>
>> [ 1.116395] xilinx_emac xilinx_emac.0: MAC address is now 2: 0: 0:<BR>
> 0: 0:<BR>
>> 0<BR>
>> [ 1.123790] XEmac: using fifo mode.<BR>
>> [ 1.128188] XEmac: Detected PHY at address 0, ManufID 0x0013, Rev.<BR>
>> 0x78e2.<BR>
>> [ 1.135715] eth0: Dropping NETIF_F_SG since no checksum feature.<BR>
>> [ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to<BR>
> 0xD0020000,<BR>
>> irq=2<BR>
>> [ 1.158713] eth0: XEmac id 1.4a, block id 128, type 1<BR>
>> [ 1.194661] TCP cubic registered<BR>
>> [ 1.198647] NET: Registered protocol family 1<BR>
>> [ 1.203728] NET: Registered protocol family 17<BR>
>><BR>
>><BR>
>> #ping 192.168.26.1 &<BR>
>> # ifconfig eth0<BR>
>> eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00<BR>
>> inet addr:192.168.26.127 Bcast:192.168.26.255<BR>
> Mask:255.255.255.0<BR>
>> UP BROADCAST RUNNING MTU:1500 Metric:1<BR>
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR>
>> TX packets:16 errors:0 dropped:0 overruns:0 carrier:0<BR>
>> collisions:0 txqueuelen:1000<BR>
>> RX bytes:0 (0.0 B) TX bytes:672 (672.0 B)<BR>
>> Interrupt:2 Memory:40c00000-40c0ffff<BR>
>><BR>
>> Regards<BR>
>><BR>
>> Qin Lin<BR>
>> --<BR>
>> View this message in context:<BR>
> <A HREF="http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-">http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-</A><BR>
>> xlnx-tp16089631p16089631.html<BR>
>> Sent from the linuxppc-embedded mailing list archive at Nabble.com.<BR>
>><BR>
>> _______________________________________________<BR>
>> Linuxppc-embedded mailing list<BR>
>> Linuxppc-embedded@ozlabs.org<BR>
>> <A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Linuxppc-embedded mailing list<BR>
> Linuxppc-embedded@ozlabs.org<BR>
> <A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
><BR>
><BR>
<BR>
--<BR>
View this message in context: <A HREF="http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16112415.html">http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16112415.html</A><BR>
Sent from the linuxppc-embedded mailing list archive at Nabble.com.<BR>
<BR>
_______________________________________________<BR>
Linuxppc-embedded mailing list<BR>
Linuxppc-embedded@ozlabs.org<BR>
<A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>