UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
3,414 Views
Registered: ‎03-19-2008

LLTEMAC DUAL CHANNEL

Jump to solution

I am currenlty using two ethernet interface.
I had to use two different kind of drivers (ethernetlite + lltemac) to
be able to use both of them at the same time. I am still not sure about
the problem that would prevent me to do so when using ethernetlite for
both of them.

Now I would like to replace the two distinct ethernet transceivers with
a dual channel gigabit transceiver as the Marvell MVL88E1322 (or two distinct MVL88E1310) and use the lltemac driver to export two network interfaces to Linux (this is used to support gigabit operation).

Do you think it should work? I'll immediatly start to do some test, but
I would like to know if anybody of you already tried something similar
in the past..

First problems I am now facing are:

* I am unable to place second local link in the MPMC ip, since I could only have 4 ports (PLB + 2 XCL for caches and 1 SDMA for first ethernet)

* I am trying to use ll_fifos, but I am not sure if it would still work and if petalinux would complain..

 

I am using petalinux v0.40-final kernel 2.6.20. on a Spartan-6 slx45-t. Since the lltemac is soft-core it does not support SGMII, so for the moment I would stick with GMII.

 

Many thanks for your support.

Best regards,

Giulio

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
4,148 Views
Registered: ‎03-19-2008

Re: LLTEMAC DUAL CHANNEL

Jump to solution

After having split the two ll_temac channels in two distinct ll_temac ips both of the phys are being recongnized (and irqs correctly assigned).

 

I finally managed to make the ll_temac driver work in u-boot, at least for me, in petalinux-v0.40-final.

I just copied some relevant functions (send/recv/init) from the git version and forced a link=1 in xps_ll_temac_phy_ctrl function.

 

I am attaching the modified driver.

 

Hopefully it will be of help to somebody else who, like me, is not that smart in such things and will save a bit of time.

 

I could succesfully test it on the sp605 evaluation board, too.

 

Best regards,

Giulio

View solution in original post

0 Kudos
2 Replies
Adventurer
Adventurer
3,409 Views
Registered: ‎03-19-2008

Re: LLTEMAC DUAL CHANNEL

Jump to solution

I think that the ll_temac driver is not working quite good in u-boot,
since I am having problems pinging other hosts (Error while sending
frame, invalid RARP header, ...)

I tried with:
* the driver that came with petalinux v0.40-final
* the driver posted on
http://www.monstr.eu/wiki/doku.php?id=uboot:ll_temac
* the driver included in git tree form
http://xilinx.wikidot.com/u-boot-new

Still encountering the same problems.
Hardware is ok in Linux and with emaclite driver in u-boot.

I have heard of some problems related to flash partition address being
lower than RAM controller (or something similar)..

Have you got any suggestion to be able to use the ll_temac driver in
u_boot (maybe with gigabit lan)?

Has this problem been adressed in Petalinux SDK 2.1?

I am cross posting on microblaze-uclinux mailing list, too. I will repost the answers here
and there to keep the threads in sync.

Many thanks.
Giulio

0 Kudos
Adventurer
Adventurer
4,149 Views
Registered: ‎03-19-2008

Re: LLTEMAC DUAL CHANNEL

Jump to solution

After having split the two ll_temac channels in two distinct ll_temac ips both of the phys are being recongnized (and irqs correctly assigned).

 

I finally managed to make the ll_temac driver work in u-boot, at least for me, in petalinux-v0.40-final.

I just copied some relevant functions (send/recv/init) from the git version and forced a link=1 in xps_ll_temac_phy_ctrl function.

 

I am attaching the modified driver.

 

Hopefully it will be of help to somebody else who, like me, is not that smart in such things and will save a bit of time.

 

I could succesfully test it on the sp605 evaluation board, too.

 

Best regards,

Giulio

View solution in original post

0 Kudos