Networking with MVME2307 (actually MVM2400)
tsmith at megaroms.co.uk
tsmith at megaroms.co.uk
Fri Aug 10 08:06:00 UTC 2001
>You have to
>
>#define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1"
> extern int
>rtems_dec21140_driver_attach(struct rtems_bsdnet_ifconfig *);
>#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach
>
>(I don't know about netdemos-4.5.0, but I know that the macros mentioned by
>you are not defined in the bsp. You could also enter the driver name and
>attach function into your rtems_bsdnet_ifconfig structure directly.)
Okay, many thanks for that I 'll try it today.
>Note that the MVME2307 bsp needs a couple of fixes (I'll put a patch together
>some time...) Two things I remember out of my head are:
>
>- C++ global constructors are called before multitasking is up. It seems that
> the console driver doesn't work yet. If a constructor tries to "printf" to the
> console it will hang the system.
I noticed there was a problem with global constructors although I was wondering why my debug printf's in blank constructors still caused crashes......... That might get the program actually running :)
More information about the users
mailing list