Network problem for altcycv_devkit

Jianxun Yan yanjx at jlab.org
Thu Aug 25 17:06:47 UTC 2016


Hi Adit,

I have the file 
../rtems/bsps/4.12/arm-rtems4.12/altcycv_devkit/lib/include/bsp.h, but 
doesn't have the macro, neither in the source file 
rtems/rtems-gig/c/src/lib/libbsp/arm/altera-cyclone-v/include/bsp.h.

Attach is the bsp.h file that I have.

Thanks for help.

Jay

On 08/25/2016 12:13 PM, Adit Sahasrabudhe wrote:
> You will find the macro in bsp.h. If you have already installed the altcycv_devkit BSP when building rtems, then you can find it under:
>
> <RTEMS_INSTALL>/arm-rtems4.xx/altcycv_devkit/lib/include/bsp.h
>
> Otherwise, in the source itself:
>
> <RTEMS_SRC>/c/src/lib/libbsp/arm/altera-cyclone-v/include/bsp.h
>
>
> Adit
>
> On 8/25/16, 9:00 AM, "Jianxun Yan" <yanjx at jlab.org> wrote:
>
>      Hi Adit,
>      
>      I couldn't  find the macro RTEMS_BSP_NETWORK_DRIVER_ATTACH in my
>      rtems/bsps directory. Did I do something wrong?
>      Thank you for help.
>      
>      Jay Yan
>      
>      
>      On 08/25/2016 11:19 AM, Adit Sahasrabudhe wrote:
>      > Hi Jay,
>      >
>      > Please see attached file for example. The driver attach function is defined by the macro RTEMS_BSP_NETWORK_DRIVER_ATTACH inside the BSP.
>      >
>      > Adit
>      >
>      > On 8/25/16, 7:32 AM, "users on behalf of Jianxun Yan" <users-bounces at rtems.org on behalf of yanjx at jlab.org> wrote:
>      >
>      >      Hi Sebastian,
>      >
>      >      How should I configure the network? Should I use both struct
>      >      rtems_bsdnet_config and rtems_bsdnet_ifconfig? Do you have any example
>      >      for altcycv_devkit network?
>      >
>      >      Thank you very much for your help.
>      >      Jay Yan
>      >
>      >      On 08/25/2016 10:18 AM, Sebastian Huber wrote:
>      >      > The network interface, USB and MMC drivers are part of the libbsd for this BSP.
>      >      >
>      >      > ----- Am 25. Aug 2016 um 15:12 schrieb Jianxun Yan yanjx at jlab.org:
>      >      >
>      >      >> Hi,
>      >      >>
>      >      >> Since nobody answered my question, I have to post it again. Anyone can
>      >      >> help me?
>      >      >>
>      >      >> Thanks,
>      >      >>
>      >      >> Jay Yan
>      >      >>
>      >      >>
>      >      >> On 08/23/2016 11:43 AM, Jianxun Yan wrote:
>      >      >>> Hi,
>      >      >>>
>      >      >>> Have anyone ever ran the network application for the Altera Cyclone V
>      >      >>> SoC board (BSP altcycv_devkit)? When I tried to configure the network
>      >      >>> interface, I couldn't find the attach network driver. What attach
>      >      >>> driver will be for RTEMS_BSP_NETWORK_DRIVER_ATTACH on the
>      >      >>> rtems_bsdnet_ifconfig?
>      >      >>>
>      >      >>> Thanks,
>      >      >>>
>      >      >>> Jay Yan
>      >      >>>
>      >      >>>
>      >      >>> _______________________________________________
>      >      >>> users mailing list
>      >      >>> users at rtems.org
>      >      >>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_users&d=DQICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=NQi5ZDATEqAUQ7YuH-e3LQ&m=oEFB8vuJ42tJ0BBhVxtD-j4x4Q2wnyatBXiG-d6MY7E&s=aQde8Wz_-uMJ4hPjMsoLHowSSxj2tcin5CP0na3cRSg&e=
>      >      >>
>      >      >> _______________________________________________
>      >      >> users mailing list
>      >      >> users at rtems.org
>      >      >> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_users&d=DQICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=NQi5ZDATEqAUQ7YuH-e3LQ&m=oEFB8vuJ42tJ0BBhVxtD-j4x4Q2wnyatBXiG-d6MY7E&s=aQde8Wz_-uMJ4hPjMsoLHowSSxj2tcin5CP0na3cRSg&e=
>      >
>      >
>      >      _______________________________________________
>      >      users mailing list
>      >      users at rtems.org
>      >      https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_users&d=DQICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=NQi5ZDATEqAUQ7YuH-e3LQ&m=oEFB8vuJ42tJ0BBhVxtD-j4x4Q2wnyatBXiG-d6MY7E&s=aQde8Wz_-uMJ4hPjMsoLHowSSxj2tcin5CP0na3cRSg&e=
>      >
>      >
>      
>      
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsp.h
Type: text/x-chdr
Size: 1086 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20160825/5399fb44/attachment-0002.bin>


More information about the users mailing list