Forum Discussion

rshal2's avatar
rshal2
Icon for Occasional Contributor rankOccasional Contributor
7 years ago

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

4 Replies

  • rshal2's avatar
    rshal2
    Icon for Occasional Contributor rankOccasional Contributor

    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's avatar
    Deshi_Intel
    Icon for Regular Contributor rankRegular Contributor
    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's avatar
    rshal2
    Icon for Occasional Contributor rankOccasional Contributor

    Dlim,

    That's really very helpful.

    You fully answered my questions for now.

    Thank you very much,

    ran