XUPV2P board opb_emac cannot work with linux-2.6-xlnx
HI all,
Is anyone have the opb_emac (no DMA) work with the kernel linux-2.6-xlnx from git.xilinx.com.
the message seams that it does work ,but the command ping return nothing!
Could you kindly suggest me what to do?
ps:
the kernel booting message
[ 0.258674] net_namespace: 64 bytes [ 0.269780] NET: Registered protocol family 16 [ 0.290415] Registering device xilinx_emac:0 [ 0.381687] NET: Registered protocol family 2 [ 0.392324] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.399556] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.403403] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.405409] TCP: Hash tables configured (established 8192 bind 8192) [ 0.405489] TCP reno registered [ 0.412758] sysctl table check failed: /kernel/l2cr .1.31 Missing strategy [ 0.413189] Call Trace: [ 0.413244] [cf41feb0] [c0008178] show_stack+0x48/0x184 (unreliable) [ 0.413467] [cf41fed0] [c00303c8] set_fail+0x50/0x68 [ 0.413640] [cf41fef0] [c0030b54] sysctl_check_table+0x64c/0x698 [ 0.413724] [cf41ff20] [c0030b68] sysctl_check_table+0x660/0x698 [ 0.413802] [cf41ff50] [c001e810] register_sysctl_table+0x64/0xb4 [ 0.414141] [cf41ff70] [c01e4b1c] register_ppc_htab_sysctl+0x18/0x2c [ 0.414311] [cf41ff80] [c01de1e4] kernel_init+0xc8/0x284 [ 0.414384] [cf41fff0] [c0004ab8] kernel_thread+0x44/0x60
[ 1.116395] xilinx_emac xilinx_emac.0: MAC address is now 2: 0: 0: 0: 0: 0 [ 1.123790] XEmac: using fifo mode. [ 1.128188] XEmac: Detected PHY at address 0, ManufID 0x0013, Rev. 0x78e2. [ 1.135715] eth0: Dropping NETIF_F_SG since no checksum feature. [ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to 0xD0020000, irq=2 [ 1.158713] eth0: XEmac id 1.4a, block id 128, type 1 [ 1.194661] TCP cubic registered [ 1.198647] NET: Registered protocol family 1 [ 1.203728] NET: Registered protocol family 17
#ping 192.168.26.1 &
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00
inet addr:192.168.26.127 Bcast:192.168.26.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:672 (672.0 B)
Interrupt:2 Memory:40c00000-40c0ffffRegards
Qin Lin
Signature · 2 lines
View this message in context: http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16089631.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
It should... (I use it regularly on the xup board) Did you remember to connect the interrupt line in your design?
Steve
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:linuxppc-embedded-
Quoted 9 lines
[email protected]] On Behalf Of Qin Lin
Sent: Monday, March 17, 2008 12:36 AM
To: [email protected]
Subject: XUPV2P boardopb_emaccannot work with linux-2.6-xlnx =20
=20
HI all,
=20
Is anyone have theopb_emac(no DMA) work with the kernel
linux-2.6-xlnx
Quoted 2 lines
from git.xilinx.com.
the message seams that it does work ,but the command ping return
nothing!
Quoted 5 lines
=20
Could you kindly suggest me what to do?
=20
ps:
the kernel booting message
Quoted 7 lines
[ 0.258674] net_namespace: 64 bytes [ 0.269780] NET: Registered protocol family 16 [ 0.290415] Registering device xilinx_emac:0 [ 0.381687] NET: Registered protocol family 2 [ 0.392324] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.399556] TCP established hash table entries: 8192 (order: 4,
65536
Quoted 2 lines
bytes)
[ 0.403403] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
Quoted 1 line
[ 0.405409] TCP: Hash tables configured (established 8192 bind
8192)
Quoted 5 lines
[ 0.405489] TCP reno registered [ 0.412758] sysctl table check failed: /kernel/l2cr .1.31 Missing strategy [ 0.413189] Call Trace: [ 0.413244] [cf41feb0] [c0008178] show_stack+0x48/0x184
(unreliable)
Quoted 5 lines
[ 0.413467] [cf41fed0] [c00303c8] set_fail+0x50/0x68 [ 0.413640] [cf41fef0] [c0030b54] sysctl_check_table+0x64c/0x698 [ 0.413724] [cf41ff20] [c0030b68] sysctl_check_table+0x660/0x698 [ 0.413802] [cf41ff50] [c001e810] register_sysctl_table+0x64/0xb4 [ 0.414141] [cf41ff70] [c01e4b1c]
register_ppc_htab_sysctl+0x18/0x2c > [ 0.414311] [cf41ff80] [c01de1e4] kernel_init+0xc8/0x284 > [ 0.414384] [cf41fff0] [c0004ab8] kernel_thread+0x44/0x60
Quoted 2 lines
=20
[ 1.116395] xilinx_emac xilinx_emac.0: MAC address is now 2: 0: 0:
0: 0:
Quoted 6 lines
0
[ 1.123790] XEmac: using fifo mode. [ 1.128188] XEmac: Detected PHY at address 0, ManufID 0x0013, Rev. 0x78e2. [ 1.135715] eth0: Dropping NETIF_F_SG since no checksum feature. [ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to
0xD0020000,
Quoted 11 lines
irq=3D2
[ 1.158713] eth0: XEmac id 1.4a, block id 128, type 1 [ 1.194661] TCP cubic registered [ 1.198647] NET: Registered protocol family 1 [ 1.203728] NET: Registered protocol family 17 =20 =20 #ping 192.168.26.1 & # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00 inet addr:192.168.26.127 Bcast:192.168.26.255
Mask:255.255.255.0
Quoted 4 lines
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
Quoted 8 lines
RX bytes:0 (0.0 B) TX bytes:672 (672.0 B) Interrupt:2 Memory:40c00000-40c0ffff
=20
Regards
=20
Qin Lin
--
View this message in context:
http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-
Quoted 7 lines
xlnx-tp16089631p16089631.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com. =20
_______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Hi Steve,
I think the booting message tell me that the interrupt line is connect OK,isn't it ?
Quoted 1 line
[ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to
0xD0020000, irq=2
and if you can tell me what should be care about in hard design and in kernel config with net?
Quoted 12 lines · Stephen Neuendorffer
It should... (I use it regularly on the xup board) Did you remember to connect the interrupt line in your design?
Steve
.....
Quoted 1 line
[ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to
0xD0020000, irq=2
......
Signature · 2 lines
View this message in context: http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16112213.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
HI Steve:
when i design the system ,i chose opb_emac_1.04a ,No DMA, Use interrupt ? Is it the correct setting for the current driver?
Thanks
Quoted 105 lines · Stephen Neuendorffer
It should... (I use it regularly on the xup board) Did you remember to connect the interrupt line in your design?
Steve
Quoted 2 lines
-----Original Message-----
From: [email protected][mailto:linuxppc-embedded-
Quoted 9 lines
[email protected]] On Behalf Of Qin Lin
Sent: Monday, March 17, 2008 12:36 AM
To: [email protected]
Subject: XUPV2P boardopb_emaccannot work with linux-2.6-xlnxHI all,
Is anyone have the
opb_emac(no DMA) work with the kernellinux-2.6-xlnx
Quoted 2 lines
from git.xilinx.com.
the message seams that it does work ,but the command ping returnnothing!
Quoted 5 lines
Could you kindly suggest me what to do?
ps:
the kernel booting messageQuoted 7 lines
[ 0.258674] net_namespace: 64 bytes [ 0.269780] NET: Registered protocol family 16 [ 0.290415] Registering device xilinx_emac:0 [ 0.381687] NET: Registered protocol family 2 [ 0.392324] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.399556] TCP established hash table entries: 8192 (order: 4,65536
Quoted 2 lines
bytes)
[ 0.403403] TCP bind hash table entries: 8192 (order: 3, 32768bytes)
Quoted 1 line
[ 0.405409] TCP: Hash tables configured (established 8192 bind8192)
Quoted 5 lines
[ 0.405489] TCP reno registered [ 0.412758] sysctl table check failed: /kernel/l2cr .1.31 Missing strategy [ 0.413189] Call Trace: [ 0.413244] [cf41feb0] [c0008178] show_stack+0x48/0x184(unreliable)
Quoted 5 lines
[ 0.413467] [cf41fed0] [c00303c8] set_fail+0x50/0x68 [ 0.413640] [cf41fef0] [c0030b54] sysctl_check_table+0x64c/0x698 [ 0.413724] [cf41ff20] [c0030b68] sysctl_check_table+0x660/0x698 [ 0.413802] [cf41ff50] [c001e810] register_sysctl_table+0x64/0xb4 [ 0.414141] [cf41ff70] [c01e4b1c]register_ppc_htab_sysctl+0x18/0x2c > [ 0.414311] [cf41ff80] [c01de1e4] kernel_init+0xc8/0x284 > [ 0.414384] [cf41fff0] [c0004ab8] kernel_thread+0x44/0x60Quoted 2 lines
[ 1.116395] xilinx_emac xilinx_emac.0: MAC address is now 2: 0: 0:0: 0:
Quoted 6 lines
0
[ 1.123790] XEmac: using fifo mode. [ 1.128188] XEmac: Detected PHY at address 0, ManufID 0x0013, Rev. 0x78e2. [ 1.135715] eth0: Dropping NETIF_F_SG since no checksum feature. [ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to
0xD0020000,Quoted 11 lines
irq=2
[ 1.158713] eth0: XEmac id 1.4a, block id 128, type 1 [ 1.194661] TCP cubic registered [ 1.198647] NET: Registered protocol family 1 [ 1.203728] NET: Registered protocol family 17#ping 192.168.26.1 &
# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00 inet addr:192.168.26.127 Bcast:192.168.26.255Mask:255.255.255.0
Quoted 7 lines
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:672 (672.0 B) Interrupt:2 Memory:40c00000-40c0ffffQuoted 5 lines
Regards
Qin Lin
--
View this message in context:http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-
Quoted 7 lines
xlnx-tp16089631p16089631.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com._______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
View this message in context: http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16112415.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Yes that should work...
Steve
-----Original Message-----
From: [email protected] on behalf of Qin Lin
Sent: Mon 3/17/2008 7:17 PM
To: [email protected]
Subject: RE: XUPV2P board opb_emac cannot work with linux-2.6-xlnx
HI Steve:
when i design the system ,i chose opb_emac_1.04a ,No DMA, Use interrupt ? Is it the correct setting for the current driver?
Thanks
Quoted 105 lines · Stephen Neuendorffer
It should... (I use it regularly on the xup board) Did you remember to connect the interrupt line in your design?
Steve
Quoted 2 lines
-----Original Message-----
From: [email protected][mailto:linuxppc-embedded-
Quoted 9 lines
[email protected]] On Behalf Of Qin Lin
Sent: Monday, March 17, 2008 12:36 AM
To: [email protected]
Subject: XUPV2P boardopb_emaccannot work with linux-2.6-xlnxHI all,
Is anyone have the
opb_emac(no DMA) work with the kernellinux-2.6-xlnx
Quoted 2 lines
from git.xilinx.com.
the message seams that it does work ,but the command ping returnnothing!
Quoted 5 lines
Could you kindly suggest me what to do?
ps:
the kernel booting messageQuoted 7 lines
[ 0.258674] net_namespace: 64 bytes [ 0.269780] NET: Registered protocol family 16 [ 0.290415] Registering device xilinx_emac:0 [ 0.381687] NET: Registered protocol family 2 [ 0.392324] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.399556] TCP established hash table entries: 8192 (order: 4,65536
Quoted 2 lines
bytes)
[ 0.403403] TCP bind hash table entries: 8192 (order: 3, 32768bytes)
Quoted 1 line
[ 0.405409] TCP: Hash tables configured (established 8192 bind8192)
Quoted 5 lines
[ 0.405489] TCP reno registered [ 0.412758] sysctl table check failed: /kernel/l2cr .1.31 Missing strategy [ 0.413189] Call Trace: [ 0.413244] [cf41feb0] [c0008178] show_stack+0x48/0x184(unreliable)
Quoted 5 lines
[ 0.413467] [cf41fed0] [c00303c8] set_fail+0x50/0x68 [ 0.413640] [cf41fef0] [c0030b54] sysctl_check_table+0x64c/0x698 [ 0.413724] [cf41ff20] [c0030b68] sysctl_check_table+0x660/0x698 [ 0.413802] [cf41ff50] [c001e810] register_sysctl_table+0x64/0xb4 [ 0.414141] [cf41ff70] [c01e4b1c]register_ppc_htab_sysctl+0x18/0x2c > [ 0.414311] [cf41ff80] [c01de1e4] kernel_init+0xc8/0x284 > [ 0.414384] [cf41fff0] [c0004ab8] kernel_thread+0x44/0x60Quoted 2 lines
[ 1.116395] xilinx_emac xilinx_emac.0: MAC address is now 2: 0: 0:0: 0:
Quoted 6 lines
0
[ 1.123790] XEmac: using fifo mode. [ 1.128188] XEmac: Detected PHY at address 0, ManufID 0x0013, Rev. 0x78e2. [ 1.135715] eth0: Dropping NETIF_F_SG since no checksum feature. [ 1.151038] eth0: Xilinx 10/100 EMAC at 0x40C00000 mapped to
0xD0020000,Quoted 11 lines
irq=2
[ 1.158713] eth0: XEmac id 1.4a, block id 128, type 1 [ 1.194661] TCP cubic registered [ 1.198647] NET: Registered protocol family 1 [ 1.203728] NET: Registered protocol family 17#ping 192.168.26.1 &
# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00 inet addr:192.168.26.127 Bcast:192.168.26.255Mask:255.255.255.0
Quoted 7 lines
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:672 (672.0 B) Interrupt:2 Memory:40c00000-40c0ffffQuoted 5 lines
Regards
Qin Lin
--
View this message in context:http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-
Quoted 7 lines
xlnx-tp16089631p16089631.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com._______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 7 lines
View this message in context: http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16112415.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Hi,All
I found out what the problem was from.
When i set the Bus clock frequency to 50MHz and Processor clock Frequency 200MHz, opb_ethernet does not work with the driver.
And i check the driver,don't find the code base on the frequency . Anyone knows the reason?
Signature · 2 lines
View this message in context: http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-xlnx-tp16089631p16137363.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 1 line
From the data sheet:
"The OPB BUS clock frequency must be greater than or equal to 65 MHz for 100 Mbs Ethernet operation and greater than or equal to 6.5 Mhz for 10 Mbs Ethernet operation"
Steve
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:linuxppc-embedded-
Quoted 10 lines
[email protected]] On Behalf Of Qin Lin
Sent: Tuesday, March 18, 2008 10:27 PM
To: [email protected]
Subject: Re: XUPV2P boardopb_emaccannot work with linux-2.6-xlnx =20
=20
Hi,All
=20
I found out what the problem was from.
When i set the Bus clock frequency to 50MHz and Processor clock
Frequency
Quoted 3 lines
200MHz,
opb_ethernetdoes not work with the driver.
=20
And i check the driver,don't find the code base on the frequency .
Anyone
Quoted 6 lines
knows the reason?
=20
=20
=20
--
View this message in context:
http://www.nabble.com/XUPV2P-board-opb_emac-cannot-work-with-linux-2.6-
Quoted 7 lines
xlnx-tp16089631p16137363.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com. =20
_______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded