For instance you may see references to various kinds of drives and
file systems which you know your board does NOT support ... such
things would not be included.
I also would ask for explanation of the 'development tools components -
> WDB agent components -> WCB agent services -> WDB target server file
system. I believe that this is necessary to do debugging but am not
sure.
The code is simply an almost useless main() with no I/O since I only
need to prove that I can actually install a vxworks image on the
mvme5500 board and connect to it since I can do all this using the
simulator. I can see the image using the ls "/romfs" cmd, but I cannot
connect to it, so I am pretty sure I have a project set up problem.
Looking to get to the point where I can get to use this Workbench 2.6
IDE on my linux machine!
Sydney
For your purposes, the two bundles you've already added are
more than sufficient for running an RTP. For development purposes,
make sure you add the RTP Development bundle, rather than
the RTP Deployment bundle.
You say you have the RTP in ROMFS. Great... you should be
able to run it trivially from there. One thing is to make sure you're
trying to run it from the 'command' shell rather than the 'C' shell
(the command shell is like a Linux/Windows shell, whereas the
C shell is fundamentally a C interpreter)
'cmd' takes you to the command shell
-> cmd
[vxWorks *]#
You should be able to run your RTP from ROMFS
[vxWorks *]# /romfs/RTP.vxe &
[vxWorks *]#
Putting the & on the end runs the RTP unattached to the command shell
(like Linux).
You can see if your RTP is running using the rtp command
[vxWorks *]# rtp
NAME ID STATE ENTRY ADDR OPTIONS
TASK CNT
-------------------- ---------- --------------- ---------- ----------
--------
RTP.vxe 0x1bc96c8 STATE_NORMAL 0xf0906310
0x1 67
If you have problems getting to the command shell, then check
you have the component INCLUDE_SHELL_INTERP_CMD included
(development tool components->kernel shell components->shell
interpreter selection->command line interpreter)
from the Kernel Configurator
Two final notes - the command shell will tell you its loading an RTP,
and if you're
RTP doesn't at least spin, it will terminate as soon as it hits the
end of the main() function
Cheers!
Jason