Embedded platform network problem

I am trying to get an embedded RTL8139B device running on a PC/104 platform
with Neutrino/RTP running from a FLASH device.

Everything is fine on the platform apart from the network connection for a
RealTek 8139B device. I am loading pci-bios at the start of boot and the
device is being seen OK. The devn-rtl.so driver loads OK as does the
npm-ttcpip.so protocol stack. If after loading all this I run nicinfo it
reports the card OK, and netstat gives me OK stack info. However, if I try
pinging anything the stack shows transmitted packets, but nicinfo does not.
It looks like the packets are not being passed to the driver correctly.

The RTL driver correctly detects the line speed and type on installation,
and nicinfo reports this. It also correctly detects the device mapping
information and interrupt assignment.

I have tried it with an external NE2000 and 3COM 509 card and both work
fine, although they are both ISA based.
Is there something else I need to do for the PCI based 8139 to work?
I am not currently running the PCI enumerator because I thought it wasn’t
necessary in this cut-down arrangement (plug-and-play capability is
definitiely not required).

The RTL8139B works fine to the network if the PC/104 system is booted to DOS
and the diagnostics run.

Attached is the first section of the build file from which I generate the
boot image.

Start the PCI BIOS

pci-bios &

Start up a console.

devc-pty -n 32 &
devc-con -n4 &

Start the TCP/IP stack

display_msg Starting io-net…
io-net -drtl -pttcpip if=en0:10.23.3.106:255.255.252.0 &
display_msg Waiting for socket…
waitfor /dev/socket

Anyone got any ideas?

Regards,

Len Barber.

Previously, Len Barber wrote in qdn.public.qnxrtp.os:

Attached is the first section of the build file from which I generate the
boot image.

Try adding in seedres before pci-bios. seedres is run in order to
populate the system resource database with information on the
hardware of the system (IRQs, I/O ranges, etc.)

Check out http://qdn.qnx.com/articles/jan1901/boot.html

Start the PCI BIOS

pci-bios &

Thomas

Thomas,

Thanks for the suggestion but I did try that. However, being an embedded PC
with cut-down functionality there is no Plug-and-Play BIOS so seedres
reports an error.

I thought seedres would only be required for a PnP system, is that wrong?

If so can I get it to run despite having no PnP BIOS?

Regards,

Len Barber.

“Thomas Emberson” <thomas@qnx.com> wrote in message
news:Voyager.010201203130.1642536A@sec…

Previously, Len Barber wrote in qdn.public.qnxrtp.os:

Attached is the first section of the build file from which I generate
the
boot image.


Try adding in seedres before pci-bios. seedres is run in order to
populate the system resource database with information on the
hardware of the system (IRQs, I/O ranges, etc.)

Check out > http://qdn.qnx.com/articles/jan1901/boot.html

Start the PCI BIOS

pci-bios &



Thomas

Previously, Len Barber wrote in qdn.public.qnxrtp.os:

Thomas,

Thanks for the suggestion but I did try that. However, being an embedded PC
with cut-down functionality there is no Plug-and-Play BIOS so seedres
reports an error.

I thought seedres would only be required for a PnP system, is that wrong?

From what I recall PnP (Plug’n Pray) refers to only the ISA bus, according
to http://qdn.qnx.com/news/releases/releasenotes.html seedres is required
for pci-bios. As far as whether seedres will continue after finding no PnP
bios, I would have to defer to the people in Kanata.

If so can I get it to run despite having no PnP BIOS?

regards,
Thomas