Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rshal2
New Contributor II
722 Views

triple speed ethernet (TSE) driver for ARM

Hello,

 

I need to implement TSE driver for arm in a baremetal project.

I am not sure how to start doing it.

Is it best to start from u-boot driver:

https://github.com/lentinj/u-boot/blob/master/drivers/net/altera_tse.c

I assume it should be function with ARM, right ?

 

Or is it better to start with altera_tse driver as generated for NIOS ? should it be also functional in ARM ?

 

Thank you,

ranran

0 Kudos
4 Replies
Deshi_Intel
Moderator
45 Views

Hi Ranran, It's really up to you how you want to start your project development. However, I do find below reference design that maybe useful to you. https://rocketboards.org/foswiki/Projects/AlteraSoCTripleSpeedEthernetDesignExample Thanks. Regards, dlim
rshal2
New Contributor II
45 Views

Hello dlim,

 

We have a reference which already works with NIOS.

Is it possible to build the altera tse driver as-is (from nios) in arm ?

Do you think it should work with its sgdma ?

Or do you expect that we should make modifications in this driver and firmware ?

 

I ask again, becuase I think that starting from altera driver - if possible - can make life easier.

What do you think ? Another alternative is to use maybe u-boot driver for tse.

 

Any tips and suggestion is appreciated.

ranran

Deshi_Intel
Moderator
45 Views

Hi Ranran, So the questions will be back to your application design requirement. Is it fine to use just NIOS II processor or do you need more powerful ARM processor ? In previous reply, I also shared with you one reference design link that use HPS ARM processor to interact with HPS-FPGA bridge then to TSE IP. Isn't that what you need ? Thanks. Regards, dlim
rshal2
New Contributor II
45 Views

Dlim,

 

That's really very helpful.

You fully answered my questions for now.

 

Thank you very much,

ran

Reply