network initialization hangs
Michael J. Siers
mikes at poliac.com
Tue Jul 16 14:20:40 UTC 2002
Hi Sachin,
I believe your problem is that RTEMS currently does not have a driver
for the
RealTek based network cards. I tried playing around with the network code
using the pc386 bsp but I could not find a supported network card.
I did see someone had made an initial port of the Intel EtherExpress 8255x
driver. Maybe you could try getting a hold of this driver and one of these
cards.
Otherwise, you other option is to grab the RealTek driver from your favorite
BSD (OpenBSD, FreeBSD, or NetBSD) and try making a port of the driver
for RTEMS. I think having a RealTek driver for RTEMS would be a great
addition since these cards are so common right now.
Good Luck,
Mike Siers
Sachin K wrote:
>Hi,
>
>from past 3 days i'm experimenting with network driver and bsp settings.
>
>i have installed pc386 BSP on RedHat Linux 7.2
>
>i'm trying to execute ntpdemo provided in netdemos-4.5.0 .
>
>when i boot with ntpdemo.exe my pc hangs at
>"rtems_bsdnet_initialize_network ();" routine .
>
>i have tried the following bsp.h settings.
>
>#define BSP_3C509_NETWORK_DRIVER_NAME "ep0"
>#define BSP_3C509_NETWORK_DRIVER_ATTACH rtems_3c509_driver_attach
>
>result : fail to find board
>
>#if 0
>#define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1"
>#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach
>#endif
>
>result : DEC PCI not found !
>
>#if 1
>
>#define RTEMS_BSP_NETWORK_DRIVER_NAME "wd1"
>#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_wd_driver_attach
>#endif
>
>result : program hangs in "rtems_bsdnet_initialize_network ();" routine.
>
>
>#define BSP_NE2000_NETWORK_DRIVER_NAME "ne0"
>#define BSP_NE2000_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach
>
>result: program hangs in "rtems_bsdnet_initialize_network ();" routine.
>
>PS : i have RealTek network card "RTL 8139 "
>
>can anyone tell me whatz happening ??
>
>Thanks In Advance
>
>Sachin.K
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>--------------------------------------------------------------
>Dexcel Electronics Designs (P) Ltd., Bangalore, India
>
>
>
>
>
>
More information about the users
mailing list