* Re: cool article
[not found] <44CE4C1D.6050103@datadesigncorp.net>
@ 2006-07-31 19:48 ` Ameet Patil
[not found] ` <44CF89B5.7080906@datadesigncorp.net>
0 siblings, 1 reply; 6+ messages in thread
From: Ameet Patil @ 2006-07-31 19:48 UTC (permalink / raw)
To: edb; +Cc: linuxppc-embedded
Thanks Ed! I did get a root fs up and running NOT using JFFS2 though. I
used ext2.
cheers,
-Ameet
Edward Bockhoefer wrote:
> I found your post about the Virtex II part one at
> http://www.linux.get2knowmore.com. Thanks for the info. Did you happen
> to get a root fs up and running using jffs2?
>
> Best Regards,
> Ed
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: cool article
[not found] ` <44CF89B5.7080906@datadesigncorp.net>
@ 2006-08-02 10:15 ` Ameet Patil
2006-08-03 6:35 ` Xilinx TEMAC David H. Lynch Jr.
0 siblings, 1 reply; 6+ messages in thread
From: Ameet Patil @ 2006-08-02 10:15 UTC (permalink / raw)
To: edb; +Cc: linuxppc-embedded
> Did you happen to get an Ethernet mac going on the virtex2 or
> virtex4 with the 2.6 kernel?
Nope! :-(
Rumour has it that Montavista is soon going to release the source for
2.6 kernel to run on Xilinx platforms.
-Ameet
Edward Bockhoefer wrote:
> Hello Ameet,
> I too am working on this type of project. I am trying to get the xilinx
> obp 10/100 mac driver into the 2.6.17.6 kernel. Unfortantly, I think I
> need some of the montavista sources not generated by the xilinx
> software, which only generates driver code for the 2.4 montavista
> kernel. Did you happen to get an Ethernet mac going on the virtex2 or
> virtex4 with the 2.6 kernel?
>
> Ed
>
> Ameet Patil wrote:
>
>> Thanks Ed! I did get a root fs up and running NOT using JFFS2 though.
>> I used ext2.
>>
>> cheers,
>> -Ameet
>>
>> Edward Bockhoefer wrote:
>>
>>> I found your post about the Virtex II part one at
>>> http://www.linux.get2knowmore.com. Thanks for the info. Did you
>>> happen to get a root fs up and running using jffs2?
>>>
>>> Best Regards,
>>> Ed
>>>
>>>
>>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Xilinx TEMAC
2006-08-02 10:15 ` Ameet Patil
@ 2006-08-03 6:35 ` David H. Lynch Jr.
2006-08-03 14:34 ` Edward Bockhoefer
2006-08-03 18:53 ` Frank D Lombardo
0 siblings, 2 replies; 6+ messages in thread
From: David H. Lynch Jr. @ 2006-08-03 6:35 UTC (permalink / raw)
To: Ameet Patil, edb, linuxppc-embedded
Ameet Patil wrote:
> > Did you happen to get an Ethernet mac going on the virtex2 or
> > virtex4 with the 2.6 kernel?
>
> Nope! :-(
> Rumour has it that Montavista is soon going to release the source for
> 2.6 kernel to run on Xilinx platforms.
>
>
I have 2 different TEMAC's working under 2.6 with a V4.
The MontaVista driver that has been posted on the list that I think
is from MontaVista for the PLB TEMAC with very minor modifications to
get it to work at speeds other than GigaBit.
A driver I wrote for the LocalLink TEMAC that works limpingly. I
have been unable to figure out how to get a receive interrupt from the
LocalLink TEMAC so receives are polled and performance is poor.
I have pretty much abandoned work on it - my client wants the
smallest possible FPGA footprint BUTanother OS I am porting requires
interrupt driven IO and we are looking for a single minimal hardware
implimentation for all platforms.
Anyway, if anyone wants the LL TEMAC in its current state I can post it.
Currently it sends fine. It drops about 50% of all received packets
- but that is probably debugging overhead and poll rate tuning.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Xilinx TEMAC
2006-08-03 6:35 ` Xilinx TEMAC David H. Lynch Jr.
@ 2006-08-03 14:34 ` Edward Bockhoefer
2006-08-03 18:53 ` Frank D Lombardo
1 sibling, 0 replies; 6+ messages in thread
From: Edward Bockhoefer @ 2006-08-03 14:34 UTC (permalink / raw)
To: dhlii, ammubhai, linuxppc-embedded
Thank you for the reply David,
I have started the montavista 10/100 enet port from the xilinx edk
generated 2.4 driver to the 2.6 driver. Unfortunately, I can't post the
driver port publicly because it's not GLP'd, as far as I know. We only
needed a 10/100 mac, so we didn't bother with a TEMAC. I got the obp and
enet directories to compile but I crash on link with an undefined reference:
**********************************************
[root@bockhoefer linux-2.6.17.6]# make
CHK include/linux/version.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.init.text+0x246c): In function `fbcon_bmove':
drivers/video/console/fbcon.c:1887: undefined reference to `init_etherdev'
make: *** [.tmp_vmlinux1] Error 1
[root@bockhoefer linux-2.6.17.6]#
*********************************************
I will work on this more today. If you want to send me your TEMAC code,
please do so. I can always use the reference.
--
Best Regards,
Edward Bockhoefer
Data Design Corporation
7851-A Beechcraft Ave.
Gaithersburg, MD 20879
Ph: 301-670-1157 ext 36
Fax: 301-926-6441
David H. Lynch Jr. wrote:
>Ameet Patil wrote:
>
>
>> > Did you happen to get an Ethernet mac going on the virtex2 or
>> > virtex4 with the 2.6 kernel?
>>
>>Nope! :-(
>>Rumour has it that Montavista is soon going to release the source for
>>2.6 kernel to run on Xilinx platforms.
>>
>>
>>
>>
> I have 2 different TEMAC's working under 2.6 with a V4.
>
> The MontaVista driver that has been posted on the list that I think
>is from MontaVista for the PLB TEMAC with very minor modifications to
>get it to work at speeds other than GigaBit.
>
> A driver I wrote for the LocalLink TEMAC that works limpingly. I
>have been unable to figure out how to get a receive interrupt from the
>LocalLink TEMAC so receives are polled and performance is poor.
> I have pretty much abandoned work on it - my client wants the
>smallest possible FPGA footprint BUTanother OS I am porting requires
>interrupt driven IO and we are looking for a single minimal hardware
>implimentation for all platforms.
>
> Anyway, if anyone wants the LL TEMAC in its current state I can post it.
> Currently it sends fine. It drops about 50% of all received packets
>- but that is probably debugging overhead and poll rate tuning.
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Xilinx TEMAC
2006-08-03 6:35 ` Xilinx TEMAC David H. Lynch Jr.
2006-08-03 14:34 ` Edward Bockhoefer
@ 2006-08-03 18:53 ` Frank D Lombardo
1 sibling, 0 replies; 6+ messages in thread
From: Frank D Lombardo @ 2006-08-03 18:53 UTC (permalink / raw)
To: dhlii; +Cc: linuxppc-embedded
David H. Lynch Jr. wrote:
> Ameet Patil wrote:
>
>> > Did you happen to get an Ethernet mac going on the virtex2 or
>> > virtex4 with the 2.6 kernel?
>>
>> Nope! :-(
>> Rumour has it that Montavista is soon going to release the source for
>> 2.6 kernel to run on Xilinx platforms.
>>
>>
>>
> I have 2 different TEMAC's working under 2.6 with a V4.
>
> The MontaVista driver that has been posted on the list that I think
> is from MontaVista for the PLB TEMAC with very minor modifications to
> get it to work at speeds other than GigaBit.
>
> A driver I wrote for the LocalLink TEMAC that works limpingly. I
> have been unable to figure out how to get a receive interrupt from the
> LocalLink TEMAC so receives are polled and performance is poor.
> I have pretty much abandoned work on it - my client wants the
> smallest possible FPGA footprint BUTanother OS I am porting requires
> interrupt driven IO and we are looking for a single minimal hardware
> implimentation for all platforms.
>
> Anyway, if anyone wants the LL TEMAC in its current state I can post it.
> Currently it sends fine. It drops about 50% of all received packets
> - but that is probably debugging overhead and poll rate tuning.
>
>
>
>
>
>
I would be interested looking at the LL TEMAC patch. Hopefully I can
pick up where you left off. We would require an interrupt driven TEMAC
^ permalink raw reply [flat|nested] 6+ messages in thread
* Xilinx Temac
@ 2012-10-12 12:56 Guillaume Dargaud
0 siblings, 0 replies; 6+ messages in thread
From: Guillaume Dargaud @ 2012-10-12 12:56 UTC (permalink / raw)
To: linuxppc-dev
Hello all,
I'm upgrading the kernel on an embedded system and the network driver I
was using seems to have changed and the new one doesn't seem to work:
My working config, from 2.6.38 (I believe):
$ grep "NET\|MII\|TEMAC\|MARVELL" ../linux-2.6-xlnx-CodalemaC/.config |
grep -v "^#"
CONFIG_NET=y
CONFIG_INET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_NETDEVICES=y
CONFIG_NETDEV_1000=y
CONFIG_XILINX_LLTEMAC=y
CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_MII=y
CONFIG_NET_DMA=y
CONFIG_NETWORK_FILESYSTEMS=y
And the new one:
$ grep "NET\|MII\|TEMAC\|MARVELL" .config | grep -v "^#"
CONFIG_NET=y
CONFIG_INET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_OF_NET=y
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
CONFIG_ETHERNET=y
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_NET_VENDOR_XILINX=y
CONFIG_XILINX_LL_TEMAC=y
CONFIG_NET_DMA=y
On boot the device gets probed, but not activated:
# dmesg | grep -i "net\|mac"
[ 0.017515] NET: Registered protocol family 16
[ 0.102621] device class 'net': registering
[ 0.241017] NET: Registered protocol family 2
[ 0.249435] NET: Registered protocol family 1
[ 5.098813] device: 'xps-ll-temac.1': device_add
[ 5.098984] bus: 'platform': add device xps-ll-temac.1
[ 5.101050] device: '81880000.ethernet': device_add
[ 5.101221] bus: 'platform': add device 81880000.ethernet
[ 5.484077] bus: 'platform': add driver xilinx_temac
[ 5.484491] bus: 'platform': driver_probe_device: matched device
81880000.ethernet with driver xilinx_temac
[ 5.484726] bus: 'platform': really_probe: probing driver
xilinx_temac with device 81880000.ethernet
[ 5.487175] Xilinx TEMAC MDIO: probed
[ 5.495719] driver: '81880000.ethernet': driver_bound: bound to
device 'xilinx_temac'
[ 5.495827] bus: 'platform': really_probe: bound device
81880000.ethernet to driver xilinx_temac
[ 5.530592] NET: Registered protocol family 17
Is there something I'm missing about this LLTEMAC to LL_TEMAC change ?
Thanks
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-10-12 12:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <44CE4C1D.6050103@datadesigncorp.net>
2006-07-31 19:48 ` cool article Ameet Patil
[not found] ` <44CF89B5.7080906@datadesigncorp.net>
2006-08-02 10:15 ` Ameet Patil
2006-08-03 6:35 ` Xilinx TEMAC David H. Lynch Jr.
2006-08-03 14:34 ` Edward Bockhoefer
2006-08-03 18:53 ` Frank D Lombardo
2012-10-12 12:56 Xilinx Temac Guillaume Dargaud
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.