Freescale MPC8347 bsp



Freescale MPC8347 bsp


 

Hi,


I am working on VxWorks 6.2 BSP. I can boot my BSP with VxWorks. 6.1. I am not able to boot the 6.2 version.
I disabled RTP/EDR related stuff. I am not sure if there is lot of difference between 6.1 and 6.2.

The card boots and stuck at "Starting at ...".

Any idea why it is not booting ?.

Thanks
sivasweb@gmail.com




do you have the vxworks6.2?
develop with workbench2.3.1?

How much have you payed?

Congatec Conga-B915
hey, same thing is happening with my Sbc8349 from windriver.
Try to turn on some leds on the boards inside the usrInit(), I added a
singled led turn-on there (before usrKernelInit() ) and it boots.

Appears to be a timing (?!) issue.. I'll open a TSR at Windriver..

Take care
Sinan

 


Hi, sinan
Could you paste that piece of code for reference?

 



jeanwelly wrote:
> Hi, sinan
> Could you paste that piece of code for reference?

Hi Sinan,

Thanks for your comments. I will try that and let you know how it goes.

I don't have any LEDs on my board. I can try to put some delay by
adding some loop.

I am using VxWorks 6.1 Bootrom to test my VxWorks image. My bootloader
is not working either.

Both bootrom and vxworks are working fine with 6.1.

Thanks

 


Hey

I didn't try an empty loop, but my guess it will provide the same
effect.
I didn't work with 6.1, we are designing a new board based on MPC8347
and we moved from vx5.5 to 6.2.

Anyways, to separate between if it's your problem or a 6.2 problem,
stick with the working 6.1 bootrom/loader and try and experimet with
compiling an ftp version of vxworks 6.2 to get it to get past the
"starting at...", it appears the 6.1 bootloader is working fine if you
reach this printout, since it means it gets stuck when trying to run
your vxworks image.

Don't you have any other means than LEDs to see where you get stuck ?
(probe etc?)

Jeanwelly, I'm not at work, but the code I added basically is inside
prjConfig.c (usrInit()), I used a GPIO to set the LEDs on the board
(using the sysLedHex()). Right between the two final lines in
usrInit(). I can post the code on Monday if you like.

Since it's in prjConfig.c, you should take care not configure the
kernel after you modify it, since workbench will overwrite your code
;).

Sivas, It would be great if you explained more what u did in the board
design, and what reference design you based it upon.

Happy hunting.
Sinan.

 



sinan wrote:
> Hey
>
> I didn't try an empty loop, but my guess it will provide the same
> effect.
> I didn't work with 6.1, we are designing a new board based on MPC8347
> and we moved from vx5.5 to 6.2.
>
> Anyways, to separate between if it's your problem or a 6.2 problem,
> stick with the working 6.1 bootrom/loader and try and experimet with
> compiling an ftp version of vxworks 6.2 to get it to get past the
> "starting at...", it appears the 6.1 bootloader is working fine if you
> reach this printout, since it means it gets stuck when trying to run
> your vxworks image.
>
> Don't you have any other means than LEDs to see where you get stuck ?
> (probe etc?)
>
> Jeanwelly, I'm not at work, but the code I added basically is inside
> prjConfig.c (usrInit()), I used a GPIO to set the LEDs on the board
> (using the sysLedHex()). Right between the two final lines in
> usrInit(). I can post the code on Monday if you like.
>
> Since it's in prjConfig.c, you should take care not configure the
> kernel after you modify it, since workbench will overwrite your code
> ;).
>
> Sivas, It would be great if you explained more what u did in the board
> design, and what reference design you based it upon.
>
> Happy hunting.
> Sinan.

Hi Sinan,

Thanks for your reply. I tried setting hardware break-points, I can go
to sysHwInit from usrInit. It is not coming out of sysHwInit. It is
getting stuck in one of the function calls in sysHwInit. Then tried
setting break-points inside sysHwInit, I think it dies when it calls
pciIomapLibInit. It reaches that function but never returns back. I am
not doing source level debugging. I am doing assembly level debugging.
I made a map file using nmppc. Used vision ice to set break points. My
processor is mpc7410. The 6.1 BSP should work without any changes. I am
going to debug more tomorrow. The code never reaches usrKernelInit so I
couldn't try your delay thing. I am building using the command line
with GNU compiler.

I am not sure if printfs would work at this stage. I might have to use
the serial function to print out characters on the screen I guess.

Thanks,
Siva

 

ccppc spawn get_feature failed 

Hi all,

I'm currently porting my vxworks 5.5 products (PPC603) to the vxworks
6.2. I have my own makefile. Currently I can't compile a vxWorks with
my makefiles, I receive always this message:

ccppc.EXE tried to spawn get_feature but failed: The system cannot find
the file specified.

It seems that something is not correctly initialized, but what??? :)

Based on the vxWorks development shell i've set my variables...
WIND_BASE, etc... and my tools setting is:
# Tools Definitions
CC		     = ccppc
AR		     = arppc
LD		     = ldppc
NM		     = nmppc
RM                                = vxrm
RMDIR                           = rm -rf
RM_FROM_TORNADO   = rm
MUNCH                         = wtxtcl
$(WIND_BASE)/host/resource/hutils/tcl/munch.tcl -asm ppc
OBJCOPY                     = objcopyppc
PERL                            = $(ROOT_PERL)/bin/perl
SHELL		     = C:\WINDOWS\system32\cmd.exe

Any help will be appreciated... 
Thanks in advance

  

What is the  difference b/w rtos and embedded system. 

Can any one tell me about the difeerence ib/w rtos & embedded system.

  

ip forwarding problem vxWorks MPC880 

hi,,

Iam facing some problem in forwrding IP packets in vxWorks.This is our
configuration

         PC
192.168.128.74/24
            |
192.168.128.122/24
           A
          Node 1 (10.3.1.1/16)B -- C(10.3.2.1/16)  Node 2

Our PC is connected to Node 1 A interface using ethernet link(FEC) and
node 1 B and Node 2 C interfaces are connected throught sonet link..I
was able to ping between the 2 Sonet Interfaces

>From Node 2 i was able to ping node 1 A ethernet interface. But iam
facing problems when i try to ping from PC to node 2 interface.

we are running RIP on all the interfaces for routing.when i try to ping
node 2 interface what iam observing is it is sending packets through
sonet link and recieving the ping reply also but it is not forwaridng
that to ethernet interface

In my ipstatShow iam seeing an increase in both counters forward and
cant forward when i try to ping from PC to node 2. My observation is 1
way it is forwarding the packets and in reverse it is not happening
??..

is this is a vxWorks stack issue??..how to figure out exactly where the
packet forwarding is failing?

regards
Rams

  

RESTART PROBLEM WITH INTERRUPTS 

Hello All.  I am experiencing a RE-START problem.

I have VxWorks 5.5.  When I terminate my application, I disable the
hardware from issuing any further interrupts and I call "intDisable()"
.

Then, if I reload and execute the application without rebooting, even
though the "intConnect()" returns a status of OK, the Interrupt Service
Routine does NOT get connected to the interrupt vector.  The ISR exists
and can be manually invoked from the console, but it is not executed
when the interrupting event happens.

If I do a reboot, there are no problems.  Could anybody please give me
some idea of what I am missing?

Thanks in advance,

Doug

  

[help]There is something wrong when booting 

  i am a new bie in Vxworks
  when i boot with pentium4_mp4ap1 in my target pc, i found "press
any-key .... 7",then the PC
hung. why this happened?
   somebody can give me help?
   Many thanks. 

Regards,
Silen Wang

  

MVME5100 backplane boot fail on vxworks 6.1 

Hi all,

We've got a problem booting both MVME5101 (64MB) boards from the
backplane running on vxworks 6.1. We use Wind River Workbench IDE and
VxWorks 6.1 for our project.

We included #define INCLUDE_SM_NET and INCLUDE_SM_COMMON  in config.h
of MV5100 folder, which is the directory of the MVME5100 BSP. We also
added the route to the host route table using route add on windows XP.
The problem is we DO NOT see anything indicating Initializing backplane
net with anchor at ....statement. No error. It just loads the Master
kernel image vxWorks and vxWorks.sym. No slave board boots from it.

----add to route table---
C:\> route add 172.16.0.104 MASK 255.255.255.255 172.16.0.101

----master board----

boot device          : fei
unit number          : 0
processor number     : 0
host name            : rtte
file name            :
C:\WindRiver\workspace\VxWorksMV5100Master\default\vxWorks
inet on ethernet (e) : 172.16.0.101:ffffff00
inet on backplane (b): 172.16.0.103:ffffff00
host inet (h)        : 172.16.0.149
user (u)             : vxworks
ftp password (pw)    : vxworks
flags (f)            : 0x0
target name (tn)     : mv5100_master

Attached TCP/IP interface to fei0.
Attaching network interface lo0... done.
Loading... 1419028 + 134760
Starting at 0x100000...

Attaching interface lo0... done
Attached IPv4 interface to fei unit 0
Loading symbol table from rtte:C:\WindRiver\workspace\VxWorksMV5100
Master\default\vxWorks.sym ...done


                VxWorks

Copyright 1984-2005  Wind River Systems, Inc.

             CPU: Motorola MVME5101-2133 - MPC 7400
    Runtime Name: VxWorks
 Runtime Version: 6.1
     BSP version: 2.0/5
         Created: Mar 03 2006, 18:45:07
ED&R Policy Mode: Deployed
   WDB Comm Type: WDB_COMM_END
             WDB: Ready.


---slave board configuration---

boot device          : sm=0x20004100
unit number          : 0
processor number     : 1
host name            : rtte
file name            :
C:\WindRiver\workspace\VxWorksMV5100Slave\default\vxWorks
inet on backplane (b): 172.16.0.104:ffffff00
host inet (h)        : 172.16.0.149
gateway inet (g): 172.16.0.103
user (u)             : vxworks
ftp password (pw)    : vxworks
flags (f)            : 0x0
target name (tn)     : mv5100_slave


Please help!

Ray

  

Can any body know TCP/IP and UDP programs can be run in VxSim 

Hi All!
This is suresh
I got problem with network programs in vxworks. I am unable to run
Tcp/IP and UDP programs in vxworks simulator. Can any body help on this
topic.
How can i do these programs in TCP/IP and UDP.

  

Porting of TCP application between VxWork5.5 & VxWorks 6.x 

Hi All,

I have an application where in i shall have A vxWorks Target acting as
TCP Server ( Data Receiver) and Windows PC acting as TCP Client
(Sending Data). For your convinence purpose, consider it to be the
standard Blastee & Blaster programs respectively.

This program when tested with a target ( Consider PcPentium for
example) running vxWorks5.5.

Server: sp blastee,5050,1000,16000
where 5050 is the port no.
1000 receive buffer length
16000 maximum buffer length

Client: winBlaster <ip address> 5050 14 16000
where <ip address> is the target IP Address
5050 is the port no.
14 Send buffer length
16000 maximum buffer length

The receiver would receive 14 bytes of data for every packet.

The same program when tested with a target running vxWorks 6.2, the
receiver receive muliples of 14 bytes of data for every packet. If i
delay the Client (Data Sender) by 100 ms, then the receiver would
receive 14 bytes of data for every packet.

My question to all is:
1. Why there is a difference in the way the program behaves in case of
vxWorks 5.5 & vxWorks6.x

2. What is the role played by the delay in case of vxWorks 6.2.

I am also pasting the source code of both vxWorks_Blastee program &
Windows_Blaster programs for your convinence. Please compile it and run
it individually on a Tornado2.2 & Workbench2.2 installations and test
it.

---------------------------------- VxWorks Blastee Program  starts
here--------------------------------------------
/* vxBlastee.c - reads given size message from the client*/

/* Copyright 1984-1997 Wind River Systems, Inc. */

/*
modification history
--------------------
01f,06nov97,mm   added copyright.
01e,10Oct97,mm   cast arg 4 of function setsockopt
01d,10Oct97,mm   added arguments to file logMsg
01c,29Sep97,mm   cast arg 1 of `bzero'
01b,16Sep97,mm   added include <stdio.h>, <stdlib.h>, <errno.h>,
<string.h>,
		 <sysLib.h>, <logLib.h>, <sockLib.h>
01a,29jan94,ms   cleaned up for VxDemo.
*/

#include <socket.h>
#include <sockLib.h>
#include <stdlib.h>
#include <sysLib.h>
#include <logLib.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include "wdLib.h"
#include "in.h"
#include "ioLib.h"

LOCAL int	blastNum;
LOCAL int 	wdIntvl = 60;

LOCAL WDOG_ID	blastWd = NULL;
int	blasteeStop;
LOCAL void blastRate ();
int countpack=0;

/*****************************************************************************
 * blastee - server task for VxWorks target
 *
 * DESCRIPTION
 *
 *     This is a server program which communicates with client through
a
 *     TCP socket. It allows to configure the maximum size of
socket-level
 *     receive buffer. It repeatedly reads a given size message from
the client
 *     and reports the number of bytes read every minute. It stops
receiving
 *     the message when the global variable blasteeStop is set to 1.
 *
 * EXAMPLE:
 *
 *     To run this blastee task from the VxWorks shell do as follows:
 *     -> sp (blastee, 7000, 1000, 16000)
 *
 *     To stop blastee task from the VxWorks shell do as follows:
 *     -> blasteeStop = 1
 *
 */


void blastee
    (
    int   port,  /* the port number to read from */
    int   size,  /* size of the meesage */
    int   blen   /* maximum size of socket-level receive buffer */
    )
    {
    struct sockaddr_in	serverAddr; /* server's address */
    struct sockaddr_in  clientAddr; /* client's address */
    char   *buffer;
    int	   sock;
    int    snew;
    int    len;

    buffer = (char *) malloc (size);

    if (buffer == NULL)
	{
	perror ("cannot allocate buffer of size ");
	exit (1);
	}

    /* Create watchdog timer */
    if (blastWd == NULL && (blastWd = wdCreate ()) == NULL)
	{
	perror ("cannot create blast watchdog");
	free (buffer);
	exit (1);
	}

    /* Start watchdog after a minute*/
    wdStart (blastWd, sysClkRateGet () * wdIntvl, (FUNCPTR) blastRate,
0);

    /* Zero out the sock_addr structures.
     * This MUST be done before the socket calls.
     */
    bzero ((char *) &serverAddr, sizeof (serverAddr));
    bzero ((char *) &clientAddr, sizeof (clientAddr));

   /* Open the socket. Use ARPA Internet address format and stream
sockets. */
    sock = socket (AF_INET, SOCK_STREAM, 0);

    if (sock < 0)
	{
	perror ("cannot open socket");
	free (buffer);
	exit (1);
	}

    /* Set up our internet address, and bind it so the client can
connect. */
    serverAddr.sin_family	= AF_INET;
    serverAddr.sin_port	        = htons (port);

    if (bind (sock, (struct sockaddr *)&serverAddr, sizeof
(serverAddr)) < 0)
	{
    	perror ("bind error");
	free (buffer);
	exit (1);
	}

    /* Listen, for the client to connect to us. */
    if (listen (sock, 2) < 0)
	{
    	perror ("listen failed");
	free (buffer);
	exit (1);
	}

    len = sizeof (clientAddr);

    snew = accept (sock, (struct sockaddr *) &clientAddr, &len);
    if (snew == ERROR)
        {
        printf ("accept failed");
        close (sock);
        exit (1);
        }

    blastNum = 0;

    /* maximum size of socket-level receive buffer */
    if (setsockopt (snew, SOL_SOCKET, SO_RCVBUF,(char *) &blen, sizeof
(blen)) < 0)
	{
	perror ("setsockopt SO_SNDBUF failed");
	free (buffer);
	exit (1);
	}

    blasteeStop = FALSE;


    for (;;)
	{
	int numRead;

	if (blasteeStop == TRUE)
	    break;

	if ((numRead = read (snew, buffer, size)) < 0)
	    {
	    perror ("blastee read error");
	    break;
	    }
	printf("%d  %d\n",countpack++,numRead);
	blastNum += numRead;
	}


    wdCancel (blastWd);

    close (sock);
    close (snew);

    free (buffer);
    printf ("blastee end.\n");
    }

/*****************************************************************************
 * blastRate - watchdog routine executed every one minute to report
number of
 *             bytes read
 *
 */

LOCAL void blastRate ()
    {
    if (blastNum > 0)
	{
	logMsg ("%d bytes/sec\n", blastNum / wdIntvl,0, 0, 0, 0, 0);
	blastNum = 0;
	}
    else
	{
	logMsg ("No bytes read in the last 60 seconds.\n",0, 0, 0, 0, 0, 0);
	}
    wdStart (blastWd, sysClkRateGet () * wdIntvl, (FUNCPTR) blastRate,
0);
    }
---------------------------------- VxWorks Blastee Program  Ends
here--------------------------------------------

---------------------------------- WinBlaster Program  starts
here--------------------------------------------
/* winBlaster.c - blasts another system with the given message size */

/* Copyright 1984-1997 Wind River Systems, Inc. */

/*
01a,29jan94,ms   cleaned up for VxDemo.
*/

/*****************************************************************************
 * blaster - client program for MS WINDOWS host
 *
 * DESCRIPTION
 *
 *     This is a client program which connects to the server via TCP
socket.
 *     It allows to configure the maximum  size  of  the  socket-level
 *     send buffer. It repeatedly sends a given size message to the
given port
 *     at destination target.
 *
 * EXAMPLE:
 *
 *     To run this blaster program from your WINDOWS host do the
following at
 *     a DOS prompt:
 *     C:\> blaster  <target name>  7000  1000  16000
 *
 *
 */


#include <sys/types.h>
#include <winsock.h>				/* <sys/socket.h> */
#include <stdio.h>
#include <string.h>
#include <io.h>



int main
    (
    int		argc,
    char **	argv
    )
    {
    struct sockaddr_in	sin;
    int    sock;
    int    ix = 0;
    char   *buffer;
    int	   blen; 		/* maximum size of socket-level send buffer */
    int    size; 		/* size of the message to be sent */
    struct hostent  *hp;

    WORD wVersionRequested;
    WSADATA wsaData;
    int err;
int flag = 1;
    /* initialize winsock.dll */
    wVersionRequested = MAKEWORD(1, 1);
    err = WSAStartup(wVersionRequested, &wsaData);

    if (err != 0)
        /* Tell the user that we couldn't find a useable */
        /* winsock.dll.     */

        return;

    /* Confirm that the Windows Sockets DLL supports 1.1.*/
    /* Note that if the DLL supports versions greater */
    /* than 1.1 in addition to 1.1, it will still return */
    /* 1.1 in wVersion since that is the version we */
    /* requested. */

    if ( LOBYTE( wsaData.wVersion ) != 1 ||
		    HIBYTE( wsaData.wVersion ) != 1 )
        {
	/* Tell the user that we couldn't find a useable */
	/* winsock.dll. */

        perror ("Unable to initialize WinSock Version 1.1\n");
        WSACleanup();
        return;
	}

    /* The Windows Sockets DLL is acceptable. Proceed. */


    if (argc < 5)
	{
	printf ("usage: %s targetname port size bufLen\n", argv [0]);
	exit (1);
	}

    memset(&sin, 0, sizeof(sin));

    /* Create a TCP socket */

    sock = socket (PF_INET, SOCK_STREAM, 0);

    if (sock < 0)
        {
	perror ("cannot open socket");
        exit (1);
        }

    hp = gethostbyname (argv[1]);
    if (hp == 0 && (sin.sin_addr.s_addr = inet_addr (argv [1])) == -1)
	{
	fprintf (stderr, "%s: unkown host\n", argv [1]);
	exit (2);
	}

    /* Fill in the hostent structure */

    if (hp != 0)
        memcpy (&sin.sin_addr, hp->h_addr, hp->h_length);

    sin.sin_family 	= PF_INET;
    sin.sin_port 	= htons ((short) atoi (argv [2]));
    size		= atoi (argv [3]);
    blen = atoi (argv [4]);

    if ((buffer = (char *) malloc (size)) == NULL)
	{
	perror ("cannot allocate buffer of size ");
	exit (1);
	}

    /* Set the size of the socket send and receive buffers to blen */

    if (setsockopt (sock, SOL_SOCKET, SO_SNDBUF,
		    (char *) &blen, sizeof (blen)) < 0)
	{
	perror ("setsockopt SO_SNDBUF failed");
	exit (1);
	}
/*{
         int result = setsockopt(sock,IPPROTO_TCP,TCP_NODELAY,(char *)
&flag,sizeof(flag));
	}*/


if (setsockopt (sock, SOL_SOCKET, SO_RCVBUF,
                    (char*) &blen, sizeof (blen)) < 0)
        {
        perror ("setsockopt SO_RCVBUF failed");
        exit (1);
        }
/**/
 /*   if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char *)
&blen,sizeof(int)) == ERROR)
       {
       perror("setsockopt: tcp_nodelay");
       close(sock);
       return (ERROR);
       }*/

/**/
    /* Connect to the server */

    if (connect (sock, (SOCKADDR *) &sin, sizeof (sin)) < 0)
	{
	perror ("connect");
    	printf ("connect failed: host %s port %d\n", inet_ntoa
(sin.sin_addr),
		ntohs (sin.sin_port));
	exit (1);
	}

    /* Send a data buffer of length size to the server repeatedly */
    for (;;)
	{
	int y;
	if ((y = send(sock, buffer, size, 0)) < 0)
	    {
	    perror ("blaster write error");
	    break;
	    }
Sleep(1);
	}

    close (sock);

    free (buffer);
    printf ("blaster exit.\n");
    }

---------------------------------- WinBlaster Program  Ends
here--------------------------------------------

Thanks in advance,

Kiran
mail to: kiran81077@gmail.com

  

Why Reboot on exception 

Hi

Iam facing a problem,


One task  with the priority 35 and the other task with priority 100.

The task with priority 100 will send a message to the task with the
priority 35.

After the Message is received in the task with the priority 35 then it
is getting
rebooted.

Iam getting an exception Reboot on exception. TID=CE8260, IP = CE8058
if there is no LogMsg
function after the message is received in the task with the priority
35.

If i add a logMsg function after getting the message using msgrecv api
then it is not
rebooting.

Is both Logtask and task will use same message q, but i created
seperate message q for this task.

Which is causing this problem.

Regards, 
Krish

  

Why Reboot on exception 

Hi

Iam facing a problem,


One task  with the priority 35 and the other task with priority 100.

The task with priority 100 will send a message to the task with the
priority 35.

After the Message is received in the task with the priority 35 then it
is getting
rebooted.

Iam getting an exception Reboot on exception. TID=CE8260, IP = CE8058
if there is no LogMsg function after the message is received in the
task with the priority 35.

If i add a logMsg function after getting the message using msgrecv api
then it is not
rebooting.

Is both Logtask and task will use same message q, but i created
seperate message q for this application.

Which is causing this problem.

Regards, 
Krish

  

Where to find Promise Ultra100 Tx2 Driver? 

Hi, all

Anybody knows where to find Promise Ultra100 Tx2 Driver for VxWorks?
Thanks in advance!!

ps: chipset PDC20268, BIOS ver V2.20.0.14

--
unicell

  

Task Problem 

Hi

Iam facing a problem,

One task (aplplication) with the priority 35 and the other task with
priority 100.
the priority 100 task will send a message the task with the priority
100.
After the Message is received in the task 100 then it is getting
rebooted.
If i add a logMsg function after getting the message then it is not
rebooting.

Is both Logtask and task will use same message q, but i created
seperate message q for this application.

Can some one tell me why this problem is causing.

Regards,
Krish

  

Unable to print the logMsg with parameters 

Have anyone tried the following line, and the output is correctly
displayed "8 - 2 sample_isr" :

    logMsg("%X - %X sample_isr",8,2,0,0,0,0);

I created a serial IO driver.  In the write routine I used
fprintf(stderr,...) to print out the buffer parameter.  And that is
what I received.

    buffer =3D 80x=B3=C0=EE=EE=EE=EE  (received 1 character)

Also, it is very interesting that this write is being processed twices.
 First time I will receive data of 2 bytes (buffer =3D 0x=B3=C0=EE=EE=EE=EE=
),
second time is data of 1 byte.

One other question, how does everybody setup the logMsg so that it has
default output format (<address> (<task>): <buffer>)?

In general, I am using Tornado 2.2.1 with VxWorks 5.5.1.  From the
WindShell, I have tLogTask running.  I have a customized driver, so
that I use logFdAdd() to add the opened file ID of this customized
driver to the log write pipline.  Anyone had the similar problem
before?  Any idea or suggestion of what I should look of why this
happens?

Thank  you.

Peggy

  

ifShow does not display the network interfaces 

Hi,

When i execute ifShow , it does not show me the network interfaces.
I have included the network constants in the config.h and configAll.h.

Does anyone know how to manually add the n/w interfaces lo and an
ethernet interface?

Rgds,
Maniac

  

booting Tornado 2.0.2 w/ ProFTPD server 

I'm having a bit of an issue trying to get tornado 2.02 to boot from a RAID 
network storage appliance running ProFTPD v.1.2.9 under a version of Linux. 
The problem is that downloading the boot image takes around 6-7 minutes. 
Downloading the script file happens normally, in a couple of seconds. I've 
found no diagnostics in the server log other than statements showing that the 
first session opens and closes ~7 minutes later, and the second session opens 
and closes in a few seconds. This appears to be different than the situation 
in which the second file or a second reboot takes a long time because of 
inability to reuse the port. My problem happens first time, every time. I've 
connected to the server with various mac, windows and solaris clients w/ no 
problems. I have however seen a problem w/ WS_FTP v4.50 that could be similar. 
I found some info mentioning slow connections due to a reverse DNS lookup by 
ProFTPD, but the vendor sent a config file patch that supposedly prevents this 
reverse lookup, with no effect. I would appreciate any suggestions.
thanks
dale brewe

  

option similar to IP_HDRINCL for IPv6 Sockets? 

Hi All

can someone tell me how one can build it's own header for IPv6 style
sockets as we do with IP_HDRINCL option for IPv4 sockets?

Thanks for giving your precious time for reading the query.

Regards,=20
=C4shwani Kathuria

  

Tornado External Editor 

I have set-up Tornado to use emacs as an external editor. 

It works great, the problem is that when I click on a file in Tornado it opens
a new copy of emacs.

Is it possible to set-up Tornado so that it will open the file in the existing 
emacs.

Thanks Phil
  

can anybody give me a license of workbench2.4 and vxworks 6.2 

can anybody give me a license of workbench2.4 and vxworks 6.2

my email is china_soldier@hotmail.com

  

Can a VxWorks task pend on multiple message queues? 

I have a requirement where in I want VxWorks task to pend on multiple
queues.....

As I know VxWorks task cannot pend on multiple queues.

I wanted to know that how can I make use of some VxWorks facilities to
make a task pend on multiple queues?

  

how to solve the error: relocation truncated to fit: R_ARM_PC24 

i am developing the driver of s1d13506 by windml.my
configuration:tornado2.2.1,platform id2.1
i have build the windml and got the wndml.o. After  i added this .o to
EXTRA_MODULES,the error is list when i make this bootable project based
on my bsp which have include necessary 2d library.
the error listed as:
ldarm -X -EL -N -e sysInit -Ttext 20001000  \
	dataSegPad.o partialImage.o ctdt.o \
	-T D:\Tornado2.2\target\h\tool\gnu\ldscripts\link.RAM -o vxWorks
partialImage.o: In function `uglGraphicsDevAccessCheck':
partialImage.o(.text+0x28a48): undefined reference to `pciFindDevice'
partialImage.o(.text+0x28a48): relocation truncated to fit: R_ARM_PC24
pciFindDevice
partialImage.o: In function `uglPCIAddressGet':
partialImage.o(.text+0x28b6c): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28b6c): relocation truncated to fit: R_ARM_PC24
pciConfigInLong
partialImage.o(.text+0x28b90): undefined reference to
`pciConfigOutLong'
partialImage.o(.text+0x28b90): relocation truncated to fit: R_ARM_PC24
pciConfigOutLong
partialImage.o(.text+0x28bb4): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28bb4): relocation truncated to fit: R_ARM_PC24
pciConfigInLong
partialImage.o(.text+0x28c04): undefined reference to
`pciConfigOutLong'
partialImage.o(.text+0x28c04): relocation truncated to fit: R_ARM_PC24
pciConfigOutLong
partialImage.o: In function `igsSndDevCreate':
partialImage.o(.text+0x2a8a4): undefined reference to `sysOutByte'
partialImage.o(.text+0x2a8a4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2a8b4): undefined reference to `sysInByte'
partialImage.o(.text+0x2a8b4): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2a8c8): undefined reference to `sysInByte'
partialImage.o(.text+0x2a8c8): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2a8e4): undefined reference to `sysOutByte'
partialImage.o(.text+0x2a8e4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o: In function `audioInterrupt':
partialImage.o(.text+0x2ab94): undefined reference to `sysInByte'
partialImage.o(.text+0x2ab94): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2aba8): undefined reference to `sysOutByte'
partialImage.o(.text+0x2aba8): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2abb8): undefined reference to `sysInByte'
partialImage.o(.text+0x2abb8): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2abd0): undefined reference to `sysOutByte'
partialImage.o(.text+0x2abd0): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o: In function `sndIgsUnlockAudio':
partialImage.o(.text+0x2ad1c): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad1c): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ad30): undefined reference to `sysInByte'
partialImage.o(.text+0x2ad30): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2ad40): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad40): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ad50): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad50): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ad60): undefined reference to `sysInByte'
partialImage.o(.text+0x2ad60): relocation truncated to fit: R_ARM_PC24
sysInByte
partialImage.o(.text+0x2ad74): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad74): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o: In function `sndIgsAudioEnable':
partialImage.o(.text+0x2ae40): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae40): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ae54): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae54): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ae64): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae64): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ae74): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae74): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ae84): more undefined references to
`sysOutByte' follow
partialImage.o: In function `sndIgsAudioEnable':
partialImage.o(.text+0x2ae84): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2ae94): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aea4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aeb4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aec4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aed4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aee4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2aef4): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o: In function `sndIgsIntEnable':
partialImage.o(.text+0x2b0b0): relocation truncated to fit: R_ARM_PC24
sysOutByte
partialImage.o(.text+0x2b0c8): relocation truncated to fit: R_ARM_PC24
sysOutByte
make: *** [vxWorks] Error 1

Done.

thanks a lot!

  

ICE disconnects when faced with a fault-on-fault 

Hello all

Apparently I have a reliability issue with my coldfire 5282 based
board.

CPU halts suddently during normal application operation.

My hunch is that it faced a fault-on-fault condition which forced the
halt.

I have a visionICE connected to the board during the halt condition,
unfortunately, the ICE loses connection to the target when the CPU
halts.

Is there a way to read some registers, or at least to know what
exception happened ?

Has anyone faced a similar problem ?

Thanks in advance.
Sinan

  

USB driver for Philips ISP1362 

Hi all,
I have a board with two Philips ISP1362 USB controllers. We want to use one
of them in host mode and the other one in peripheral mode. We do not need to
have the OTG functionality. VxWorks 6.2 does not support this chip directly,
but we hope that we can modify the OHCD driver to work with the ISP1362
chip. Has anybody already tried to do this?

Thanks in advance
David


  

How to start PPP server in vxWorks 

Kindly guide me on how to start PPP server on vxWorks.

  

how to get debug messages in nucleus os? 

Hello,
I'm using NucleusPlus OS for OMAP5910 based board. Code Composer
Studio(CCS) is the development IDE.
After some changes we have managed to bring up Nucleus on our board.
But i cannot see the printfs (debug messages) in the CCS (there is no
separate serial debug port, jtag has to be used). Can anybody give me
any pointers on how i can enable debug messages? I am virtually new to
Nucleus OS development.

Any pointers will be highly appreciated.

Thanks and Regards,
Indro

  

secondary boot loader for vxworks.... 

Hello Friends...

          i am Dinesh ,, working on vxworks 5.5.1, PCpentium4 traget.
now i could boot vxworks form the hard disc . ie in that  hard disc
there was no other OS nor the data ,so that i could format & create
primary drive and put my bootrom.sys of vxworks and i could boot
vxworks directly from hard disc ...

now i need 2 create a seconary boot loader for vxworks .. ie once the
pc is powered on it should  show 2 options ie LINUX and VXWORKS .,,,,,,
and if i select vxworks ,,, vxworks should boot or if i select linux,,
linux should boot , as we get on normal pc ie WINDOWS and LINUX ..

so how to procide further about this . I not finding any idea about
this .. let me know please .

Regards,
Dinesh

  

Compatibility Of Tornado 2.2 with VxWorks 5.4 

Hi,
       Please anyone clarify the issue regarding the compatibility of
Tornado 2.2 with VxWorks 5.4. I am facing problems while using it.
Please help.



Thanks & Regards
Raghu

  

send signal to a RTP under vxWorks 6.2 

Hi

I'm trying to send a posix signal from a RTP to an RTP. Unfortunately
sigqueue failed and the errno says that the process doesn't exist. I
get the id of  the RTPs with  'getpid' function.
I try with kill and sigqueue too but it doesn't work.

Is there a bug or is it the wring method to send a signal ?


~M~

  

tcp ports telnet,ftp,ssh hang in close wait state 

There is an issue while I scans the ports with nmap tools. Telnet, FTP
and HTTP port are unreachable and switch hangs. To make all the port
reachable I need to reboot the switch.

I initiated around 50 multiple scanning scripts from the nmap utility
and scannned all the ports at a very high rate.After some time the
device hangs and none of the telnet , ftp or ssh sessions could be
initiated.

When i debugged the system for more infomration i could see that the
dumping tcp port states "inetstatShow" showed that there were 8 tcp
sockets each on ftp(port 21), telnet (port 23) & ssh(port 23) which
were stuck up in CLOSE_WAIT state. I suppose that this  condition is a
result of some sw timing issue in synchronizing up with the opening up
and closing of tcp connections. Is there any possibility that this  can
happen when tcp connections are opened and closed very quickly???

 All other ports 80, and others are not affected maybe because the
timing problem is alleviated by the amount of processing involved
during http or any other session.

Moreover i tried  writing the code to dump the corresponding FD's of
the the sessions that were in hung CLOSE_WAIT states. They all show 0.
So i think all the fd's were cleared and only the stale PCB's remain
witholding the sockets. I dunno but possibly.

I was able to remove the stale pcb's by in_pcbdetach function.However i
really do not know the consequences on this.will be happy if any body
could throw light on this ???

The problem statement in one line could be " when tcp ports
telnet,ftp,ssh are scanned using a port map tool at a high rate, some
of the tcp socket connections are not closed
properly and hang up in CLOSE_WAIT state and are never released, the
limit for
such hanging connections seems to be 8 and after this limit is reached,
the ports
21,22, & 23 are no more reachable".

Does anybody have any clue on this . I am really in need of some help
from this tech group .

  

Visual Studio 2005 as IDE 

Could anyone help me setup so I can develop and build/compile in Visual
Studio C++ 2005 Express edition?

  

a question about sysTimestamp() 

I used sysTimestamp() and sysTimestampFreq() (etc,function link
systimestamp*** ) in my programme,but  when compling,Tornado told me
that undefined reference to sysTimestamp and sysTimestampFreq.
I've included the drv/timer/timerDev.h.
So do u have any sugesstion about this?Thank in advance.

  

Branch through zero exception when raise signal in ISR 

Hi, I raised a signal (SIGUSR1) in a timer ISR but when the program
runs for a short period of time, it gave me the Branch through zero
exception and the system reboots automatically. Could someone give me
some suggestion on this problem? Thanks

  

Missing `fcntl' 

Hi,

How do I find out if a socket is blocking? On other platforms I was using 
the `fcntl' feature, but it is not available on VxWorks.

Regards,
Manu 


  

How to start WDB before VxWorks is running 

I have read <Tornado API Programmer's Guide> and it says that
"The WDB agent itself is independent of the target operating system: it
attaches to run-time OS services through a virtual-function run-time
interface. The WDB agent can execute before VxWorks is running (as in
the early stages of porting a BSP to a new board) or even stand-alone."

Then how to start the WDB agent before VxWorks is running?
Is this can be done through some configurations in the config.h, all I
have to write some programs?

Thanks.

  

How to link the object files(.o) into one *BIG* object file with "symbols partly located" ? 

Hi,

How to link the object files(.o) into one BIG object file with "symbols
partly located"

"Symbols partly located" is means:

Link some .o files with option "-Ttext 0xXXXXXX" of "ld" (fixed the
offset of .text segment),
 So I want the "ld" will locate the .text with symbols those are
already exist in
 .o files .   keep the undefined symbols for an other follow link.

But ,"ld" will fail to output *BIG* .o file. Because there are
undefined symbols.

Please give your advice, thank you. (to the exclusion of dynmaic
library solution ,please)

ELF symbol table:

                  CONTENTS, READONLY
SYMBOL TABLE:
...
00007414 l     F .text	0000002c _ZN6CToolsD0Ev
00000604 l     O .rodata	00000008 _ZTI4CMgr
0000728c l     F .text	0000006c _ZN4CMgrD1Ev
000072f8 l     F .text	00000074 _ZN4CMgrD0Ev              <<<<<<<<
exits <<<<<<<<<
...
00000000         *UND*	00000000 _Unwind_SjLj_Unregister
00000000 g     F .text	000003dc _ZN9CSdhXcMgrC2EP3CNe
00000000         *UND*	00000000 _ZnwjmPKc
00000000         *UND*	00000000 _ZN8CAdapterC1Ev    <<<< keep it for
link again<<<
00000530 g     O .rodata	00000068 _ZTV9CSdhXcMgr



thank you!

Tangkun

  

porting a BSP from VxWorks 5.5 to 6.2. 

I'm evaluating to port my BSP from VxWorks 5.5 (with Tormado 2.2.1) to
VxWorks6.2 (with WorkBench 2.4)

Looking at Windriver web site seems that it's easy to move a BSP for
5.5 to 6.2.

The only task to do it's to recompile all.

it's true ?..

Please note that I want to move from 5.5 to 6.2 without change the HW!!

  

Connect ISR by intConnect() 

I am using a StrongArm processor which has no on-chip interrupt
controller. BSP provides 32 interrupt vectors with only 1 interrupt
level, and I want to connect an ISR to Timer 4:
...
            4  T1			     Timer 1
	    5  T2			     Timer 2
	    6  T3			     Timer 3
	    7  T4			     Timer 4
...

Here is the code:
...
void timerISR()
{
	logMsg("\tin timer ISR ...\n", 0,0,0,0,0,0);
}
...
if ( intConnect(INUM_TO_IVEC(7), (VOIDFUNCPTR) timerISR, 0 ) == ERROR)
{
	perror("connect ISR failed ...");
	return ERROR;
}
...

I also tried to add "intEnable(0);" or "intEnable(1);" though I am not
sure if this is necessary, but it still doesn't work. Could anybody
give me some suggestions if there is something wrong in the above code?
Thanks!!!

  

how to make a circle viewport(or clip region) or a circle window object with windml or zinc as under windows platform 

as subject!
Thanks a lot for answer firstly!

  

Doesn't vxWorks support bool type? 

I defined a global variable in bool type but the compiler gave me a
parse error on it. There seems no "true/false" either, but has to be
"TRUE/FALSE". The word "bool" shows as a key word in blue color. Does
vxWorks support the bool type? Thanks!

  

which version gcc does vxworks 6.x support? 

What is the most recent version of gcc supported by vxworks 6.x and 5.x?

Also, I read that the C++ stl is now (partly?) available, how complete 
is this?

This is for solaris cross compiling to ppc.

thanks,
kevin
  

#line pragmas and debugging 

Hi,

I have a C file `a.c' whose content look like:

#line 2 "a.x"
void f () {
    int i;
#line 4 "a.x"
    i = i + 1;
    return
}

I compile it with debug information.

Launch the program from the debugger, which opens the file `a.x' but also 
asks me where is "a.x". This is rather strange. But when I provide him with 
the "a.x" file it goes directly into disassembly code and not in the window 
where it opened `a.x'.

Is there something I need to do, so that I can have the debugger go into the 
`a.x' file for my debugging?

I've used this #line with gcc on other platforms and never had a problem.

Thanks,
Manu 


  

IP forwarding cache 

Good morning,
can someone give details about the IP forwarding cache in vxWorks 5.4 ?
Is there a shell callable function to clear the cache?
Is there the possibility to disable the cache itself ?
My questions are in connection with the SPR 62032.

Thanks in advance
f torre

  

problem about the windML 

about the ps/2 mouse
Now I have build the windML3.0 under the Tornado2.2.1,and I creat a
project of pcPentinum3,and I include the windML ps/2 mouse,and I build
succeedly,but when I start the target,the WDB banner appeared,but the
signal -> didn't appeared ,and slao I can't get connect with the
target,but when I exclude ps/2,the target can start succssfuly,and the
WDB banner,the signal -> also appeared,and also I can get connect with
the target,so I wan't to know why I can't include the windML ps/2
mouse?
how to config the windML to run the windML demo "windemo"?

thanks

  

cacheLock() in vxworks 6.2 

Hello all

Tried all sequence I could think of using cacheLib to lock a piece of
data in my MPC8349 cache, with no use (ERROR is returned when calling
cacheLock)

Anyone had any success with cacheLocking under vxworks ?!

Thanks in advance
Sinan

  

PowerQUICC 8347/9 DMA driver 

Hello all

I'm using an SBC from windriver (wSbc8349)/vx6.2 to test DMA transfers
on this CPU.
All goes well (direct and chained), but whenever I want to attach my
isr to the DMA interrupt to get end-of-segment-interrupt or
end-of-transfer-interrupt the board crashes.

I see that I get an exception:
-----------------------------------
Exception at interrupt level:

external interrupt
Exception current instruction address: 0x0001097c
Machine Status Register: 0x00009030
Condition Register: 0x40000282
Regs at 0x119d5a0
-----------------------------------

What I managed to see is that the exception is happening in
quiccIntrCntl.c when returning from quiccIntrDeMux().

I'm using these lines to attach my ISR:
-------
    intConnect(INUM_TO_IVEC(INUM_DMA), dmaISR, 0);
    intEnable(INUM_DMA);
------

and my ISR just increments a counter.

Any help would be appreciated.
Sinan.

  

Network trouble caused by rollover 

Hi,

I met a strange probblem with my machine using vxWorks 5.4.
The network(ex. ping) is blocked at the time of tick count meets around
1000.
It lasts about 20 min. and back to normal. so I think it is related
with ARP update problem. but I don't know the reason exactly.
Please give me a feedback if you have similer experience.
Thanks.

  

Unable to Delete tHTTPd task 

Hi Guys..........

In our system the tHTTPd task gets into suspended state due to some
reason.....I have tried to resume,,restart..the task while its is
suspended but nothing happens & it stays in the suspeneded state.

If i try to delete the task the shell hangs.........Guys  could u help
me out.....Ne other ideas of deleting the task tHTTPd....

Reply ASAP..

Abhijit

  

taskPrioritySet 

Hi,

I would like to know the "price" for setting priority by using
"taskPrioritySet" every 2mS. I know it's not recommended. But can
someone list the disadvantages ? (I don't necessarily mean performance)

Thanks in advance,

Tal

  

Problem with windml 

Hi all,
I have windml 3.0 installed on Tornado 2.2.1 for pentium. I'm using a
"SiS" graphics card on the target.I'm building the windml by giving the
graphics card as generic. I'm able to build Vxworks without any errors.
But when is spawn the demo codes provided by Windriver,  nothing will
come on the monitor.
How can i rectify the above problem.

Regards
vij

  

[comp.os.vxworks] FAQ - index 

Archive-name: vxworks-faq/index
Posting-Frequency: monthly
Last-modified: 2005/07/29
Version: 1.53
URL: http://www.vxworks7.com
Copyright: (c) 1999 - 2005 Johan Borkhuis
Maintainer: Johan Borkhuis <johan@borksoft.xs4all.nl>


This is the index of the FAQ for the newsgroup comp.os.vxworks. The FAQ
itself can be found at http://www.vxworks7.com


Original charter of comp.os.vxworks:

comp.os.vxworks will be a forum for discussion of topics related to
the VxWorks real-time operating system and development environment.
Current and prospective users of VxWorks will be able to discuss
technical problems, report experiences with various hardware components,
share code, report bugs and fixes, and exchange any information of
interest
to the VxWorks user community. Relevant new product announcements may be
made by commercial participants, subject to a limit - e.g. 1/month -
on the frequency of such posts.


Contents of the FAQ:

0. Introduction and Getting Started
0.1 Introduction
0.2 Books
0.3 Links

1. Tool problems
1.1 Compiler and Linker
1.2 Debugger
1.3 FTP
1.4 Host tools
1.5 Installation
1.6 Make
1.7 Project facility
1.7.1 Hierarchical projects
1.7.2 Super projects
1.8 Target Server
1.9 Target Shell
1.10 Telnet
1.11 Tornado
1.11.1 Tornado (General)
1.11.2 Tornado (Windows)
1.11.3 Migration
1.12 Version Control
1.13 Visual Studio integration
1.14 Windsh
1.15 WindView

2. Changes/additions to be made to BSP's
2.1 Different BSP's
2.2 Processor specific issues
2.2.1 Power PC
2.2.2 I960
2.2.3 MIPS
2.2.4 ARM
2.3 Bootstrap
2.4 Adding component to your VxWorks configuration
2.5 VME problems
2.6 VxWorks environment
2.6.1 usrSerial.c
2.6.2 prj_vxworks.tcl
2.7 PCI problems

3. File System problems
3.1 Dos file system
3.2 Flash File system
3.3 Floppy-disk File system
3.4 RAM-disk File system
3.5 General file system questions

4. Network
4.1 Configuration problems
4.2 ARP
4.3 DHCP
4.4 FTP and TFTP
4.5 PPP
4.5.1 PPP on Windows 95
4.5.2 PPP on Windows NT
4.5.3 PPP on Solaris
4.6 Sockets
4.7 Telnet
4.8 Other network related questions

5. VxWorks Questions
5.1 C++ issues
5.2 Communication problems
5.3 Interrupts
5.4 LoadModule problems
5.4A malloc and other memory issues
5.5 pthreads
5.6 Reboot
5.7 Semaphores
5.8 Simulator (VxSim)
5.9 Task related items
5.10 Time/timer related items
5.11 Wind Web Server related items
5.12 Zinc/windML related items
5.13 Other items
5.14 VxWorks AE issues

6. Extra information
6.1 Hard delay
6.2 Memory leaks
6.3 Corba engines
6.4 Web servers
6.5 NTP usage
6.6 Performace / Benchmarks
6.7 SNMP
6.8 Lint
6.9 Encryption
6.10 AI languages

9. Links
9.1 VxWorks introduction links and help pages
9.2 Extensions to VxWorks
9.3 Other links
9.4 Some FTP sites

Overall question index

Overall Sources index

Change history

--
         o o o o o o o . . .   ___J_o_h_a_n___B_o_r_k_h_u_i_s___
        o      _____           || http://www.vxworks7.com      |
      .][__n_n_|DD[  ====_____  |    johan@borhuis.com         |
     >(________|__|_[_________]_|______________________________|
     _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
== VxWorks-FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ==


  

is it possible to specify wildcards in Tornado build specs 

I would like to link all of the object files in one directory in my
project.  Is there a way to do that using the Tornado GUI?  I'm
building a bootable project, and I'm trying to put .../*.o in the
EXTRA_MODULES macro, but it didn't like it.  I also tried .../%.o  Any
ideas?

Ricardo

  

Why I can't include ps2 mouse 

I have compile the windML3.0,but when I include ps2 mouse in the target
image,the target image can't start successfully,the symble -> can't
appeared,but when I exclude ps2 mouse ,the target can start
successfully and the winDemo can work,but mouse can't work


why the ps2 mouse can't be include in the target??

  

PCI bursting 


Does anyone know if there is a way to control bursting over PCI?  I may 
want to prevent it sometimes and force it other times rather than the 
situation I'm in at the moment where it seems to switch on and off at 
indeterminate times.

If it's significant I using Tornado 2.0.2 and VxWorks 5.5 on a Radstone 
PPC8A-7457 SBC.

Thanks for any help.

-- 
Fenster
  

Help me about target server of tornado please 

Hello:

 I am doing something in ppc850 with vxWorks. to connect the target
with target svr, the result of the target svr is:



tgtsvr (200.200.200.200@lichlin): Fri Feb 17 13:11:45 2006
    Wind River Systems Target Server: NT/Win95 version
    Connecting to target agent... succeeded.
    Attaching C++ interface... succeeded.
    Attaching elf OMF reader for PPC CPU family... succeeded.

    Error: rpccore backend client Timed out
    Error: Error performing target core file checksum.
    Warning: Core file checksums do not match.

    Error: rpccore backend client Timed out

    Error: rpccore backend client Timed out

    Error: rpccore backend client Timed out
    Error: Object module load failed for D:\user\vxpmii\default/vxWorks
    Error: loading core symbol table: status = 0x100de
Error during target server core initialization
Target Server will exit



The file vxWorks is 60357KB. The target memory is 64MB.

  

VxWorks 6.2 BSP Debug 

Hi,

I am working on VxWorks 6.2 BSP. I can boot my BSP with VxWorks. 6.1. I
am not able to boot the 6.2 version. I disabled RTP/EDR related stuff.
I am not sure if there is lot of difference between 6.1 and 6.2.

The card boots and stuck at "Starting at ...".

Any idea why it is not booting ?.

Thanks
sivasweb@gmail.com

  

why the target shell ? 

Now I have run the vxworks through network,and the target shell
appeared on the target,and then
-> appeared,and I can use the command for example i,d and so on.

but when I add the windML library to the vxworks image ,the target
shell appeared,but the -> didn't appeared,and also I can't connect with
the target,

why is this?

another problem,I have install windML3.0.2,and I also want to use
Zinc,which version of Zinc can I use?Zinc 6.0 can work right?


thanks

  

How to download .out of 60M bytes to the target with 64M MEM? 

The target:
CPU is PPC850
MEM is 64M

The Host:
PIII 1G 256M MEM
target server Memory cache size is 40480K

the version of tornado is 2.0.

How to download the .out of 60M to the target?

When i define " #define WDB_POOL_SIZE 		( 8*(sysMemTop() -
FREE_RAM_ADRS)/16 ) /* memory pool for host tools */ "
I down the .out successful, but the result of the command ' i ' or '
memShow ' in tornado shell is null. And the result of app with the
debugger is error.

Please help me. Thanks.

  

porting libwww on vxWorks 

Hi all,

I am trying to port libwww - the W3C Protocol Library on vxWorks.
What are the initial steps to be taken and how to proceed.
Could any one help me in this issue.

Thanks in advance.

Regards,
Kishore.

  

how does using C++ templates affect memory usage? 

Hi,
    I am having a problem with large object files.  My problem seems to
come from using templates.  I have several classes that use templates.
I declare pointers to objects of these types, and then "new" them in my
constructor.  I wouldn't expect that to affect my stack usage, but it
is causing my stack usage to grow quite alot.  Also, the resulting
object files are unreasonably large.  A source file that uses some of
these template classes that has 100 SLOC can result in an object file
over 100 kb.  Does anyone have any insight into how the complier is
doing this, and how I can reduce the object size and stack usage?
Thanks.

Ricardo

  

Integrating SNMP MIB into Platform ID 2.1 

Dear all,

I am Monica from Germany. Previuosly we used to use eariler versions of
Platform ID 2.0 from wind river.

In 2.0 we can use a config file in the path

$WIND_BASE/target/wm/wrn/snmp/vxagent/makefile.cfg

in which we can include the names of the MIBs we can inlcude.but in
platform Id 2.1 i couldnot find any such config files. I am missing
something here. Can any body show me a pointer to app note or appriate
manual where I can find this info.

Thanking you,
Monica

  

UGL keypad routines of WindML 

Hi there,
My task is to implement/customised a keypad to new hardware, deriving
from the sample code given by WindML. I've been stranded in reading and
trying to understand a keypad input driver using the UGL of WindML.
Things that stop me from continues are:

1. From the sample code under ../driver/pckbd. I am puzzled on how to
the lower driver routines, open(..), close(..) ioctl(..) respectively
are being used.

   pDevice->inputDevice.fd = open(pDevName, 0, 0);
   close (pDevice->fd);
   ioctl (pDevice->inputDevice.fd, FIOSETOPTIONS, OPT_RAW);

my approach(or rather from the WindML documents) is to modify from
sample code such as the pckpd, which I did. However, I also come across
/VxWorks/kpd which implement, kpdOpen(), kpdClose() and kpdIoctl()
similar to open(), close() and ioctl() respectively. Now I am totally
confused what should use then? Would someone shade some light here,
please!

Thanks in advance

vib