I am working on a pc-104 system and have a desktop pc with qnx on it. The
pc-104 has an ethernet port on it.
pci -v reports:
vendor 100bh, National Semiconductor
device 20h, DP83815 10/100 Mb/s Ethernet controller
so I would assume I need:
devn-ns83815.so - right driver ???
io-net - to load driver and protocol
npm-qnet.so - for qnet protocol
devc-ser8250 - for a console
devc-con - if the vga board is plugged in (not in final version)
devb-fdc - for “sneaker.net” file transfers (not needed once qnet works)
devb-eide - for built in 32Mb flash IDE drive (boot and test code during
development)
fs-qnx4.so - to access qnx root.qfs file on flash drive
fs-dos.so - to access fat format partition on flash drive
cam-disk.so - for disk access
devb-ram - for a ram disk
io-blk.so - for disks ??
libc.so - standard library for “C” generated code
libcam.so - for cam-disk.so
pci-bios - for pci access
and some utility programs:
cat
chkdosfs
chkfsys
cp
df
dinit
echo
fdisk
fesh
hd
ln
ls
mkdir
more
mount
mqueue
mv
pci
pidin
pipe
ps
pwd
qcp
qtalk
rm
rz
seedres
shutdown
sin
slay
sleep
spatch
stty
sz
tinit
umount
unlink
use
Now you are probably thinking that I don’t need all this in the image if I
can connect via network. Problem is… The network connection is just for
debugging. It won’t be there once the board goes into its box, so all the
tools and apps have to be in the image or file system. You get free
compression if they are in the image.
The final configuration will have us booting from an image in about 1.2Mb of
flash on the mainboard that looks to it’s bios like a floppy drive. Problem
is that QNX’s devb-fdc does not see it as a floppy, because it doesn’t use
bios to access it, so once the boot image loads, nothing else is coming off
that pseudo floppy. Everything has to go into the image.
I want to be able to boot and run my app stand-alone, then connect an
ethernet cable, and access the box from a laptop or desktop running Qnx
(change the boot file, etc…).
Alternatively… If I can’t fit what I need on the floppy, we can add in the
32Mb flash drive on the final product, but I would prefer to avoid the extra
cost if we can do without it. It should be no problem fitting our
application and some subset of the tools on the 1.2Mb I have available.
Thanks,
John Eddy