From vxwexplo-errs@csg.lbl.gov  Fri Sep  1 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Fri Sep  1 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Fri Sep  1 04:03:04 PDT 2000

        Subject: what is bootrom.hex?
        Subject: Target Shell
        Subject: Re: Target Shell
        Subject: Status of -fno-implicit-templates compiler flag
        Subject: Re: what is bootrom.hex?
        Subject: Re: Target Shell
        Subject: Re: what is bootrom.hex?
        Subject: Re: Target Shell
        Subject: Re: Target Shell
        Subject: working of functions in bootInit.c?
        Subject: Re: bootrom customization
        Subject: Building for VxSim
        Subject: Re: Building for VxSim
        Subject: Re: VxWorks and dual processors
        Subject: Re: AMD 79C973 driver (BSP Janich Klass ISA p7/103)
        Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
        Subject: Re: VxWorks and dual processors
        Subject: Load Error "Relocation value does not fit in 24 bits"
        Subject: Re: network time protocol
        Subject: Re: working of functions in bootInit.c?
        Subject: BSP Validation Suite Question
        Subject: Re: Load Error "Relocation value does not fit in 24 bits"
        Subject: Re: Target Shell
        Subject: lptDevDelete() ??
        Subject: Re: Vxsim File I/O with NT
        Subject: Macronix LAN chip
        Subject: Re: what is bootrom.hex?

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: what is bootrom.hex?
Date: Thu, 31 Aug 2000 12:40:06 +0000
From: Brian Genisio <briang@orion-sim.com>
Organization: Michigan State University
Message-ID: <39AE5226.696ED2C8@orion-sim.com>

I have figured out that I need to make a bootrom.hex to fix the problem
of a large image file, but then what?  Do I tell the VxWorks boot loader
on the card to download that instead?  Right now, it downloads the file
vxWorks that the build procedure makes.

Thanks,
Brian


---------------------------

Newsgroups: comp.os.vxworks
Subject: Target Shell
Date: Thu, 31 Aug 2000 08:43:57 -0400
From: Somesh Agrawal <somesh_a@hotmail.com>
Organization: 3Com
Message-ID: <39AE530D.8F1841DC@hotmail.com>

Hi all,

(Target:  pentium BSP)
I have included "INCLUDE_SHELL" in my config.h and then build my image.
This way I am getting the shell prompt at the Target, but most of it's
functionality
is not there.I have included some other related macro's also but still
not able
to get it working properly.Any help will be appreciated.

Thanks,
S.A




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Thu, 31 Aug 2000 14:03:53 -0500
From: "Keith McHugh" <joriveek@yahoo.com>
Organization: Esat Net Customer
Message-ID: <39ae5707.0@seat.s3two.ie>
References: <39AE530D.8F1841DC@hotmail.com>
Reply-To: "Keith McHugh" <joriveek@yahoo.com>

Yep, it is happening to me as well. I don't know either! Anyway, your work
should not be hampered. Because Tornado Shell (Target server shell) should
work properly irrespective of the Target shell!
Keep your finger cross for more responses on the board in this regard!


"Somesh Agrawal" <somesh_a@hotmail.com> wrote in message
news:39AE530D.8F1841DC@hotmail.com...
> Hi all,
>
> (Target:  pentium BSP)
> I have included "INCLUDE_SHELL" in my config.h and then build my image.
> This way I am getting the shell prompt at the Target, but most of it's
> functionality
> is not there.I have included some other related macro's also but still
> not able
> to get it working properly.Any help will be appreciated.
>
> Thanks,
> S.A
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Status of -fno-implicit-templates compiler flag
Date: Thu, 31 Aug 2000 14:56:49 +0200
From: Albert Wijnja <Albert.Wijnja@meco.nl>
Organization: MECO Equipment Engineers BV
Message-ID: <39AE5611.CD515100@meco.nl>
Reply-To: Albert.Wijnja@meco.nl

Hello,

We are doing a project where we use ACE/TAO for VxWorks. Until this
morning we had major problems with getting things running. Finally, we
found that the problems were caused by static member variables in
template classes. We solved the problems by setting the compiler flag
"-fno-implicit-templates".
In the TAO documentation and makefiles we also found the following
remark:

...
else
ifeq ($(CPU),PENTIUM)
  BINXSYM_NAME = xsymDec
  CFLAGS += -DCPU=PENTIUM
  TOOLENV = 386
else
ifeq ($(CPU),I80486)
  #### Note: -fno-implicit-templates doesn't seem to work well with g++
  #### cygnus-2.7.2-960126 for pc486 target.  Some member functions
don't
  #### get instantiated.  Wind River knows about this problem (SPR
8483).
  BINXSYM_NAME = xsymDec
  CFLAGS += -DCPU=I80486 -m486
  TOOLENV = 386
else
...

For pc486 there seems to be problems. However, we are compiling for
PENTIUM. Enabling the flag for PENTIUM seems to work.
Does anyone know about the status of this flag for a PENTIUM target?

Albert Wijnja



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: what is bootrom.hex?
Date: Thu, 31 Aug 2000 08:22:25 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39AE5C11.EA1213CC@swri.edu>
References: <39AE5226.696ED2C8@orion-sim.com>

Brian Genisio wrote:

> I have figured out that I need to make a bootrom.hex to fix the problem
> of a large image file, but then what?  Do I tell the VxWorks boot loader
> on the card to download that instead?  Right now, it downloads the file
> vxWorks that the build procedure makes.
>
> Thanks,
> Brian

What you do next sort of depends on which board you are using.  For the
Motorola boards you have to change a jumper and boot from the PPCBug flash
and download the proper bootrom file and then flash the appropriate memory.
On boards from Synergy Microsystems you boot up vxworks, download an
application provided in the BSP and run it.  This application downloads the
code for you and flashes the appropriate memory.  These are the only two
boards that I am familiar with...
You should be able to find the required information in the documentation for
the board you are using.
HTH

- --
Greg Willden      gwillden@swri.edu
Engineer
Southwest Research Institute
Ph:  (210) 522-6241
Fax: (210) 522-2709
www.swri.edu



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Thu, 31 Aug 2000 08:24:54 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39AE5CA6.20246EC5@swri.edu>
References: <39AE530D.8F1841DC@hotmail.com>

Somesh Agrawal wrote:

> Hi all,
>
> (Target:  pentium BSP)
> I have included "INCLUDE_SHELL" in my config.h and then build my image.
> This way I am getting the shell prompt at the Target, but most of it's
> functionality
> is not there.I have included some other related macro's also but still
> not able
> to get it working properly.Any help will be appreciated.
>

Can you be more specific about what doesn't work?  Usually there is an
option in the kernel build that you are lacking before you can use all the
functionality that you want from the Target shell.

- --
Greg Willden      gwillden@swri.edu
Engineer
Southwest Research Institute
Ph:  (210) 522-6241
Fax: (210) 522-2709
www.swri.edu



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: what is bootrom.hex?
Date: Thu, 31 Aug 2000 13:51:50 +0000
From: Brian Genisio <briang@orion-sim.com>
Organization: Michigan State University
Message-ID: <39AE62F6.E5030403@orion-sim.com>
References: <39AE5226.696ED2C8@orion-sim.com> <39AE5C11.EA1213CC@swri.edu>

Ok, so when I make a new boot rom, it includes all my includes from
MACH_EXTRA.  Do I need to do this?  Or should I leave these out and only
compile it on the vxWorks image?

More specifically, an object I have needs to be munched.  So, if I leave it
un-munched, vxWorks build is happy because it munches.  If I leave it munched,
bootrom.hex build is happy since it doesnt munch.  But if the bootrom resides
on the board, and only loads vxWorks from the host, it seems that all the
MACH_EXTRA includes are not needed.

Thanks,
Brian


Greg Willden wrote:

> Brian Genisio wrote:
>
> > I have figured out that I need to make a bootrom.hex to fix the problem
> > of a large image file, but then what?  Do I tell the VxWorks boot loader
> > on the card to download that instead?  Right now, it downloads the file
> > vxWorks that the build procedure makes.
> >
> > Thanks,
> > Brian
>
> What you do next sort of depends on which board you are using.  For the
> Motorola boards you have to change a jumper and boot from the PPCBug flash
> and download the proper bootrom file and then flash the appropriate memory.
> On boards from Synergy Microsystems you boot up vxworks, download an
> application provided in the BSP and run it.  This application downloads the
> code for you and flashes the appropriate memory.  These are the only two
> boards that I am familiar with...
> You should be able to find the required information in the documentation for
> the board you are using.
> HTH
>
> --
> Greg Willden      gwillden@swri.edu
> Engineer
> Southwest Research Institute
> Ph:  (210) 522-6241
> Fax: (210) 522-2709
> www.swri.edu


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Thu, 31 Aug 2000 10:01:12 -0400
From: Somesh Agrawal <somesh_a@hotmail.com>
Organization: 3Com
Message-ID: <39AE6528.84F93BB3@hotmail.com>
References: <39AE530D.8F1841DC@hotmail.com> <39AE5CA6.20246EC5@swri.edu>

In my case even "lkup help" command is not working.

Thanks,
Somesh

Greg Willden wrote:

> Somesh Agrawal wrote:
>
> > Hi all,
> >
> > (Target:  pentium BSP)
> > I have included "INCLUDE_SHELL" in my config.h and then build my image.
> > This way I am getting the shell prompt at the Target, but most of it's
> > functionality
> > is not there.I have included some other related macro's also but still
> > not able
> > to get it working properly.Any help will be appreciated.
> >
>
> Can you be more specific about what doesn't work?  Usually there is an
> option in the kernel build that you are lacking before you can use all the
> functionality that you want from the Target shell.
>
> --
> Greg Willden      gwillden@swri.edu
> Engineer
> Southwest Research Institute
> Ph:  (210) 522-6241
> Fax: (210) 522-2709
> www.swri.edu


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Thu, 31 Aug 2000 09:46:18 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39AE6FBA.20AF54C1@swri.edu>
References: <39AE530D.8F1841DC@hotmail.com> <39AE5CA6.20246EC5@swri.edu> <39AE6528.84F93BB3@hotmail.com>

This is a multi-part message in MIME format.
- --------------C472E8BC1ABAC15D1B4AECA9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Somesh Agrawal wrote:

> In my case even "lkup help" command is not working.
>
> Thanks,
> Somesh
>

It depends on the error message returned but it sounds like maybe you need to
include the symbol table.  Be advised when you include the symbol table on the
host you may need to do symbol table synchronization if you want to switch back
and forth between the Host shell and the Target shell.  Read the documentation
about the symbol table synchronization.


- --------------C472E8BC1ABAC15D1B4AECA9
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------C472E8BC1ABAC15D1B4AECA9--


---------------------------

Newsgroups: comp.os.vxworks
Subject: working of functions in bootInit.c?
Date: Thu, 31 Aug 2000 16:53:02 +0200
From: Matthias Gottwald <Matthias.Gottwald@icn.siemens.de>
Organization: Siemens AG
Message-ID: <39AE714D.70103C5F@icn.siemens.de>

Hi folks,
I am working with Tornado 2 and generate a
compressed Bootrom-Image (Bootstrap-Loader)
by Project facilitiy and adapted Makefile/linker command file/
config.h....
I saw that the functions copyLongs() and fillLongs in bootInit.c
produce a wrong source/destination address.
The Copyloader-Routine is copied to RAM_LOW_ADRS.
After this all not used memory is cleared.
The Bootloader is copied to RAM_HIGH_ADRS.
Are these addresses valid?
I changed this file, so the addresses map to the right pointers.
Can this be made or did I wrong?

Best regards Matthias.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: bootrom customization
Date: Thu, 31 Aug 2000 17:00:53 +0200
From: Matthias Gottwald <Matthias.Gottwald@icn.siemens.de>
Organization: Siemens AG
Message-ID: <39AE7325.3CE8F19B@icn.siemens.de>
References: <8oi8ch$c3o$1@nnrp1.deja.com>

Hi,
I am producing a Bootrom in Tornado2.
You have to change the makefile in the BSP directory,
to give extra defines.
From the Menu: Build->Buil Boot ROM you can choose
your BSP and the build the target.

Best regards Matthias.

egluska@my-deja.com wrote:

> Is there a way to customize vxWorks bootrom using Tornado 2 project
> facility? It seems that the project facility allows generation and
> customization of vxWorks images, but if you want bootrom, you have
> to work in the BSP directory under target/config using the local
> makefile, and customization of vxWorks components within the bootom
> is done in the "old style" makefile INCLUDE statements.
>
> Thanks
>
> Eran Gluska
> PacketLight Networks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Building for VxSim
Date: Thu, 31 Aug 2000 16:12:22 +0100
From: "noSpam" <noSpam@Nospam.com>
Organization: Marconi
Message-ID: <8olsip$oes$1@newsfeed.pit.comms.marconi.com>

Hi,
I am building an application for VxSim and I get the following error:

ccsimpc -nostdlib -r -Wl,-X -Wl,@E:\depot\TornadoSim\MGCSim\prjObjs.lst
E:\depot\TornadoSi
m\H323Sim\SIMNTgnu\MGCH323.o
E:\depot\TornadoSim\IsdnSim\SIMNTgnu\MGCIsdn.o E:\depot\Torna
doSim\MegacoSim\SIMNTgnu\MGCMegaco.o
E:\depot\TornadoSim\TrilliumSim\SIMNTgnu\TrilliumSim.
a -o partialImage.o
\\E\TornadoSim\host\x86-win32\i386-pc-mingw32\bin\ld.exe: partialImage.o:
reloc
overflow:
0x26440 > 0xffff
partialImage.o: final close failed: File truncated
make: *** [MGCSim.out] Error 0x1

Has anyone ever come across a similar problem, and a solution ?

Many thanks in advance,
Mark



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Building for VxSim
Date: Thu, 31 Aug 2000 18:52:44 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <V_wr5.2473$Vc.2238177@newsr2.u-net.net>
References: <8olsip$oes$1@newsfeed.pit.comms.marconi.com>

>Hi,
>I am building an application for VxSim and I get the following error:
>
>ccsimpc -nostdlib -r -Wl,-X -Wl,@E:\depot\TornadoSim\MGCSim\prjObjs.lst
>E:\depot\TornadoSi
>m\H323Sim\SIMNTgnu\MGCH323.o
>E:\depot\TornadoSim\IsdnSim\SIMNTgnu\MGCIsdn.o E:\depot\Torna
>doSim\MegacoSim\SIMNTgnu\MGCMegaco.o
>E:\depot\TornadoSim\TrilliumSim\SIMNTgnu\TrilliumSim.
>a -o partialImage.o
>\\E\TornadoSim\host\x86-win32\i386-pc-mingw32\bin\ld.exe: partialImage.o:
>reloc
>overflow:
>0x26440 > 0xffff
>partialImage.o: final close failed: File truncated
>make: *** [MGCSim.out] Error 0x1
>
>Has anyone ever come across a similar problem, and a solution ?

  Quick! This is a job for -mlongcall!

           DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks and dual processors
Date: Thu, 31 Aug 2000 13:16:49 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39AEA111.938839B4@aps.anl.gov>
References: <s8pr5.234534$8u4.2384699@news1.rdc1.bc.home.com>

Den wrote:
> 
> 1.  Does VxWorks support dual processors?  Do any other embedded OS's
> support dual or multiple processors?

Yes and no.  I'm not aware of any RTOS that supports true Symmetric
Multi-Processing in the way that Linux and Solaris do, but there is an
extra-cost option called VxMP that makes it easier to write software
asymmetric multi-processor systems.  This is really aimed at bus-based
architectures where each CPU has its own local RAM and ROM and access to
an area of RAM which is shared.  VxMP adds the ability to create shared
semaphores and message queues  and allocate RAM from that shared memory
space for use by any CPU that can access it directly.

There are also vxWorks Board Support Packages for some dual-CPU processor
boards which pass I/O operations off to the second CPU to perform, but I
don't think they could allow you to run normal vxWorks program code on the
other CPU.

> 2.  Will a future version of VxWorks support 64-bit processors?  Such as the
> new Intel Itanium chip?

That's a question for a WRS sales rep I suspect.

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: AMD 79C973 driver (BSP Janich Klass ISA p7/103)
Date: Thu, 31 Aug 2000 19:26:17 GMT
From: steve_ross@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8ombfu$83e$1@nnrp1.deja.com>
References: <8muhpo$o3h$1@nnrp1.deja.com> <8mv1ea$56p$1@nnrp1.deja.com>

In article <8mv1ea$56p$1@nnrp1.deja.com>,
  Rick Pierpont <w_rick_pierpont@ms.bd.com> wrote:
> Juno,
>
> Since that chipset isn't directly supported by the GUI project
facility
> (without a custom configlette) you need to make this modification in
> your BSPs config.h file.
>
> 1) Exclude any END drivers in the project facility.
> 2) By default INCLUDE_FEI is defined in config.h.  You need to #undef
> that line and #define INCLUDE_LN_97X_END instead.
>
> Now when you build your bootrom image and your VxWorks you will have
> network support for that chipset.
>
> This is exactly the steps I had to take in order to use the same
> chipset on my Pentium-based Jumptech/Adastra VNS-786 board.
>
> Hope this helps,
>
I made these modifcation and now when I build vxworks I get an error
message:

Pentiumpro\sysLib.c:670: undefined reference to `sysLan97xPciInit'

This function lives in the file sysNetif.c. I've tried adding this to my
projects workspace files, but this results in more errors when I try and
build. What am I doing wrong?

Regards, Steve Ross


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
Date: Thu, 31 Aug 2000 20:24:38 GMT
From: karuottu@freenet.hut.fi (Kai Ruottu)
Organization: Telia Finland Customer News Service
Message-ID: <39aebeee.6716227@news.yhteys.mtv3.fi>
References: <39AD6E21.FF4571D7@campio.com>
Reply-To: karuottu@freenet.hut.fi

On Wed, 30 Aug 2000 16:27:13 -0400, Vincent Hamrick
<hamrick@campio.com> wrote:

>I am trying to build a cross-compiler for powerpc-wrs-vxworks using
>gcc-2.95.2 in Linux and am having problems.  I am getting the following
>error while building the libiberty stuff.
>
>/usr/local/wind/gcc-2.95.2/gcc/xgcc -B/usr/local/wind/gcc-2.95.2/gcc/
>-B/usr/local/wind/powerpc-wrs-vxworks/bin/ -c -DHAVE_CONFIG_H -g -O2 -I.
>-I./../../include  choose-temp.c
>In file included from
>/usr/local/wind/gcc-2.95.2/gcc/include/types/vxANSI.h:45,
>                 from /usr/local/wind/gcc-2.95.2/gcc/include/stdio.h:59,
>                 from choose-temp.c:29:

 It seems that the build tried to fix the VxWorks headers and copied
the fixed ones to the build directories... Weird indeed, I built for
both Linux and Win32 hosts and for the same 'powerpc-wrs-vxworks'
target today and no 'fixincludes' was run in either case... Perhaps I
have some fix installed for this in my gcc-2.95.2 sources.

>choose-temp.c:38: sys/file.h: No such file or directory
>make[2]: *** [choose-temp.o] Error 1
>
>Now, I pulled the include files from my Win NT partition
>(Tornado\target\h) and there is no sys/file.h (or sys/param.h for that
>matter).  I'm curious whether these exist on the Sun platform, and this
>is my problem.
>
>Any hints to what the problem is?  I remember seeing somewhere that this
>should work.  Any help would be greatly appreciated.

 How 'standard' was your build method, what did you put into the
'configure' command? And what you did before running it?

 The expected 'standard' behaviour is:

 1. build binutils, configuring with:
      --prefix=$prefix --target=powerpc-wrs-vxworks
    and having them installed into
      $prefix/powerpc-wrs-vxworks/bin (and .../lib/ldscripts)
    and
      $prefix/bin     (with the name prefix 'powerpc-wrs-vxworks-')
    after running 'make install'

 2. preinstall the VxWorks headers into
      $prefix/powerpc-wrs-vxworks/include

 3. build GCC, configuring with:
      --prefix=$prefix --target=powerpc-wrs-vxworks

The $prefix is the chosen install prefix, '/usr/local/wind' seems to
be your choice...

All kind of 'perverse' behaviour, like using the '--with-headers=...'
to point to the headers to be 'fixed', may cause troubles. Some people
have learned this to be useful for some cases and now suggest using it
everywhere, but it isn't really suggested in the 'gcc/INSTALL' or in
the GCC manual ("Installation / Cross-Compiler"). Installing the
target headers to somewhere else than suggested in the instructions,
and then using the '--with-headers' to repair the mistake, isn't very
good practice...

Another weird thing would be to take the Cygnus newlib sources and
install them to the same directory structure with 'gcc', 'libiberty'
etc., thinking that they must be used somehow (because the CrossGCC
FAQ says so...). For VxWorks there isn't any use for newlib...

It seems that your 'configure' now FINDS the 'sys/file.h' somewhere
for some reason and thinks it belonging into your 'standard target
headers'...

Cheers, Kai


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks and dual processors
Date: Thu, 31 Aug 2000 16:31:31 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39AECEB3.619BB415@swri.edu>
References: <s8pr5.234534$8u4.2384699@news1.rdc1.bc.home.com> <39AEA111.938839B4@aps.anl.gov>

This is a multi-part message in MIME format.
- --------------F5BC3EACAFD8D6F08E9AB908
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andrew Johnson wrote:

> There are also vxWorks Board Support Packages for some dual-CPU processor
> boards which pass I/O operations off to the second CPU to perform, but I
> don't think they could allow you to run normal vxWorks program code on the
> other CPU.

Well actually I have a dual processor PPC board from Synergy Microsystems on which
each processor has its own VxWorks kernel.  Each processor is running essentially
identical code.  They share data through dual-ported ram set up as shared memory
just the same way two boards would except the bus cycles are on board.  (i.e.
sharing data doesn't use the VME bus)

- --------------F5BC3EACAFD8D6F08E9AB908
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------F5BC3EACAFD8D6F08E9AB908--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Load Error "Relocation value does not fit in 24 bits"
Date: Thu, 31 Aug 2000 23:19:30 GMT
From: "Lou Kale" <Lou.Kale@kenetec.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net>

I get an error "Relocation value does not fit in 24 bits" when I try to load
an application by typing
"ld<Application.out" on the console.

I'm using a PPC 604  with vxWorks 5.4 and Tornado 2.

Loads done from Tornado 2 using a target server work ok.

Does anyone know what the problem is?


Regards,
- --
Lou Kale
KeNETec Inc.
115 Hurley Road
Building 1B
Oxford, CT 06478
Tel (203)-264-1888 x130
Fax (203)-264-6724
lou.kale@kenetec.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: network time protocol
Date: Thu, 31 Aug 2000 08:51:24 -0400
From: "Bryan D. Lee" <bryan.d.lee@lmco.com>
Organization: Sanders-A Lockheed Martin Company
Message-ID: <39AE54CC.14048F77@lmco.com>
References: <4Ahr5.207632$Gh.4061788@news20.bellglobal.com>

As Joachim points out, a basic NTP client is built into Tornado II. 
There's an earlier thread that covers this.  deja.com should pick it
out.  It will set the time of the onboard clock once and only once. 
There is no clock discplining.

I've been working on a port of the NTP v4 for vxWorks (should be
version independant) and I can give you pointers if you'd like.  If
you want to use NTP v3, I think a stable port already exists.  Email
me directly.

Bryan

Dragan Ostojic wrote:
> 
> Hi,
> 
> I need information regarding the use of network time protocol (NTP). Is it
> available for VxWorks and is it feasible using NTP to synchronize the
> timeofday clock on the target board?
> 
> Regards,
> Dragan.

- -- 
Bryan D. Lee                             Phone: 603/885-7025
Software Engineer & ELDP                 Fax  : 603/885-3016
Sanders-A Lockheed Martin Company        Pager: 603/423-5565
PO Box 868, PTP1-2361, Nashua, NH 03061  Email: bryan.d.lee@lmco.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: working of functions in bootInit.c?
Date: Fri, 01 Sep 2000 00:12:57 GMT
From: fywang@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8oms9r$shd$1@nnrp1.deja.com>
References: <39AE714D.70103C5F@icn.siemens.de>

Hi Matthias,

Note: you cannot set RAM_HIGH_ADRS to LOCAL_MEM_SIZE

I am using a BSP based on mbx860/ads860 BSP.
Here is the configuration for my BSP:

#define LOCAL_MEM_LOCAL_ADRS	0x00000000	/* Base of RAM */
#define LOCAL_MEM_SIZE		0x02000000	/* 32 Mbyte */
#define ROM_BASE_ADRS		0xFE000000	/* base address of ROM
*/
#define ROM_TEXT_ADRS		(ROM_BASE_ADRS + 0x100)
#define ROM_SIZE		0x00080000 	/* 512K ROM space */
/* RAM address for ROM boot */
#define RAM_HIGH_ADRS		(LOCAL_MEM_LOCAL_ADRS + 0x01C80000)
/* RAM address for sys image */
#define RAM_LOW_ADRS		(LOCAL_MEM_LOCAL_ADRS + 0x00010000)

Wish this help,
Tom Wang

In article <39AE714D.70103C5F@icn.siemens.de>,
  Matthias Gottwald <Matthias.Gottwald@icn.siemens.de> wrote:
> Hi folks,
> I am working with Tornado 2 and generate a
> compressed Bootrom-Image (Bootstrap-Loader)
> by Project facilitiy and adapted Makefile/linker command file/
> config.h....
> I saw that the functions copyLongs() and fillLongs in bootInit.c
> produce a wrong source/destination address.
> The Copyloader-Routine is copied to RAM_LOW_ADRS.
> After this all not used memory is cleared.
> The Bootloader is copied to RAM_HIGH_ADRS.
> Are these addresses valid?
> I changed this file, so the addresses map to the right pointers.
> Can this be made or did I wrong?
>
> Best regards Matthias.



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: BSP Validation Suite Question
Date: Fri, 01 Sep 2000 00:28:13 GMT
From: gregmg@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8omt6a$th7$1@nnrp1.deja.com>






I'm trying to run the VxWorks BSP Validation Suite (part of the BSP
developer's toolkit) on a Motorola MCP750 CPU. No matter what I try,
the timestamp test is always skipped. pkLib *is* getting recompiled and
the target does have timestamp support.  What am I missing? Any ideas?

Thanks,

Greg G.

timeStamp :
WARNING: There is no timestamp support on the target or pkLib.o is not
re-compiled after adding timestamp support
enable the timestamp timer                                   : SKIP
sysTimestamp() long-term test                                : SKIP
sysTimestampLock() long-term test                            : SKIP
disable the timestamp timer                                  : SKIP
re-enable after disable                                      : SKIP








Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Load Error "Relocation value does not fit in 24 bits"
Date: Fri, 01 Sep 2000 03:07:54 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8on6hv$81e$1@nnrp1.deja.com>
References: <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net>

Hi,

You have configured your board for more than 32Mb of memory (which is
the maximum range of a relative branch on PPC). Due to differences in
where the host loader and the target loader store the sections that are
downloaded you can find that the target loader will place your code too
far away for it to be able to make kernel calls.

The history for all of this comes from the PPC EABI which specifies that
function calls will be made using relative branches. VxWorks complies,
which causes this kind of problem on boards with more memory :(

There are some solutions to this though:

1) Compile your code with -mlongcall (which will cause the compiler to
use 32 bit branches, so your code will be bigger and each branch a
little slower).

2) Configure your board for 32Mb initially, then use memAddToPool to add
in the extra memory.

3) Link your application with the kernel image and boot it in one piece.

For a little more information you might want to check these links out
(you'll need a WindSurf account to access them):

http://www.wrs.com/cgi-bin/csdocs/summaries/dispFAQ.cgi?104884.14
http://www.wrs.com/cgi-bin/csdocs/summaries/dispFAQ.cgi?122479.5

Hope that helps,

John...
In article <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net>,
  "Lou Kale" <Lou.Kale@kenetec.com> wrote:
> I get an error "Relocation value does not fit in 24 bits" when I try
to load
> an application by typing
> "ld<Application.out" on the console.
>
> I'm using a PPC 604  with vxWorks 5.4 and Tornado 2.
>
> Loads done from Tornado 2 using a target server work ok.
>
> Does anyone know what the problem is?
>
> Regards,
> --
> Lou Kale
> KeNETec Inc.
> 115 Hurley Road
> Building 1B
> Oxford, CT 06478
> Tel (203)-264-1888 x130
> Fax (203)-264-6724
> lou.kale@kenetec.com
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Fri, 01 Sep 2000 03:44:29 GMT
From: "Dragan Ostojic" <ostojic@sympatico.ca>
Organization: Sympatico
Message-ID: <xCFr5.1785$PL.123768@news20.bellglobal.com>
References: <39AE530D.8F1841DC@hotmail.com> <39ae5707.0@seat.s3two.ie>

Try to build the project using the tool in Tornado2 based on your BSP. Then
configure VxWorks using the GUI tool so that it includes everything from the
"target shell components" except "target shell script". Save the project, go
to the directory where your .wpj file is generated and run wtxtcl
%WIND_BASE%\host\src\hutils\configGen.tcl name.wpj. Then open prjParams.h
file. Look into the #define INCLUDE_... options there. Compare these options
with those that you have in your config.h file and I think you'll find what
you're missing.

Regards,
Dragan.

"Keith McHugh" <joriveek@yahoo.com> wrote in message
news:39ae5707.0@seat.s3two.ie...
> Yep, it is happening to me as well. I don't know either! Anyway, your work
> should not be hampered. Because Tornado Shell (Target server shell) should
> work properly irrespective of the Target shell!
> Keep your finger cross for more responses on the board in this regard!
>
>
> "Somesh Agrawal" <somesh_a@hotmail.com> wrote in message
> news:39AE530D.8F1841DC@hotmail.com...
> > Hi all,
> >
> > (Target:  pentium BSP)
> > I have included "INCLUDE_SHELL" in my config.h and then build my image.
> > This way I am getting the shell prompt at the Target, but most of it's
> > functionality
> > is not there.I have included some other related macro's also but still
> > not able
> > to get it working properly.Any help will be appreciated.
> >
> > Thanks,
> > S.A
> >
> >
> >
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: lptDevDelete() ??
Date: Fri, 1 Sep 2000 10:47:36 +0200
From: "zbody" <darkoz@hermes.si>
Organization: Slovenija OnLine - SiOL
Message-ID: <w2Kr5.172$uI6.1250@news.siol.net>

Hi!

Does somebody know how to delete LPT device because as far as I can see
there is no some kind of lptDevDelete() function. So if I need to delete LPT
device (and I actually have to do this) how can I do this?

Thanks!

zbody



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Vxsim File I/O with NT
Date: Fri, 01 Sep 2000 09:20:28 GMT
From: hruesing@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8onsce$7c$1@nnrp1.deja.com>
References: <8o6kgi$fvu$1@nnrp1.deja.com>

In article <8o6kgi$fvu$1@nnrp1.deja.com>,
  jim.themis@genband.com wrote:

According to WSR there is at the moment only a workaround available
using the target server file system:

>  IDE: Tornado 2.0
>  Component: tornado-vxsim
>  RTOS: VxWorks Version: 5.4
>  Product Name: Tornado Release#: 2.0 Release Status: FCS
>  Products Affected: Tornado
>  Host: Intel x86/Pentium HostOs:  HostOSRev: 4.0 sp3
>  Arch Family: SIM NT Arch CPU: SIM NT BSP:  Ver:
>
>  DESCRIPTION
>
>  The NT passFs device "host:" created by defining INCLUDE_NTPASSFS
>  in the SIM NT configuration, is inaccessible from both windsh and
> target
>  shell.
>
>  WORKAROUND
>
>  The target server file system can be set up so that the target can
>  access the NT host file system. Select "Target Server File System"
>  in the "Target Server Properties" window of the target server
>  configurtion tool. Specify a Windows host file system. After
launching
>  the target server, this file system can be accessed through the
>  device "/tgtsvr" on the target either directly from the shell or
>  programatically.
>



> I reviewed the archives but I could find anyone with a similar
problem.
> I am running VxSim on an NT box.  I am trying to do file I/O via
fopen,
> fclose, fputs, etc.  I am able to read files, but I am unable to
create
> and write files.  I have tried adding "host:" to the beginning of my
> path.  I have enabled tsfs with r/w.  I get no error when I perform
> an fopen.  However, when I execute an fputs(), I get the following
> error:
> ntPassFsLib: unknown ioctl = 0x14
>
> I looked at errno and the value showed Unknown Request.
>
> Can anybody explain their set-up for reading and WRITE files under
> VxSim.
>
> Thanks,
> Jim Themis
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Macronix LAN chip
Date: Fri, 1 Sep 2000 11:38:22 +0200
From: "Bertram Tenner" <Bertram@rink-tenner.de>
Organization: Customer of UUNET Deutschland GmbH
Message-ID: <39af7948$0$14980@businessnews.de.uu.net>

Hello,
I have a Macronix MX98725 LAN chip on a slot CPU in an Industrial x86 PC.
Does anyone know which vxWorks network driver is compatible with this chip ?

Thanks in advance
                              Bertram



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: what is bootrom.hex?
Date: Fri, 01 Sep 2000 06:30:10 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39AFAF62.6EF395D9@lmco.com>
References: <39AE5226.696ED2C8@orion-sim.com>

	You download it to the PROM on your target with a PROM burner, since it
takes the place of the boot loader you have now.  In almost every case
you have
to take the PROM out and load it with a sep machine, bu that may not be
the case
with your system.  Personally, I would get a blank PROM and use that, so
that in 
case of mistakes, the original is still intact.

Speaking only for myself,

Joe Durusau


Brian Genisio wrote:
> 
> I have figured out that I need to make a bootrom.hex to fix the problem
> of a large image file, but then what?  Do I tell the VxWorks boot loader
> on the card to download that instead?  Right now, it downloads the file
> vxWorks that the build procedure makes.
> 
> Thanks,
> Brian

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Fri Sep  1 06:12:02 2000
From: "Michael Lawnick" <lawnick@softec.de>
Date: Fri Sep  1 06:12:04 PDT 2000
Subject: (Fwd) TFFS on MV260x

I wrote:
>Hi folks,
>
>has anybody already integrated TFFS to on board flash of a MV230x, 
>MV240x, MV260x or MV270x ?
>Could you share your code changes or help me to get on the road ?
>I think vxWorks documentation is as simple as usually.

Nobody answered :-((

Is there really nobody who has done this job ?
Has anybody succeeded in integrating any other non-standard flash ?

Regards,

MfG
Lawnick, SOFTEC GmbH

==============================================
SOFTEC GmbH               Tel +49-731-96600-0
Promenade 17              Fax +49-731-96600-23
D-89073 Ulm               Michael Lawnick
Germany                   lawnick@softec.de
==============================================



From vxwexplo-errs@csg.lbl.gov  Fri Sep  1 07:51:36 2000
From: "Patrick T. Pinkowski" <ptp@mclean.sparta.com>
Date: Fri Sep  1 07:51:39 PDT 2000
Subject: Software support for the BajaSpan and VxWorks 5.4

I have an Artesyn Bajaspan T1 Quad 860 processor board running VxWorks
5.4.

I am attempting to configure the board to a single unframed T1 HDLC
stream.

Does anyone have  software to configure the BajaSpan board to route the
unframed T1 stream through the SCT (Dallas DS2152, Enhanced T1
Single-Chip Transceiver), through the TSI (Lucent T8105),  to the 860's
TDMa, and to an SCC port on the 860?

Any assistance would be greatly appreciated.

Thanks in advance,
Pat

--
--------------------------------------------------
      /\   Patrick T. Pinkowski, Senior Engineer
     /##\        ptp@mclean.sparta.com
    /####\         703.448.1683 x228
   /####/--
  /####/----    SPARTA, Inc.
 -\####\__---   7926 Jones Branch Drive, Suite 900
---\##\  /----  McLean, Virginia  22102
----\##\/\----  (703)448-0210 (Main)
 ----\####\--   (703)893-5494 (Facsimile)
  ----\####/    http://www.mclean.sparta.com
   ---/###/
    -/###/ SPARTA
     \##/  ~~~~~~
      \/   Pride In Performance




From vxwexplo-errs@csg.lbl.gov  Sat Sep  2 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sat Sep  2 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sat Sep  2 04:03:04 PDT 2000

        Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
        Subject: How the target Shell handles the console device driver ?
        Subject: Re: Adventnet SNMP agent for vxworks
        Subject: Re: Target Shell
        Subject: (Fwd) TFFS on MV260x
        Subject: Re: Target Shell
        Subject: [Q] how to use "ioDefPathSet"?
        Subject: Re: Creating a Project in T2 question
        Subject: Software support for the BajaSpan and VxWorks 5.4
        Subject: Targetting COM ports 3 and 4 - need help
        Subject: US-NH: Portsmouth - Firmware Designers
        Subject: romStart Question: can I store stuff in USR_RESERVED_MEM
        Subject: romStart Question: can I store stuff in USR_RESERVED_MEM
        Subject: Problems with PCI ISR
        Subject: CrossWind Debugger Source Directories problem ...
        Subject: Need a few good VxWorks engineers in beautiful Santa Barbara !
        Subject: Re: Green Hills Software
        Subject: Problems with WindView under Windows 2000.
        Subject: Re: Load Error "Relocation value does not fit in 24 bits"
        Subject: Re: How to work with PCI ?
        Subject: Re: Load Error "Relocation value does not fit in 24 bits"

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
Date: Fri, 1 Sep 2000 12:40:18 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <PDMr5.2499$Vc.2275929@newsr2.u-net.net>
References: <39AD6E21.FF4571D7@campio.com> <39aebeee.6716227@news.yhteys.mtv3.fi>

Kai Ruottu wrote in message <39aebeee.6716227@news.yhteys.mtv3.fi>...
>
> 2. preinstall the VxWorks headers into
>      $prefix/powerpc-wrs-vxworks/include

You mean $prefix/powerpc-wrs-vxworks/sys-include. If the headers
are there (which is where --with-headers copies them to at configure
time) then they will be properly fixed. OTOH it doesn't really matter;
I believe the gcc compiler, once built, will be fine with the old include
files supplied by WRS; the only ones that need updating with the
fixed versions are stdarg.h, vararg.h and va-ppc.h, since the varargs
handling has changed substantially.

Another point worth mentioning in reply to the original poster is that
you don't need to worry about building all of the directories in the gcc
source tree. After the first 'make all' gets as far as it can go, just chdir
into the gcc-2.95.2/gcc subdir and do 'make all install' from that dir.

There's been a lot of issues with the powerpc-wrs-vxworks target,
but with some help from a guy called Rob Targosz I've more or less
managed to get it working. I've figured out patches to a) enable the
- -mlongcall option and b) prevent all those complaints about redefining
big/little endian, and as soon as I've given it a couple of days testing
and tidying up I will post a FAQ and patches here and perhaps a
couple of other places as well.


                DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: How the target Shell handles the console device driver ?
Date: Fri, 01 Sep 2000 11:48:38 GMT
From: "JiHye, Sohn" <jhsohn308@yahoo.co.kr>
Organization: Dacom
Message-ID: <qIMr5.5636$jM4.28353@news2.bora.net>

Hello
I'd like to know how the VxWorks target shell handles the console I/O.

When a user try to communicate the target using RS-232C serial port or
telent,
he can get the shell prompt(->) in telnet terminal or serial comm. S/W like
hyterterminal.
I'm trying to develop my own monitor program like this scheme.

First, I tried to create a file to control the ethernet device driver like
the consoleFd.
(- the File Descriptor to control the RS-232C serial port), but failed.
I don't know how can I receive the monitoring request  and send the response
data
by ethernet device driver or RS-232C serial port respectively.

If you have any diffferent idea to implement this function, please let me
know.
Thanks for your help.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Adventnet SNMP agent for vxworks
Date: Fri, 01 Sep 2000 11:49:03 GMT
From: mathi@india.adventnet.com
Organization: Deja.com - Before you buy.
Message-ID: <8oo539$9hl$1@nnrp1.deja.com>
References: <3999AE69.AF526782@yahoo.com> <8nemkb$cl5$1@nnrp1.deja.com> <399D42CC.23F50FAF@yahoo.com> <8nrfls$fti$1@nnrp1.deja.com> <8o1lub$otq$1@nnrp1.deja.com>

Hi,

Please find my answers below:

In article <8o1lub$otq$1@nnrp1.deja.com>,
  pintu_12@my-deja.com wrote:
>
>
>  Hi,
>
>    Apparently the advent net SNMP agent currently provides support
>  only for SNMP group counters, support for the Mib-2 variables would
>  be provided later.

We support Mib-2 in our future release

>
>   Also could any one of you let me know as to whether the Advent
>  Net SNMP agent would be compatible with TCP/IP stack of VxWorks
>  (as I am not very sure whether there SNMP agent could be integerated
>  with the VxWorks TCP/IP stack)

Yes AdventNet SNMP agent can be integrated with VxWorks TCP/IP stack.

For your information, we are doing 4.2 release second week of this month
that will have more examples, tutorials, documents, etc.

Thanks,
Mathi.
>
>   Randy, which SNMP agent of VxWorks did you try using - Envoy 8.0
>  (better known as WindNet SNMP) or Envoy 9.1 ? An alternative to
>  Envoy could be the emanate SNMP agent. You have said that the
>  documentation for the wind river SNMP agent was good - which SNMP
>  agent are you reffering to - the Envoy 8.0 or the Envoy 9.1. I am
>  trying to use Envoy 9.1 and I am not finding the documentation to be
>  sufficient. In case you feel that the documentation for Envoy 8.0 is
>  good please let me know,
>
>  Regards,
>  Piyush
>
> In article <8nrfls$fti$1@nnrp1.deja.com>,
>   randyj5573@my-deja.com wrote:
> > My experiences with Wind River's SNMP agent has been extreemly
> > frustrating. I have found that WRS tech support in other area's of
> > Vxworks to be pretty good but their tech support for their SNMP
agent
> > to be almost non-existant. It seems that WRS's general tech suport
has
> > almost no experience with SNMP. They purchased their current agent
> from
> > a third party. WRS has since purchased the company that wrote their
> > agent but there has yet to be any transfer of knowledge out to the
> tech
> > support people. WRS has fairly good general documentation about
their
> > SNMP agent but when it came time to write some code, I came up with
> > questions on how some of their functions worked, what some of their
> > internal structures looked like and questions about undocumented
> > functions and macros that their mib compiler would use its generated
> > code. I quickly came to the limit of what help their tech support
> could
> > provide and found myself teaching them so that maybe they could
> > research a question to provide an answer. One question on traps took
> > over three weeks to get an answer. The one thing that helped me was
> > finding some programming examples on their web site. I was able to
> > compile them and then step through them in order to figure out how
> they
> > work.
> >
> > Well enough venting. This was my 1st time at trying to extend an
SNMP
> > agent so I have no experience with other tool vendors to compare to.
> >
> > Regards,
> > Randy Jones
> >
> > In article <399D42CC.23F50FAF@yahoo.com>,
> >   Bhavesh Patel <bhavep@yahoo.com> wrote:
> > > we plan to use both jmx agent and snmp embedded C agent, this is
the
> > reason
> > > the architects here choose adventnet snmp toolkit. How are your
> > experiences
> > > with wind river's snmp agent?
> > > Thanks for your response.
> > >
> > > bhavesh
> > > randyj5573@my-deja.com wrote:
> > >
> > > > Why don't you use Wind River's SNMP agent?
> > > >
> > > > Randy Jones
> > > >
> > > > In article <3999AE69.AF526782@yahoo.com>,
> > > >   Bhavesh Patel <bhavep@yahoo.com> wrote:
> > > > > Hi,
> > > > >
> > > > > Has anybody used adventnet embedded/C snmp agent for vxworks
> > > > platform? I
> > > > > would like to know their experiences.  Adventnet website does
> not
> > have
> > > > > example/demo for vxworks platform.
> > > > >
> > > > > Thanks for any help.
> > > > >
> > > > > Bhavesh Patel
> > > > >
> > > > >
> > > >
> > > > Sent via Deja.com http://www.deja.com/
> > > > Before you buy.
> > >
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: 31 Aug 2000 15:56:14 GMT
From: litwin@izzy.jpl.nasa.gov (Todd Litwin)
Organization: jpl.nasa.gov
Message-ID: <8olv6u$cd3$1@nntp1.jpl.nasa.gov>
References: <39AE530D.8F1841DC@hotmail.com> <39AE5CA6.20246EC5@swri.edu> <39AE6528.84F93BB3@hotmail.com> <39AE6FBA.20AF54C1@swri.edu>

Try

	#define INCLUDE_CONFIGURATION_5_2 /* pre-tornado tools */

This should get you the target shell and all the pre-Tornado commands that you
know and love.

- -- 
		Todd Litwin
		Jet Propulsion Laboratory
		(818) 354-5028
		Todd.E.Litwin@jpl.nasa.gov

---------------------------

Newsgroups: comp.os.vxworks
Subject: (Fwd) TFFS on MV260x
Date: Fri, 1 Sep 2000 14:49:16 +0200
From: "Michael Lawnick" <lawnick@softec.de>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009011248.OAA30424@net.softec.de>

I wrote:
>Hi folks,
>
>has anybody already integrated TFFS to on board flash of a MV230x, 
>MV240x, MV260x or MV270x ?
>Could you share your code changes or help me to get on the road ?
>I think vxWorks documentation is as simple as usually.

Nobody answered :-((

Is there really nobody who has done this job ?
Has anybody succeeded in integrating any other non-standard flash ?

Regards,

MfG
Lawnick, SOFTEC GmbH

==============================================
SOFTEC GmbH               Tel +49-731-96600-0
Promenade 17              Fax +49-731-96600-23
D-89073 Ulm               Michael Lawnick
Germany                   lawnick@softec.de
==============================================


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Target Shell
Date: Fri, 01 Sep 2000 09:15:21 -0400
From: Somesh Agrawal <somesh_a@hotmail.com>
Organization: 3Com
Message-ID: <39AFABE9.6788B068@hotmail.com>
References: <39AE530D.8F1841DC@hotmail.com> <39AE5CA6.20246EC5@swri.edu> <39AE6528.84F93BB3@hotmail.com> <39AE6FBA.20AF54C1@swri.edu> <8olv6u$cd3$1@nntp1.jpl.nasa.gov>

Thanks, for your help.
Now everything is working fine.

Thanks,
S.A

Todd Litwin wrote:

> Try
>
>         #define INCLUDE_CONFIGURATION_5_2 /* pre-tornado tools */
>
> This should get you the target shell and all the pre-Tornado commands that you
> know and love.
>
> --
>                 Todd Litwin
>                 Jet Propulsion Laboratory
>                 (818) 354-5028
>                 Todd.E.Litwin@jpl.nasa.gov


---------------------------

Newsgroups: comp.os.vxworks
Subject: [Q] how to use "ioDefPathSet"?
Date: Fri, 1 Sep 2000 10:17:51 -0400
From: "Okehee Goh" <ogoh@cise.ufl.edu>
Organization: UF Department of Computer & Information Science & Engineering
Message-ID: <8oodt0$n9e$1@thunder.cise.ufl.edu>


Hello,

I'm trying to run ChaiVM(HP's Java Virtual Machine) on motorola MBX860
running VxWorks5.3.1
It failed to run it. The following steps are what I did.

- -> ld 0,0,"slimrt_vxw.o"                                       // load JVM
value = 15336504 = 0xea0438
// set IO path to my machine oriole's path
- -> ioDefPathSet("oriole:e:/jvmem/chaijvmvx/vxmbx860")
value = -1 = 0xffffffff
- -> putenv("CLASSPATH=.")                                         //
value = -1 = 0xffffffff
- -> putenv("JAVART_MEMORY_SIZE=800000")
value = 0 = 0x0
- -> vx_main "Test"
//run main point
value = -1 = 0xffffffff

I don't know what is wrong with the setting of "ioDefPathSet".
Could you tell me how to use this subroutine?
Is there anybody who have done a porting a ChaiVM on VxWorks?
If so, any kind of advice or comment will be great help to me.
Thank you so much.

 ********************************************************************
 Okehee Goh        ogoh@cise.ufl.edu   http://www.cise.ufl.edu/~ogoh
 RealTime System Lab.  (T) 1-352-392-6875
 CISE Dept.  University Of Florida






---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Creating a Project in T2 question
Date: 1 Sep 2000 15:05:09 GMT
From: johan@borksoft.xs4all.nl
Organization: Borksoft
Message-ID: <8oogj5$1s1$1@news1.xs4all.nl>
References: <IV8r5.27$kl4.105@client>

Mike Kordik <kordikmj@betalasermike.com> wrote:
: I have an existing project layout on my hard drive. I am trying to convert
: this to a project in T2. I added all the source files from the various
: directories to the project. I also had T2 generate the external dependency
: list. Because the header files are in a different directory the dependency
: scan knows they exist but does not know where to find them. When the
: makefile is generated the correct dependencies are there but make does not
: know how to find them. How do I get T2 to find these files and include the
: path to the header files in the makefile?

Have a look at my website. You have to set the VPATH macro to the right
value. Also have a look at the project-part of the website, as this
describes the possibilty of using several sub-projects.

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: Software support for the BajaSpan and VxWorks 5.4
Date: Fri, 01 Sep 2000 10:36:32 -0400
From: "Patrick T. Pinkowski" <ptp@mclean.sparta.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ooh59$5bg$1@overload.lbl.gov>

I have an Artesyn Bajaspan T1 Quad 860 processor board running VxWorks
5.4.

I am attempting to configure the board to a single unframed T1 HDLC
stream.

Does anyone have  software to configure the BajaSpan board to route the
unframed T1 stream through the SCT (Dallas DS2152, Enhanced T1
Single-Chip Transceiver), through the TSI (Lucent T8105),  to the 860's
TDMa, and to an SCC port on the 860?

Any assistance would be greatly appreciated.

Thanks in advance,
Pat

- --
- --------------------------------------------------
      /\   Patrick T. Pinkowski, Senior Engineer
     /##\        ptp@mclean.sparta.com
    /####\         703.448.1683 x228
   /####/--
  /####/----    SPARTA, Inc.
 -\####\__---   7926 Jones Branch Drive, Suite 900
- ---\##\  /----  McLean, Virginia  22102
- ----\##\/\----  (703)448-0210 (Main)
 ----\####\--   (703)893-5494 (Facsimile)
  ----\####/    http://www.mclean.sparta.com
   ---/###/
    -/###/ SPARTA
     \##/  ~~~~~~
      \/   Pride In Performance



---------------------------

Newsgroups: comp.os.vxworks
Subject: Targetting COM ports 3 and 4 - need help
Date: Fri, 1 Sep 2000 17:40:21 +0100
From: "Peter Deed" <peterdeed@infocell-telecom.com>
Message-ID: <967826453.9627.0.nnrp-14.c1ed3722@news.demon.co.uk>

Hi

I am running my application on an Arcom Media GX Board which uses a 233Mhz
Cyriz chip.

This board works with  the Pentium BSP and contains 4 COM ports. I want to
read and write to these ports but can only manage to access ports COM1 and
COM2. I have added the relevant code to sysSerial.c and config.h but it
makes no difference. WindRiver themselves tell me that it is probably more
difficult than I think and I will probably have to allow COM1 and 3 to share
one Interrupt Leven and COM2 and COM4 to share another and then do the
detection of which COM port is relevant within ISR code.

I do have enough interrupts for 4 ports but I realise I may not be allowed
to handle them separately.

Has anyone done interrupt sharing before ??

Many thanks to replies in advance

Peter Deed
Infocell Telecom
==================




---------------------------

Newsgroups: comp.os.vxworks
Subject: US-NH: Portsmouth - Firmware Designers
Date: Fri, 01 Sep 2000 17:10:03 GMT
From: cetaceannet@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8oonsq$4a$1@nnrp1.deja.com>

Cetacean Networks is building the components needed for real-time
applications to operate on the Internet. We are working towards the
dream of a single network, able to support all forms of communications,
becoming a reality.   The company has a unique and powerful technology
for achieving this goal.  The product components include large IP
switches and routers, network software and real-time appliances.

e're currently looking for Firmware Designers.

Weve received $15 million in funding from CRV and Bessemer.

Were serious about IPO  no buy out.

Hoping for Beta Release in 18 months.

Sticking to 50 hour work weeks, open to some telecommuting.

Great benefits:

Medical, Dental, Vision, Flex Spending account, 401K.
15 vacation days, 8 holidays, 2 personal days and 5 sick days!

Please contact me at the information below if you're interested in
hearing more!


Carrie Lussier
Cetacean Networks
Senior Recruiter
603. 766.6119 ddial
603.766.6190 fax
clussier@cetaceannetworks.com


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: romStart Question: can I store stuff in USR_RESERVED_MEM
Date: Fri, 1 Sep 2000 14:28:46 -0400
From: jim <jgdon@rees.math.uwaterloo.ca>
Organization: University of Waterloo
Message-ID: <Pine.SOL.4.05.10009011427290.18952-100000@rees.math.uwaterloo.ca>
References: <8oonsq$4a$1@nnrp1.deja.com>

Hello,

I have mad some modifications to the VxWorks boot code in romInit.s ...
these modifications collect a small number of statistics on a few devices
on my board. I now would like to store these statistics in a safe location
... currently I have decided to store these statistics in at the top of
RAM in the area defined by the USR_RESERVED_MEM ... I do this because it
is not zero'd by romStart.c at startup.

Should it be safe to do this?

I am hoping to access these "statistics's" later using a user task after
the system is fully "awake".

Cheers and Thanks in advance for any advice,
Jim


---------------------------

Newsgroups: comp.os.vxworks
Subject: romStart Question: can I store stuff in USR_RESERVED_MEM
Date: Fri, 01 Sep 2000 18:53:15 GMT
From: "Jim" <jgdon@undergrad.math.uwaterloo.ca>
Organization: Magma Communications Ltd.
Message-ID: <vWSr5.5413$Td.117317@news.magma.ca>

Hello,

I have mad some modifications to the VxWorks boot code in romInit.s ...
these modifications collect a small number of statistics on a few devices
on my board. I now would like to store these statistics in a safe location
... currently I have decided to store these statistics in at the top of
RAM in the area defined by the USR_RESERVED_MEM ... I do this because it
is not zero'd by romStart.c at startup.

Should it be safe to do this?

I am hoping to access these "statistics's" later using a user task after
the system is fully "awake"

Cheers and Thanks in advance for any advice,
Jim



---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems with PCI ISR
Date: 1 Sep 2000 20:10:02 GMT
From: tsikes@netcom.com (Terry Sikes)
Organization: NETCOM / MindSpring Enterprises, Inc.
Message-ID: <8op2eq$t6l$1@slb6.atl.mindspring.net>


I'm having a problem connecting a PCI interrupt to my ISR.  I'm using
the Pentium BSP.  I'm able to communicate with the card using I/O
space, and the interrupt number I'm getting from config space matches
that reported by the BIOS at boot time.  I use the following code to
hook up the ISR (myInterrupt is 10 at the moment, unshared):

- ---snippet 1---
  if (intConnect( INUM_TO_IVEC(INT_VEC_GET(myInterrupt)),
                  (VOIDFUNCPTR) myIsr,
                  (int) myIntSem) == ERROR) {
    logError("tm: intConnect failed");
  }
- ------

- ---snippet 2---
void myIsr(SEM_ID myIntSem) {
  semGive(myIntSem);
}
- ------

However, when I generate an interrupt using the card, I get the
message "dosFsDevInit failed." on the console, and VxWorks appears to
be locked up.  It certainly appears as though the wrong ISR is getting
called.

Any advice would be greatly appreciated!

Thanks,

Terry
- --
tsikes@netcom.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: CrossWind Debugger Source Directories problem ...
Date: Fri, 1 Sep 2000 17:12:27 -0400
From: "Alexander Povolotsky" <apovolotsky@nexabit.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <8op65u$63k@nntpa.cb.lucent.com>

Crosswind Wind starts OK and reads symbols from  the application module ...
Unfortunately, after attaching to the task of interest, it shows me one of
my source files in one of the directories,
but not the one I want to see ...

According to the documentation
(gdb) dir "/some/fully/qualified/source/path"
should set the source path to access the needed source file.
It does sets it, as indicated by

(gdb) show dir

but, apparently, commmands

(gdb) list filename.c:lineNumber
 or
(gdb) list filename:functionName

still fail ....

changing directory to the one of interest prior to executing "list"

(gdb) cd "/some/fully/qualified/source/path"

did not help either ...

so using commands

(gdb) info source

and

(gdb) info sources

showed that the source visibility is defined by the "compilation directory"
- - documentation refers to it as '$cdir' string
 versus '$cwd' string , which  refers  to the "current working directory"

We are using "Clearmake" in our multinested directories recursive "total"
build process ....
The shell we are using is "bash" ....

Could I change setting of "cdir" ?  - could I do it in .gdbinit ?
(and if yes, what would be the correct syntax) ?
In general, what is the solution for this problem (we are using Tornado
1.0.1 on Solaris 2.7 ) ?


Best Regards,
Alex Povolotsky




---------------------------

Newsgroups: comp.os.vxworks
Subject: Need a few good VxWorks engineers in beautiful Santa Barbara !
Date: Fri, 01 Sep 2000 23:16:00 GMT
From: connected_systems@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8opdb0$q4i$1@nnrp1.deja.com>

Connected Systems is a high tech startup in Santa Barbara, California
nearing launch of our Internet messaging & voice appliance. Our
products enable service providers to enhance their Broadband/Internet
offerings with our new breed of high-value applications such as
messaging, voice mail and beyond.
We are growing rapidly and currently seeking experience in voice, CTI,
messaging, networking, real-time systems for the following positions:

	Software Engineers

	Sr. Software Engineers

Design and develop integrated applications, drivers on our IP-telephony
platforms. C/C++ and networking experience required. Senior positions
require RTOS and 5+ years of industry experience. VxWorks experience
and familiarity with Unified Messaging, VoIP, LDAP, IMAP protocols
desired.

We offer competitive salaries, benefits, SEP program, and pre-IPO stock
options. Please send your resumes to:

jobs@connsys.com   or   Fax: (775) 205-6564


Check out our web site www.connectedsystems.com for more information.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Green Hills Software
Date: Fri, 01 Sep 2000 21:56:26 -0400
From: mcmorran@visi.net (Peter McMorran)
Message-ID: <39b0638f$2$zpzbeena$mr2ice@news.visi.net>
References: <8ogv5q$rpv$1@nnrp1.deja.com>

In <8ogv5q$rpv$1@nnrp1.deja.com>, on 08/29/00 
   at 06:25 PM, gpbeck@my-deja.com said:

>Is anyone using the Green Hills software to develop/debug their
>VxWorks applications?

We're using AdaMulti to port several Ada/Fortran/C Unix programs
to embedded PowerPC. Naturally, we have to make some adaptations
for VxWorks, but none related to the compiler system.

We were tripped by one thing related to Fortran list-directed
I/O. Most Unix compilers allow strings in a list-directed input
file to be enclosed in double quotes, and we were in the habit of
using these. AdaMulti sticks to the letter of the Fortran
standard and requires single quotes. Since we have routines that
painstakingly write these quotes, we had to do a little work to
get this working.

>If so, what is your opinion of the their software?  Is it
>reliable/stabile?  How is their support?

We found a bug in the Ada runtime which they fixed in a few
weeks. They are now looking at a bug in the Fortran runtime which
produces a memory leak. Support seems good, but these fundamental
and easily reproduced bugs are surprising in a mature product.
Aside from these two bugs, our programs run correctly, and they
are over 100 K lines of code. So the compiler does seem to be
reliable. 

The debugger is pretty neat, letting you grab multiple tasks at
once. I personally dislike the AdaMulti GUI, using it only to
access the debugger, or to find out the code for an option. We
run the build program directly from make, creating the build
files by cloning from existing ones. With a master makefile in
the top directory and makefiles in each subdirectory, we can
update everything with a single make command. The builder keeps
track of all source dependencies, recompiling all affected
programs when a C header, or Fortran include file, or Ada package
spec is changed.

Cheers,
Peter

- -- 
- -----------------------------------------------------------
mcmorran@visi.net (Peter McMorran)
- -----------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems with WindView under Windows 2000.
Date: Fri, 1 Sep 2000 21:23:53 -0700
From: Simon DiMaio <simond@ece.ubc.ca>
Organization: ITServices, University of British Columbia
Message-ID: <Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca>

Hi

I have done a full install of Tornado 2.0 under Windows 2000. Upon running
Tornado, I receive the following message:

 couldn't read file "TRY=localhost\host\resource\tcl\WindView.win32.tcl":
no such file or directory

Tornado runs fine, but WindView is not available. The base directory for
my Tornado installation is C:\Tornado, so I don't know where the
"TRY=localhost" has come from.

Has anybody experienced a similar error message?

Any ideas for a remedy would be greatly appreciated.

Thanks in advance,
Simon DiMaio

- ------------------------------------------------------------------------
Simon DiMaio                                    Email: simond@ece.ubc.ca
Robotics and Control Group
Dept. of Electrical and Computer Engineering	Phone:    (604)822-9215 
University of British Columbia			Fax  :    (604)822-5949 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Load Error "Relocation value does not fit in 24 bits"
Date: Sat, 02 Sep 2000 00:39:11 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B0846F.E5FCCF83@mindspring.com>
References: <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net> <8on6hv$81e$1@nnrp1.deja.com>

> 1) Compile your code with -mlongcall (which will cause the compiler to
> use 32 bit branches, so your code will be bigger and each branch a
> little slower).

Can I but in ... please?  I ran across the "does not fit" a while
back and the -mlongcall fixed it... But I have not seen any
"32 bit branches"... And I have been looking for them.  the Bx
(BA, BLA) are the closest I have come.  The have 26 bits.  And
that is where my question is.  The doc says that these 26 bits
(called the LI field) has two 0 bits concatenated to the little
end, then the big end is "sign extended" and the result is used
in calculating the effective address to jump to.  But if you
sign extend, then its a relative branch, not an absolute branch
so the doc (32 bit prog env) seems to be contradicting itself.

Can you straighten me out on this?  The only thing I can come
up is if the doc was WRONG when it said the LI field was 
sign extended.  In that case, the field would just be a unsigned
absolute 26 bit address ... and that gets you to abs. address 0
to 64 Meg.  If the book is RIGHT, then you can get to abs address
0 to 32 Meg, and I have no idea what the cpu would do for the
other half of the range.... 

give me a clue please.

tnx

> 
> 2) Configure your board for 32Mb initially, then use memAddToPool to add
> in the extra memory.
> 
> 3) Link your application with the kernel image and boot it in one piece.
> 
> For a little more information you might want to check these links out
> (you'll need a WindSurf account to access them):
> 
> http://www.wrs.com/cgi-bin/csdocs/summaries/dispFAQ.cgi?104884.14
> http://www.wrs.com/cgi-bin/csdocs/summaries/dispFAQ.cgi?122479.5
> 
> Hope that helps,
> 
> John...
> In article <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net>,
>   "Lou Kale" <Lou.Kale@kenetec.com> wrote:
> > I get an error "Relocation value does not fit in 24 bits" when I try
> to load
> > an application by typing
> > "ld<Application.out" on the console.
> >
> > I'm using a PPC 604  with vxWorks 5.4 and Tornado 2.
> >
> > Loads done from Tornado 2 using a target server work ok.
> >
> > Does anyone know what the problem is?
> >
> > Regards,
> > --
> > Lou Kale
> > KeNETec Inc.
> > 115 Hurley Road
> > Building 1B
> > Oxford, CT 06478
> > Tel (203)-264-1888 x130
> > Fax (203)-264-6724
> > lou.kale@kenetec.com
> >
> >
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to work with PCI ?
Date: Fri, 01 Sep 2000 09:12:41 +0200
From: "Dr. Peter Salewsky" <sa@resolut.de>
Message-ID: <39AF56E9.1AF6538D@resolut.de>
References: <8oif6g$5li$1@news.netvision.net.il>

Ezra Koper schrieb:
[...]
> We are using a Pentium2 333Mhz PC platform. [...]
> There is almost no ducementation on how to use PCI with VxWorks.
> Any idea were i can find more information?
> 

for Tornado II:
	Tornado/docs/vxworks/bsp/pcPentium.html
	(link sysLib, functions pci*)

> 2.
> I can't activate commands as sysPciDevShow. This command paper in
> Widriver WindSurf WEB site for Technical Solution 130785.5
> so what might be the problem?

I do not know this paper, but the above documentation does not
contain sysPciDevShow; try pciDeviceShow instead.

[...]

Peter

- -- 
Dr. Peter Salewsky                  phone +49 3493 743-20
resolut GmbH                        fax   +49 3493 743-25
Antonienstr. 3                      dialog@resolut.de
D-06749 Bitterfeld, Germany         www.resolut.de

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Load Error "Relocation value does not fit in 24 bits"
Date: Sat, 02 Sep 2000 09:13:17 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8oqgb5$vru$1@nnrp1.deja.com>
References: <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net> <8on6hv$81e$1@nnrp1.deja.com> <39B0846F.E5FCCF83@mindspring.com>

Hi,

In article <39B0846F.E5FCCF83@mindspring.com>,
  Al Johnston <sofeise@mindspring.com> wrote:
> > 1) Compile your code with -mlongcall (which will cause the compiler
to
> > use 32 bit branches, so your code will be bigger and each branch a
> > little slower).
>
> Can I but in ... please?  I ran across the "does not fit" a while
> back and the -mlongcall fixed it... But I have not seen any
> "32 bit branches"... And I have been looking for them.  the Bx
> (BA, BLA) are the closest I have come.  The have 26 bits.  And
> that is where my question is.  The doc says that these 26 bits
> (called the LI field) has two 0 bits concatenated to the little
> end, then the big end is "sign extended" and the result is used
> in calculating the effective address to jump to.  But if you
> sign extend, then its a relative branch, not an absolute branch
> so the doc (32 bit prog env) seems to be contradicting itself.

The destination address is sign extended, and simply takes the place
of the relative offset in the non-absolute addressing mode, so you get
to jump to absolute addresses in the range -32Mb to +32Mb (give or take
a few bytes). In real addresses, 0xfe000000 to 0x1ffffffc.

Relative branches, of course, can therefore be +/- 32Mb from the
location of the branch. All the absolute flag does is exchange current
PC for zero in the expression.

As for 32 bit branches, they are in fact a sequence of instructions that
loads the address into a register (two instructions), moves that to
either LR or CTR since they are the only registers you can branch to,
and then branches. So the code might look like this:

lis    r0, HI(destination)
addi   r0, r0, LO(destination)
mtlr   r0
blrl

(I think I got that right - no doubt somebody'll correct it if not :)

HTH,

John...


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sat Sep  2 07:47:21 2000
From: "Tim Allen" <Tim@TimAllenLtd.idps.co.uk>
Date: Sat Sep  2 07:47:23 PDT 2000
Subject: Re:  TFFS on MV260x

>>has anybody already integrated TFFS to on board flash of a MV230x,
>>MV240x, MV260x or MV270x ?
>>Could you share your code changes or help me to get on the road ?
>>I think vxWorks documentation is as simple as usually.
>
>Nobody answered :-((

Since I haven't noticed any responses, this should stop you feeling lonely,
but I don't think it will help!

>Is there really nobody who has done this job ?
>Has anybody succeeded in integrating any other non-standard flash ?

I have integrated TFFS with a customer's flash programming library, which
presented a non-standard interface. It wasn't as straightforward as the
documentation would suggest. As well as some inconsistent function/structure
definitions, I noticed that the Translation Layer was accessing the flash
hardware directly and not going through the MTD layer as I expected.

I did get it going though.  Unfortunately, I don't think I know enough about
the Mot boards/flash to help you specifically.

Regards,
Tim.
--------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy



From vxwexplo-errs@csg.lbl.gov  Sun Sep  3 04:03:06 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sun Sep  3 04:03:09 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sun Sep  3 04:03:03 PDT 2000

        Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
        Subject: #pragma pack and i960
        Subject: Re: #pragma pack and i960
        Subject: re:  TFFS on MV260x
        Subject: Re: MPC8260 UPM Initialisation
        Subject: Re: romStart Question: can I store stuff in USR_RESERVED_MEM
        Subject: MUX and stackRcvRtn
        Subject: Re: #pragma pack and i960

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc-wrs-vxworks and gcc-2.95.2 on Linux
Date: Sat, 02 Sep 2000 11:58:46 GMT
From: karuottu@freenet.hut.fi (Kai Ruottu)
Organization: Telia Finland Customer News Service
Message-ID: <39b0dc0e.1629563@news.yhteys.mtv3.fi>
References: <39AD6E21.FF4571D7@campio.com> <39aebeee.6716227@news.yhteys.mtv3.fi> <PDMr5.2499$Vc.2275929@newsr2.u-net.net>
Reply-To: karuottu@freenet.hut.fi

On Fri, 1 Sep 2000 12:40:18 +0100, "Dave Korn"
<no.spam@my.mailbox.invalid> wrote:

>Kai Ruottu wrote in message <39aebeee.6716227@news.yhteys.mtv3.fi>...
>>
>> 2. preinstall the VxWorks headers into
>>      $prefix/powerpc-wrs-vxworks/include
>
>You mean $prefix/powerpc-wrs-vxworks/sys-include.

 No, the 'gcc/INSTALL' and the 'Using and Porting...", ie. the
official GCC manual clearly says that one must use the 'include'.
Please see "Installation / Cross-Compiler / Cross Headers" from
the fine manual:

- ----------------- a clip from the gcc-2.96 manual ---------------
Cross-Compilers and Header Files

If you are cross-compiling a standalone program or a program for an
embedded system, then you may not need any header files except the few
that are part of GNU CC (and those of your program).  However, if you
intend to link your program with a standard C library such as libc.a,
then you probably need to compile with the header files that go with
the library you use.

 <snip>

When you have found suitable header files, put them in the directory
/usr/local/target/include, before building the cross compiler.  Then
installation will run fixincludes properly and install the corrected
versions of the header files where the compiler will use them.

Provide the header files before you build the cross-compiler, because
the build stage actually runs the cross-compiler to produce parts of
libgcc.a.  (These are the parts that can be compiled with GNU CC.)
Some of them need suitable header files.
- ----------------- clip ----------------------------------------

 If you see something wrong in the GCC docs, please report them as
bugs.

 The meaning of the directories may be changed only by changing
the official GCC documents. If RMS would write that the right place
for the target system headers is now the 'sys-include', then I
would believe. The directoris people have learned to use in their
installations during the GCC-history cannot be changed in a single
day...

 The 'sys-include' was aimed for third-party headers which should
be used instead of, or additionally with the standard system
headers. GGC looks the 'sys-include' before the 'include' and this
is why it is so suitable for the third-party stuff. And people
normally don't want to mix the standard and the additional local
headers, so a separate directory for the local ones was needed. But
the 'sys-' in the name is more than a little misleading...

 The 'sys-include' goes with the name 'CROSS_INCLUDE_DIR' while
building, and the 'include' with the name 'TOOL_INCLUDE_DIR'. The
docs say about these two:

- ----------------- clip ----------------------------------------
CROSS_INCLUDE_DIR is used only for a cross compiler.  GNU CC doesn't
install anything there.

TOOL_INCLUDE_DIR is used for both native and cross compilers.  It is
the place for other packages to install header files that GNU CC will
use.  For a cross-compiler, this is the equivalent of /usr/include.
When you build a cross-compiler, fixincludes processes any header
files in this directory.
- ----------------- clip ----------------------------------------

 I think here is the big 'typo'... The words "It is the place for
other packages to install header files that GNU CC will use." should
be after the CROSS_INCLUDE_DIR, otherwise the explanation about
"the equivalent of /usr/include" is bullshit. Who installs any third-
party headers into '/usr/include'?  Somehow I have forgotten to report
this bug, although I have fixed it in my own docs...

 I remember the 'www.gnu.org' having some weird info about these
things...

 BTW, the '--with-headers' is handy for pointing to the Linux kernel
headers while building glibc-2.x for/with a cross-compiler... For the
glibc-2.x they are 'third-party headers'...

 Using unnecessary options with configure is not good, the example
in the GCC-manual uses only the '--target=...'. A newbie starting
only with that is better than starting with ten options and not
understanding anything about them... This seems to be just the same
kind of issue as was with the CONFIG.SYS'es and AUTOEXEC.BAT's in
DOS-machines -- people copied things there from their friends because
they said them being 'useful' in their machines...

> If the headers are there (which is where --with-headers copies them
>to at configure time) then they will be properly fixed.

 So you would trust the 'fixincludes' more than yourself ? Funny
but just the 'gcc/fixinc' subdir has caused the most problems with
the current GCC snapshots... I haven't seen it working for any
target under Linux and cannot understand why the GCC build tries to
fix the headers from the Cygnus newlib-1.8.2, Linux-glibc-2.x or
from any up-to-date header-collections.

 Very old systems with their original headers like SCO Xenix
or SunOS 4.1.x may have non-ANSI headers, but who says that
they have remained unfixed, probably the cross-compiler to
be built for them is already the tenth in the series...
Keeping all the target headers in two places, the original
unfixed ones in one and the fixed-fixed ones in another (after
fixincludes one must always check the sanity of the fixes!)
sounds somehow unsane, so most people have fixed the original
headers long time ago and disable the fixincludes...

 Perhaps the VxWorks headers still live in the '80's, at least
the famous '#define NULL (void *(0))' was there. Of course all
C++ compiles puke when seeing this... Some people say that the
NULL-problems are now fixed in newer VxWorks headers.

>I believe the gcc compiler, once built, will be fine with the old include
>files supplied by WRS; the only ones that need updating with the
>fixed versions are stdarg.h, vararg.h and va-ppc.h, since the varargs
>handling has changed substantially.

 Those VxWorks standard headers I have seen, included C++ headers like
'new.h' and 'typeinfo' in them,, but at least the 'typeinfo' isn't
present in the older ones..  And then they had some C-headers, just
the same as will come with GCC, 'stddef.h' and 'stdarg.h'.

 The normal practice is to try to use the standard target ones with C
and to use the GCC ones with C++. Anyway GCC uses the target headers
while building, but uses the GCC ones after installation. So there are
all kind of headers clashes while building and another after
installation. Something must be done, so any instructions about how to
fix the standard 'stdarg.h' and 'stddef.h' are really needed....

>Another point worth mentioning in reply to the original poster is that
>you don't need to worry about building all of the directories in the gcc
>source tree. After the first 'make all' gets as far as it can go, just chdir
>into the gcc-2.95.2/gcc subdir and do 'make all install' from that dir.

 Yes, if needing GCC, one needs to build only 'gcc'... The 'make
all-gcc' takes care about this. Combining libiberty and libstdc++
with GCC wasn't perhaps very good, now people don't understand having
a 'fully working compiler' when the build says "The compiler cannot
make executables" (no C-library yet or no fully defined target yet).
Ie. mixing compiling to compiling + linking is very common...

>There's been a lot of issues with the powerpc-wrs-vxworks target,
>but with some help from a guy called Rob Targosz I've more or less
>managed to get it working. I've figured out patches to a) enable the
>-mlongcall option and b) prevent all those complaints about redefining
>big/little endian, and as soon as I've given it a couple of days testing
>and tidying up I will post a FAQ and patches here and perhaps a
>couple of other places as well.

 What about all the generated multilibs with AIX, Linux, SysV etc.
calling conventions? And all the little-endian variations... I saw
a new tmake_file, 'gcc/config/rs6000/t-vxworks', being necessary
instead of the current 't-ppcbare' or something, which now defines all
kind of perhaps unnecessary variations.

 I used only the '-msoft-float' to multilibs. But shouldn't there be
some CPU-specific variations too?  Or is the 'libgcc.a' totally unused
with VxWorks? Has VxWorks its own speedy basic soft-float routines
(fadd/fsub/fmul/fdiv) and the slow ones in 'fp-bit.c' aren't used and
so don't need any optimizations for different PowerPC-CPU's ?

Cheers, Kai


---------------------------

Newsgroups: comp.os.vxworks
Subject: #pragma pack and i960
Date: Sat, 02 Sep 2000 07:52:41 -0500
From: Steve Bakke <sbakke@vocaldata.com>
Organization: Airnews.net! at Internet America
Message-ID: <3B29B7E6452D52CD.CD8C08CDBEAC22C0.EBD8CD27DF40F6B6@lp.airnews.net>

I'm trying to use #pragma pack on the i960 and it appears
it doesn't do anything.

#pragma pack 1
struct TEST {
    short t1;
    long t2;
};

The offset of t2 is 4 not 2 as it should be. We use the same
code with x86 and all is fine.

The "crack" VxWorks documentation doesn't mention much about
#pragma, but the Intel cc960 compiler manual says they work just fine.

Any ideas?


Steve

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: #pragma pack and i960
Date: Sat, 02 Sep 2000 13:58:29 GMT
From: "telia" <arve.sollie@bu.telia.no>
Organization: Enitel Internet Public Access
Message-ID: <9I7s5.7119$Dxe.197278208@news.telia.no>
References: <3B29B7E6452D52CD.CD8C08CDBEAC22C0.EBD8CD27DF40F6B6@lp.airnews.net>


Steve Bakke <sbakke@vocaldata.com> wrote in message
news:3B29B7E6452D52CD.CD8C08CDBEAC22C0.EBD8CD27DF40F6B6@lp.airnews.net...
> I'm trying to use #pragma pack on the i960 and it appears
> it doesn't do anything.
>
> #pragma pack 1
> struct TEST {
>     short t1;
>     long t2;
> };
>
> The offset of t2 is 4 not 2 as it should be. We use the same
> code with x86 and all is fine.
>
> The "crack" VxWorks documentation doesn't mention much about
> #pragma, but the Intel cc960 compiler manual says they work just fine.
>
> Any ideas?
>
>
> Steve

try compiler switch
     -mold-align

It worked for us ( a long time ago )





---------------------------

Newsgroups: comp.os.vxworks
Subject: re:  TFFS on MV260x
Date: Sat, 2 Sep 2000 15:41:00 +0100
From: "Tim Allen" <Tim@TimAllenLtd.idps.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8or5h7$t1n$1@overload.lbl.gov>

>>has anybody already integrated TFFS to on board flash of a MV230x,
>>MV240x, MV260x or MV270x ?
>>Could you share your code changes or help me to get on the road ?
>>I think vxWorks documentation is as simple as usually.
>
>Nobody answered :-((

Since I haven't noticed any responses, this should stop you feeling lonely,
but I don't think it will help!

>Is there really nobody who has done this job ?
>Has anybody succeeded in integrating any other non-standard flash ?

I have integrated TFFS with a customer's flash programming library, which
presented a non-standard interface. It wasn't as straightforward as the
documentation would suggest. As well as some inconsistent function/structure
definitions, I noticed that the Translation Layer was accessing the flash
hardware directly and not going through the MTD layer as I expected.

I did get it going though.  Unfortunately, I don't think I know enough about
the Mot boards/flash to help you specifically.

Regards,
Tim.
- --------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: MPC8260 UPM Initialisation
Date: Sat, 2 Sep 2000 08:46:19 -0700
From: "Davis" <dimao@pacbell.net>
Organization: SBC Internet Services
Message-ID: <ed9s5.11552$sA.1971998@nnrp5-w.sbc.net>
References: <3981ab00.340821029@192.168.1.11> <8lse5d$ogr$1@nnrp1.deja.com>

I think romInit.s is the place to initialize CS's, assuming you use
EST8260BSP with vxWorks.

Davis

<gold@sdsu.edu> wrote in message news:8lse5d$ogr$1@nnrp1.deja.com...
> In article <3981ab00.340821029@192.168.1.11>,
>   John Keightley wrote:
> > I'm looking for help setting up UPM state machines on an EST8260
> > system - specifically UPMC and CS8 to access our own memory mapped
> > subsystem. We can initialise this OK via VisionICE probe - now need to
> > do this as part of the VxWorks initialisation sequence.
> >
> > I've tried setting this up in sysHwInit() - writing to BR8,OR8 but
> > then get a crash when attempting to write the first RAM location
> > (after loading MDR) after setting the OP code bit in MCMR
> >
> > Does anyone have sample code or experience with this?
>
> 1. Did you check the other bits in MCMR, such as BSEL and RFEN ?
> 2. Are you sure the memory area you set BR8 to isn't already covered
>    by another (previously initialized) chip select and that is the one
>    that's firing ?
> 3. Are you in C or assembly ?  Are you sure you're writing a 32-bit
>    value to MCMR ?
>
> I believe the 860FADS BSP has assembly code to init the UPM on the 860
> if you can get a hold of that...
>
>   hth,
>    Dan Gold  gold@sdsu.edu
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: romStart Question: can I store stuff in USR_RESERVED_MEM
Date: Sat, 02 Sep 2000 09:58:19 -0700
From: "Michael R. Kesti" <mkesti@gv.net>
Organization: MK Associates
Message-ID: <39B131AB.CF1C60A4@gv.net>
References: <vWSr5.5413$Td.117317@news.magma.ca>
Reply-To: mkesti@gv.net

Jim wrote:

>I have mad some modifications to the VxWorks boot code in romInit.s ...
>these modifications collect a small number of statistics on a few devices
>on my board. I now would like to store these statistics in a safe location
>... currently I have decided to store these statistics in at the top of
>RAM in the area defined by the USR_RESERVED_MEM ... I do this because it
>is not zero'd by romStart.c at startup.
>
>Should it be safe to do this?

Yes, that should work very well.  I've made similar use of USR_RESERVED_MEM.

- -- 
========================================================================
          Michael Kesti            |  "And like, one and one don't make
                                   |   two, one and one make one."
          mkesti@gv.net            |          - The Who, Bargain

---------------------------

Newsgroups: comp.os.vxworks
Subject: MUX and stackRcvRtn
Date: Sat, 02 Sep 2000 17:16:12 GMT
From: nicenice@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8orckg$sq0$1@nnrp1.deja.com>

Hello.

I have written two simple MUX protocols.
One is snarf type protocol and the other is a type defined in rfc1700.
The MUX calls stackRcvRtn of snarf protocol, and
stackRcvRtn returns FALSE so that the other protocol can receive.
But the MUX never calls stackRcvRtn in the other protocol.
Could you tell me what is wrong ?

At the time, muxShow command shows my two protocols, IP4.4 arp and IP4.4.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: #pragma pack and i960
Date: Sat, 02 Sep 2000 16:24:33 +0100
From: molochai <molochai@vapour-trail.demon.co.uk>
Message-ID: <4d3bc8f749%molochai@vapour-trail.demon.co.uk>
References: <3B29B7E6452D52CD.CD8C08CDBEAC22C0.EBD8CD27DF40F6B6@lp.airnews.net> <9I7s5.7119$Dxe.197278208@news.telia.no>

In message <9I7s5.7119$Dxe.197278208@news.telia.no>
          "telia" <arve.sollie@bu.telia.no> wrote:

> 
> Steve Bakke <sbakke@vocaldata.com> wrote in message
> news:3B29B7E6452D52CD.CD8C08CDBEAC22C0.EBD8CD27DF40F6B6@lp.airnews.net...
> > I'm trying to use #pragma pack on the i960 and it appears
> > it doesn't do anything.
> >
> > #pragma pack 1
> > struct TEST {
> >     short t1;
> >     long t2;
> > };
> >
> > The offset of t2 is 4 not 2 as it should be. We use the same
> > code with x86 and all is fine.
> >
You probably need a align directive as well. (Assuming you're using GCC that
is). Forcing alignment of 2 will probably do the trick.  This can be applied
to the individual structure declarations using the __attribute keyword,

> > The "crack" VxWorks documentation doesn't mention much about
> > #pragma, but the Intel cc960 compiler manual says they work just fine.

You either need the Tornado GNU Tools manual (GCC Section) or alternatively
any distribution of GCC will have the documentation with it somewhere.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Mon Sep  4 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Mon Sep  4 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Mon Sep  4 04:03:04 PDT 2000

        Subject: PCI card in a mtx603 board
        Subject: opcode 1111
        Subject: Re: opcode 1111
        Subject: STLport 4.1 Beta 2 is available
        Subject: Re: romStart Question: can I store stuff in USR_RESERVED_MEM
        Subject: Re: opcode 1111
        Subject: Re: Problems with PCI ISR
        Subject: Re: Vxsim File I/O with NT
        Subject: Re: building vxWorks using Tornado II
        Subject: Re: building vxWorks using Tornado II
        Subject: Re: Increasing SIMNT memory
        Subject: 82543GC Gigabit Ethernet MAC

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: PCI card in a mtx603 board
Date: Thu, 24 Aug 2000 17:03:48 +0100
From: "Kai Mattern" <Kai_Mattern@web.de>
Organization: Heidelberger Druckmaschinen AG
Message-ID: <8o3de1$4p4$1@news.hdpp.de>

I included this text as a .txt data because last time i posted my format
went crasy
please help if you can

Hi all,

im at my diploma and realy need help. I have to write a driver under VxWorks
for a Printer.
But the biggest problem i have know for about 2 and a half week is to get
the interface
card running.

Thats what i did up to know
- ----------------------------------------------------------------------------
- ------------------------

The configuration header of the card.

I need 4 Base Adresses
mem maped - Pci Base Adress 0 for Memory Mapped Configuration Register
64kbyte
io maped - Pci Base Adress 1 for I/O Memory Mapped Configuration Register
64kbyte
mem maped - Pci Base Adress 0 for Local Adress Space 0 256MByte
mem maped - Pci Base Adress 1 for Local Adress Space 1 64kbyte

these are located in the header from 10h down to 1Ch

So i saw i cant use autoconfig because my BSP dont have it and pciDevConfig
is only for
devices with one memory bar. So i did it the hard way and added the
following to
sysHwInit function in sysLib.c

if ((pciFindDevice(0x112B, 0x6304, 0, & pciBusNo, & pciDevNo, & pciFuncNo)
!= ERROR))
{
        pciConfigOutLong(pciBusNo, pciDevNo, pciFuncNo, 0x10, 0x01000000 +
0x10010000);     (1)
        pciConfigOutLong(pciBusNo, pciDevNo, pciFuncNo, 0x14, PCI_IO_ADRS +
BASE_ADR_1);    (2)
        pciConfigOutLong(pciBusNo, pciDevNo, pciFuncNo, 0x18, 0x01000000 +
0x0);     (3)
        pciConfigOutLong(pciBusNo, pciDevNo, pciFuncNo, 0x1C, 0x01000000 +
0x10000000);     (4)
        pciConfigOutWord(pciBusNo, pciDevNo, pciFuncNo, 0x04, 0x0007 );
(5)
}

(2)
The i/o mapped i put to PCI_IO_ADRS plus BASE_ADR_1 (its assigned from me in
mv2600.h as 0xa0000).
The PCI_IO_ADRS is also assigned in mv2600.h and its value is 0x01000000 /*
base of PCI I/O address */

(3)
PCI_MEM_ADRS 0x01000000 /* base of PCI MEM address */ plus 0x0 offset range
is 256MByte

(4)
this is 256MByte above (3) and is 64kbyte long

(1)
this is 64kbyte above (4) and is 64kbyte long

(5)
is only command register..i took the falue out of the docu i got about the
board.

Next i took a look to the memory and found that standard is only 16MB space
memory for PCI.
#define CPU_PCI_MEM_SIZE 0x10000000 /* 16 meg */  /*you can see i changed it
to 256MB*/
also i searched the memory but didnt found anything above 0x0C1000000 so
there is enoght space for my 256MB
(Raven and Falcon ship starting at FEF80000 but thats high enough.

What i know did (because i thought thats all i need to do is writing to the
card. I have a led on the card
who tells me if reset register is low or high. The Reset register is located
in (4) with an Offset of 0xC0

So i wrote the following code to toggle the led on and off

   sysPciOutLong(0xC1000000  + 0x10000000 + 0xC0, run); (run is 0 or 1..i
tried both..)

0xC1000000 is the starting adress of mem space seen from CPU plus the offset
from the Register in mem space plus
offset inside the register.

Here is the memory mapping from raven chipset
MPC Address Range   PCI Address Range      Definition
- -----------------   -----------------   -----------------
   80000000 BF7FFFFF   00000000 3F7FFFFF   ISA/PCI I/O space
   C0000000 FCFFFFFF   00000000 3CFFFFFF   ISA/PCI Mem space w/MPIC
   FD000000 FDFFFFFF   00000000 00FFFFFF   ISA/PCI Mem space
   FE000000 FE7FFFFF   00000000 007FFFFF   ISA/PCI I/O space

So if i got this right....if i write to adress 81000000 im on the PCI Bus at
Adress 01000000
and so on.

But im unable to toggel the led. Nor am i able to write to the memory.
Did i something wrong ? Do i have to do something else ? What do i need to
do to toggle the led ?`

Please help if you can
thanks in advance

Kai Mattern
Kai_Mattern@web.de


begin 666 done work.txt
M2&D@86QL+ T*#0II;2!A="!M>2!D:7!L;VUA(&%N9"!R96%L>2!N965D(&AE
M;' N($D@:&%V92!T;R!W<FET92!A(&1R:79E<B!U;F1E<B!6>%=O<FMS(&9O
M<B!A(%!R:6YT97(N#0I"=70@=&AE(&)I9V=E<W0@<')O8FQE;2!I(&AA=F4@
M:VYO=R!F;W(@86)O=70@,B!A;F0@82!H86QF('=E96L@:7,@=&\@9V5T('1H
M92!I;G1E<F9A8V4-"F-A<F0@<G5N;FEN9RX-"@T*5&AA=',@=VAA="!I(&1I
M9"!U<"!T;R!K;F]W#0H-"E1H92!C;VYF:6=U<F%T:6]N(&AE861E<B!O9B!T
M:&4@8V%R9"X-"@T*22!N965D(#0@0F%S92!!9')E<W-E<R -"FUE;2!M87!E
M9 DM"5!C:2!"87-E($%D<F5S<R P(&9O<B!-96UO<GD@36%P<&5D($-O;F9I
M9W5R871I;VX@4F5G:7-T97()-C1K8GET92 -"FEO(&UA<&5D"2T)4&-I($)A
M<V4@061R97-S(#$@9F]R($DO3R!-96UO<GD@36%P<&5D($-O;F9I9W5R871I
M;VX@4F5G:7-T97(@(#8T:V)Y=&4-"FUE;2!M87!E9 DM"5!C:2!"87-E($%D
M<F5S<R P(&9O<B!,;V-A;"!!9')E<W,@4W!A8V4@, DR-39-0GET90T*;65M
M(&UA<&5D"2T)4&-I($)A<V4@061R97-S(#$@9F]R($QO8V%L($%D<F5S<R!3
M<&%C92 Q"38T:V)Y=&4-"@T*=&AE<V4@87)E(&QO8V%T960@:6X@=&AE(&AE
M861E<B!F<F]M(#$P:"!D;W=N('1O(#%#: T*#0I3;R!I('-A=R!I(&-A;G0@
M=7-E(&%U=&]C;VYF:6<@8F5C875S92!M>2!"4U @9&]N="!H879E(&ET(&%N
M9"!P8VE$979#;VYF:6<@:7,@;VYL>2!F;W(@#0ID979I8V5S('=I=&@@;VYE
M(&UE;6]R>2!B87(N(%-O(&D@9&ED(&ET('1H92!H87)D('=A>2!A;F0@861D
M960@=&AE(&9O;&QO=VEN9R!T;R -"G-Y<TAW26YI="!F=6YC=&EO;B!I;B!S
M>7-,:6(N8PT*#0II9B H*'!C:49I;F1$979I8V4H,'@Q,3)"+" P>#8S,#0L
M(# L("8@<&-I0G5S3F\L("8@<&-I1&5V3F\L("8@<&-I1G5N8TYO*2 A/2!%
M4E)/4BDI#0I[#0H)<&-I0V]N9FEG3W5T3&]N9RAP8VE"=7-.;RP@<&-I1&5V
M3F\L('!C:49U;F-.;RP@,'@Q,"P@,'@P,3 P,# P," K(#!X,3 P,3 P,# I
M.R @(" @*#$I(" @(" @( D-"B @(" @(" @<&-I0V]N9FEG3W5T3&]N9RAP
M8VE"=7-.;RP@<&-I1&5V3F\L('!C:49U;F-.;RP@,'@Q-"P@4$-)7TE/7T%$
M4E,@*R!"05-%7T%$4E\Q*3L@(" @*#(I#0H)<&-I0V]N9FEG3W5T3&]N9RAP
M8VE"=7-.;RP@<&-I1&5V3F\L('!C:49U;F-.;RP@,'@Q."P@,'@P,3 P,# P
M," K(#!X,"D["2 @(" H,RD-"B @(" @(" @<&-I0V]N9FEG3W5T3&]N9RAP
M8VE"=7-.;RP@<&-I1&5V3F\L('!C:49U;F-.;RP@,'@Q0RP@,'@P,3 P,# P
M," K(#!X,3 P,# P,# I.R @(" @*#0I(" @(" @(" @(" -"B @(" @(" @
M<&-I0V]N9FEG3W5T5V]R9"AP8VE"=7-.;RP@<&-I1&5V3F\L('!C:49U;F-.
M;RP@,'@P-"P@,'@P,# W("D["0D)(" @("@U*0T*?0T*#0HH,BD-"E1H92!I
M+V\@;6%P<&5D(&D@<'5T('1O(%!#25])3U]!1%)3('!L=7,@0D%315]!1%)?
M,2 H:71S(&%S<VEG;F5D(&9R;VT@;64@:6X@;78R-C P+F@@87,@,'AA,# P
M,"DN#0I4:&4@4$-)7TE/7T%$4E,@:7,@86QS;R!A<W-I9VYE9"!I;B!M=C(V
M,# N:"!A;F0@:71S('9A;'5E(&ES(#!X,#$P,# P,# @+RH@8F%S92!O9B!0
M0TD@22]/(&%D9')E<W,@*B\-"@T**#,I#0I00TE?345-7T%$4E,@,'@P,3 P
M,# P," O*B!B87-E(&]F(%!#22!-14T@861D<F5S<R J+R!P;'5S(#!X,"!O
M9F9S970@<F%N9V4@:7,@,C4V34)Y=&4-"@T**#0I#0IT:&ES(&ES(#(U-DU"
M>71E(&%B;W9E("@S*2!A;F0@:7,@-C1K8GET92!L;VYG(" @#0H-"B@Q*0T*
M=&AI<R!I<R V-&MB>71E(&%B;W9E("@T*2!A;F0@:7,@-C1K8GET92!L;VYG
M#0H-"B@U*0T*:7,@;VYL>2!C;VUM86YD(')E9VES=&5R+BYI('1O;VL@=&AE
M(&9A;'5E(&]U="!O9B!T:&4@9&]C=2!I(&=O="!A8F]U="!T:&4@8F]A<F0N
M#0H-"DYE>'0@:2!T;V]K(&$@;&]O:R!T;R!T:&4@;65M;W)Y(&%N9"!F;W5N
M9"!T:&%T('-T86YD87)D(&ES(&]N;'D@,39-0B!S<&%C92!M96UO<GD@9F]R
M(%!#22X@#0HC9&5F:6YE($-055]00TE?345-7U-)6D4),'@Q,# P,# P, DO
M*B Q-B!M96<@*B\)("\J>6]U(&-A;B!S964@:2!C:&%N9V5D(&ET('1O(#(U
M-DU"*B\-"F%L<V\@:2!S96%R8VAE9"!T:&4@;65M;W)Y(&)U="!D:61N="!F
M;W5N9"!A;GET:&EN9R!A8F]V92 P>#!#,3 P,# P,"!S;R!T:&5R92!I<R!E
M;F]G:'0@<W!A8V4@9F]R(&UY(#(U-DU"#0HH4F%V96X@86YD($9A;&-O;B!S
M:&EP('-T87)T:6YG(&%T($9%1C@P,# P(&)U="!T:&%T<R!H:6=H(&5N;W5G
M:"X-"@T*5VAA="!I(&MN;W<@9&ED("AB96-A=7-E(&D@=&AO=6=H="!T:&%T
M<R!A;&P@:2!N965D('1O(&1O(&ES('=R:71I;F<@=&\@=&AE(&-A<F0N($D@
M:&%V92!A(&QE9"!O;B!T:&4@8V%R9 T*=VAO('1E;&QS(&UE(&EF(')E<V5T
M(')E9VES=&5R(&ES(&QO=R!O<B!H:6=H+B!4:&4@4F5S970@<F5G:7-T97(@
M:7,@;&]C871E9"!I;B H-"D@=VET:"!A;B!/9F9S970@;V8@,'A#, T*#0I3
M;R!I('=R;W1E('1H92!F;VQL;W=I;F<@8V]D92!T;R!T;V=G;&4@=&AE(&QE
M9"!O;B!A;F0@;V9F#0H-"@D)"7-Y<U!C:4]U=$QO;F<H,'A#,3 P,# P," @
M*R P>#$P,# P,# P("L@,'A#,"P@<G5N*3L-"@T*,'A#,3 P,# P,"!I<R!T
M:&4@<W1A<G1I;F<@861R97-S(&]F(&UE;2!S<&%C92!S965N(&9R;VT@0U!5
M('!L=7,@=&AE(&]F9G-E="!F<F]M('1H92!296=I<W1E<B!I;B!M96T@<W!A
M8V4@<&QU<PT*;V9F<V5T(&EN<VED92!T:&4@<F5G:7-T97(N#0H-"DAE<F4@
M:7,@=&AE(&UE;6]R>2!M87!P:6YG(&9R;VT@<F%V96X@8VAI<'-E= T*35!#
M($%D9')E<W,@4F%N9V4@("!00TD@061D<F5S<R!286YG92 @(" @($1E9FEN
M:71I;VX-"BTM+2TM+2TM+2TM+2TM+2TM(" @+2TM+2TM+2TM+2TM+2TM+2T@
M(" M+2TM+2TM+2TM+2TM+2TM+0T*(" @.# P,# P,# @0D8W1D9&1D8@(" P
M,# P,# P," S1C=&1D9&1B @($E302]00TD@22]/('-P86-E#0H@("!#,# P
M,# P,"!&0T9&1D9&1B @(# P,# P,# P(#-#1D9&1D9&(" @25-!+U!#22!-
M96T@<W!A8V4@=R]-4$E##0H@("!&1# P,# P,"!&1$9&1D9&1B @(# P,# P
M,# P(# P1D9&1D9&(" @25-!+U!#22!-96T@<W!A8V4-"B @($9%,# P,# P
M($9%-T9&1D9&(" @,# P,# P,# @,# W1D9&1D8@("!)4T$O4$-)($DO3R!S
M<&%C92 -"@T*4V\@:68@:2!G;W0@=&AI<R!R:6=H="XN+BYI9B!I('=R:71E
M('1O(&%D<F5S<R X,3 P,# P,"!I;2!O;B!T:&4@4$-)($)U<R!A="!!9')E
M<W,@,#$P,# P,# -"F%N9"!S;R!O;BX-"@T*0G5T(&EM('5N86)L92!T;R!T
M;V=G96P@=&AE(&QE9"X@3F]R(&%M(&D@86)L92!T;R!W<FET92!T;R!T:&4@
M;65M;W)Y+@T*1&ED(&D@<V]M971H:6YG('=R;VYG(#\@1&\@:2!H879E('1O
M(&1O('-O;65T:&EN9R!E;'-E(#\@5VAA="!D;R!I(&YE960@=&\@9&\@=&\@
M=&]G9VQE('1H92!L960@/V -"@T*4&QE87-E(&AE;' @:68@>6]U(&-A;B -
M"G1H86YK<R!I;B!A9'9A;F-E#0H-"DMA:2!-871T97)N#0I+86E?36%T=&5R
.;D!W96(N9&4-"@T*#0H`
`
end


---------------------------

Newsgroups: comp.os.vxworks
Subject: opcode 1111
Date: Fri, 1 Sep 2000 12:19:50 +0200
From: "Dmitrovskiy Alexei" <dmitrov@mail.desy.de>
Organization: Deutsches Elektronen-Synchrotron (DESY)
Message-ID: <8onvs7$7e1$1@claire.desy.de>

Hello,

Could anyone clarify a question what opcode 1111 is?
The diagnostic message is:

Unimplemented opcode 1111
Program Counter: 0x00540012
Status Register: 0x3008
...

Thank you in advance,
Alexei.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: opcode 1111
Date: Sun, 03 Sep 2000 21:53:30 -0400
From: Joe Durusau <durusau@bellsouth.net>
Message-ID: <39B3009A.600F018@bellsouth.net>
References: <8onvs7$7e1$1@claire.desy.de>

	The error message it telling you that an error in your code 
caused the computer to attempt to execture an opcode 1111, but
since no such code exists, the processor raised an exception
of some sort.  These problems are usually caused by stack overflows
or exceeding the size of arrays.  (At least these are the most
popular causes.)  Unfortunately, there are many more possibilities,
far too many to list.

Speaking only for myself,

Joe Durusau


Dmitrovskiy Alexei wrote:
> 
> Hello,
> 
> Could anyone clarify a question what opcode 1111 is?
> The diagnostic message is:
> 
> Unimplemented opcode 1111
> Program Counter: 0x00540012
> Status Register: 0x3008
> ...
> 
> Thank you in advance,
> Alexei.

---------------------------

Newsgroups: comp.unix.aix,gnu.g++.help,ibm.software.vacpp.compiler,comp.os.vxworks
Subject: STLport 4.1 Beta 2 is available
Date: Mon, 04 Sep 2000 02:57:07 GMT
From: boris_fomitchev@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8ov31u$l35$1@nnrp1.deja.com>

Hi there,

STLport 4.1 Beta #2 is available at www.stlport.org.

Please find corresponding ChangeLog portion below :
- --------------------------------------------

* _algobase.h : fixed __STL_DECLARE_COPY_TRIVIAL definition
(thanks to Charles Burfoot for the report)

* _algobase.h : added copy_backward specializations for builtin types
for compilers w/o partial spec.

* _char_traits.h : fixed zero-length check for copy (thanks to Michael
Tsirkin)

* msvc_warnings_off.h : fixed "and" typo
(thanks to Charles Burfoot for the report)

* num_put_float.cpp : fixed rounding for "g" format (thanks to Bernd
Mohr for the report)

* Initial port of iostreams to xlC 5.0 added (thanks to Jack Andrews)

* stl_sunpro.h : a fix for Forte config (Thanks to Alex Vanic for the
report)

* old_hp/iterator.h : fixed iterator_category()/etc. import

* _threads.h : __stl_atomic_t used instead of "unsigned long" (thanks
to Alex Vanic for the report)
* using/iomanip : old-streams path used for native iomanip.h (thanks to
Michael Tsirkin for the report).

* _bitset.h , _bitset.c : direct STL_THROW replaced with
__stl_throw_xxx calls (thanks to Michael Tsirkin for the report)

* range_errors.h/cpp : added functions to support throwing of
overflow_error and invalid_argument

* _threads.h : enganced HP-specific guards for HP-UX 11 (thanks to
Matthew Collins for the report)

* _string.h : compare() bugfix (thanks to Anton Sergeev)

* moneypunct_byname_w.cpp : rolled back wrong bugfix (thanks to Ken)

* _vector.h, _deque.h, _list.h : nonstandard versions of push_back
()/push_front()
moved under __STL_NO_ANACHRONISMS guard (thanks to Ed Brey)

* _tree.c, _list.c, _slist.c, _debug.c : compile-time improvements

* _tree.h/c, _list.h/c, _slist.h/c, _vector.h/c, _string.h/c : using
directive for data members
changed to explicit "this->".

* _complex.h : signatures of some methods changed to take value_type
instead of const value_type&,
for better conformance (thanks to Petr Ovchenkov)

* Bunch of fixes to compile with gcc on HP-UX 10, 11 (thanks to Petr
Ovchenkov)

* Code duplication for __STL_INLINE_MEMBER_TEMPLATES removed --
corresponding methods are always inlined

* stl_sunpro.h : fix for "-compat" mode (thanks to Vijay Ramachandran)

* pthread.h : new wrapper added

* Added custom prolog/epilog for HP aCC to select kthreads on HP-UX 11
(Thanks to Michael Tsirkin)

* <new> : fixed throw specification for bad_alloc (has to be inherited)

* Macro __STL_NATIVE_CPP_RUNTIME_INCLUDE_PATH introduced to specify
separate path for <exception>, <typeinfo>, <new>.
(thanks to Bryan Byrnes)

Sincerely,
- -Boris.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: romStart Question: can I store stuff in USR_RESERVED_MEM
Date: Mon, 04 Sep 2000 09:17:41 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B31B5D.13220071@cisco.com>
References: <vWSr5.5413$Td.117317@news.magma.ca> <39B131AB.CF1C60A4@gv.net>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------CAC42ACCDE78AB803BC97282
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jim,

Yes it works. I did the same in one of my earlier project to store some flags
related to Built-in Self Test
which I was performing immediately after boot.

Vijay

"Michael R. Kesti" wrote:

> Jim wrote:
>
> >I have mad some modifications to the VxWorks boot code in romInit.s ...
> >these modifications collect a small number of statistics on a few devices
> >on my board. I now would like to store these statistics in a safe location
> >... currently I have decided to store these statistics in at the top of
> >RAM in the area defined by the USR_RESERVED_MEM ... I do this because it
> >is not zero'd by romStart.c at startup.
> >
> >Should it be safe to do this?
>
> Yes, that should work very well.  I've made similar use of USR_RESERVED_MEM.
>
> --
> ========================================================================
>           Michael Kesti            |  "And like, one and one don't make
>                                    |   two, one and one make one."
>           mkesti@gv.net            |          - The Who, Bargain

- --------------CAC42ACCDE78AB803BC97282
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vijay.peshkar@wipro.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------CAC42ACCDE78AB803BC97282--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: opcode 1111
Date: Mon, 4 Sep 2000 07:58:17 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8ovdu4$em1$15$1@news.t-online.com>
References: <8onvs7$7e1$1@claire.desy.de>

Hello Alexei,
what CPU are you using?
68K.
Here are two hooks to implement own Opcodemacros,
which are starting with the opcode highbyte 0xAx or 0xFx.
If there is an opcode found, where no opcode macro is assigned to,
there is a "Line A" or "Line F" trape or exception raised by the 68K CPU.

Maybe you did hit this.

If you did not intend to assign a new opcodemacro, like having a SoftWare
Floatingpoint unit,
then usually wrong pointers or stacks can cause this.

HIH (Hope It Helped)

Ciao


- --

Martin Raabe
> Dmitrovskiy Alexei wrote:
> >
> > Hello,
> >
> > Could anyone clarify a question what opcode 1111 is?
> > The diagnostic message is:
> >
> > Unimplemented opcode 1111
> > Program Counter: 0x00540012
> > Status Register: 0x3008
> > ...
> >
> > Thank you in advance,
> > Alexei.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with PCI ISR
Date: Mon, 04 Sep 2000 06:32:59 GMT
From: Thomas Rahn <trahn@my-deja.com>
Organization: MacroSystem
Message-ID: <8ovfmr$1ps$1@nnrp1.deja.com>
References: <8op2eq$t6l$1@slb6.atl.mindspring.net>

Hi Terry,

from your code snippets I get the impression you do not
enable the interrupts (something like sysIntEnablePic(IRQ_LVL))

Maybe this helps

Bye

Thomas Rahn


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Vxsim File I/O with NT
Date: Mon, 04 Sep 2000 09:55:27 +0200
From: Bart Gouw <bart.gouw@vitatron.com>
Organization: Medtronic Inc.
Message-ID: <39B3556F.330769F@vitatron.com>
References: <8o6kgi$fvu$1@nnrp1.deja.com> <8onsce$7c$1@nnrp1.deja.com>
Reply-To: vitatron@gwgouw.myweb.nl

I ran into the same problem a few months ago. I discovered that all
"host:" I/O actions failed. This is an VxWorks 5.4 bug. You must use
"/tgtsvr" instead, as a work-around (this was told to me by the VxWorks
support desk). So an 'C' fopen command may look like this:  fopen
("/tgtsvr/test.txt", "a");. The files are written in the directory defined
in the VxSim Target Server command line arguments for example "-V -B
wdbpipe -R D:/VxWorks/FileIO -RW". All files are written in
"D:/VxWorks/FileIO" (or sub-directories)

Bart Gouw

hruesing@my-deja.com wrote:

> In article <8o6kgi$fvu$1@nnrp1.deja.com>,
>   jim.themis@genband.com wrote:
>
> According to WSR there is at the moment only a workaround available
> using the target server file system:
>
> >  IDE: Tornado 2.0
> >  Component: tornado-vxsim
> >  RTOS: VxWorks Version: 5.4
> >  Product Name: Tornado Release#: 2.0 Release Status: FCS
> >  Products Affected: Tornado
> >  Host: Intel x86/Pentium HostOs:  HostOSRev: 4.0 sp3
> >  Arch Family: SIM NT Arch CPU: SIM NT BSP:  Ver:
> >
> >  DESCRIPTION
> >
> >  The NT passFs device "host:" created by defining INCLUDE_NTPASSFS
> >  in the SIM NT configuration, is inaccessible from both windsh and
> > target
> >  shell.
> >
> >  WORKAROUND
> >
> >  The target server file system can be set up so that the target can
> >  access the NT host file system. Select "Target Server File System"
> >  in the "Target Server Properties" window of the target server
> >  configurtion tool. Specify a Windows host file system. After
> launching
> >  the target server, this file system can be accessed through the
> >  device "/tgtsvr" on the target either directly from the shell or
> >  programatically.
> >
>
> > I reviewed the archives but I could find anyone with a similar
> problem.
> > I am running VxSim on an NT box.  I am trying to do file I/O via
> fopen,
> > fclose, fputs, etc.  I am able to read files, but I am unable to
> create
> > and write files.  I have tried adding "host:" to the beginning of my
> > path.  I have enabled tsfs with r/w.  I get no error when I perform
> > an fopen.  However, when I execute an fputs(), I get the following
> > error:
> > ntPassFsLib: unknown ioctl = 0x14
> >
> > I looked at errno and the value showed Unknown Request.
> >
> > Can anybody explain their set-up for reading and WRITE files under
> > VxSim.
> >
> > Thanks,
> > Jim Themis
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: building vxWorks using Tornado II
Date: Thu, 24 Aug 2000 22:42:35 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8o41hu$7kk$15$1@news.t-online.com>
References: <8o3s7c$3qm$1@overload.lbl.gov>

Hello Tom,
there is a description of the component writtten in CDL (Component
Decription Language).
Here are the headers, libraries, compiler switches and other stuff defined.

HIH

Martin Raabe




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: building vxWorks using Tornado II
Date: 24 Aug 2000 20:48:42 GMT
From: johan@borksoft.xs4all.nl
Organization: Borksoft
Message-ID: <8o41na$a5s$1@news1.xs4all.nl>
References: <8o3s7c$3qm$1@overload.lbl.gov>

Tom Miller <TomM@motioneng.com> wrote:
: 1) How do I know what library these components are coming from?    say:
: \target\lib\objPENTIUMgnuvx  vs  \target\lib\obj80386gunvx?

That depends on the toolchain you choose. Look in de buildspec properties
window, you can find your architecture there, or otherwise look in the
Makefile.

: 2) How do I know which "C" source files are associated with a given
: component that I'm including?

See the properties of the included component, it is the item CONFIGLET.

: 3) If I want to modify a given components source file to make it fit my
: particular hardware, how do I specify to use my version of the file instead
: of the one from the library?

If you make sure that the code is part of your project it will always be
included first. Or (if your own code is in a library) add your library to
the LIBS macro

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Increasing SIMNT memory
Date: 24 Aug 2000 20:50:29 GMT
From: johan@borksoft.xs4all.nl
Organization: Borksoft
Message-ID: <8o41ql$a5s$2@news1.xs4all.nl>
References: <2vap5.1225$R2.107383306@nr1.ottawa.istar.net>

Said Abdosh <said_abdosh@mitel.com> wrote:
: D:\TORNADO\target\config\simpc>vxworks /r 12345 <- this in KB. But it did
: not increased the memory.

The size is in bytes, not in kBytes. The manual is wrong here.

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: 82543GC Gigabit Ethernet MAC
Date: Thu, 24 Aug 2000 20:50:30 GMT
From: eliasson@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8o41qf$h33$1@nnrp1.deja.com>

Hello,

Is anyone developing a driver for the 82543GC Gigabit Ethernet MAC for
VxWorks?  Thanx in advance.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Mon Sep  4 04:26:25 2000
From: "Ramachandramurthy, Bharat (Bharat)** CTR **" <br41@lucent.com>
Date: Mon Sep  4 04:26:27 PDT 2000
Subject: Enquiry

Can this question be answered:-
1. Does vxWorks support opening multiple instances of the same file. 
if yes 
    then is there any provisions for LOCKING the file. If LOCKING is not
supported then how do we prevent the file from being used by the
other users  when one user is manipulating it.
if not
    does that mean no other user can operate on the file until and
unless the current user finishes. If so could u explain how this is     done
.


Can mail me back to 
bharathramchandra@yahoo.com/br41@lucent.com


regards
bharath


From vxwexplo-errs@csg.lbl.gov  Tue Sep  5 04:03:07 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Tue Sep  5 04:03:09 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Tue Sep  5 04:03:04 PDT 2000

        Subject: sizeof() is type "long" on m68k but "int" on ppc604
        Subject: Re: opcode 1111
        Subject: Enquiry
        Subject: benchmark data sheets for various processor families
        Subject: SIMD instructions on Pentium
        Subject: MPC860P + MII
        Subject: Re: VxWorks and dual processors
        Subject: Re: TrueFFS
        Subject: Re: Enquiry
        Subject: Driver Questions
        Subject: Re: benchmark data sheets for various processor families
        Subject: no symbols available after download by kernel
        Subject: PCMCIA (ATA card) and MBX821
        Subject: CodeTest or (ScopeProfile+MemScope)
        Subject: Re: Green Hills Software

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: sizeof() is type "long" on m68k but "int" on ppc604
Date: Mon, 04 Sep 2000 13:15:50 MET
From: mathar@mpia-hd.mpg.de (Richard Mathar)
Organization: Max-Planck-Institut fuer Astronomie
Keywords: C
Message-ID: <2000Sep4.131550@sun18>
Reply-To: mathar@mpia-hd.mpg.de

I am trying to compile the C-line
 printf("%d\n",sizeof(double)) ;
and find that sizeof() is assumed to be of type "long" if I use the cc68k,
but of type "int" (what I'd have expected) for the ccppc, both
for the 
./host/parisc-hpux9/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126
and
./host/parisc-hpux9/lib/gcc-lib/m68k-wrs-vxworks/cygnus-2.7.2-960126
with VxWorks 5.3 .

vxTyptesBase.h has the lines
#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__
#undef _TYPE_size_t
#define _TYPE_size_t            typedef __typeof(sizeof(0)) size_t
#else
#ifndef _TYPE_size_t
#define _TYPE_size_t            typedef unsigned int size_t
#endif
#endif

Where is the actual decision made that sizeof() needs "%ld" with printf()
on MC68040 but "%d" on PPC604?

Richard J Mathar, mathar@mpia-hd.mpg.de

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: opcode 1111
Date: Mon, 4 Sep 2000 12:51:35 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <U3Ms5.2717$Vc.2419499@newsr2.u-net.net>
References: <8onvs7$7e1$1@claire.desy.de>

Dmitrovskiy Alexei wrote in message <8onvs7$7e1$1@claire.desy.de>...
>Hello,
>
>Could anyone clarify a question what opcode 1111 is?
>The diagnostic message is:
>
>Unimplemented opcode 1111
>Program Counter: 0x00540012
>Status Register: 0x3008
>...

  This is an M68k series exception, caused when the CPU attempts
to execute an opcode in the 0xF??? range. These opcodes are reserved
for the floating point or MMU coprocessor and so are an error for
the CPU. I can think of three possible reasons why you might see this
exception:

1) Your CPU has no floating point coprocessor, but you forgot to
give the compiler the -msoft-float flag, so it included opcodes for
the FPU coprocessor in your program.

2) Your CPU has no MMU and your program tried to execute a
command for the MMU, which also behaves like a coprocessor.

3) Your call stack or program counter, or perhaps a function pointer,
became corrupted and your program jumped into random memory
space.

     hth,
         DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Enquiry
Date: Mon, 4 Sep 2000 16:56:15 +0530
From: "Ramachandramurthy, Bharat (Bharat)** CTR **" <br41@lucent.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p03nn$9hu$1@overload.lbl.gov>

Can this question be answered:-
1. Does vxWorks support opening multiple instances of the same file. 
if yes 
    then is there any provisions for LOCKING the file. If LOCKING is not
supported then how do we prevent the file from being used by the
other users  when one user is manipulating it.
if not
    does that mean no other user can operate on the file until and
unless the current user finishes. If so could u explain how this is     done
 .


Can mail me back to 
bharathramchandra@yahoo.com/br41@lucent.com


regards
bharath

---------------------------

Newsgroups: comp.os.vxworks
Subject: benchmark data sheets for various processor families
Date: Mon, 04 Sep 2000 12:32:27 GMT
From: ehudfl@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p04or$ncd$1@nnrp1.deja.com>

Hello all
In WindRiver web site Mark Armitage, from Wind River Systems, published
an article at Spring 1998 whos name is: Rehosting Code Written for UNIX
on VxWorks at the address:

http://www.wrs.com/windword/html/8.rehosting.html

In that article he wrote that in VxWorks, switching between tasks takes
a few microseconds, and he continue by writing that Wind River
publishes benchmark data sheets for various processor families.
I tried to search in the site but I havn't found those benchmark data
sheets.

Where can I find those benchmark data sheets (are they available
somewhere in the net?)


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: SIMD instructions on Pentium
Date: Mon, 04 Sep 2000 13:20:54 GMT
From: lourens@mecalc.co.za (Lourens Geldenhuys)
Organization: Mecalc (Pty) Ltd
Message-ID: <39b3a11a.631125861@modem.mecalc>
Reply-To: lourens@mecalc.co.za

Does anyone know if the version of the GNU compiler/assembler that
ships with Tornado 2.0 supports the SIMD (Single Instruction Multiple
Data) instructions for the Pentium processor?
 
Regards,
  Lourens


================================================================
Lourens Geldenhuys                Tel:        +27 (0)12 665 1480
Project Engineer                  Fax:        +27 (0)12 665 1495
Mecalc (Pty) Ltd                  e-mail:   lourens@mecalc.co.za
86 Oak Avenue, Highveld Technopark, Centurion, South Africa
================================================================

---------------------------

Newsgroups: comp.os.vxworks,comp.arch.embedded,comp.sys.powerpc.tech
Subject: MPC860P + MII
Date: Mon, 4 Sep 2000 16:17:05 +0100
From: "Jeremy Pye" <cjp@endusis.com>
Organization: Customer of Energis Squared
Message-ID: <7ce0p8.39l.ln@gate.endusis.com>

Can anyone help

I am design a 10/100Mb ethernet interface on a MPC860P using
the MII/FEC interface.
Is there a standard way of connecting an AMD NetPHY-1LP ?
Are there vxWorks drivers available ?

cjp@endusis.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks and dual processors
Date: Mon, 04 Sep 2000 17:17:45 +0200
From: Gilbert Cabillic <Gilbert.Cabillic@irisa.fr>
Organization: Irisa - Campus de Beaulieu - RENNES
Message-ID: <39B3BD19.2FFCD025@irisa.fr>
References: <s8pr5.234534$8u4.2384699@news1.rdc1.bc.home.com> <39AEA111.938839B4@aps.anl.gov>



Andrew Johnson wrote:
> 
> Den wrote:
> >
> > 1.  Does VxWorks support dual processors?  Do any other embedded OS's
> > support dual or multiple processors?
> 
> Yes and no.  I'm not aware of any RTOS that supports true Symmetric
> Multi-Processing in the way that Linux and Solaris do, 

Andrew and Den,

I believe that the RTEMS system can be run on a dual pentium.
(http://www.rtems.com/). But I don't know if it's true symmetric (only
one operating system on the processors). I have never used it.

> There are also vxWorks Board Support Packages for some dual-CPU processor
> boards which pass I/O operations off to the second CPU to perform, but I
> don't think they could allow you to run normal vxWorks program code on the
> other CPU.

Yes. We have a dual pentium vxworks target. There is one vxworks on each
processor and we have vxMp library to share memory space. Every
component of the kernel can be activated on each processor.

Gilbert.
// http://www.irisa.fr/solidor/work/scratchy.html

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: TrueFFS
Date: Mon, 04 Sep 2000 16:08:19 GMT
From: "Mark Bentley" <mbentley@waverider.com>
Message-ID: <TNPs5.1254$q4.68206@petpeeve.ziplink.net>
References: <39a4022a@news.barak.net.il>

Yaron,

Yeah, Wind River support is real unsupportive about TFFS.  I have been
waiting for 2 weeks on a problem on it...

A couple things:

1) You have to write a lot of the stuff, like the code to access the actual
flash.  So, even if they say it is supported, you may no be betting a simple
"plug and play" sort of driver.

2) We have never found anyone at WindRiver who seemed to know how it works
and could really answer our questions.  I have been told flat out by Wind
River (un)support that it will not run in the configuration that we have it
running in (2 16 bit flash parts side by side for a 32 bit wide bus).

3) Just so you know it is a b---- to debug!  They do things like any error
code that you try to return, will be changed to the ERROR define.  Also,
there are cases where it will bring down the whole system if you upset it
rather than return an error code at all (like opening an already open file).

4) Just a little help if you do use it...  The format command, might, or it
might not...  If you want to format do a full erase of the entire area.  If
the TFS becomes corrupted, the format will often succeed, but not actually
write anything new and not actually fix the TFFS!  So, keep that in mind.
It is a eral pain when you are trying to get it all going...

Hope that clarifies a bit...

Mark



Y.H wrote in message <39a4022a@news.barak.net.il>...
>Does anybody knows if est860mdprpo board support TrueFFS. WindRiver support
>, didn't come up with a clear answer .
>Thanks
>
>Yaron
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Enquiry
Date: Mon, 4 Sep 2000 18:40:33 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <hbRs5.2743$Vc.2432071@newsr2.u-net.net>
References: <8p03nn$9hu$1@overload.lbl.gov>

Ramachandramurthy, Bharat (Bharat)** CTR ** wrote in message
<8p03nn$9hu$1@overload.lbl.gov>...
>Can this question be answered:-
>1. Does vxWorks support opening multiple instances of the same file.

  Yes.

>if yes
>    then is there any provisions for LOCKING the file.

  No (AFAIK).

> If LOCKING is not
>supported then how do we prevent the file from being used by the
>other users  when one user is manipulating it.

  Use a semaphore of your own to control access to it.

      hth,
        DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Driver Questions
Date: Mon, 4 Sep 2000 14:43:41 -0400
From: "Tim Stanka" <stanka@mojo.kodak.com>
Organization: Eastman Kodak Company
Message-ID: <8p0pl3$g9j$1@news.news.kodak.com>

I just designed my first VXWORKS driver. My designed was OKed but I have not
coded it up yet. I have a couple of questions:

1) How could I implement marking a device as "open for reading" or "open for
writing" so a device
    could only be open for reading with one fd.

    I wanted to use a section of the device descriptor to store information
about how a device was opened.
    (RD, WR, RDWR etc). This was easy to do in my xxOpen() function but when
I started to design
    xxClose() I realized I needed an association between an fd and the open
mode in order to correctly
    unmark the device for RD, WR etc.

    I want to look at the flags in xxOpen() and mark the device accordingly.
ie, if the flag is O_RDONLY
    I would mark the device for reading. In xxClose() I want to be able to
"unmark" the device but
    xxOpen and xxClose do not have access to the fd table. Also, an fd is
not fed to these functions.
    Without the fd to open mode association I do not know how to properly
"unmark" the device

2) The VXWORKS device descriptor (DEV_HDR) contains three fields: name,
driver number and dl. The dl
    field is a type DL_NODE. This is a self-referencing structure with two
fields:
         typedef struct dl_node
            {
            dl_node *prev;
            dl_node * next;
           } DL_NODE;

   I'm not sure why they did this. I would have a "void *data;" data field
either in DEV_HDR or DL_NODE
   so a user could connect a custom data structure to the device descriptor.

   Has anyone used the device descriptor to store device unique information?

Thanks,
Tim Stanka



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: benchmark data sheets for various processor families
Date: Mon, 04 Sep 2000 22:15:29 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p16tr$qdv$1@nnrp1.deja.com>
References: <8p04or$ncd$1@nnrp1.deja.com>


> Where can I find those benchmark data sheets (are they available
> somewhere in the net?)

No, but they can be obtained from your local sales representative. You
just need to ask...

John...


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: no symbols available after download by kernel
Date: Tue, 5 Sep 2000 08:14:33 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <_70t5.3$237.385@nreader1.kpnqwest.net>

Hello VxWorkers,

My problem is the following:
I`m working on a PPC (mv2303) and my booting sequence during development was
to load the Kernel automaticly (per FTP) and to download all additional
modules with the Tornado2 IDE. SymbolTables were getting successfully
synchronized.
Now I extended my kernel to download a module at bootup with option
LOAD_GLOBAL_SYMBOLS. When I use the telnet shell everything is working
properly but with my host shell under Tornaod2 I didn`t see the added
symbols (only the system-symbols). The synchronization task (tSymSync) is
still running.

Any ideas???

regards

- --
Markus Mitterer
Software-Development, STK
mailto: markus_mitterer@sbu1.storkgroup.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: PCMCIA (ATA card) and MBX821
Date: Tue, 05 Sep 2000 10:15:07 +0200
From: Emmanuel <Emmanuel.Herbreteau@sepro-robotique.com>
Organization: SEPRO Robotique
Message-ID: <39B4AB8B.C37C6325@sepro-robotique.com>

Hi,

We are working to connect a Compact-Flash card
(ATA controller and PCMCIA bus) with an evaluation
board called MBX821 (based on MPC 821).

The BSP seems to be buggy (bad SIO support, PCMCIA
not tested, etc...). Does anyone own a debugged
BSP for such board with PCMCIA support ????

Thanks a lot.
Emmanuel.

---------------------------

Newsgroups: comp.os.vxworks
Subject: CodeTest or (ScopeProfile+MemScope)
Date: Tue, 05 Sep 2000 16:41:56 +0800
From: Tony Cheung <dragonman@asiayeah.com>
Organization: IMS Netvigator
Message-ID: <39B4B1D3.36174246@asiayeah.com>
Reply-To: ytcheung@technologist.com

Hi,

I am evaluating VxWorks for one of my networking projects. I come across
the following tools,

1) CodeTest/Coverage + CodeTest/Memory
2) PerformacePak (ScopeProfile+MemScope)

Does anyone has any real-life experiences with the above products? They
sound very smilar to me, is option 1 or 2 better?

Thanks a lot.

Tony Cheung


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Green Hills Software
Date: Tue, 05 Sep 2000 10:27:46 GMT
From: "M Campbell" <campbells.manassas@home.net>
Organization: @Home Network
Message-ID: <CU3t5.124591$eS6.1263211@news1.rdc1.md.home.com>
References: <8ogv5q$rpv$1@nnrp1.deja.com> <39b0638f$2$zpzbeena$mr2ice@news.visi.net>

We also used Greenhills with vxWorks on a large program w/powerPCs. We found
that Greenhills support for for thier Fortran compiler is starting to be
non-existant. Their fortran debugger is practically useless beyond about a
~50K source line limit. When porting ancient fortran code be aware that
Greenhills assumes that INTEGER*1 varibles are signed, where older machines
(read Gould) make no such distinction.

On the Ada side, we had very few problems with developing there. After a
certian point, the debugger also became useless. Also found that Greenhills
method for implementing multitasking a bit awkward.

Would love to see a competior come into the picture on the Fortran side, but
don't realistically don't see the enough demand for a company to make the
effort to reach the maturity level of the Greenhills product & be
competitive. As far as I can tell, GNU compilers / debuggers (fortran, ada)
won't work for vxWorks. If anyone has actually used them in a vxWorks
environment, i'd love to hear about it, as GNU tools "should" integrate
seamlessly into the vxWorks way of doing things.

Like Peter, I dislike their Multi environment & we used it only sparingly in
the beginning to access the debugger. Once to debugger got unweildly
(extremely long compile / link times, then pay the time penalty all over
when starting the the debugger), we stopped using that too, resorting the
calls to C routines to print statements & stop processing so we could dump
memory. About the only part of the product we are currently using is their
fortran compiler (we use the vxWorks "ldppc" linker to link our code).

From a Greenhills perspective, the upgrade to Tornado II from Tornado I was
no problem (esp. since we were only using the compiler). Believe those using
the "other" Greeenhills tools will also have little problem.

"Peter McMorran" <mcmorran@visi.net> wrote in message
news:39b0638f$2$zpzbeena$mr2ice@news.visi.net...
> In <8ogv5q$rpv$1@nnrp1.deja.com>, on 08/29/00
>    at 06:25 PM, gpbeck@my-deja.com said:
>
> >Is anyone using the Green Hills software to develop/debug their
> >VxWorks applications?
>
> We're using AdaMulti to port several Ada/Fortran/C Unix programs
> to embedded PowerPC. Naturally, we have to make some adaptations
> for VxWorks, but none related to the compiler system.
>
> We were tripped by one thing related to Fortran list-directed
> I/O. Most Unix compilers allow strings in a list-directed input
> file to be enclosed in double quotes, and we were in the habit of
> using these. AdaMulti sticks to the letter of the Fortran
> standard and requires single quotes. Since we have routines that
> painstakingly write these quotes, we had to do a little work to
> get this working.
>
> >If so, what is your opinion of the their software?  Is it
> >reliable/stabile?  How is their support?
>
> We found a bug in the Ada runtime which they fixed in a few
> weeks. They are now looking at a bug in the Fortran runtime which
> produces a memory leak. Support seems good, but these fundamental
> and easily reproduced bugs are surprising in a mature product.
> Aside from these two bugs, our programs run correctly, and they
> are over 100 K lines of code. So the compiler does seem to be
> reliable.
>
> The debugger is pretty neat, letting you grab multiple tasks at
> once. I personally dislike the AdaMulti GUI, using it only to
> access the debugger, or to find out the code for an option. We
> run the build program directly from make, creating the build
> files by cloning from existing ones. With a master makefile in
> the top directory and makefiles in each subdirectory, we can
> update everything with a single make command. The builder keeps
> track of all source dependencies, recompiling all affected
> programs when a C header, or Fortran include file, or Ada package
> spec is changed.
>
> Cheers,
> Peter
>
> --
> -----------------------------------------------------------
> mcmorran@visi.net (Peter McMorran)
> -----------------------------------------------------------
>



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Wed Sep  6 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Wed Sep  6 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Wed Sep  6 04:03:05 PDT 2000

        Subject: re: TFFS on MV260x
        Subject: @@ TELECOM - VxWorks S/W Developers Needed - Ottawa
        Subject: use of cascaded macros
        Subject: Device doesn't show up as an interface
        Subject: Second serial port on MBX860
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: PCI and ISR
        Subject: Route table corruption
        Subject: Re: CodeTest or (ScopeProfile+MemScope)
        Subject: Re: Load Error "Relocation value does not fit in 24 bits"
        Subject: Re: Driver Questions
        Subject: Re: Problems with WindView under Windows 2000.
        Subject: gcc asm / ppc
        Subject: DHCP service testing
        Subject: Re: Problems with WindView under Windows 2000.
        Subject: Re: CodeTest or (ScopeProfile+MemScope)
        Subject: Re: TrueFFS
        Subject: Re: gcc asm / ppc
        Subject: Re: gcc asm / ppc
        Subject: Re: gcc asm / ppc
        Subject: Re: gcc asm / ppc
        Subject: ppc asm: loading 32 bit value into CTR reg
        Subject: Partitioning and Formatting
        Subject: Re: gcc asm / ppc
        Subject: Re: use of cascaded macros
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: scsi write corruption with large buffers
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: Spawning C++ task
        Subject: TELECOM - VxWorks S/W Developers Needed - Ottawa
        Subject: Re: Problems with PCI ISR
        Subject: Re: Green Hills Software
        Subject: Bus Bandwidth and CPU load for VxWorks RTOS and Network stack question.
        Subject: Santa Barbara Opportunities fo VxWorks Developers
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: rpclib - errno 0xd0003
        Subject: Which IRQ for PCMCIA Card?
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: rpclib - errno 0xd0003
        Subject: dosFs2 chkdsk slow to run from bootrom
        Subject: Re: Second serial port on MBX860
        Subject: Re: use of cascaded macros
        Subject: Re: Second serial port on MBX860
        Subject: Re: Second serial port on MBX860
        Subject: Re: How the target Shell handles the console device driver ?
        Subject: Vxworks wtih MPC8260ads
        Subject: Re: Device doesn't show up as an interface

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: re: TFFS on MV260x
Date: Tue, 05 Sep 2000 11:11:07 GMT
From: bob_42690@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p2kc6$8du$1@nnrp1.deja.com>
References: <8or5h7$t1n$1@overload.lbl.gov>

I integrated a non-standard flash (nand type) flash with TFFS.  Talk to
WRS to see if they have driver source code that is similar to what your
requirements are.  They may let you adapt their code.  When I did this
a while back while TFFS was in beta (ugh), I found that the example
code did not apear to closely match the structure indicated in the
documentation. This situation may have improved.

Good luck!


In article <8or5h7$t1n$1@overload.lbl.gov>,
  "Tim Allen" <Tim@TimAllenLtd.idps.co.uk> wrote:
> >>has anybody already integrated TFFS to on board flash of a MV230x,
> >>MV240x, MV260x or MV270x ?
> >>Could you share your code changes or help me to get on the road ?
> >>I think vxWorks documentation is as simple as usually.
> >
> >Nobody answered :-((
>
> Since I haven't noticed any responses, this should stop you feeling
lonely,
> but I don't think it will help!
>
> >Is there really nobody who has done this job ?
> >Has anybody succeeded in integrating any other non-standard flash ?
>
> I have integrated TFFS with a customer's flash programming library,
which
> presented a non-standard interface. It wasn't as straightforward as
the
> documentation would suggest. As well as some inconsistent
function/structure
> definitions, I noticed that the Translation Layer was accessing the
flash
> hardware directly and not going through the MTD layer as I expected.
>
> I did get it going though.  Unfortunately, I don't think I know
enough about
> the Mot boards/flash to help you specifically.
>
> Regards,
> Tim.
> --------------------
> Tim Allen Ltd
> Real Time Embedded Software Consultancy
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks,comp.realtime
Subject: @@ TELECOM - VxWorks S/W Developers Needed - Ottawa
Date: Thu, 31 Aug 2000 16:31:52 -0400
From: "PROCOM" <derekw@procom.ca>
Organization: IGS - Information Gateway Services
Message-ID: <8omf4l$htu$1@news.igs.net>

Title:  C++ / OOD VxWorks Software Developers

Description: Our client, one of the world's largest telecommunications
companies, currently requires 10 Junior to Senior Software Specialists to
design, develop, implement and support Wireless products and applications.

Minimum Requirements:
All candidates should possess a minimum of 1 year experience developing
real-time C/C++, OOD S/W on a VxWorks platform.

Desired skills would include any previous Wireless development experience.

Location: Ottawa, Ontario, Canada

Type: Full-Time Placement

Compensation: Open

PROCOM: Established in 1978, Professional Computer Consultants Group Ltd.
(Procom) is a national leader in the provision of Computer personnel on a
contract
and full-time basis. Our clients are comprised of the largest national and
international corporations that utilize technical resources extensively
across a wide range of disciplines. In the Financial Post (March 1999)
Procom was ranked as the 6th largest professional Services Company in
Canada. In November of 1999, Procom was named a Regional finalist in Canada'
s 50 Best Managed Private companies. Our track record is proven with more
than 180 consultants servicing Ottawa's high tech community and more than
1600 Procom consultants currently on assignment throughout. North America.
For further information on this and other opportunities please visit our web
site at www.procom.ca.

Interested candidates are invited to forward their resumes or questions in
confidence to:

Derek Weber
Technical Recruiter
300 March Road
Kanata, Ontario
K2K 2E2
phone: (613) 270-9339   ext 231
e-mail: derekw@procom.ca









---------------------------

Newsgroups: comp.os.vxworks
Subject: use of cascaded macros
Date: Tue, 5 Sep 2000 13:36:18 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de>

Hello everybody,

I have the problem that I get errors "macro recursion too deep" when
compiling a module that uses cascaded macros.

The macros are defined as follows:

#define K_MACRO_1        0
#define K_MACRO_2        K_MACRO_1+1
#define K_MACRO_3        K_MACRO_2+1
#define K_MACRO_4        K_MACRO_3+1
#define K_MACRO_5        K_MACRO_4+1
:
:
What can I do to compile my code. It is not possible to change the macro
definition, becausethey are used in more than one project.
I didnt find a hint in the documentation.

Thanks.

Gunter




---------------------------

Newsgroups: comp.os.vxworks
Subject: Device doesn't show up as an interface
Date: Tue, 05 Sep 2000 13:52:16 +0200
From: Mario Wolframm <wolframm@oneline.de>
Organization: ONELINE AG
Message-ID: <39B4DE70.2B5E87AD@oneline.de>

Hi,

I'm implementing an END which is supposed to be loaded several times to
correspond to a dynamic amount of devices. Unfortunately it is not
visible in ifShow(), not resolvable via ifunit() etc.
It is based on the template that came with Tornado which had to be
modified to a certain extend to actually work at all.

I call muxDevLoad and get back a reasonable address.
I call muxDevStart and get OK
I see the driver registered via muxShow
however:
neither ipAttach nor ifAddrSet work with that new interface!

Did I forget something important here?

I tried via configNet.h as well but same result!

Any help would bring me back to normal work :)

ciao
Mario

---------------------------

Newsgroups: comp.os.vxworks
Subject: Second serial port on MBX860
Date: Tue, 05 Sep 2000 12:35:14 GMT
From: "yvind Holmeide" <oeyvind.holmeide@no.abb.com>
Organization: Enitel Internet Public Access
Message-ID: <6M5t5.7434$Dxe.201282560@news.telia.no>


I am trying to configure VxWorks for a second serial port (RS232) on the
MBX860 board from Motorola.  The BSP is only prepared for one serial port
(the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.  I
have tried without success.  Anyone been through this?

regards

yvind Holmeide



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Tue, 05 Sep 2000 08:29:33 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39B4F533.F56D7B9B@swri.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de>

This is a multi-part message in MIME format.
- --------------15FD0D22356396C137D54613
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Gunter Ritter wrote:

> Hello everybody,
>
> I have the problem that I get errors "macro recursion too deep" when
> compiling a module that uses cascaded macros.
>
> The macros are defined as follows:
>
> #define K_MACRO_1        0
> #define K_MACRO_2        K_MACRO_1+1
> #define K_MACRO_3        K_MACRO_2+1
> #define K_MACRO_4        K_MACRO_3+1
> #define K_MACRO_5        K_MACRO_4+1
> :
> :
> What can I do to compile my code. It is not possible to change the macro
> definition, becausethey are used in more than one project.
> I didnt find a hint in the documentation.

I don't understand why you would use a macro to count in this manner.  It
appears to be totally unnecessary.  The macros just clutter up the code when
a simple value of 0, 1, 2, 3, 4 or 5 would do the job.

But let me give you a general tip:  These macros are just asking for
trouble.  Macros using +-*/ need to have parenthesis to protect them from
order of operations issues.
Like this:
#define K_MACRO_2        (K_MACRO_1+1)
#define K_MACRO_3        (K_MACRO_2+1)
:
:
This probably won't fix the error that you are getting but it will help you
in other situations.
Cheers

- --------------15FD0D22356396C137D54613
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------15FD0D22356396C137D54613--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Tue, 5 Sep 2000 16:29:36 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu>

Thanks for your help. I will try this tomorrow.

Well, why do we use macros to count in this manner. These macros define
constants to access large stringtables.
It is easier to access strings in this table by using a macro with names
like "K_MY_TEXTSTRING" than using an numerical index.
If a string will be deleted in this table, you just have to correkt the
macros and you can access the strings after the deleted string with the same
constant.
Otherwise you have to learn the new numbers of the following strings ;-)

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: PCI and ISR
Date: Tue, 5 Sep 2000 16:33:06 +0100
From: "Kai Mattern" <Kai_Mattern@web.de>
Organization: Heidelberger Druckmaschinen AG
Message-ID: <8p305d$7sk$1@news.hdpp.de>

Hi,
I'm having some problems with my ISR. My card use INT A on PCI side and i
figured out,
that INT A is 0x0A with an added offset of 0x10 for external Interrupt.
So i assigend my ISR as follow

 intConnect(0x19, (VOIDFUNCPTR)clc_int_service_routine, NULL);
 intEnable(0x19);

INUM_TO_IVEC just returns the value  so i wrote the Interrupt number direct.
I then got no Interrupt at all.
So i did a litte try and error and with

intConnect(0x10, (VOIDFUNCPTR)clc_int_service_routine, NULL);
intEnable(0x10);

i got my interrupts....My problem is, i cant disable the interrupt over the
interrupt mask register
on my PCI Card nor can i disable it over the 9080 chip on the PCI Card. So i
think there is something totaly wrong.
What i want is...connect the INT A from PCI device to my interrupt service
rountine i wrote.
how can i figure out the right interrupt number to connect to ? Or did i
something else wrong ?
is there something more to do to connect a ISR to the interrupt ?

thanks for reading
btw. i have a M603 board. If more information is needed to solve my problem
e-mail me please.

Kai
Kai_Mattern@web.de



---------------------------

Newsgroups: comp.os.vxworks
Subject: Route table corruption
Date: 5 Sep 2000 16:45:21 +0200
From: jochen@siemens.com.br
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <39B50627.AFB0EBEF@siemens.com.br>

Hello vxworkers,

When a PPP connection is disrupted, it seems that in some occasions the
interface name corresponding to that PPP connection in the route table
gets garbage (corrupted).

For what I know, there is a known bug concerning this problem when
several calls to slipDelete are made. Is it the same for pppDelete?

Has anybody experienced this problem?Is there a workaround for this?

Thanks,
Jochen

- -- 
- ----------------------------------------------------------
Jochen Mielke de Lima - ICN TR ES - Software Development
Siemens Information and Communication Networks
- ----------------------------------------------------------

- --
Posted from [200.230.253.34] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: CodeTest or (ScopeProfile+MemScope)
Date: Tue, 05 Sep 2000 16:58:46 +0200
From: Senthil Velmurugan <Senthil.Velmurugan@eed.ericsson.se>
Organization: Ericsson Eurolab Deutschland GmbH
Message-ID: <39B50A26.ABB1BE32@eed.ericsson.se>
References: <39B4B1D3.36174246@asiayeah.com>

Hi,

> I am evaluating VxWorks for one of my networking projects. I come across
> the following tools,
> 
> 1) CodeTest/Coverage + CodeTest/Memory
> 2) PerformacePak (ScopeProfile+MemScope)
> 
> Does anyone has any real-life experiences with the above products? They
> sound very smilar to me, is option 1 or 2 better?


As far as I know, the major technical differences/similarities I have
observed are as follows:

1. Code Instrumentation:
=======================
CodeTest: Code instrumentation is necessary. You have to compile with
a flag on module basis and it will add intrumentation code
automatically by a sort of pre-processor before the code goes into
compiler. The average instrumented code size is about 20% to 30% more
than your 'clean' code. (The amount of branches in your code like
'if', 'switch' cases and calling memory routines makes the size of
instrumentation code size bigger!)

PerformancePak: To use both tools, no need to instrument your existing
code. With a target-server connection, you can start & work with these
tools on the target.


2. CodeTest(Coverage) vs ScopeProfile
=====================================
	CodeTest will be mostly useful when you are in the development cycle
to improve your code and test cases. With this tool you can have an
idea in a particular instace, which part of a function executed more
often than the other block of your code. 
	On the other hand, ScopeProfile is useful in measuring the
performance of the target system. You can get an idea about each
function how much time it takes to finish that function. For example,
you can have a call stack at any point and from that point you are
able to analyse fuction by fuction about execution time and CPU usage.
ScopeProfile works by sampling the target for a (user-defined) period
of time and makes the statistics out of that gathered information. You
can customize the amount of time to sample and how often to sample.

3. CodeTest(Memory) vs. MemScope
================================
	As per the functionality, both are almost the same. With these tools
you can monitor locate memory allocation/de-allocation and memory
related errors, currently used memory blocks and so on. With CodeTest
you can locate the actual source code, but with MemScope you will be
able to see only the call stack. CodeTest gathers information about
memory usage by instrumented code. MemScope gathers by installing
wrappers at run-time around allocation/de-allocation routines
(malloc(), free(), realloc(), memPartCreate()...).

I think you can decide which fit to your target and application!

Regards,
Senthil.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Load Error "Relocation value does not fit in 24 bits"
Date: Tue, 05 Sep 2000 10:58:09 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B50A01.15E8E9B4@mindspring.com>
References: <6KBr5.11372$K4.483872@newsread1.prod.itd.earthlink.net> <8on6hv$81e$1@nnrp1.deja.com> <39B0846F.E5FCCF83@mindspring.com> <8oqgb5$vru$1@nnrp1.deja.com>

> The destination address is sign extended, and simply takes the place

Thanks... I guess the doc writers thought this was too obvious to
document.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Driver Questions
Date: Tue, 05 Sep 2000 09:56:21 -0500
From: Eric Lesch <eric.e.lesch@lmco.com>
Organization: Lockheed Martin Missiles and Firing Control - Dallas
Message-ID: <39B50995.900FC01C@lmco.com>
References: <8p0pl3$g9j$1@news.news.kodak.com>

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I would suggest taking a look at the VxWorks Programmer's Guide section
3.9.&nbsp; Also, take a look at the drivers that come with the BSP kit,
if you have them.
<p>For your device you should create a new structure with the device header
as the first member.
<p><tt><font color="#000099">typedef struct myDevHdr</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; {</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* first member must be device
header */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* so that pointer to this header
will</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /*also be pointer to device
header */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; DEV_HDR devHdr;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* here you can keep track of
whether */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* it was opened or not */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; BOOL bOpen;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* you can store other options
here */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; int nMode;</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; } MY_DEV_HDR;</font></tt>
<br>&nbsp;
<p>Your code to add the device will look like this
<p><tt><font color="#000099">/* create the device as a global */</font></tt>
<br><tt><font color="#000099">MY_DEV_HDR myDev;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">/* initialize your device structure here */</font></tt>
<br><tt><font color="#000099">myDev.bOpen = FALSE;</font></tt>
<br><tt><font color="#000099">myDev.nMode = 0;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">/* add the device to the I/O system */</font></tt>
<br><tt><font color="#000099">iosDevAdd(&amp;myDev, "my device", drvNum);</font></tt>
<br><font color="#000099"></font>&nbsp;<font color="#000099"></font>
<p>Now when xxxOpen is called the pointer to your structure is passed as
the first argument.
<p><tt><font color="#000099">MY_DEV_HDR *xxxOpen(MY_DEV_HDR *pMyDevHdr,</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
char *pRem, int nMode)</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; {</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* check if device has already
been opened */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; if(pMyDevHdr->bOpen == TRUE)</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return((MY_DEV_HDR
*)ERROR);</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* other stuff */</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* set opened boolean to true
*/</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; pMyDevHdr->bOpen = TRUE;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* save the mode if you want
*/</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; pMyDevHdr->nMode = nMode;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; /* this will cause the I/O system
to pass */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* the pointer to your device
header to the */</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* other routines in your driver
*/</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; return(pMyDevHdr);</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; }</font></tt>
<br>&nbsp;
<p>Since open returned the pointer to the structure it will be passed as
the first argument to xxxRead, xxxWrite, xxxIoctl, and xxxClose.
<p><tt><font color="#000099">STATUS xxxClose(MY_DEV_HDR *pMyDevHdr)</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; {</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; /* set open boolean to false
*/</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; pMyDevHdr->bOpen = FALSE;</font></tt><tt><font color="#000099"></font></tt>
<p><tt><font color="#000099">&nbsp;&nbsp; return(OK);</font></tt>
<br><tt><font color="#000099">&nbsp;&nbsp; }</font></tt>
<br><tt></tt>&nbsp;
<br>&nbsp;
<p>Tim Stanka wrote:
<blockquote TYPE=CITE>I just designed my first VXWORKS driver. My designed
was OKed but I have not
<br>coded it up yet. I have a couple of questions:
<p>1) How could I implement marking a device as "open for reading" or "open
for
<br>writing" so a device
<br>&nbsp;&nbsp;&nbsp; could only be open for reading with one fd.
<p>&nbsp;&nbsp;&nbsp; I wanted to use a section of the device descriptor
to store information
<br>about how a device was opened.
<br>&nbsp;&nbsp;&nbsp; (RD, WR, RDWR etc). This was easy to do in my xxOpen()
function but when
<br>I started to design
<br>&nbsp;&nbsp;&nbsp; xxClose() I realized I needed an association between
an fd and the open
<br>mode in order to correctly
<br>&nbsp;&nbsp;&nbsp; unmark the device for RD, WR etc.
<p>&nbsp;&nbsp;&nbsp; I want to look at the flags in xxOpen() and mark
the device accordingly.
<br>ie, if the flag is O_RDONLY
<br>&nbsp;&nbsp;&nbsp; I would mark the device for reading. In xxClose()
I want to be able to
<br>"unmark" the device but
<br>&nbsp;&nbsp;&nbsp; xxOpen and xxClose do not have access to the fd
table. Also, an fd is
<br>not fed to these functions.
<br>&nbsp;&nbsp;&nbsp; Without the fd to open mode association I do not
know how to properly
<br>"unmark" the device
<p>2) The VXWORKS device descriptor (DEV_HDR) contains three fields: name,
<br>driver number and dl. The dl
<br>&nbsp;&nbsp;&nbsp; field is a type DL_NODE. This is a self-referencing
structure with two
<br>fields:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; typedef struct dl_node
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dl_node *prev;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dl_node * next;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } DL_NODE;
<p>&nbsp;&nbsp; I'm not sure why they did this. I would have a "void *data;"
data field
<br>either in DEV_HDR or DL_NODE
<br>&nbsp;&nbsp; so a user could connect a custom data structure to the
device descriptor.
<p>&nbsp;&nbsp; Has anyone used the device descriptor to store device unique
information?
<p>Thanks,
<br>Tim Stanka</blockquote>
</html>


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with WindView under Windows 2000.
Date: Tue, 5 Sep 2000 08:08:33 -0700
From: "Dan Pinson" <danp@extendsys.com>
Message-ID: <8p329j$c320f$1@ID-48686.news.cis.dfn.de>
References: <Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca>

Hello Simon,

Yes, I have the same problem. WRS's response is "Tornado is not supported on
Windows 2000". While I haven't found a way to bypass the error message,
Tornado seems to run fine.

Dan Pinson


"Simon DiMaio" <simond@ece.ubc.ca> wrote in message
news:Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca...
> Hi
>
> I have done a full install of Tornado 2.0 under Windows 2000. Upon running
> Tornado, I receive the following message:
>
>  couldn't read file "TRY=localhost\host\resource\tcl\WindView.win32.tcl":
> no such file or directory
>
> Tornado runs fine, but WindView is not available. The base directory for
> my Tornado installation is C:\Tornado, so I don't know where the
> "TRY=localhost" has come from.
>
> Has anybody experienced a similar error message?
>
> Any ideas for a remedy would be greatly appreciated.
>
> Thanks in advance,
> Simon DiMaio
>
> ------------------------------------------------------------------------
> Simon DiMaio                                    Email: simond@ece.ubc.ca
> Robotics and Control Group
> Dept. of Electrical and Computer Engineering Phone:    (604)822-9215
> University of British Columbia Fax  :    (604)822-5949
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: gcc asm / ppc
Date: Tue, 05 Sep 2000 11:16:58 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B50E6A.294016D2@mindspring.com>


I have two easy questions:

1) How do I get
        asm("addi r1,r1,0x0");
line to compile?  Anytime I try to use an immediate operand the
compiler chokes with a "Error: unresolved expression that must 
be resolved".

2) What is the encoding of the register fields for the power pc? 
The ppc programming environment book uses 5 bit fields titled
rA, rD, rS, etc, but never bothers (that I can find) to tell you 
what values to use for which registers.. is it something as
simple as 0x00000 => r0, 0x00001 => r1, 0x00010 => r2, etc? 

I am still hoping someone will tell me where the "asm" keyword
is documented.  The gcc doc only covers the use of the ":" fields,
not the basics on the commands.

---------------------------

Newsgroups: comp.os.vxworks
Subject: DHCP service testing
Date: Tue, 05 Sep 2000 11:58:43 -0400
From: Eva Qin <yihua.qin@motorola.com>
Organization: Motorola
Message-ID: <39B51833.5F491F72@motorola.com>

Hi,

I need to test DHCP service (without relay agent) in VxWorks, but got
several problems and here are some questions I want to ask or clearify:

1. Which table in which file we have to modify to create the pool of
configuration parameter sets for DHCP server? In "VxWorks 5.4 Network
Programmer's Guide", it says "to control the contents of these
memory-resident structures, you must modify the source code that defines
these structures". Which structures in which source code need to be
modified? I figured it is the dhcpsLeaseTbl[] in usrNetDhcpsCfg.c, is
that right?

2. After creating the pool, is there any must-follow procedures need to
follow to set up the DHCP server and client in order that they can
communication to each other? Right now I have 2 750 targets, they are
connected via a hub. I create two images: one for DHCP server and one
for DHCP client, each of them used on 1 target.

3. When I create the VxWorks images, except I need to include "DHCP
server" and "DHCPv4 runtime client" componenets, is there any other
components needed to include for them to function well? By the way, I
always got configuration conflicts between "DHCP client timestamp
removal" and "DHCP client timestamp setup". Which one of these two I
have to include into the image in order for DHCP client function
correctly, or it doesn't matter?

4. When I run the test, I called serveral client functions, they are (in
order): dhcpcInit( ), dhcpcOptionSet( ), dhcpcBind( ), dhcpcServerGet(
), dhcpcParamGet( ). The return for the first three calls are ok, but
failed the last two. The error for the dhcpcServerGet is "not-bound". I
assume it's because the client didn't bind to DHCP server correctly.

5. Is there anybody have any write-downs for DHCP server and client test
procedures or test programs? or if you can show me a sample client
application code? I'd like to take a look if you have and it's ok to
show me.

My reply address may has a problem, so please send replys to
"yihua.qin@motorola.com".

Thanks a lot for any help in advance.

Yihua




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with WindView under Windows 2000.
Date: Tue, 05 Sep 2000 09:30:10 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39B51F92.E55B3ED4@rti.com>
References: <Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca> <8p329j$c320f$1@ID-48686.news.cis.dfn.de>

Simon, Dan -

Go to the Tools menu in Tornado and choose Options, then
pick 'Tornado Registry' all the way over at the right.
Change the Tornado registry from local machine to remote
machine and type in the IP address of your Windows 2000
machine.  This should make the error go away.

The "localhost" is coming from the WIND_REGISTRY setting.

Regards,
Lori

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com


Dan Pinson wrote:
> 
> Hello Simon,
> 
> Yes, I have the same problem. WRS's response is "Tornado is not supported on
> Windows 2000". While I haven't found a way to bypass the error message,
> Tornado seems to run fine.
> 
> Dan Pinson
> 
> "Simon DiMaio" <simond@ece.ubc.ca> wrote in message
> news:Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca...
> > Hi
> >
> > I have done a full install of Tornado 2.0 under Windows 2000. Upon running
> > Tornado, I receive the following message:
> >
> >  couldn't read file "TRY=localhost\host\resource\tcl\WindView.win32.tcl":
> > no such file or directory
> >
> > Tornado runs fine, but WindView is not available. The base directory for
> > my Tornado installation is C:\Tornado, so I don't know where the
> > "TRY=localhost" has come from.
> >
> > Has anybody experienced a similar error message?
> >
> > Any ideas for a remedy would be greatly appreciated.
> >
> > Thanks in advance,
> > Simon DiMaio
> >
> > ------------------------------------------------------------------------
> > Simon DiMaio                                    Email: simond@ece.ubc.ca
> > Robotics and Control Group
> > Dept. of Electrical and Computer Engineering Phone:    (604)822-9215
> > University of British Columbia Fax  :    (604)822-5949
> >

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: CodeTest or (ScopeProfile+MemScope)
Date: Tue, 05 Sep 2000 09:29:29 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39B51F69.78F9E005@rti.com>
References: <39B4B1D3.36174246@asiayeah.com> <39B50A26.ABB1BE32@eed.ericsson.se>

Senthil Velmurugan wrote:
> 
> Hi,
> 
> > I am evaluating VxWorks for one of my networking projects. I come across
> > the following tools,
> >
> > 1) CodeTest/Coverage + CodeTest/Memory
> > 2) PerformacePak (ScopeProfile+MemScope)
> >
> > Does anyone has any real-life experiences with the above products? They
> > sound very smilar to me, is option 1 or 2 better?
> 
> As far as I know, the major technical differences/similarities I have
> observed are as follows:
> 
> 1. Code Instrumentation:
> =======================
> CodeTest: Code instrumentation is necessary. You have to compile with
> a flag on module basis and it will add intrumentation code
> automatically by a sort of pre-processor before the code goes into
> compiler. The average instrumented code size is about 20% to 30% more
> than your 'clean' code. (The amount of branches in your code like
> 'if', 'switch' cases and calling memory routines makes the size of
> instrumentation code size bigger!)
> 
> PerformancePak: To use both tools, no need to instrument your existing
> code. With a target-server connection, you can start & work with these
> tools on the target.

The other major difference not covered in the analysis below is
the visibility provided by ScopeProfile and MemScope since these 
tools require no instrumentation.

ScopeProfile can provide CPU utilization for any code in your system -
even code you don't have the source to.  This can help you track down
calls to expensive kernel or third-party library functions in addition
to identifying hot spots in your own code.  CodeTest provides coverage
information for only your own code.  These two tools actually solve
different problems.

MemScope will track all memory allocations in the system including
memory allocated by the kernel and third party libraries.  CodeTest
can only tell you about memory allocated in code which you have
the source to and can recompile.  It can't see any memory allocated
on your behalf by the kernel or third-party libraries - this is
where many memory leaks occur.  The patching technology used by
MemScope is also much less intrusive than instrumentation of code.

Regards,
Lori


> 2. CodeTest(Coverage) vs ScopeProfile
> =====================================
>         CodeTest will be mostly useful when you are in the development cycle
> to improve your code and test cases. With this tool you can have an
> idea in a particular instace, which part of a function executed more
> often than the other block of your code.
>         On the other hand, ScopeProfile is useful in measuring the
> performance of the target system. You can get an idea about each
> function how much time it takes to finish that function. For example,
> you can have a call stack at any point and from that point you are
> able to analyse fuction by fuction about execution time and CPU usage.
> ScopeProfile works by sampling the target for a (user-defined) period
> of time and makes the statistics out of that gathered information. You
> can customize the amount of time to sample and how often to sample.
> 
> 3. CodeTest(Memory) vs. MemScope
> ================================
>         As per the functionality, both are almost the same. With these tools
> you can monitor locate memory allocation/de-allocation and memory
> related errors, currently used memory blocks and so on. With CodeTest
> you can locate the actual source code, but with MemScope you will be
> able to see only the call stack. CodeTest gathers information about
> memory usage by instrumented code. MemScope gathers by installing
> wrappers at run-time around allocation/de-allocation routines
> (malloc(), free(), realloc(), memPartCreate()...).
> 
> I think you can decide which fit to your target and application!
> 
> Regards,
> Senthil.

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: TrueFFS
Date: Tue, 5 Sep 2000 17:31:58 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <kg9t5.2779$Vc.2476516@newsr2.u-net.net>
References: <39a4022a@news.barak.net.il> <TNPs5.1254$q4.68206@petpeeve.ziplink.net>

Mark Bentley wrote in message ...
>
>3) Just so you know it is a b---- to debug!  They do things like any error
>code that you try to return, will be changed to the ERROR define.

  That's part of the stdio stuff: when a stdio function has an error to
report, whether from a lower level such as your driver, or internal
to the stdio function itself, the error return goes into errno, and the
function itself returns ERROR. So what's (probably) happening is that
when your driver returns an error, the stdio code says to itself "Oh
dear, an error - the code must be in errno but I'll just return ERROR
to the application and let it interpret errno itself". Alas, your driver
isn't putting the error in errno, it's trying to return it, and that doesn't
work. You are expected to write your driver according to the stdio
convention, so that when you want to return an error it's up to your
driver to set errno, and your driver ought to be returning ERROR
to the calling code in the ioLib. Either way, what they're doing there
is *correct* and *you* are using an incorrect method to attempt
to return your error.

      hth,
           DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Tue, 05 Sep 2000 13:20:24 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B52B58.DD77B490@mindspring.com>
References: <39B50E6A.294016D2@mindspring.com>

Its worse that I thought.  I can not get the compiler to 
accept:
	asm("mtctr r1");
either.  Why does this not work?

I also tried
	asm("mtctr r1" : : "r1");
which according to the book should also work; but
it doesn't.

I obviously don't understand the basics of asm, which
is not surprizing since I cant find the basics documented
anywhere.

In case you are wondering, I am intentionally not tying
the asm code to c variables.  I am just trying to get the
raw numbers for these instructions, not actually running
the code.

Someone give me a clue please

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Tue, 05 Sep 2000 13:44:08 -0400
From: Martin Beaucage <Martin.Beaucage@tech-m4.com>
Message-ID: <39B530E8.9448D267@tech-m4.com>
References: <39B50E6A.294016D2@mindspring.com>

The asm synthax is described in the GNU toolKit user guide section 3.32.

For the assembler instructions description you can get the following PDF
documents
on Motorola's web site.
(your cpu) User Manual
(your cpu) Programming environnement manual

Yes it is as simple as that:

The prototype for addi is addi rD,rA,SIMM so

rD means a Global Purpose Register for the destination
rA means a Global Purpose Register for the source or the destination
SIMM is a 16 bits constant.

asm("addi 1,1,0");  means GPR1 = GPR1 + EXTS(SIMM) (r1 = r1 + SIMM)

where EXTS means extending on the left with sign bits.


Al Johnston wrote:

> I have two easy questions:
>
> 1) How do I get
>         asm("addi r1,r1,0x0");
> line to compile?  Anytime I try to use an immediate operand the
> compiler chokes with a "Error: unresolved expression that must
> be resolved".
>
> 2) What is the encoding of the register fields for the power pc?
> The ppc programming environment book uses 5 bit fields titled
> rA, rD, rS, etc, but never bothers (that I can find) to tell you
> what values to use for which registers.. is it something as
> simple as 0x00000 => r0, 0x00001 => r1, 0x00010 => r2, etc?
>
> I am still hoping someone will tell me where the "asm" keyword
> is documented.  The gcc doc only covers the use of the ":" fields,
> not the basics on the commands.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Tue, 05 Sep 2000 14:51:13 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B540A1.AFEFA0A6@mindspring.com>
References: <39B50E6A.294016D2@mindspring.com> <39B530E8.9448D267@tech-m4.com>


> The asm synthax is described in the GNU toolKit user guide section 3.32.

I wish it was.  That section starts out "...you can now specify the 
operands of the instruction using c expressions."  It is documenting
the use of the ":" fields as an addition to the simpler case that does
not use that feature.  The basic use of asm is not covered.  I wish it
was.

> asm("addi 1,1,0");

Your kidding... no your not! it works just as you said.  I tried %r1,
r1,
p1, %p1, gpr1,... but never just "1"... arrg.... THANKS

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Tue, 05 Sep 2000 15:14:46 -0400
From: "J. Barry Wandell" <jbwandell@ellacoya.com>
Message-ID: <39B54626.BC1D44D6@ellacoya.com>
References: <39B50E6A.294016D2@mindspring.com> <39B52B58.DD77B490@mindspring.com>

"r1" is an undefined expression, the register is just "1" so drop the
"r"'s and you should be all set for the asm() call.

I think your suspicions are correct regarding the registers - 5 bits for
32 registers makes sense, right?! Never really looked to verify it.






---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: ppc asm: loading 32 bit value into CTR reg
Date: Tue, 05 Sep 2000 15:22:48 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B54808.B227A591@mindspring.com>

I am trying to do something very simple.  Loading a 32bit unsigned 
number into the CTR (SPR 9) register with minimal side effect.

I have now spent 4 hrs trying to do this... I even broke down and
tried to find it int the doc and faq... 

What is the proper way of doing this?  using AND has sideffects
on the CR.  Using addi seemed promising, and was suggested by 
someone, so I tried
	lis r0,HI(value)
	li r0,LO(value)
which didn't work because the add's ignore r0 as a "S" fields
(use 0 rather than [rS]); so I tried
	lis r11,HI(value)
	li r11,LO(value)
and that screws up if the hi bit of LO(value) is set (it
sign extends the sign bit trashing the value set in the
previous lis operation!

I thought about swapping the order, but that wont work
either because the "addi" would treat the LO(value) loaded
into the low 16 bits of CTR as a negative number...

This should not be this hard... what's the magic answer guys?

thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Partitioning and Formatting
Date: Tue, 05 Sep 2000 19:22:04 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p3h4c$7b5$1@nnrp1.deja.com>

Is there any way to partition and format a fresh ATA drive from vxWorks?

I know we can do it from DOS with a boot floppy. But I'm writing a
procedure for installing our software, and our customer will not
nessecarily have access to DOS unless we buy it for them (and add that
to the cost of the product).

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Tue, 05 Sep 2000 15:35:23 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B54AFB.264F519A@mindspring.com>
References: <39B50E6A.294016D2@mindspring.com> <39B52B58.DD77B490@mindspring.com> <39B54626.BC1D44D6@ellacoya.com>


> "r1" is an undefined expression, the register is just "1" so drop the
> "r"'s and you should be all set for the asm() call.

Man I feel dumb...

> > I think your suspicions are correct regarding the registers - 5 bits for

Seems be working for me... I am sure its in the pe32 somewhere... but
it is not in an obvious place.

thanks for the help.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Tue, 5 Sep 2000 13:48:00 -0600
From: "Richard" <rrapierATsieversinstDOTcom>
Message-ID: <39b54d5d.0@news>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de>

try the following

typedef enum
{
    K_STRING_1,
    K_STRING_2,
    K_STRING_3,
    K_STRING_4,
    ....,
    NUMBER_K_STRINGS
} K_STRING_DEF_TYPE;

you can remove entries from the definition, and the following ones will be
renumbered.  I have not looked it up in ANSI C, but in all of the compilers
I
have used, the first enumberated value is 0, and each successive one is one
larger than the previous one.  These values are usable anywhere an int is.
As
a bonus, NUMBER_K_STRINGS can be used as the upper limit of the valid
indices (all valid index values are less than NUMBER_K_STRINGS), and
can be used to allocate your string table.

Richard

"Gunter Ritter" <Gunter.Ritter@Tenovis.com> wrote in message
news:8p2vvs$hmq$1@proxy2.fe.internet.bosch.de...
> Thanks for your help. I will try this tomorrow.
>
> Well, why do we use macros to count in this manner. These macros define
> constants to access large stringtables.
> It is easier to access strings in this table by using a macro with names
> like "K_MY_TEXTSTRING" than using an numerical index.
> If a string will be deleted in this table, you just have to correkt the
> macros and you can access the strings after the deleted string with the
same
> constant.
> Otherwise you have to learn the new numbers of the following strings ;-)
>
> Gunter
>
>



---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Tue, 05 Sep 2000 16:40:53 -0400
From: Martin Beaucage <Martin.Beaucage@tech-m4.com>
Message-ID: <39B55A55.29356DC1@tech-m4.com>
References: <39B54808.B227A591@mindspring.com>



Al Johnston wrote:

> I am trying to do something very simple.  Loading a 32bit unsigned
> number into the CTR (SPR 9) register with minimal side effect.
>

You can use the instructions

mtctr rS    (move to control register)
mfctr rD    (move from control register)

or use

mtspr 9,rS    (move to special purpose register)
mfspr rD,9   (move from special purpose register)

Some thing like this should do the trick:
asm( "mtctr %0" : : "m" (value) );



---------------------------

Newsgroups: comp.os.vxworks
Subject: scsi write corruption with large buffers
Date: Tue, 05 Sep 2000 20:31:11 GMT
From: kealk@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p3l6f$c4f$1@nnrp1.deja.com>



Hi Everyone,

   It seems like when I do a write() to a SCSI
device with a large
(1-8 Meg) buffer the data is not written
correctly. I am using the
DOS file system on a Power PC 603 and 604. I still
see it even if I
do a FIOFLUSH ioctl() after each write(). I do NOT
see the memory
write corruption() if I allocate the large buffer
then break it into
pieces before sending it to the write() command.
This leads me to
believe the problem is actually associated with
passing the large
buffer to the write() command. Breaking it up
causes a performance
hit which is why I want to use one single larger
buffer. Has anyone
else seen problems like this or know of a
solution. Any help
appreciated.

Regards,

Kerry


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Tue, 05 Sep 2000 17:12:24 -0400
From: Martin Beaucage <Martin.Beaucage@tech-m4.com>
Message-ID: <39B561B8.ECC297A1@tech-m4.com>
References: <39B54808.B227A591@mindspring.com> <39B55A55.29356DC1@tech-m4.com>

Excuse me:

mtctr rS   means: move to count register,  not control register
mfctr rD  means: move from count register,  not control register


Martin Beaucage wrote:

> Al Johnston wrote:
>
> > I am trying to do something very simple.  Loading a 32bit unsigned
> > number into the CTR (SPR 9) register with minimal side effect.
> >
>
> You can use the instructions
>
> mtctr rS    (move to control register)
> mfctr rD    (move from control register)
>
> or use
>
> mtspr 9,rS    (move to special purpose register)
> mfspr rD,9   (move from special purpose register)
>
> Some thing like this should do the trick:
> asm( "mtctr %0" : : "m" (value) );


---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: 5 Sep 2000 14:28:17 -0700
From: andrew@user2.teleport.com (Andrew Klossner)
Message-ID: <8p3ohh$64h$1@user2.teleport.com>
References: <39B54808.B227A591@mindspring.com>

> I am trying to do something very simple.  Loading a 32bit unsigned 
> number into the CTR (SPR 9) register with minimal side effect.

	addis	0,0,HI(value)
	ori	0,0,LO(value)
	mtctr	0

> using AND has sideffects on the CR.

AND has no such side effect, but AND. (opcode ends in a period) will
change the CR.

  -=- Andrew Klossner (andrew@teleport.com)

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Spawning C++ task
Date: Tue, 5 Sep 2000 15:57:37 -0600
From: "George Malone" <gmalone@ball.com>
Organization: Ball Corporation
Message-ID: <968190933.274975@newsfeed>
References: <CkSq5.35744$P4.268715@news1.rdc1.az.home.com>


"G Kraemer" <ggkraemer@home.com> wrote in message
news:CkSq5.35744$P4.268715@news1.rdc1.az.home.com...
> VxWorks experts:
>
> I have a MVME-2700 using vxWorks 5.4 (T2) and I have added a C function,
> usrpgms() called from usrApplInit, which installs some of my own routines
> (file system date/time stamping, printer driver install, clock
> initializations, symFindByName(), and taskSpawn()).
>
> I have been delivered several C++ modules which are compiled with the
Green
> Hills 1.8.9 C++ compiler.  This executable (65M) resides on an exported
> network drive which is nfs mounted to the MVME-2700.
>
> Here's my problem:  usrpgms() can load the C++ executable into memory but
> when I attempt to spawn it, the C++ executable does not function
correctly.
> When I let usrpgms() load the C++ executable and taskSpawn from the target
> shell it functions correctly.
>
> Target shell execution:
> taskSpawn("niu_main",140,0x08,165000,(FUNCTPTR)symaddr)
>
> Can anyone provide me with sample code on how to spawn the C++ executable
> from my C function?
>
> Thanks in advance
>
> Garry
>
>
> int niu_main()     // does not appear to be within a class
> {
> // C++ code ....
> }
>
>
Garry,  indeed, this is a very mysterious symptom with an easy solution.
What's missing when you spawn the C++ function is its object pointer, i.e.
the "this" pointer. Every C++ function assumes that the first argument on
the stack is the "this" pointer.
Simply add  the object pointer as an argument after (FUNCTPTR)symaddr and
your symaddr method will be happy.

George




---------------------------

Newsgroups: comp.os.vxworks,comp.realtime
Subject: TELECOM - VxWorks S/W Developers Needed - Ottawa
Date: Tue, 5 Sep 2000 18:51:55 -0400
From: "PROCOM" <derekw@procom.ca>
Organization: IGS - Information Gateway Services
Message-ID: <8p3t74$1t6$1@news.igs.net>

Title:  C++ / OOD VxWorks Software Developers

Description: Our client, one of the world's largest telecommunications
companies, currently requires 10 Junior to Senior Software Specialists to
design, develop, implement and support Wireless products and applications.

Minimum Requirements:
All candidates should possess a minimum of 1 year experience developing
real-time C/C++, OOD S/W on a VxWorks platform.

Desired skills would include any previous Wireless development experience.

Location: Ottawa, Ontario, Canada

Type: Full-Time Placement

Compensation: Open

PROCOM: Established in 1978, Professional Computer Consultants Group Ltd.
(Procom) is a national leader in the provision of Computer personnel on a
contract
and full-time basis. Our clients are comprised of the largest national and
international corporations that utilize technical resources extensively
across a wide range of disciplines. In the Financial Post (March 1999)
Procom was ranked as the 6th largest professional Services Company in
Canada. In November of 1999, Procom was named a Regional finalist in Canada'
s 50 Best Managed Private companies. Our track record is proven with more
than 180 consultants servicing Ottawa's high tech community and more than
1600 Procom consultants currently on assignment throughout. North America.
For further information on this and other opportunities please visit our web
site at www.procom.ca.

Interested candidates are invited to forward their resumes or questions in
confidence to:

Derek Weber
Technical Recruiter
300 March Road
Kanata, Ontario
K2K 2E2
phone: (613) 270-9339   ext 231
e-mail: derekw@procom.ca









---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with PCI ISR
Date: 5 Sep 2000 22:57:21 GMT
From: tsikes@netcom.com (Terry Sikes)
Organization: NETCOM / MindSpring Enterprises, Inc.
Message-ID: <8p3toh$idf$1@slb6.atl.mindspring.net>
References: <8op2eq$t6l$1@slb6.atl.mindspring.net> <8ovfmr$1ps$1@nnrp1.deja.com>

In article <8ovfmr$1ps$1@nnrp1.deja.com>,
Thomas Rahn  <trahn@my-deja.com> wrote:
>Hi Terry,
>
>from your code snippets I get the impression you do not
>enable the interrupts (something like sysIntEnablePic(IRQ_LVL))
>
>Maybe this helps
>
>Bye
>
>Thomas Rahn

Hi Thomas.  Thanks for responding.  Actually, I do have that call in my
code, I just forget to include it:

- ---revised snippet 1---
  int myInterrupt = 10;

  if (intConnect( INUM_TO_IVEC(INT_VEC_GET(myInterrupt)),
                  (VOIDFUNCPTR) myIsr,
                  (int) myIntSem) == ERROR) {
    logError("tm: intConnect failed");
  }

  if (sysIntEnablePIC(myInterrupt) == ERROR) {
    logError("tm: failed to enable interrupt");
  } 
- ------

What documentation I've been able to find on sysIntEnablePic has been
pretty sparse, so I hope I'm doing (mostly) the right things.  Now, if
I can just figure out what's actually going on...  (I don't see any of
my error messages.)

Terry
- --
tsikes@netcom.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Green Hills Software
Date: Tue, 5 Sep 2000 19:46:47 -0400
From: "Jeff Creem" <jcreem@atetola.mv.com>
Organization: MV Communications, Inc.
Message-ID: <8p40db$36f$1@pyrite.mv.net>
References: <8ogv5q$rpv$1@nnrp1.deja.com> <39b0638f$2$zpzbeena$mr2ice@news.visi.net> <CU3t5.124591$eS6.1263211@news1.rdc1.md.home.com>


"M Campbell" <campbells.manassas@home.net> wrote in message
news:CU3t5.124591$eS6.1263211@news1.rdc1.md.home.com...
> On the Ada side, we had very few problems with developing there. After a
> certian point, the debugger also became useless. Also found that
Greenhills
> method for implementing multitasking a bit awkward.
>
> Would love to see a competior come into the picture on the Fortran side,
but
> don't realistically don't see the enough demand for a company to make the
> effort to reach the maturity level of the Greenhills product & be
> competitive. As far as I can tell, GNU compilers / debuggers (fortran,
ada)
> won't work for vxWorks. If anyone has actually used them in a vxWorks
> environment, i'd love to hear about it, as GNU tools "should" integrate
> seamlessly into the vxWorks way of doing things.
>

Hmm..vxWorks is a supported platform from ACT (www.gnat.com) for GNAT (Ada
95). I've
used gcc for BSP stuff on vxworks for years..Only question left is FORTRAN
(might
be a little tougher to find a vendor to provide support).



---------------------------

Newsgroups: comp.os.vxworks
Subject: Bus Bandwidth and CPU load for VxWorks RTOS and Network stack question.
Date: Tue, 5 Sep 2000 18:26:12 -0700
From: "Greg FitzJohn" <gregf@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <srb73efkljn170@corp.supernews.com>

 We are planning on using the MPC855T processor at 50MHz (maybe 80MHz) for
one of our products.  Is there a place where I can find out what percentage
of bus bandwidth and CPU load that the VxWorks RTOS and the network stack
typically consume.

Thanks,

Greg FitzJohn
gregf@vertical.com
Vertical Networks



---------------------------

Newsgroups: comp.os.vxworks
Subject: Santa Barbara Opportunities fo VxWorks Developers
Date: Tue, 5 Sep 2000 18:46:32 -0700
From: "Recruiting" <jobs@connsys.com>
Organization: Connected Systems
Message-ID: <Snht5.2$wU6.173@wdc-read-01.qwest.net>
Reply-To: "Recruiting" <jobs@connsys.com>

Connected Systems is a high tech startup in Santa Barbara, California
nearing launch of our Internet messaging & voice appliance. Our products
enable service providers to enhance their Broadband/Internet offerings with
our new breed of high-value applications such as messaging, voice mail and
beyond.

We are growing rapidly and currently seeking experience in voice, CTI,
messaging, networking, real-time systems for the following positions:

 Software Engineers

 Sr. Software Engineers

Design and develop integrated applications, drivers on our IP-telephony
platforms. C/C++ and networking experience required. Senior positions
require RTOS and 5+ years of industry experience. VxWorks experience and
familiarity with Unified Messaging, VoIP, LDAP, IMAP protocols desired.

We offer competitive salaries, benefits, SEP program, and pre-IPO stock
options. Please send your resumes to:

jobs@connsys.com  or  Fax: (775) 205-6564






---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Tue, 05 Sep 2000 23:07:06 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B5B4DA.ECC176A3@mindspring.com>
References: <39B54808.B227A591@mindspring.com> <8p3ohh$64h$1@user2.teleport.com>

Thanks to all who answered.

>         addis   0,0,HI(value)
>         ori     0,0,LO(value)
>         mtctr   0

sigh... and thanks, will try this tomorrow.


> AND has no such side effect, but AND. (opcode ends in a period) will

I know I checked this; Ah, there is a "if ." on the side effects... 
thanks for straightening me out.ch...


- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: rpclib - errno 0xd0003
Date: Tue, 05 Sep 2000 23:09:23 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B5B563.D0E3CB51@mindspring.com>

Anybody know why the rpcLib routines seem to like to
set errno?  I know errno is not valid except when an 
error has been detected... still, its annoying!

Anybody know?  none of the other lib's seem to "miss"
behave like this.

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Which IRQ for PCMCIA Card?
Date: Tue, 5 Sep 2000 20:38:01 -0700
From: "Dan Pinson" <danp@extendsys.com>
Message-ID: <8p4e7a$bu99h$1@ID-48686.news.cis.dfn.de>

I should remember this but don't. Can someone help?

Platform:
x86 (Pentium)
PCMCIA controller on PCI bus

Question: How is the IRQ determined?

The card/slot is configured for INT#A which is a PCI interrupt. How do I
determine what IRQ is raised?

For background the controller is a Cirrus Logic PD6729. I have a 3COM
Ethernet III card installed. Networking doesn't seem to be working although
there are no error messages during boot. I cannot ping from/to the target
nor can I get WDB to work via the network. By peeking in RAM I can see that
the card is there and correctly identified. I have PCIC_INT_LVL set to 0x0a.
Does that cause the interrupt to map IRQ10 or is that telling VxWorks that
it is already mapped to that IRQ?

Thanks,
Dan Pinson



---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 06 Sep 2000 04:59:36 GMT
From: "Martin Usher" <martinusher@earthlink.net>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net>
References: <39B54808.B227A591@mindspring.com>
Reply-To: "Martin Usher" <martinusher@earthlink.net>

> lis r11,HI(value)
> li r11,LO(value)
> and that screws up if the hi bit of LO(value) is set (it
> sign extends the sign bit trashing the value set in the
> previous lis operation!

The problem isn't the mtspr order, its getting that number into the
register.....

> This should not be this hard... what's the magic answer guys?
>

The answer is to use ori as the second order......

addis    reg,0,HI(value)     (lis is a simplified mneomic version of addis)
ori         reg,reg,LO(value)

That's the good news.

The bad news is that the versions of gcc that I have use the construct
addis/add (lis/ls in simplified format) so get the constant wrong half the
time. Getting a CTR value wrong is one thing, sending the processor to
completely the wrong address is really bad news!




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: rpclib - errno 0xd0003
Date: Wed, 06 Sep 2000 11:10:27 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B5D8CB.C2BFFE7F@cisco.com>
References: <39B5B563.D0E3CB51@mindspring.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------E73B9B9B1B91B06DFB6ED5B2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Al,

The value you are  seeing is a common residual errno left behind during
various phases of  rpc...
If this is disconcerting, yes you  can safely clear errno yourself.

Infact the behavior occurs across all libs in vxworks. I had observed
one while I was trying to create
my own serial device driver...and yes I too did not like the idea ;0)

In a nutshell, errno is only guaranteed to contain meaningful
information if a system call returns an error.

regards,
Vijay

Al Johnston wrote:

> Anybody know why the rpcLib routines seem to like to
> set errno?  I know errno is not valid except when an
> error has been detected... still, its annoying!
>
> Anybody know?  none of the other lib's seem to "miss"
> behave like this.
>
> -al

- --------------E73B9B9B1B91B06DFB6ED5B2
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------E73B9B9B1B91B06DFB6ED5B2--


---------------------------

Newsgroups: comp.os.vxworks
Subject: dosFs2 chkdsk slow to run from bootrom
Date: Wed, 06 Sep 2000 06:40:24 GMT
From: paulvroberts@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p4osn$ja8$1@nnrp1.deja.com>

Hi there,

Does anyone know why chkdsk would be much slower when run from the
bootrom, then when run after VxWorks is loaded?

We are using FAT32 (singly dos partitioned) 9GB SCSI disks and it takes
65 seconds in the bootrom, whereas after VxWorks is running, it takes
just 3-4 seconds!

What I did was to "enhance" the bootConfig.c file to allow booting using
dosFs2. I use a 128K cache, and call chkdsk via the icotl FIOCHKDSK.

I am using the MVME2700 BSP with the bootrom_uncmp target, so presumably
that's not rom-resident.

Any other ideas?

Thanks,

Paul Roberts.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Second serial port on MBX860
Date: Wed, 06 Sep 2000 07:46:58 GMT
From: lourens@mecalc.co.za (Lourens Geldenhuys)
Organization: Mecalc (Pty) Ltd
Message-ID: <39b5f508.90937170@modem.mecalc>
References: <6M5t5.7434$Dxe.201282560@news.telia.no>
Reply-To: lourens@mecalc.co.za

yvind

The ads860 BSP supports SMC2 as the second serial port. This
sysSerial.c might be similar to the mbx860. Also, see SPR: #10005
titled "Second SMC initialization in sysSerial.c for ads860" on
WindSurf. These changes have already been incorporated in the ads860
BSP for T2.

Regards,
  Lourens Geldenhuys

On Tue, 05 Sep 2000 12:35:14 GMT, "yvind Holmeide"
<oeyvind.holmeide@no.abb.com> wrote:

>
>I am trying to configure VxWorks for a second serial port (RS232) on the
>MBX860 board from Motorola.  The BSP is only prepared for one serial port
>(the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.  I
>have tried without success.  Anyone been through this?
>
>regards
>
>yvind Holmeide
>
>

================================================================
Lourens Geldenhuys                Tel:        +27 (0)12 665 1480
Project Engineer                  Fax:        +27 (0)12 665 1495
Mecalc (Pty) Ltd                  e-mail:   lourens@mecalc.co.za
86 Oak Avenue, Highveld Technopark, Centurion, South Africa
================================================================

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Wed, 6 Sep 2000 09:51:11 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p4t0n$6am$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de>


Gunter Ritter <Gunter.Ritter@Tenovis.com> schrieb in im Newsbeitrag:
8p2vvs$hmq$1@proxy2.fe.internet.bosch.de...
> Thanks for your help. I will try this tomorrow.
>
> Well, why do we use macros to count in this manner. These macros define
> constants to access large stringtables.
> It is easier to access strings in this table by using a macro with names
> like "K_MY_TEXTSTRING" than using an numerical index.
> If a string will be deleted in this table, you just have to correkt the
> macros and you can access the strings after the deleted string with the
same
> constant.
> Otherwise you have to learn the new numbers of the following strings ;-)
>
> Gunter
>
>

Okay, i tried it.....
The brackets didnt change anything in the behaviour. Still the same error.
The compiler of the other project has no problems with this contruction.

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Second serial port on MBX860
Date: Wed, 06 Sep 2000 09:25:27 GMT
From: "yvind Holmeide" <oeyvind.holmeide@no.abb.com>
Organization: Enitel Internet Public Access
Message-ID: <b4ot5.7540$Dxe.200007168@news.telia.no>
References: <6M5t5.7434$Dxe.201282560@news.telia.no> <39b5f508.90937170@modem.mecalc>

I have used the ads860 BSP as a starting point.  However, these two BSP's do
differ (e.g. dual port RAM use).  I have change the sysSerial.c according to
the ads BSP and changed NUM_TTY from 1 to 2 without success.  Do you know if
there is any other places where changes are required.


Lourens Geldenhuys <lourens@mecalc.co.za> wrote in message
news:39b5f508.90937170@modem.mecalc...
> yvind
>
> The ads860 BSP supports SMC2 as the second serial port. This
> sysSerial.c might be similar to the mbx860. Also, see SPR: #10005
> titled "Second SMC initialization in sysSerial.c for ads860" on
> WindSurf. These changes have already been incorporated in the ads860
> BSP for T2.
>
> Regards,
>   Lourens Geldenhuys
>
> On Tue, 05 Sep 2000 12:35:14 GMT, "yvind Holmeide"
> <oeyvind.holmeide@no.abb.com> wrote:
>
> >
> >I am trying to configure VxWorks for a second serial port (RS232) on the
> >MBX860 board from Motorola.  The BSP is only prepared for one serial port
> >(the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.
I
> >have tried without success.  Anyone been through this?
> >
> >regards
> >
> >yvind Holmeide
> >
> >
>
> ================================================================
> Lourens Geldenhuys                Tel:        +27 (0)12 665 1480
> Project Engineer                  Fax:        +27 (0)12 665 1495
> Mecalc (Pty) Ltd                  e-mail:   lourens@mecalc.co.za
> 86 Oak Avenue, Highveld Technopark, Centurion, South Africa
> ================================================================



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Second serial port on MBX860
Date: Wed, 06 Sep 2000 09:37:42 GMT
From: lourens@mecalc.co.za (Lourens Geldenhuys)
Organization: Mecalc (Pty) Ltd
Message-ID: <39b60e53.97412772@modem.mecalc>
References: <6M5t5.7434$Dxe.201282560@news.telia.no> <39b5f508.90937170@modem.mecalc> <b4ot5.7540$Dxe.200007168@news.telia.no>
Reply-To: lourens@mecalc.co.za

yvind

I am unfortunately not too familiar with the mbx860 BSP. I am
currently modifying the ads860 BSP for a custom board and I am hoping
that both serial ports will work 'out-of-the-box'. Maybe SPR# 10005
can help?

Regards,
  Lourens Geldenhuys

On Wed, 06 Sep 2000 09:25:27 GMT, "yvind Holmeide"
<oeyvind.holmeide@no.abb.com> wrote:

>I have used the ads860 BSP as a starting point.  However, these two BSP's do
>differ (e.g. dual port RAM use).  I have change the sysSerial.c according to
>the ads BSP and changed NUM_TTY from 1 to 2 without success.  Do you know if
>there is any other places where changes are required.
>
>
>Lourens Geldenhuys <lourens@mecalc.co.za> wrote in message
>news:39b5f508.90937170@modem.mecalc...
>> yvind
>>
>> The ads860 BSP supports SMC2 as the second serial port. This
>> sysSerial.c might be similar to the mbx860. Also, see SPR: #10005
>> titled "Second SMC initialization in sysSerial.c for ads860" on
>> WindSurf. These changes have already been incorporated in the ads860
>> BSP for T2.
>>
>> Regards,
>>   Lourens Geldenhuys
>>
>> On Tue, 05 Sep 2000 12:35:14 GMT, "yvind Holmeide"
>> <oeyvind.holmeide@no.abb.com> wrote:
>>
>> >
>> >I am trying to configure VxWorks for a second serial port (RS232) on the
>> >MBX860 board from Motorola.  The BSP is only prepared for one serial port
>> >(the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.
>I
>> >have tried without success.  Anyone been through this?
>> >
>> >regards
>> >
>> >yvind Holmeide
>> >
>> >
>>
>> ================================================================
>> Lourens Geldenhuys                Tel:        +27 (0)12 665 1480
>> Project Engineer                  Fax:        +27 (0)12 665 1495
>> Mecalc (Pty) Ltd                  e-mail:   lourens@mecalc.co.za
>> 86 Oak Avenue, Highveld Technopark, Centurion, South Africa
>> ================================================================
>
>

================================================================
Lourens Geldenhuys                Tel:        +27 (0)12 665 1480
Project Engineer                  Fax:        +27 (0)12 665 1495
Mecalc (Pty) Ltd                  e-mail:   lourens@mecalc.co.za
86 Oak Avenue, Highveld Technopark, Centurion, South Africa
================================================================

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How the target Shell handles the console device driver ?
Date: Wed, 06 Sep 2000 09:45:10 GMT
From: "yvind Holmeide" <oeyvind.holmeide@no.abb.com>
Organization: Enitel Internet Public Access
Message-ID: <Gmot5.7545$Dxe.199135744@news.telia.no>
References: <qIMr5.5636$jM4.28353@news2.bora.net>

read() and write() from STD_IN and STD_OUT should work.  However, it is
important that your task has higher priority than the target shell if your
task is spawned from e.g. usrAppInit.c.  The target shell will receive the
input from STD_IN if the target shell has higher priority.  Note also that
you might run into problems when switching from RS232 to telnet if your task
is hanging on a  read() when the target shell is re-directed from e.g. RS232
to telnet.  Thus, use select() in order to avoid this problem.

regards

yvind Holmeide


JiHye, Sohn <jhsohn308@yahoo.co.kr> wrote in message
news:qIMr5.5636$jM4.28353@news2.bora.net...
> Hello
> I'd like to know how the VxWorks target shell handles the console I/O.
>
> When a user try to communicate the target using RS-232C serial port or
> telent,
> he can get the shell prompt(->) in telnet terminal or serial comm. S/W
like
> hyterterminal.
> I'm trying to develop my own monitor program like this scheme.
>
> First, I tried to create a file to control the ethernet device driver like
> the consoleFd.
> (- the File Descriptor to control the RS-232C serial port), but failed.
> I don't know how can I receive the monitoring request  and send the
response
> data
> by ethernet device driver or RS-232C serial port respectively.
>
> If you have any diffferent idea to implement this function, please let me
> know.
> Thanks for your help.
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Vxworks wtih MPC8260ads
Date: Wed, 6 Sep 2000 17:49:48 +0800
From: "Tony Kwok" <tony9kwok@hongkong.com>
Organization: IMS Netvigator
Message-ID: <8p53rd$rqn18@imsp212.netvigator.com>

Hi,

        I need to do a project with the Motorola MPC8260ADS board, TCOM
board and a FPGA self-develop board.  I am planning to use the vxworks as
the system OS. I have the following questions. Thanks a lot for your help.
The FPGA will be connected to the 60x bus.  It will be acting as a new
interface between MPC8260 and another system.

       I know that there is a BSP for MPC8260ADS.  Do I need to self-develop
new BSP for the TCOM board and the FPGA board?

       What is the difference between the driver and the BSP of the vxworks?

      I am just a beginner in the embedded system. Pls correct me if my
concept is wrong.  Thanks a lot.


Regards,

Tony Kwok



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device doesn't show up as an interface
Date: Wed, 06 Sep 2000 12:06:31 +0200
From: Mario Wolframm <wolframm@oneline.de>
Organization: ONELINE AG
Message-ID: <39B61727.C13AD5D9@oneline.de>
References: <39B4DE70.2B5E87AD@oneline.de> <39B612E0.694B2150@atos-group.com>

"J. Grimbert" wrote:
> 
> > Did I forget something important here?
> 
> Yes, check the value of IP_MAX_UNITS for your image.
> 

You where right, the value was 1! Set it to 20

I rebuilt everything but it's not done yet, still the same behaviour

I will keep trying but if somebody else has an idea?
Anyway thanks a lot!

Mario

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Wed Sep  6 04:15:21 2000
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Date: Wed Sep  6 04:15:23 PDT 2000
Subject: Why are Negative block sizes displayed by memShow & memFreeMax


vxWorks 5.3.1 & Tornado 1.0.1 / Motorola processor.

Dear vxWorkers,

We have a  problem with memory management which someone must have seen 
before ;-).

memFreeMax() is returning a negative number of  around -22KBytes.

To make the situation even stranger, memShow 1 from the host shell shows 
four FREE BLOCKS
these are shown as:

block 1    small positive value     100 Bytes
block 2    larger positive value     500 Bytes
block 3    large positive value       26K
block 4    large negative number. -22K

If we then dump the memory block header for block 4 it shows the size as 
FFFC 9899 or similar. If this is a signed
long then this corresponds to a negative -0x36766 (not correcting for two's 
complement).
------------------------------------------------------------------------  
----------------------------------------
Q1/ Does this mean that the system has run out of malloc memory space ??.

------------------------------------------------------------------------  
---------
Q2/ What is the significance of the negative sized block.


Resulting Problems
----------------------------
This completely destroys code that looks like this :

if ( blocksize-memFreeMax() > required_later ) proceed_with_function()

where memFreeMax() is assumed to be in the range 0-large positive value.



David Anderson.  mailto:danderson@dtrack.demon.co.uk

-----------------------------------------------------
Who said "There's no life here in outer space."
-----------------------------------------------------

Disclaimer
----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
-------------------------------------------------------



From vxwexplo-errs@csg.lbl.gov  Wed Sep  6 05:08:46 2000
From: "Ramachandramurthy, Bharat (Bharat)** CTR **" <br41@lucent.com>
Date: Wed Sep  6 05:08:48 PDT 2000
Subject: Clarification



Can this question be answered:-
1. Does vxWorks support opening multiple instances of the same file. 
if yes 
    then is there any provisions for LOCKING the file. If LOCKING is not
supported then how do we prevent the file from being used by the
other users  when one user is manipulating it.
if not
    does that mean no other user can operate on the file until and
unless the current user finishes. If so could u explain how this is     done
.


Can mail me back to 
bharathramchandra@yahoo.com/br41@lucent.com


regards
bharath


From vxwexplo-errs@csg.lbl.gov  Wed Sep  6 05:57:01 2000
From: mmenge@dspt.com
Date: Wed Sep  6 05:57:03 PDT 2000
Subject: Re: Why are Negative block sizes displayed by memShow & memFreeMax

I have seen this happen when the memory has been corrupted. Somewhere
someone overwrote the memory block header.

tornado vxworks




From vxwexplo-errs@csg.lbl.gov  Wed Sep  6 08:58:37 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Wed Sep  6 08:58:40 PDT 2000
Subject: re: Device doesn't show up as an interface

> I call muxDevLoad and get back a reasonable address.
> I call muxDevStart and get OK
> I see the driver registered via muxShow
> however:
> neither ipAttach nor ifAddrSet work with that new interface!

> Did I forget something important here?

Does 'endFindByName( "xyz", 0 ) work?

The one in vxWorks 5.3.1 doesn't support multiple drivers!
If it fails, patch in the following:

END_OBJ *
fixed_endFindByName( char *name, int unit )
{
    END_TBL_ROW *row;
    END_OBJ *end;
    extern int *muxDevExists;

    for (row = (void *)lstFirst( (void *)*(&muxDevExists-1) ); row;
                                        row = (void *)lstNext( &row->node )) {
        if (strcmp( name, row->name ))
            continue;
        for (end = (void *)lstFirst( &row->units ); end;
                                        end = (void *)lstNext( &end->node ))
            if (end->devObject.unit == unit)
                return end;
    }

    return 0;
}

Compile the above somewhere and then execute something like:
    extern int endFindByName;
    endFindByName = 0xea000000
             | (((int *)&fixed_endFindByName - &endFindByName - 2) & 0xffffff);
to patch a branch instruction over the first instruction of the old routine.
(NB the above is an ARM branch, you will need to modify the constants for a 
different architecture.)

	David

----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Thu Sep  7 00:10:07 2000
From: rndmail <rndmail@tecrnd.com>
Date: Thu Sep  7 00:10:09 PDT 2000
Subject: Registering Newsgroup

Hi,
        I would like to register myself to Vxworks newsgroup. I got your

info from one of my friends who is a member of your news group.
        My email id is:
       shah_jignesh_s@yahoo.com
        I hope you will do the needful in this matter.
        Lookinf forward to your reply,

With regards,
Jignesh Shah






From vxwexplo-errs@csg.lbl.gov  Thu Sep  7 03:44:56 2000
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Date: Thu Sep  7 03:44:58 PDT 2000
Subject: Negative returns from memFindMax() : Solution.

vxWorks Tornado

Thanks to those who provided hints and tips. BSP+Linker problem as 
explained below.

PROBLEM & SOLUTION FOR THE RECORD:

>memFreeMax() is returning a negative number of  around -22KBytes.
>
>To make the situation even stranger, memShow 1 from the host shell shows 
four FREE BLOCKS
>these are shown as:
>
>block 1    small positive value     100 Bytes
>block 2    larger positive value     500 Bytes
>block 3    large positive value       26K
>block 4    large negative number. -22K
>
>If we then dump the memory block header for block 4 it shows the size as 
FFFC 9899 or similar. If this is a signed
>long then this corresponds to a negative -0x36766 (not correcting for 
two's complement).

System is working in all other respects.

INVESTIGATION & SOLUTION:

Investigation using advice from this group provided the following:

1) Negative block size is actually a very large positive value.

2) Using memFreeMax() immediately after initialising the memory pool also  
 indicates a large negative number.

3) The pool size passed into the initialisation routine was found to be a 
very large positive value, so large that it is displayed as a negative 
number by the shell ( which treats it as an int !).

4) The pool size is passed to the usrRoot task from KernelInit(...) which 
takes a start and end address for the pool...

5) KernelInit does a (start_address - end_address) to calculate the pool 
size for usrRoot(..) WITHOUT any checking.

6) The global variable space in the system had increased so that the first 
free ram address was now after sysMemTop() !.  Hence calculated pool size 
goes  to a negative int value ( == large positive unsigned ). (but well 
below sysPhysMemTop() )

SOLUTION...

7) Increasing LOCAL_MEM_SIZE so that sysMemTop() is increased above the 
first free memory address cures the problem.

Therefore if you ever see a negative block size with memFindMax() or 
memShow() check your kernelInit memory pool parameters
are valid. One ( or more ) of these are assigned by the linker..... .

BSP MODIFICATIONS

I've now added explicit checking of the memory pool length in usrRoot() 
which range check the memory pool size parameter.

    /* Initialize the memory pool before initializing any other package.
     * The memory associated with the root task will be reclaimed at the
     * completion of its activities.
     */
    if ( (long)memPoolSize < 0 ) /* checking for overflow into sign bit */
    {
        errnoSet(EDOM); // Out of range.
	  taskSuspend(0); // can be seen with debug tools.
    }
    memInit (pMemPoolStart, memPoolSize );	/* initialize memory pool */


David Anderson.  mailto:danderson@dtrack.demon.co.uk

-----------------------------------------------------
Who said "There's no life here in outer space."
-----------------------------------------------------

Disclaimer
----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
-------------------------------------------------------



From vxwexplo-errs@csg.lbl.gov  Thu Sep  7 04:03:10 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Thu Sep  7 04:03:12 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Thu Sep  7 04:03:05 PDT 2000

        Subject: Why are Negative block sizes displayed by memShow & memFreeMax
        Subject: tcp/ip
        Subject: <no subject>
        Subject: ANN: software engineering for real-time systems discussion group
        Subject: Clarification
        Subject: How to add properly new memory space to MMU
        Subject: re: Why are Negative block sizes displayed by memShow & memFreeMax
        Subject: Re: RTOS Comparison
        Subject: How to make a boot hard disk?
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: How to work with PCI ?
        Subject: interrupt on pci bus
        Subject: Question on WindView 1.0
        Subject: Linking archives
        Subject: messing up of nvram
        Subject: Re: Linking archives
        Subject: Re: How to make a boot hard disk?
        Subject: Re: <no subject>
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: re: Device doesn't show up as an interface
        Subject: Re: How to add properly new memory space to MMU
        Subject: Re: use of cascaded macros
        Subject: Re: Problems with WindView under Windows 2000.
        Subject: how to use configure VxSim
        Subject: Re: PCMCIA (ATA card) and MBX821
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: gcc 2.95.2
        Subject: Re: Partitioning and Formatting
        Subject: Re: Spawning C++ task
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Synch Driver for 8530
        Subject: HIGH TECH - VxWorks S/W Developers Needed - Ottawa
        Subject: Re: dosFs2 chkdsk slow to run from bootrom
        Subject: Flash File system
        Subject: 64x vme chassis vendor?
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: use of cascaded macros
        Subject: Re: dosFs2 chkdsk slow to run from bootrom
        Subject: Re: Linking archives
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: Re: How to make a boot hard disk?
        Subject: Re: tcp/ip
        Subject: Re: Linking archives
        Subject: Registering Newsgroup
        Subject: Re: tcp/ip
        Subject: Migrating from Tornado1 project to Tornado2
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: bootrom/ftp w/cache failure
        Subject: how to serial?
        Subject: Re: how to serial?
        Subject: Spawning routine more than once?

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Why are Negative block sizes displayed by memShow & memFreeMax
Date: Wed, 6 Sep 2000 12:07:07 +0100
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p58v7$c5m$1@overload.lbl.gov>


vxWorks 5.3.1 & Tornado 1.0.1 / Motorola processor.

Dear vxWorkers,

We have a  problem with memory management which someone must have seen 
before ;-).

memFreeMax() is returning a negative number of  around -22KBytes.

To make the situation even stranger, memShow 1 from the host shell shows 
four FREE BLOCKS
these are shown as:

block 1    small positive value     100 Bytes
block 2    larger positive value     500 Bytes
block 3    large positive value       26K
block 4    large negative number. -22K

If we then dump the memory block header for block 4 it shows the size as 
FFFC 9899 or similar. If this is a signed
long then this corresponds to a negative -0x36766 (not correcting for two's 
complement).
- ------------------------------------------------------------------------  
- ----------------------------------------
Q1/ Does this mean that the system has run out of malloc memory space ??.

- ------------------------------------------------------------------------  
- ---------
Q2/ What is the significance of the negative sized block.


Resulting Problems
- ----------------------------
This completely destroys code that looks like this :

if ( blocksize-memFreeMax() > required_later ) proceed_with_function()

where memFreeMax() is assumed to be in the range 0-large positive value.



David Anderson.  mailto:danderson@dtrack.demon.co.uk

- -----------------------------------------------------
Who said "There's no life here in outer space."
- -----------------------------------------------------

Disclaimer
- ----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
- -------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: tcp/ip
Date: 6 Sep 2000 13:35:20 +0200
From: skrow@rediffmail.com ("shameek  roy")
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <20000906083316.5382.qmail@mailweb5.rediffmail.com>

hai,
    iam just learning the basics...
    i haven't yet understood why would a realtime OS like VxWorks ever need to support tcp/ip stack. 
what would be the kind of applications that run on VxWorks and that require tcp/ip support?
when VxWorks is an RTOS and as it also requires a host OS for prog. development, why does it ever need to support tcp/ip which doesn't provide any guarantees?
please do provide some info or do direct me to appropriate sources.
             thanx in advance,
                             skrow.

////////////////////////////////////////////////////////

Heroes have an infinite capacity for stupidity. Thus are legends born! 
            --Anonymous

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions




- --
Posted from IDENT:qmailr@[202.54.124.150] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: <no subject>
Date: 6 Sep 2000 13:40:08 +0200
From: skrow@rediffmail.com ("shameek  roy")
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <20000906083415.27333.qmail@mailweb6.rediffmail.com>

hai,
    iam just learning the basics...
    i haven't yet understood why would a realtime OS like VxWorks ever need to support tcp/ip stack. 
what would be the kind of applications that run on VxWorks and that require tcp/ip support?
when VxWorks is an RTOS and as it also requires a host OS for prog. development, why does it ever need to support tcp/ip which doesn't provide any guarantees?
please do provide some info or do direct me to appropriate sources.
             thanx in advance,
                             skrow.

////////////////////////////////////////////////////////

Heroes have an infinite capacity for stupidity. Thus are legends born! 
            --Anonymous

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions




- --
Posted from IDENT:qmailr@[202.54.124.151] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: ANN: software engineering for real-time systems discussion group
Date: Wed, 06 Sep 2000 11:41:02 GMT
From: Mark T <mmt_taube@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p5agc$6hr$1@nnrp1.deja.com>

Discussion group for all aspects of software engineering for real-time
embedded, non-embedded and partially embedded systems.

Group name: real-time software development (rtswdev)
Main Page URL: http://www.egroups.com/group/RTSWDEV

Discussion of requirements, analysis, and design should be from an
implementation language independent view point. Discussion of mapping
language independent design models (such as from UML) into an
implementation language are most welcome.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Clarification
Date: Wed, 6 Sep 2000 17:38:36 +0530
From: "Ramachandramurthy, Bharat (Bharat)** CTR **" <br41@lucent.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p5cfm$gtf$1@overload.lbl.gov>



Can this question be answered:-
1. Does vxWorks support opening multiple instances of the same file. 
if yes 
    then is there any provisions for LOCKING the file. If LOCKING is not
supported then how do we prevent the file from being used by the
other users  when one user is manipulating it.
if not
    does that mean no other user can operate on the file until and
unless the current user finishes. If so could u explain how this is     done
 .


Can mail me back to 
bharathramchandra@yahoo.com/br41@lucent.com


regards
bharath

---------------------------

Newsgroups: comp.os.vxworks
Subject: How to add properly new memory space to MMU
Date: Wed, 6 Sep 2000 15:23:46 +0300
From: "Ezra Koper" <ezra_k@arelnet.com>
Organization: NetVision Israel	
Message-ID: <8p5cv9$s8v$1@news.netvision.net.il>

Our target hardware is based 90% on regular PC and use Pentium2-333Mhz.
In order to add a PCI device I had to do two steps:

1. Add new PCI device and configure its relevant PCI configuration registers
by using VxWorks pciDevConfig() & pciConfigOutWord() functions.
2. Command the memory unit to open additional memory space for the new PCI
memory window space. Failing to do so will cause to exception each time the
software will try to access this memory area.

Since I didn't find any MMU VxWorks function to add new memory window, I had
to do it in the hard way.
a. Add new element to MMU DB structure by calling sysMmuMapAdd() - it just
add it to the structure sysPhysMemDesc[], nothing more.
b. call vmBaseGlobalMapInit( sysPhysMemDesc,sysPhysMemDescNumEnt,TRUE);
which initialize MMU from beginning.
Since the source code for sysMmuMapAdd() is available I noticed that it use
var  sysPhysMemDescNumEnt to keep track of how many memory elements are
valid inside sysPhysMemDesc[] structure array. After re initialization of
the MMU I was able to access the PCI memory space of the device I have
added.

Question - As you can see my solution is far from elegant or correct, so I
would like to know what is the correct way to add a new memory space to the
memory management unit?
Note - only basic MMU is activated ( INCLUDE_MMU_BASIC).




---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Why are Negative block sizes displayed by memShow & memFreeMax
Date: Wed, 6 Sep 2000 08:56:02 -0400
From: mmenge@dspt.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p5g07$i4e$1@overload.lbl.gov>

I have seen this happen when the memory has been corrupted. Somewhere
someone overwrote the memory block header.

tornado vxworks



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: RTOS Comparison
Date: Wed, 06 Sep 2000 18:43:26 +0530
From: shankar <vshankar@india.hp.com>
Organization: SSO-IT, Hewlett-Packard Co.
Message-ID: <39B642F6.D1E822A8@india.hp.com>
References: <KN0n5.2400$Sh4.21497@news1.rdc1.ne.home.com>


hi casey
check the march 99 online version of ESP at www.embedded.com
shankar
Casey Ballentine wrote:
> 
> Hello,
> 
> I'm looking for an article or URL that compares several RTOS products.  I've
> found some by searching industry rags, but the articles have all been
> industry specific (i.e. RTOSes in the Automotive Industry).  What I'd like
> is a more general comparison of RTOSes using several benchmarks (ROM and RAM
> use, CPU usage, interrupt latency, etc.)  Does anyone have a good reference?
> 
> Thanks

---------------------------

Newsgroups: comp.os.vxworks
Subject: How to make a boot hard disk?
Date: Wed, 6 Sep 2000 15:53:50 +0200
From: "zbody" <darkoz@hermes.si>
Organization: Slovenija OnLine - SiOL
Message-ID: <r0st5.468$yb7.4751@news.siol.net>

Hi!

I made a bootROM from the shell editing config.h first like
"ata=0,0(0,0)..." and it's OK it goes to search for the image on the hard
drive, renamed bootrom_uncmp to bootrom.dat. Then I tried with "mkboot c:
bootrom.dat" from the floppy with VxWorks utils and it says at first : "Boot
sector installed OK." and right after it "This program cannot be run in DOS
mode.
Failed to copy bootrom.dat to c:bootrom.sys" and freezes...

If somebody knows how to do a hard disk bootable, I would be grateful !

Thanks!

Darko



---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: 6 Sep 2000 07:15:32 -0700
From: andrew@user2.teleport.com (Andrew Klossner)
Message-ID: <8p5ji4$irm$1@user2.teleport.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net>

> The bad news is that the versions of gcc that I have use the
> construct addis/add (lis/ls in simplified format) so get the
> constant wrong half the time. Getting a CTR value wrong is one
> thing, sending the processor to completely the wrong address is
> really bad news!

The sequence

	addis	r9, 0,value@ha
	addi	r9,r9,value@l

will do the right thing for any value because it uses "@ha" (highword
adjusted) instead of "@h".  Perhaps that's what your compiler is
doing?

"ls" is not a standard simplified mnemonic (per appendix F of the
green book.)  Where do you find it?

  -=- Andrew Klossner (andrew@teleport.com)

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to work with PCI ?
Date: Wed, 6 Sep 2000 15:59:21 +0100
From: "Kai Mattern" <Kai_Mattern@web.de>
Organization: Heidelberger Druckmaschinen AG
Message-ID: <8p5ilv$dd7$1@news.hdpp.de>
References: <8oif6g$5li$1@news.netvision.net.il>

i dunno if this helps.....thats what i did to get my card running...

first there seams to be a bug with the show routines. Go to sysLib.c and
disable the ifdef
like this
/*#ifdef INCLUDE_SHOW_ROUTINES*/
#   include "pci/pciConfigShow.c" /* display of PCI config space */
/*#endif*/

after this is done and your bsp is newly build all show routines should work
(worked for me)

the adressing its easy to do. The IO and MEM maped adresses are configured
in ravenpci.c but thats only for me because i have a M603 board. But it
should work the same for you just in another file. IO is starting at
0x80000000 but there is an offset of 0x01000000 so the real startadress is
0x81000000 (same for mem...real start is C1000000). Theses offsets  are
configured in mv2600.h (like before thats for my board and bsp).

So i just added  my configuration via pciConfigOut Long in sysLib.c.
If you write now to 0x81000000 you will be on PCI IO adress 0x00 and if you
write to adress 0xC1000000 you will be on PCI MEM adress 0x00.

if you figure out how to configure the interrupt let me know..im working on
that now for 3 days and cant get him running.


"Ezra Koper" <ezra_k@arelnet.com> wrote in message
news:8oif6g$5li$1@news.netvision.net.il...
> Hello
>
> 1.
> We are using a Pentium2 333Mhz PC platform. I need to be able to open
memory
> space (and later I/O space) with a PCI device connected to primary PCI
Slot.
> I have no experience with PCI & VxWorks, and would like to know how it can
> be done.
>
> For example address 0x800000 on my target has to be mapped to address
> 0x0000000 on primary PCI device.
> So writing to address 0x800010 will actually generate writing to address
> 0x10 on the primary PCI device.
>
> There is almost no ducementation on how to use PCI with VxWorks. Any idea
> were i can find more information?
>
> 2.
> I can't activate commands as sysPciDevShow. This command paper in Widriver
> WindSurf WEB site for Technical Solution 130785.5
> so what might be the problem?
>
> Note - I have included the PCI support component at VxWorks.
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: interrupt on pci bus
Date: Wed, 6 Sep 2000 16:07:30 +0100
From: "Kai Mattern" <Kai_Mattern@web.de>
Organization: Heidelberger Druckmaschinen AG
Message-ID: <8p5j57$ddl$1@news.hdpp.de>

Hi,

anybody know what to do to connect a routine to an PCI interrupt INT A on a
mtx603 board ?

i did
    intConnect(INUM_TO_IVEC(0x19), (VOIDFUNCPTR)my_isr, NULL);
    intEnable(0x19);

the 0x19 is out of mv2600.h

#else /* (MTX603/604) */
#   define PMC_INT_LVL1  ( 0x09 + EXT_INTERRUPT_BASE )

where EXT_INT is 0x10.
I thought if my card now do an interrupt my isr will answer...but it dont do
anything...

i tried numbers from 0x00 to 0x20. At 0x10 there is a lot of traffic. Seems
LAN or SCSI is on that Interrupt.
Anybody know what to do ?


thanks a lot
Kai



---------------------------

Newsgroups: comp.os.vxworks
Subject: Question on WindView 1.0
Date: Wed, 06 Sep 2000 16:25:58 +0200
From: Carsten Boeckmann <Carsten.Boeckmann@eed.ericsson.se>
Organization: Ericsson Eurolab Deutschland GmbH
Message-ID: <39B653F6.E89E8AFF@eed.ericsson.se>
Reply-To: Carsten.Boeckmann@eed.ericsson.se

Hi VxWorkers,

I am inspecting some tasks on our VxWorks system using WindView 1.0.
Since I would like to inspect the events and interactions of just a very
small set of the tasks running on our system, I want to switch off the
other tasks in WindView's graphical presentation. I have in mind that
this is already possible with WindView 2.0, but I didn't find a way on
how to do this using WindView 1.0.

Does somebody of you know if and how this can be done ?  

Thanks in advance,
Carsten


- -- 
 ____________________________________________
   -= Carsten.Boeckmann@eed.ericsson.se =-

---------------------------

Newsgroups: comp.os.vxworks
Subject: Linking archives
Date: Wed, 6 Sep 2000 16:27:08 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p5k76$90e$1@proxy2.fe.internet.bosch.de>

Hello NG,

and again a problem using Tornado. It might be a simple problem, but I cant
locate an error. Maybe the error is again sittung in front of the keyboard
;-).

I have a bootable project and several downloadable projects. The output of
the downloadable projects are archives like project1.a and project2.a.
Functions in project2 are using functions in project1 (lets say there are
library functions in project 1 for all other bootable projects like
project2.

The compilation of each project works fine.

These archives have to be linked against the bootable VxWorks-Project.
When linking the bootable project, the linker tells me, that there undefined
references. These references are some functions in project1 that will be
used by functions in project2. Other functions in project1 that are used by
project2 dont make any trouble.

Moving the modules from project1 to project2 solves the problem, but this is
not a solution for me..
Putting all files in one project is no alternative. This makes the project
unreadable.

Whats wrong now?

Thanks for any help.

GUnter



---------------------------

Newsgroups: comp.os.vxworks
Subject: messing up of nvram
Date: Wed, 06 Sep 2000 14:30:52 GMT
From: ddinker@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p5kes$id7$1@nnrp1.deja.com>

i have a very peculiar problem here...we have nvram on our board...when
i take th bsp for the board , build it and download it...i am able to
use it properly...

but when i include by application it is unable to write to nvram as
some chip selcts get messed up....i am not doing anything with the chip
selects in the application...

any idea what's happenning? any lead wil be appreciated...

dinker


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: 6 Sep 2000 15:04:08 GMT
From: johan@borksoft.xs4all.nl
Organization: Borksoft
Message-ID: <8p5md8$40e$1@news1.xs4all.nl>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de>

Gunter Ritter <Gunter.Ritter@Tenovis.com> wrote:
: Hello NG,

: I have a bootable project and several downloadable projects. The output of
: the downloadable projects are archives like project1.a and project2.a.
: Functions in project2 are using functions in project1 (lets say there are
: library functions in project 1 for all other bootable projects like
: project2.

: The compilation of each project works fine.

: These archives have to be linked against the bootable VxWorks-Project.
: When linking the bootable project, the linker tells me, that there undefined
: references. These references are some functions in project1 that will be
: used by functions in project2. Other functions in project1 that are used by
: project2 don't make any trouble.

The linking is done at the moment you build your complete image, so your
bootable application. When you add yout project1.a to the LIBS in your
bootable project they will be linked. You can remove the project1.a from
your other projects.

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to make a boot hard disk?
Date: Wed, 6 Sep 2000 08:05:08 -0700
From: "Dan Pinson" <danp@extendsys.com>
Message-ID: <8p5mfb$c4tq3$1@ID-48686.news.cis.dfn.de>
References: <r0st5.468$yb7.4751@news.siol.net>

mkboot.bat invokes vxcopy.exe which insists on running in a DOS window.
Here's what I did:

On Windows workstation: 'vxcopy bootrom_uncmp a:bootrom.sys'
On target booted to DOS (boot from a floppy if neccessary): 'copy /b
a:bootrom.sys c:'
Then you should run 'chkdsk c:\bootrom.sys' to ensure that it is contiguous.

Regards,
Dan


"zbody" <darkoz@hermes.si> wrote in message
news:r0st5.468$yb7.4751@news.siol.net...
> Hi!
>
> I made a bootROM from the shell editing config.h first like
> "ata=0,0(0,0)..." and it's OK it goes to search for the image on the hard
> drive, renamed bootrom_uncmp to bootrom.dat. Then I tried with "mkboot c:
> bootrom.dat" from the floppy with VxWorks utils and it says at first :
"Boot
> sector installed OK." and right after it "This program cannot be run in
DOS
> mode.
> Failed to copy bootrom.dat to c:bootrom.sys" and freezes...
>
> If somebody knows how to do a hard disk bootable, I would be grateful !
>
> Thanks!
>
> Darko
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: <no subject>
Date: Wed, 06 Sep 2000 11:02:59 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39B686D3.127A4793@lmco.com>
References: <20000906083415.27333.qmail@mailweb6.rediffmail.com>

	Real-time systems exist that do remote data logging or some such. 
While
the data logging need to occur, it does not have to be fast, if you have
big buffers
or and afford to lose data from the log in some situations.  TCP does
provide
(more-or-less) guaranteed delivery of messages, just not in any
particular time,
with using UDP does not guarantee delivery, but is faster.  Some folks
even 
have such things as web servers on vxWorks, to create easy operator
interfaces,
while the critical stuff goes on 'under the table' as it were.

HTH,

Joe Durusau

shameek roy wrote:
> 
> hai,
>     iam just learning the basics...
>     i haven't yet understood why would a realtime OS like VxWorks ever need to support tcp/ip stack.
> what would be the kind of applications that run on VxWorks and that require tcp/ip support?
> when VxWorks is an RTOS and as it also requires a host OS for prog. development, why does it ever need to support tcp/ip which doesn't provide any guarantees?
> please do provide some info or do direct me to appropriate sources.
>              thanx in advance,
>                              skrow.
> 
> ////////////////////////////////////////////////////////
> 
> Heroes have an infinite capacity for stupidity. Thus are legends born!
>             --Anonymous
> 
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> 
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
> 
> Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions
> 
> --
> Posted from IDENT:qmailr@[202.54.124.151]
> via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 6 Sep 2000 17:27:19 +0200
From: laire@t-online.de (Ralph Schmidt)
Organization: T-Online
Message-ID: <8p5non$ukk$11$1@news.t-online.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com>

On 09/06/00, Andrew Klossner wrote:
>> The bad news is that the versions of gcc that I have use the
>> construct addis/add (lis/ls in simplified format) so get the
>> constant wrong half the time. Getting a CTR value wrong is one
>> thing, sending the processor to completely the wrong address is
>> really bad news!
>
>The sequence
>
>	addis	r9, 0,value@ha
>	addi	r9,r9,value@l
>
>will do the right thing for any value because it uses "@ha" (highword
>adjusted) instead of "@h".  Perhaps that's what your compiler is
>doing?
>
>"ls" is not a standard simplified mnemonic (per appendix F of the
>green book.)  Where do you find it?
>

"lis"
is a standard macro for addis Rn,0,value defined on the addis manual
page.

"li"
is the same for addi Rn,0,value



- -- 
Ralph Schmidt,laire@t-online.de(private),NextMail welcome

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Device doesn't show up as an interface
Date: Wed, 6 Sep 2000 16:58:51 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009061558.QAA07784@dsl-2.tadpole.co.uk>

> I call muxDevLoad and get back a reasonable address.
> I call muxDevStart and get OK
> I see the driver registered via muxShow
> however:
> neither ipAttach nor ifAddrSet work with that new interface!

> Did I forget something important here?

Does 'endFindByName( "xyz", 0 ) work?

The one in vxWorks 5.3.1 doesn't support multiple drivers!
If it fails, patch in the following:

END_OBJ *
fixed_endFindByName( char *name, int unit )
{
    END_TBL_ROW *row;
    END_OBJ *end;
    extern int *muxDevExists;

    for (row = (void *)lstFirst( (void *)*(&muxDevExists-1) ); row;
                                        row = (void *)lstNext( &row->node )) {
        if (strcmp( name, row->name ))
            continue;
        for (end = (void *)lstFirst( &row->units ); end;
                                        end = (void *)lstNext( &end->node ))
            if (end->devObject.unit == unit)
                return end;
    }

    return 0;
}

Compile the above somewhere and then execute something like:
    extern int endFindByName;
    endFindByName = 0xea000000
             | (((int *)&fixed_endFindByName - &endFindByName - 2) & 0xffffff);
to patch a branch instruction over the first instruction of the old routine.
(NB the above is an ARM branch, you will need to modify the constants for a 
different architecture.)

	David

- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to add properly new memory space to MMU
Date: Wed, 06 Sep 2000 18:29:20 +0200
From: Gilbert Cabillic <Gilbert.Cabillic@irisa.fr>
Organization: Irisa - Campus de Beaulieu - RENNES
Message-ID: <39B670E0.CAA354D0@irisa.fr>
References: <8p5cv9$s8v$1@news.netvision.net.il>



Ezra Koper wrote:
> 
> Question - As you can see my solution is far from elegant or correct, so I
> would like to know what is the correct way to add a new memory space to the
> memory management unit?
> Note - only basic MMU is activated ( INCLUDE_MMU_BASIC).

Well, it works.
Your goal is to extend a one to one virtual memory mapping (equivalence
for physical and virtual memory) for the memory of your device. To do
that, you need to enable the access to the memory (that meens to create
one or more valid page directory entries and the corresponding page
tables). I don't know exactly how works the sysMmuMapAdd, but if this
call doesn't manage the holes of empty memory, you have the risk to
create a lot of non usable page directory entries and page tables for
the paging management. So it can cost a lot of extra memory.

The option is to do it manually. I give you some details, but it's a
little bit far from my mind. See memory management chapter of the Intel
documentation.
First way : create your page tables to describe your device memory (use
linear address). Take CR3 which point on the page directory. Add your
entries using the page tables pointers you have created. Be careful to
create a non cachable page entry (for consistency of the datas) and to
create a page align pointer for pages.
Second way : just disable the paging (clear the paging flag in CR0).

Hope it helps,
Gilbert.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Wed, 06 Sep 2000 16:26:52 GMT
From: lvwhitebir@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p5r7g$r5b$1@nnrp1.deja.com>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de>

In article <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de>,
  Gunter Ritter <Gunter.Ritter@Tenovis.com> wrote:
> Hello everybody,
>
> I have the problem that I get errors "macro recursion too deep" when
> compiling a module that uses cascaded macros.
>
> The macros are defined as follows:
>
> #define K_MACRO_1        0
> #define K_MACRO_2        K_MACRO_1+1
> #define K_MACRO_3        K_MACRO_2+1
> #define K_MACRO_4        K_MACRO_3+1
> #define K_MACRO_5        K_MACRO_4+1
> :
> :
> What can I do to compile my code. It is not possible to change the
macro
> definition, becausethey are used in more than one project.
> I didnt find a hint in the documentation.
>
> Thanks.
>
> Gunter
>
>

In my projects, we typically have a base and then an increment
philosophy such that

#define K_MACRO_1   0
#define K_MACRO_2   (K_MACRO_1 + 1)
#define K_MACRO_3   (K_MACRO_1 + 2)
...

Not as much flexibility when you need to delete entries, but
most often, we don't change the numbers once they're assigned.
We just stop using one or another, skipping it.  This will
help your current compiler problem, however, since there is
very little recursion of the macros.

HTH, Larry


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with WindView under Windows 2000.
Date: Wed, 6 Sep 2000 11:44:50 -0500
From: "fuzzy_duck" <fuzzy_duck@nowhere.com>
Organization: SkyPoint Communications, Inc.
Message-ID: <8p5scb$2p06$1@shadow.skypoint.net>
References: <Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca>

Install the windows 2000 support tools from the win2k CD.  Run the
application compatiblity tool and set the file tornado.exe to run as a
Windows NT SP5 program.  This appears to work, although I have not verified
it in detail.  You must have adminstrator privleges for it to stick. At
least it gets rid of the messages.

If you install Win2k SP1, another bunch of windows pop up saying RPCExit,
extra call.  Don't know what this is but unless you need SP1, I would
recommend waiting until someone figures out how to fix that.  Tools seem to
run if you dismiss all the info boxes.

Hey Windriver guys--lets get this fixed.

"Simon DiMaio" <simond@ece.ubc.ca> wrote in message
news:Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca...
> Hi
>
> I have done a full install of Tornado 2.0 under Windows 2000. Upon running
> Tornado, I receive the following message:
>
>  couldn't read file "TRY=localhost\host\resource\tcl\WindView.win32.tcl":
> no such file or directory
>
> Tornado runs fine, but WindView is not available. The base directory for
> my Tornado installation is C:\Tornado, so I don't know where the
> "TRY=localhost" has come from.
>
> Has anybody experienced a similar error message?
>
> Any ideas for a remedy would be greatly appreciated.
>
> Thanks in advance,
> Simon DiMaio
>
> ------------------------------------------------------------------------
> Simon DiMaio                                    Email: simond@ece.ubc.ca
> Robotics and Control Group
> Dept. of Electrical and Computer Engineering Phone:    (604)822-9215
> University of British Columbia Fax  :    (604)822-5949
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: how to use configure VxSim
Date: Wed, 06 Sep 2000 17:34:27 GMT
From: v_mathi_vanan@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p5v72$93$1@nnrp1.deja.com>

Hi,

I have an application (Client server programe) which I want to compile
and test it in VxWorks Simulator. I installed Tornado 2.0 and I did the
following steps

1. Created a workspace and project.
2. Added all required files, and compiled them. No error.
3. Launched a simulator and didn't start default target server.
4. Before that I installed ULIP and configured the IP address as
90.0.0.245. My routing table is updated automatically.
5. I configured a target server with backend as wdppipe and target ip
address as 90.0.0.245.
6. I launched the target server and the communcation between the target
server and target agent (simulator) was ok.
7. Started shell
9. Downloaded my project image. No error.
10. I started my application from the shell.
11. Now the simulator has my server program.
12 I started my client program in NT dos prompt, but if I send a request
from the client it is not reaching my server which is running in
simulator.

can any body tell me the reason why my request is not reached in my
server program ?

Do I need to configure anything more ?

Your help is appreciated.

Thanks
Mathi.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCMCIA (ATA card) and MBX821
Date: Wed, 06 Sep 2000 18:00:45 GMT
From: ed.moore@snellwilcox.com
Organization: Deja.com - Before you buy.
Message-ID: <8p60nv$22f$1@nnrp1.deja.com>
References: <39B4AB8B.C37C6325@sepro-robotique.com>

You should be aware that the MBX821 board and the MPC821 processor have
been End Of Line'd, ie obsoleted by Motorola.

Ed.

In article <39B4AB8B.C37C6325@sepro-robotique.com>,
  Emmanuel <Emmanuel.Herbreteau@sepro-robotique.com> wrote:
> Hi,
>
> We are working to connect a Compact-Flash card
> (ATA controller and PCMCIA bus) with an evaluation
> board called MBX821 (based on MPC 821).
>
> The BSP seems to be buggy (bad SIO support, PCMCIA
> not tested, etc...). Does anyone own a debugged
> BSP for such board with PCMCIA support ????
>
> Thanks a lot.
> Emmanuel.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 06 Sep 2000 12:07:51 -0600
From: "Christopher S. Kush" <kushcs@ib.stortek.com>
Organization: Storage Technology Corporation
Message-ID: <39B687F7.127D0666@ib.stortek.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com>

Ralph Schmidt wrote:
> 
> On 09/06/00, Andrew Klossner wrote:
> >Sometime, somebody else wrote:
> > > The bad news is that the versions of gcc that I have use the
> > > construct addis/add (lis/ls in simplified format) so get the
> > > [snip]
> >
> >"ls" is not a standard simplified mnemonic (per appendix F of the
> >green book.)  Where do you find it?
> >
> 
> "lis"
> is a standard macro for addis Rn,0,value defined on the addis manual
> page.
> 
> "li"
> is the same for addi Rn,0,value

You didn't answer his question.

Since the original poster is a PowerPC neophyte, I expect they meant
to type "addis/addi (lis/li ...".

- -- 
Christopher S. Kush
(303) 661 7509
kushcs@ib.stortek.com

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 06 Sep 2000 12:11:40 -0600
From: "Christopher S. Kush" <kushcs@ib.stortek.com>
Organization: Storage Technology Corporation
Message-ID: <39B688DC.A8CD1507@ib.stortek.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com>

"Christopher S. Kush" wrote:
> 
> Ralph Schmidt wrote:
> >
> > On 09/06/00, Andrew Klossner wrote:
> > >Sometime, somebody else wrote:
> > > > The bad news is that the versions of gcc that I have use the
> > > > construct addis/add (lis/ls in simplified format) so get the
> > > > [snip]
> > >
> > >"ls" is not a standard simplified mnemonic (per appendix F of the
> > >green book.)  Where do you find it?
> > >
> >
> > "lis"
> > is a standard macro for addis Rn,0,value defined on the addis manual
> > page.
> >
> > "li"
> > is the same for addi Rn,0,value
> 
> You didn't answer his question.
> 
> Since the original poster is a PowerPC neophyte, I expect they meant
> to type "addis/addi (lis/li ...".

On second thought, probably "addis/add (lis/add..."

To the original poster:

You realize that there is no way to load an arbitrary 32 bit value into a
register with one instruction.  You have to load the lower sixteen and
then add in (or in, whichever) the upper sixteen.

The PowerPC Compiler Writer's Guide (get yourself a copy from IBM's
web site) recommends using adds instead of ors, because future PowerPC
implementations may have three-input adders.

- -- 
Christopher S. Kush
(303) 661 7509
kushcs@ib.stortek.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: gcc 2.95.2
Date: Wed, 6 Sep 2000 11:53:32 -0700
From: "Ryan Tanner" <ryant@audioprecision.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <srd4krc8ljn25@corp.supernews.com>

Can I use the standard gcc release to with Tornado I? Do I really need to
get the WindRiver's released compiler?

Thanks



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Partitioning and Formatting
Date: Wed, 06 Sep 2000 19:26:25 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p65o8$8lm$1@nnrp1.deja.com>
References: <8p3h4c$7b5$1@nnrp1.deja.com>

In article <8p3h4c$7b5$1@nnrp1.deja.com>,
  Ted Dennison <dennison@telepath.com> wrote:
> Is there any way to partition and format a fresh ATA drive from
> vxWorks?
>
> I know we can do it from DOS with a boot floppy. But I'm writing a
> procedure for installing our software, and our customer will not
> nessecarily have access to DOS unless we buy it for them (and add that
> to the cost of the product).

Well, I did find one gratis solution. There's a bootable disk image of
GNU parted available at http://www.gnu.org/software/parted/ . If you
download that and a GPL version of rawrite.exe that runs on NT (I found
one at http://www.ualberta.ca/FTP/OpenBSD/2.5/tools/ ), you can supply
your customers with a bootable disk partitioning tool.

However, apparently we have already bought a copy of Win95 to cover this
very eventuality. We'll probably just use fdisk from there, as its a lot
more user-friendly.

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Spawning C++ task
Date: Wed, 06 Sep 2000 19:47:14 +0100
From: molochai <molochai@vapour-trail.demon.co.uk>
Message-ID: <e621eaf949%molochai@vapour-trail.demon.co.uk>
References: <CkSq5.35744$P4.268715@news1.rdc1.az.home.com> <968190933.274975@newsfeed>

In message <968190933.274975@newsfeed>
          "George Malone" <gmalone@ball.com> wrote:

> 
> "G Kraemer" <ggkraemer@home.com> wrote in message
> news:CkSq5.35744$P4.268715@news1.rdc1.az.home.com...
> > VxWorks experts:
> > 
> > I have a MVME-2700 using vxWorks 5.4 (T2) and I have added a C function,
> > usrpgms() called from usrApplInit, which installs some of my own routines
> > (file system date/time stamping, printer driver install, clock
> > initializations, symFindByName(), and taskSpawn()).
> > 
> > I have been delivered several C++ modules which are compiled with the
> Green
> > Hills 1.8.9 C++ compiler.  This executable (65M) resides on an exported
> > network drive which is nfs mounted to the MVME-2700.
> > 
> > Here's my problem:  usrpgms() can load the C++ executable into memory but
> > when I attempt to spawn it, the C++ executable does not function
> correctly.
> > When I let usrpgms() load the C++ executable and taskSpawn from the
> > target shell it functions correctly.
> > 
> > Target shell execution:
> > taskSpawn("niu_main",140,0x08,165000,(FUNCTPTR)symaddr)
> > 
> > Can anyone provide me with sample code on how to spawn the C++ executable
> > from my C function?
> > 
> > Thanks in advance
> > 
> > Garry
> > 
> > 
> > int niu_main()     // does not appear to be within a class { // C++ code
> > .... }
> > 
> > 
> Garry,  indeed, this is a very mysterious symptom with an easy solution.
> What's missing when you spawn the C++ function is its object pointer, i.e.
> the "this" pointer. 

Absolutely correct about this.

> Every C++ function assumes that the first argument on
> the stack is the "this" pointer. Simply add  the object pointer as an
> argument after (FUNCTPTR)symaddr and your symaddr method will be happy.
>

But the above is definately *not* a reliable or portable was of achieving
this - as has been pointed out on countless occasions myself and others. 

The method above *assumes* that every C++ implementation does indeed use the
first argument 'slot' as the object pointer at a function call (note I didn't
use the term 'stack location' as many processors pass arguments in registers
wherever possible). It just so happens that this is the case on most
architectures, but it needn't be so.

You'll also find that GCC and most other decent compilers give a warning or
error if you attempt to cast an implicit C++ member function pointer into a C
function pointer - as they should.

The correct and reliable way pick up an object pointer is with a small
'wrapper' function which is used as the task entry, and casts a parameter
into an object pointer, upon which you can safely call class methods.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 06 Sep 2000 16:02:18 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B6A2CA.6407B6B9@mindspring.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com>


> To the original poster:
> 
> You realize that there is no way to load an arbitrary 32 bit value into a

Yes, I am a ppc neophyte (g), but not quite that bad...

re Compiler Writers Guide... yet another book!!! You think there
would be an end to the list of books... but then again, its 
probably not a good idea to gripe about having TOO much doc...

Thanks to all for the "help the dumb newbie" responses.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Wed, 6 Sep 2000 22:18:56 +0200
From: laire@t-online.de (Ralph Schmidt)
Organization: T-Online
Message-ID: <8p68rg$6d3$11$1@news.t-online.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com>

On 09/06/00, "Christopher S. Kush" wrote:
>"Christopher S. Kush" wrote:
>> 
>> Ralph Schmidt wrote:
>> >
>> > On 09/06/00, Andrew Klossner wrote:
>> > >"ls" is not a standard simplified mnemonic (per appendix F of the
>> > >green book.)  Where do you find it?
>> > >
>> >
>> > "lis"
>> > is a standard macro for addis Rn,0,value defined on the addis manual
>> > page.
>> >
>> > "li"
>> > is the same for addi Rn,0,value
>> 
>> You didn't answer his question.
>> 
>> Since the original poster is a PowerPC neophyte, I expect they meant
>> to type "addis/addi (lis/li ...".
>
>On second thought, probably "addis/add (lis/add..."
>

Mhh..where wasn't i clear with my answer where lis is defined ?
Confused...

- -- 
Ralph Schmidt,laire@t-online.de(private),NextMail welcome

---------------------------

Newsgroups: comp.os.vxworks
Subject: Synch Driver for 8530
Date: Wed, 6 Sep 2000 13:20:31 -0700
From: "AG" <os_vxworks@hotmail.com>
Organization: SBC Internet Services
Message-ID: <iJxt5.35$ig.49216@news.pacbell.net>

I'm looking for a synch driver for the 8530 SCC. Any clues would be greatly
appreciated.




---------------------------

Newsgroups: comp.os.vxworks,comp.realtime
Subject: HIGH TECH - VxWorks S/W Developers Needed - Ottawa
Date: Wed, 6 Sep 2000 17:08:47 -0400
From: "PROCOM" <derekw@procom.ca>
Organization: IGS - Information Gateway Services
Message-ID: <8p6bhn$cco$1@news.igs.net>

Title:  C++ / OOD VxWorks Software Developers

Description: Our client, one of the world's largest telecommunications
companies, currently requires 10 Junior to Senior Software Specialists to
design, develop, implement and support Wireless products and applications.

Minimum Requirements:
All candidates should possess a minimum of 1 year experience developing
real-time C/C++, OOD S/W on a VxWorks platform.

Desired skills would include any previous Wireless development experience.

Location: Ottawa, Ontario, Canada

Type: Full-Time Placement

Compensation: Open

PROCOM: Established in 1978, Professional Computer Consultants Group Ltd.
(Procom) is a national leader in the provision of Computer personnel on a
contract
and full-time basis. Our clients are comprised of the largest national and
international corporations that utilize technical resources extensively
across a wide range of disciplines. In the Financial Post (March 1999)
Procom was ranked as the 6th largest professional Services Company in
Canada. In November of 1999, Procom was named a Regional finalist in Canada'
s 50 Best Managed Private companies. Our track record is proven with more
than 180 consultants servicing Ottawa's high tech community and more than
1600 Procom consultants currently on assignment throughout. North America.
For further information on this and other opportunities please visit our web
site at www.procom.ca.

Interested candidates are invited to forward their resumes or questions in
confidence to:

Derek Weber
Technical Recruiter
300 March Road
Kanata, Ontario
K2K 2E2
phone: (613) 270-9339   ext 231
e-mail: derekw@procom.ca









---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: dosFs2 chkdsk slow to run from bootrom
Date: Wed, 06 Sep 2000 23:20:41 GMT
From: andreyk@home.com (Andray Kaganovsky)
Organization: @Home
Message-ID: <8FA7C192Bandreykhomecom@24.2.9.61>
References: <8p4osn$ja8$1@nnrp1.deja.com>

paulvroberts@my-deja.com wrote in <8p4osn$ja8$1@nnrp1.deja.com>:

>Hi there,
>
>Does anyone know why chkdsk would be much slower when run from the
>bootrom, then when run after VxWorks is loaded?
>
>We are using FAT32 (singly dos partitioned) 9GB SCSI disks and it takes
>65 seconds in the bootrom, whereas after VxWorks is running, it takes
>just 3-4 seconds!
>
>What I did was to "enhance" the bootConfig.c file to allow booting using
>dosFs2. I use a 128K cache, and call chkdsk via the icotl FIOCHKDSK.
>
>I am using the MVME2700 BSP with the bootrom_uncmp target, so presumably
>that's not rom-resident.
>
>Any other ideas?
>
>Thanks,
>
>Paul Roberts.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
>

Could it be that CPU cache is disabled in the bootrom region ?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Flash File system
Date: Wed, 6 Sep 2000 16:36:09 -0700
From: "Randy Schafer" <randy_schafer@cintacom.com>
Message-ID: <lwAt5.127$JC2.53194@news01.micron.net>

Can anyone recommend a Flash File System (other than TrueFFS) that will
work with vxWorks? TFFS does not work properly with our configuration.

Thanks
- --
Randy Schafer
Sr.Software Engineer
Cinta Corportaion
randy.schafer@cinta-corp.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: 64x vme chassis vendor?
Date: Wed, 06 Sep 2000 19:57:29 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B6D9E9.48A82C15@mindspring.com>

Anyone have any recommendations / good experiences with
a vme64x chassis vendor?  We have pretty much had it
with our current vendor.

A Johnston
SOF EISE Tech Lead.
- --------------------------------------------------------------------------
Lifetime warranty - A description of how long it will take to get it
right.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Thu, 07 Sep 2000 02:57:22 GMT
From: "Martin Usher" <martinusher@earthlink.net>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <muDt5.28619$C42.1275086@newsread2.prod.itd.earthlink.net>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com>
Reply-To: "Martin Usher" <martinusher@earthlink.net>

> > > >"ls" is not a standard simplified mnemonic (per appendix F of the
> > > >green book.)  Where do you find it?

I think this comes under the category 'typo'. I know what the original
poster meant, Green Book or no Green Book.

I don't bother with the simplified codes. Its not only more things to learn
(and get wrong) but also the debuggers I have only show the standard forms
when disassembling.
>
> You realize that there is no way to load an arbitrary 32 bit value into a
> register with one instruction.  You have to load the lower sixteen and
> then add in (or in, whichever) the upper sixteen.
>
This goes for all RISCs that I know of except for one. Its just that
commonsense would dictate that you have some simple and reliable mechanism
to load constants to a register - maybe a load/loadhigh instruction pair?
(Like the 29K) (The exception is the Hitachi processors. They're 32/64 bit
units that are not dissimilar to the PowerPC, they've got 16 bit
instructions and no load literal instructions at all.)

> The PowerPC Compiler Writer's Guide (get yourself a copy from IBM's
> web site) recommends using adds instead of ors, because future PowerPC
> implementations may have three-input adders.
>

That's very nice of them but to mention this but I don't see the relevance
at all to loading a literal. I suspect what's happening here is a bit of
"old company obsurfurcation" (if you've ever had any significant experience
of Token Ring networking (but not just TR networks) then you will know what
I mean....).

Speaking personally - and this is definitely "IHMO", no flames please -
there's not going to be any future for the PowerPC processor in my world. I
build embedded systems and I can't wait to put as much distance between this
architecture and my products as possible. There are far, far, easier ways to
achieve product. (I will grant everyone that once the thing is working it
does go very fast for its clock speed, but in my world performance is not
just a matter of how fast a processor executes numeric algorithms.)




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: 06 Sep 2000 16:53:33 -1000
From: Jim Thomas <thomas@atlas.cfht.hawaii.edu>
Organization: Canada France Hawai`i Telescope
Message-ID: <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news>

>>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:

 Richard> try the following
 Richard> typedef enum
 Richard> {
 Richard>     K_STRING_1,
 Richard>     K_STRING_2,
 Richard>     K_STRING_3,
 Richard>     K_STRING_4,
 Richard>     ....,
 Richard>     NUMBER_K_STRINGS
 Richard> } K_STRING_DEF_TYPE;

 Richard> you can remove entries from the definition, and the following
 Richard> ones will be renumbered.  I have not looked it up in ANSI C, but
 Richard> in all of the compilers I have used, the first enumberated value
 Richard> is 0, and each successive one is one larger than the previous
 Richard> one.  These values are usable anywhere an int is.  As a bonus,
 Richard> NUMBER_K_STRINGS can be used as the upper limit of the valid
 Richard> indices (all valid index values are less than NUMBER_K_STRINGS),
 Richard> and can be used to allocate your string table.

But there is no longer any relationship between the values and the
indices.  I use exactly his macros very happily (well, with parens :-).

char foo[] = {
#define bar 0
"bar string",
#define mumble (bar + 1)
"mumble string",
#define last (mumble + 1)
(char *) NULL
}
....
assert((last + 1) == (sizeof foo / sizeof (char *)));

Also to the poster who said "just use 0 1 2 3 4 ..." - baloney.  He, I
think from following postings, used numeric names in the example but uses
real names in the actual code.  The reason for symbols is exactly to
eliminate meaningless numbers.

As for the original problem, how many levels do you have?  I don't see any
way of controlling memory allocation with GNU cpp - maybe you need more
swap space?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: dosFs2 chkdsk slow to run from bootrom
Date: Thu, 07 Sep 2000 04:54:13 GMT
From: paulvroberts@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p771e$fag$1@nnrp1.deja.com>
References: <8p4osn$ja8$1@nnrp1.deja.com> <8FA7C192Bandreykhomecom@24.2.9.61>

In article <8FA7C192Bandreykhomecom@24.2.9.61>,
  andreyk@home.com (Andray Kaganovsky) wrote:
> paulvroberts@my-deja.com wrote in <8p4osn$ja8$1@nnrp1.deja.com>:
>
> >Hi there,
> >
> >Does anyone know why chkdsk would be much slower when run from the
> >bootrom, then when run after VxWorks is loaded?
> >
>> <SNIP>

>
> Could it be that CPU cache is disabled in the bootrom region ?
>

Thanks for the reply Andray. Good idea, however, I added a
cacheEnable(DATA_CACHE) to the bootConfig.c and no difference.

Paul.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Thu, 7 Sep 2000 07:28:48 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p791k$gss$1@proxy2.fe.internet.bosch.de>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl>

Thanks for your reply, but thats excatly what I have done. I added all
downloadable projects to LIBS of the bootable project to link them together.
But the linker will not find all functions. Ive been looking for a switch,
but I could not find one. So Ive put one module with some missing functions
to the other project and linking has been successful.


Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 7 Sep 2000 07:35:57 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p79f2$h59$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p5r7g$r5b$1@nnrp1.deja.com>

Well, we used numbers in the project before and we changed it a new project.
The compiler of this project (Mitsubishi-Compiler) has no problems with
these cascaed macros.
The problem is, that stopping using the table entries increases the usage of
memory. And you never have enough memory in an embedded system.

Now we use the code of the new project for another project with VxWorks, and
the compiler doesnt like these macros.

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 7 Sep 2000 07:37:47 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p79ig$h6q$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>

The problem begins at level ~400 of 800 levels.

Gunter.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to make a boot hard disk?
Date: Thu, 7 Sep 2000 08:18:57 +0300
From: "Ezra Koper" <ezra_k@arelnet.com>
Organization: NetVision Israel	
Message-ID: <8p78ei$lcg$1@news.netvision.net.il>
References: <r0st5.468$yb7.4751@news.siol.net>

Hello . Hope this will help!!

Creating Bootable Floppy from Boot-ROM
 Open DOS window.
 From DOS window execute
tornado\host\x86-win32\bin\torvars (it will fix environment vars).
 From the location of your boot-rom file (tornado\target\config\
ItoneCPU2_5\bootrom_uncmp) type
mkboot a: bootrom_uncmp. The mkboot utility will create a bootable floppy
disk


Creating Bootable Hard Disk from Boot-ROM


1st stage will be to prepare a Hard Disk that will be suitable for VxWorks
environment.
Prepare a Floppy Disk with DOS6.2, FDISK & FORMAT files on it.
Turn off your PC, remove your HD and place VxWorks HD instead.
Boot your PC from DOS 6.2 Floppy Disk.
Run FDISK Create FAT16 2Gbyte partition and set it to be the active
partition.
Exit from FDISK, reboot from the Floppy Disk and format the HD by using the
FORMAT command from the Floppy Disk.
Turn Off your PC, reconnect your original HD, and add VxWorks HD as a
secondary HD (for example as disk D).
Turn ON your PC (Windows NT should be activated).

 Open DOS window.
 From DOS window execute
tornado\host\x86-win32\bin\torvars (it will fix environment vars).
 From the location of your boot-rom file (tornado\target\config\
ItoneCPU2_5\bootrom_uncmp) copy bootrom_uncmp    to file name bootrom.dat.
 Type vxsys d:   (assuming VxWorks HD is mapped as disk D).
The vxsys.com installs a bootstrap loader that will be used to load
bootrom.sys file.
 Type vxcopy bootrom.dat d:bootrom.sys .
vxcopy copys & converts the bootrom_uncmp file to the required format.

zbody <darkoz@hermes.si> wrote in message
news:r0st5.468$yb7.4751@news.siol.net...
> Hi!
>
> I made a bootROM from the shell editing config.h first like
> "ata=0,0(0,0)..." and it's OK it goes to search for the image on the hard
> drive, renamed bootrom_uncmp to bootrom.dat. Then I tried with "mkboot c:
> bootrom.dat" from the floppy with VxWorks utils and it says at first :
"Boot
> sector installed OK." and right after it "This program cannot be run in
DOS
> mode.
> Failed to copy bootrom.dat to c:bootrom.sys" and freezes...
>
> If somebody knows how to do a hard disk bootable, I would be grateful !
>
> Thanks!
>
> Darko
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tcp/ip
Date: Thu, 07 Sep 2000 08:51:38 +0200
From: Emmanuel <Emmanuel.Herbreteau@sepro-robotique.com>
Organization: SEPRO Robotique
Message-ID: <39B73AFA.E3FD6E58@sepro-robotique.com>
References: <20000906083316.5382.qmail@mailweb5.rediffmail.com>

shameek roy wrote:
>     i haven't yet understood why would a realtime OS like VxWorks ever need
> to support tcp/ip stack.

Hi,

Many new embedded computers (robotics, etc...) use an ethernet adapter
to transfer datas & programs to/from a PC (portable, or desktop).
TCP/IP is a standard for such communication (remote management
throught the Internet or a local network, for example).

Althought, this new systems usually use file system (FAT16, FAT32, ...)
over flash memory to store their datas (instead of raw EEPROM memory,
for example). The TCP/IP stack includes FTP and NFS protocol for file
sharing.

Nowaday, it's possible to integrate a WEB Server in an embedded
networked device : customers can manage their devices from
a standard browser, without any other specifics softwares...

Regards
Emmanuel.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: 7 Sep 2000 07:12:39 GMT
From: johan@borksoft.xs4all.nl
Organization: Borksoft
Message-ID: <8p7f57$enc$1@news1.xs4all.nl>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de>

Gunter Ritter <Gunter.Ritter@Tenovis.com> wrote:
: Thanks for your reply, but thats excatly what I have done. I added all
: downloadable projects to LIBS of the bootable project to link them together.
: But the linker will not find all functions. I've been looking for a  switch,
: but I could not find one. So I've put one module with some missing functions
: to the other project and linking has been successful.


Have you checked the command line of the link command? All your libraries
should be in there. You could also try to change the order of the
libraries, put your global library at the end, just before the VxWorks
libraries.

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: Registering Newsgroup
Date: Thu, 07 Sep 2000 12:38:35 +0530
From: rndmail <rndmail@tecrnd.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p7f95$1ti$1@overload.lbl.gov>

Hi,
        I would like to register myself to Vxworks newsgroup. I got your

info from one of my friends who is a member of your news group.
        My email id is:
       shah_jignesh_s@yahoo.com
        I hope you will do the needful in this matter.
        Lookinf forward to your reply,

With regards,
Jignesh Shah





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tcp/ip
Date: Thu, 07 Sep 2000 10:17:23 +0200
From: someone@siemens.de
Organization: Siemens AG,(Hofmannstr)  Munich-Germany-Europe.
Message-ID: <39B74F13.D95A87AE@siemens.de>
References: <20000906083316.5382.qmail@mailweb5.rediffmail.com>

Hi!

We at Siemens are developing toasters with an TCP/IP interface so you can see via HTML if the toasts are ready to eat ;-)
Yes, we use it for networking purpose! We do not really need the "real time", but VxWorks is a small nice OS for network devices!

shameek roy wrote:

> hai,
>     iam just learning the basics...
>     i haven't yet understood why would a realtime OS like VxWorks ever need to support tcp/ip stack.
> what would be the kind of applications that run on VxWorks and that require tcp/ip support?
> when VxWorks is an RTOS and as it also requires a host OS for prog. development, why does it ever need to support tcp/ip which doesn't provide any guarantees?
> please do provide some info or do direct me to appropriate sources.
>              thanx in advance,
>                              skrow.
>
> ////////////////////////////////////////////////////////
>
> Heroes have an infinite capacity for stupidity. Thus are legends born!
>             --Anonymous
>
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
>
> Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions
>
> --
> Posted from IDENT:qmailr@[202.54.124.150]
> via Mailgate.ORG Server - http://www.Mailgate.ORG


---------------------------

Newsgroups: comp.os.vxworks
Subject: Migrating from Tornado1 project to Tornado2
Date: Thu, 07 Sep 2000 08:14:41 GMT
From: Gal Trinquart <gt@elan.fr>
Organization: Deja.com - Before you buy.
Message-ID: <8p7ip4$sqn$1@nnrp1.deja.com>

Is there a way in Tornado2 to import Tornado1's projects based on
makefiles ?


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Thu, 7 Sep 2000 11:03:16 +0200
From: laire@t-online.de (Ralph Schmidt)
Organization: T-Online
Message-ID: <8p7lkk$kr7$13$1@news.t-online.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com> <muDt5.28619$C42.1275086@newsread2.prod.itd.earthlink.net>

On 09/07/00, "Martin Usher" wrote:
>Speaking personally - and this is definitely "IHMO", no flames please -
>there's not going to be any future for the PowerPC processor in my world. I
>build embedded systems and I can't wait to put as much distance between this
>architecture and my products as possible. There are far, far, easier ways to
>achieve product. (I will grant everyone that once the thing is working it
>does go very fast for its clock speed, but in my world performance is not
>just a matter of how fast a processor executes numeric algorithms.)
>

Oh well...for every cpu you have to jump over a new learning border and
getting a personal crisis about this simple addis,addi,addis,ori, @ha,@l
reloc modes is ridiculous.
Personally i prefer the value loading over any TOC/Smalldata mess for
performance and cleanness reasons.
And as you asked in your private email why the ppc has no non signed extended
add you obviously missed other reloc16 combinations like this

addis r3,0,Symbol@ha
lwz r4,Symbol@l(r3)

addis r3,0,Symbol@ha
stw r4,Symbol@l(r3)

would you want non sign extended loadstore offsets just to avoid the hidden
handling of the sign bit ?

- -- 
Ralph Schmidt,laire@t-online.de(private),NextMail welcome

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: 07 Sep 2000 11:12:55 +0200
From: Holger Bettag <hobold@informatik.uni-bremen.de>
Organization: Universitaet Bremen, Germany.
Message-ID: <8xits8d0q0.fsf@s63.informatik.uni-bremen.de>
References: <39B54808.B227A591@mindspring.com>
	<Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net>
	<8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com>
	<39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com>
	<muDt5.28619$C42.1275086@newsread2.prod.itd.earthlink.net>

"Martin Usher" <martinusher@earthlink.net> writes:

[someone else wrote:]
> > The PowerPC Compiler Writer's Guide (get yourself a copy from IBM's
> > web site) recommends using adds instead of ors, because future PowerPC
> > implementations may have three-input adders.
> >
> 
> That's very nice of them but to mention this but I don't see the relevance
> at all to loading a literal. I suspect what's happening here is a bit of
> "old company obsurfurcation" (if you've ever had any significant experience
> of Token Ring networking (but not just TR networks) then you will know what
> I mean....).
>
Using adds can also be beneficial on the 603e and related cores, because
some types of integer addition can be executed in the "system unit" in
parallel with some other integer instruction in the integer unit. The newer
PPC cores (and the good old 604 line) have two full-featured integer units,
so it makes no difference there.

  Holger


---------------------------

Newsgroups: comp.os.vxworks
Subject: bootrom/ftp w/cache failure
Date: Thu, 07 Sep 2000 09:46:03 GMT
From: Michael Fainstein <mfainstein@hotmail.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p7o4o$2pm$1@nnrp1.deja.com>

Hi all!

I am using Tornado2 with mpc860 target.
I am using bootrom_res.
This bootrom works fine if I build it without any cache, but if I turn
on instruction cache it doesn't load application file using FTP: It is
stuck in bootLoadModule, and on PC's FTP server I have error message
about socket data errors.
BTW, in my application I work with instruction cache enabled, and I
don't have any problems.

Any ideas what can be wrong?


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: how to serial?
Date: Thu, 7 Sep 2000 19:21:06 +0900
From: "moony" <moony@palgong.knu.ac.kr>
Organization: System Engineering Research Institute (SERI)
Message-ID: <8p7q8t$n6u$1@green.kreonet.re.kr>

Thank you for reading this.
I am programming application using serial communication.
But, I don't know how to control serial.
I succeed the job such as open(), read(), write(), and so on.
However, I want to know how to set the flow control, parity bit, stop bit,
etc.
I need anyone's help.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to serial?
Date: 7 Sep 2000 10:33:49 GMT
From: borkhuis@lucent.com
Organization: Borksoft
Message-ID: <8p7qud$6i3$1@news1.xs4all.nl>
References: <8p7q8t$n6u$1@green.kreonet.re.kr>

moony <moony@palgong.knu.ac.kr> wrote:
: Thank you for reading this.
: I am programming application using serial communication.
: But, I don't know how to control serial.
: I succeed the job such as open(), read(), write(), and so on.
: However, I want to know how to set the flow control, parity bit, stop bit,
: etc.

You should use ioctl calls for that.

Groeten,
	Johan

- -- 
     o o o o o o o . . .   ___________________________________
    o      _____           ||    Johan Borkhuis              |
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |
 >(________|__|_[_________]_|________________________________|
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

---------------------------

Newsgroups: comp.os.vxworks
Subject: Spawning routine more than once?
Date: Thu, 07 Sep 2000 12:46:34 +0200
From: Albert Wijnja <Albert.Wijnja@meco.nl>
Organization: MECO Equipment Engineers BV
Message-ID: <39B7720A.43A4720D@meco.nl>
Reply-To: Albert.Wijnja@meco.nl

Hello,

Currently we are doing a project with ACE/TAO on VxWorks. I found
something strange. It concerns a server (notifier, with my_notifier as
entry point) and multiple clients (consumer with my_consumer as entry
point). The programs are started from the target shell via the
spa-command. This command is a wrapper around taskSpawn to set the
priority and stacksize. When I start it as follows (command result and
output skipped):

ld < notifier
spa my_notifier
ld < consumer
spa my_consumer, "1"
spa my_consumer, "2"
spa my_consumer, "3"

The second consumer seems to be running, however the ERRNO for this task
is set to 0xC (ENOMEM) (via th i-command). The third consumer exits with
an error (something about a socket connection).
I found that when the consumer is loaded everytime before a new start,
it works fine. When the commands are entered as follows:

ld < notifier
spa my_notifier
ld < consumer
spa my_consumer, "1"
ld < consumer
spa my_consumer, "2"
ld < consumer
spa my_consumer, "3"

everything runs smoothley.

Does anyone have an explanation for this behaviour?

Albert





---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Fri Sep  8 04:03:10 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Fri Sep  8 04:03:13 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Fri Sep  8 04:03:05 PDT 2000

        Subject: Re: Spawning routine more than once?
        Subject: Negative returns from memFindMax() : Solution.
        Subject: Re: Linking archives
        Subject: Re: gcc asm / ppc
        Subject: telnet and tftp
        Subject: Re: Linking archives
        Subject: Re: how to use configure VxSim
        Subject: 1553 bus
        Subject: Re: use of cascaded macros
        Subject: Re: Linking archives
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: Re: Problems with WindView under Windows 2000.
        Subject: Re: use of cascaded macros
        Subject: Re: rpclib - errno 0xd0003
        Subject: Question about TFTP
        Subject: Re: PCMCIA (ATA card) and MBX821
        Subject: Re: dosFs2 chkdsk slow to run from bootrom
        Subject: Re: 1553 bus
        Subject: Re: Linking archives
        Subject: WDB_COM_TYPE
        Subject: How to run a C++ object method from the Shell?
        Subject: Re: how to use configure VxSim
        Subject: configuring PC target???
        Subject: Re: configuring PC target???
        Subject: Re: use of cascaded macros
        Subject: signals on VxSim
        Subject: Re: tcp/ip
        Subject: Re: NFS woes
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: Re: ppc asm: loading 32 bit value into CTR reg
        Subject: Re: tcp/ip
        Subject: How to download a modem driver to vxworks image
        Subject: Problem with VxWorks Ncr810 SCSI Driver
        Subject: Does Windows2000 support Tornado 2.0?
        Subject: Re: configuring PC target???
        Subject: [Q]: DHCPC
        Subject: Re: Does Windows2000 support Tornado 2.0?
        Subject: HOT HOT  - VxWorks S/W Developers Needed - Ottawa
        Subject: Re: use of cascaded macros
        Subject: Re: use of cascaded macros
        Subject: GUI Query
        Subject: Re: ricky
        Subject: Re: 1553 bus
        Subject: Re: configuring PC target???
        Subject: Re: GUI Query
        Subject: Re: How to download a modem driver to vxworks image
        Subject: socket
        Subject: Re: Linking archives
        Subject: Re: use of cascaded macros
        Subject: Re: Device doesn't show up as an interface
        Subject: MPC8260
        Subject: Re: socket
        Subject: Re: Device doesn't show up as an interface
        Subject: Re: 1553 bus

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Spawning routine more than once?
Date: 7 Sep 2000 11:05:58 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8p7sqm$99u$1@news1.xs4all.nl>
References: <39B7720A.43A4720D@meco.nl>

Albert Wijnja <Albert.Wijnja@meco.nl> wrote:
: Hello,

: Currently we are doing a project with ACE/TAO on VxWorks. I found
: something strange. It concerns a server (notifier, with my_notifier as
: entry point) and multiple clients (consumer with my_consumer as entry
: point). The programs are started from the target shell via the
: spa-command. This command is a wrapper around taskSpawn to set the
: priority and stacksize. When I start it as follows (command result and
: output skipped):

: ld < notifier
: spa my_notifier
: ld < consumer
: spa my_consumer, "1"
: spa my_consumer, "2"
: spa my_consumer, "3"

: The second consumer seems to be running, however the ERRNO for this task
: is set to 0xC (ENOMEM) (via th i-command). The third consumer exits with
: an error (something about a socket connection).
: I found that when the consumer is loaded everytime before a new start,
: it works fine. When the commands are entered as follows:

: ld < notifier
: spa my_notifier
: ld < consumer
: spa my_consumer, "1"
: ld < consumer
: spa my_consumer, "2"
: ld < consumer
: spa my_consumer, "3"

: everything runs smoothley.

This means that your consumer task is using some static/global data. In
the first example you are executing my_consumer in the same memory space,
so overwriting the static/global data. In the second example each instance
of my_consumer has its own memory space, as they are loaded and linked
seperately.
How can you solve this? Make your task reentrant. You are using global or
static data. Instead you should be using normal variables or malloc-ed
memory areas.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Negative returns from memFindMax() : Solution.
Date: Thu, 7 Sep 2000 11:42:36 +0100
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8p7tb6$7is$1@overload.lbl.gov>

vxWorks Tornado

Thanks to those who provided hints and tips. BSP+Linker problem as 
explained below.

PROBLEM & SOLUTION FOR THE RECORD:

>memFreeMax() is returning a negative number of  around -22KBytes.
>
>To make the situation even stranger, memShow 1 from the host shell shows 
four FREE BLOCKS
>these are shown as:
>
>block 1    small positive value     100 Bytes
>block 2    larger positive value     500 Bytes
>block 3    large positive value       26K
>block 4    large negative number. -22K
>
>If we then dump the memory block header for block 4 it shows the size as 
FFFC 9899 or similar. If this is a signed
>long then this corresponds to a negative -0x36766 (not correcting for 
two's complement).

System is working in all other respects.

INVESTIGATION & SOLUTION:

Investigation using advice from this group provided the following:

1) Negative block size is actually a very large positive value.

2) Using memFreeMax() immediately after initialising the memory pool also  
 indicates a large negative number.

3) The pool size passed into the initialisation routine was found to be a 
very large positive value, so large that it is displayed as a negative 
number by the shell ( which treats it as an int !).

4) The pool size is passed to the usrRoot task from KernelInit(...) which 
takes a start and end address for the pool...

5) KernelInit does a (start_address - end_address) to calculate the pool 
size for usrRoot(..) WITHOUT any checking.

6) The global variable space in the system had increased so that the first 
free ram address was now after sysMemTop() !.  Hence calculated pool size 
goes  to a negative int value ( == large positive unsigned ). (but well 
below sysPhysMemTop() )

SOLUTION...

7) Increasing LOCAL_MEM_SIZE so that sysMemTop() is increased above the 
first free memory address cures the problem.

Therefore if you ever see a negative block size with memFindMax() or 
memShow() check your kernelInit memory pool parameters
are valid. One ( or more ) of these are assigned by the linker..... .

BSP MODIFICATIONS

I've now added explicit checking of the memory pool length in usrRoot() 
which range check the memory pool size parameter.

    /* Initialize the memory pool before initializing any other package.
     * The memory associated with the root task will be reclaimed at the
     * completion of its activities.
     */
    if ( (long)memPoolSize < 0 ) /* checking for overflow into sign bit */
    {
        errnoSet(EDOM); // Out of range.
	  taskSuspend(0); // can be seen with debug tools.
    }
    memInit (pMemPoolStart, memPoolSize );	/* initialize memory pool */


David Anderson.  mailto:danderson@dtrack.demon.co.uk

- -----------------------------------------------------
Who said "There's no life here in outer space."
- -----------------------------------------------------

Disclaimer
- ----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
- -------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Thu, 7 Sep 2000 14:01:46 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p802g$gjl$1@proxy2.fe.internet.bosch.de>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl>

Thanks for your help. VxWorks and Tornado are quite new for me.

Okay, the command line of the link command seems to be ok, all archives are
present. They are linked to partialimage.o

I changed the order of the archives from project1.a project2.a to project2.a
project1.a.
Well, the problem has changed a little bit. Now some functions in project 2
that are referenced in project1 are marked as unreferenced by the linker.

What do I have to do to make it independent of the link order?

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc asm / ppc
Date: Thu, 7 Sep 2000 12:55:51 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Organization: (Posted via) U-NET Internet Ltd.
Message-ID: <SwLt5.2851$Vc.2566017@newsr2.u-net.net>
References: <39B50E6A.294016D2@mindspring.com> <39B530E8.9448D267@tech-m4.com> <39B540A1.AFEFA0A6@mindspring.com>

Al Johnston wrote in message <39B540A1.AFEFA0A6@mindspring.com>...
>
>> The asm synthax is described in the GNU toolKit user guide section 3.32.
>
>I wish it was.  That section starts out "...you can now specify the
>operands of the instruction using c expressions."  It is documenting
>the use of the ":" fields as an addition to the simpler case that does
>not use that feature.  The basic use of asm is not covered.  I wish it
>was.
>
>> asm("addi 1,1,0");
>
>Your kidding... no your not! it works just as you said.  I tried %r1,
>r1,
>p1, %p1, gpr1,... but never just "1"... arrg.... THANKS

  There's a gcc option, -mregnames, that is *supposed* to make the
assembler accept the 'r' in front of the register numbers. I say supposed,
because it didn't work when I tried it, but YMMV. It may be needed as
a parameter to the assembler, so if -mregnames doesn't work, perhaps
- -Wa,a,-mregnames (or however the syntax goes) would do the trick.

        DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: telnet and tftp
Date: Thu, 07 Sep 2000 15:11:32 +0300
From: Ofer Goren <ogoren@nortelnetworks.com>
Organization: Bay Networks, Inc.
Message-ID: <39B785F4.AD196CC8@nortelnetworks.com>

Hi.
I have a problem, and I can use some help.
I'm using Tor 1.0.1 for PPC740.

Here is the problem:
1.I'm connecting to my target with a serial connection.
2. I'm starting a tftp session from a remote host to my local target.
3. while the tftp session is in progress (!!!), I'm opening a telnet
session from a remote host to my target.
4. The "serial" connection is halted (like it should be).
5. I'm exiting my telnet session to return to my serial connection.
6. When I'm using "i" to view my tasks, I see a tftp task in the task
list.
7. If I'm doing the same over and over again, number of tftp tasks are
listed in my task list, and they never end.

I can protect my tftp sessions using shellLock(), so no telnet session
will interrupt them, But I don't like this solution. I also interesting
in understanding the cause of such behaviour.

Any clue?

Thanks,

- --
Embedded SW Team Leader
Email       : ogoren@nortelnetworks.com
Phone number: +9723-6456023
Fax number  : +9723-6479579
ESN         : 826-6023
http://www.nortelnetworks.com
- ----------------------------------------------------
If you lend someone $20, and never see that person again,
it was probably worth the investment.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Thu, 07 Sep 2000 13:21:02 +0100
From: Hugh Duggan <hduggan@lucent.com>
Organization: Lucent Technologies, Chippenham, United Kingdom
Message-ID: <39B7882E.BBFB0BF5@lucent.com>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de>

Gunter Ritter wrote:
> 
> Thanks for your help. VxWorks and Tornado are quite new for me.
> 
> Okay, the command line of the link command seems to be ok, all archives are
> present. They are linked to partialimage.o
> 
> I changed the order of the archives from project1.a project2.a to project2.a
> project1.a.
> Well, the problem has changed a little bit. Now some functions in project 2
> that are referenced in project1 are marked as unreferenced by the linker.
> 
> What do I have to do to make it independent of the link order?
> 
> Gunter


It sounds to me as if you have both archives dependent on each other.  If I
am correct, then this will _never_ work [no matter what operating system
and compiler you use].  You will have to do one of the following:

a] Combine project1.a and project2.a into a single archive.

or

b] Redesign your code so that the two modules are not mutually dependent.


I have found the book "Large Scale C++ Software Design" by John Lakos to
be very helpful in eliminating dependencies...

    Hugh
 
- -----------------------------------------------------------
Hugh Duggan                 | Phone   : +44 1666 832118
Lucent Technologies         | FAX     : +44 1666 832925
Chippenham, UNITED KINGDOM  | E-mail  : hduggan@lucent.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to use configure VxSim
Date: Thu, 07 Sep 2000 12:27:07 GMT
From: hruesing@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p81i9$cr8$1@nnrp1.deja.com>
References: <8p5v72$93$1@nnrp1.deja.com>

In article <8p5v72$93$1@nnrp1.deja.com>,
  v_mathi_vanan@my-deja.com wrote:
> Hi,
>
> I have an application (Client server programe) which I want to compile
> and test it in VxWorks Simulator. I installed Tornado 2.0 and I did
the
> following steps
>
> 1. Created a workspace and project.
> 2. Added all required files, and compiled them. No error.
> 3. Launched a simulator and didn't start default target server.
> 4. Before that I installed ULIP and configured the IP address as
> 90.0.0.245. My routing table is updated automatically.
> 5. I configured a target server with backend as wdppipe and target ip
> address as 90.0.0.245.
> 6. I launched the target server and the communcation between the
target
> server and target agent (simulator) was ok.
> 7. Started shell
> 9. Downloaded my project image. No error.
> 10. I started my application from the shell.
> 11. Now the simulator has my server program.
> 12 I started my client program in NT dos prompt, but if I send a
request
> from the client it is not reaching my server which is running in
> simulator.
>
> can any body tell me the reason why my request is not reached in my
> server program ?
>
> Do I need to configure anything more ?
>
> Your help is appreciated.
>
> Thanks
> Mathi.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

If you are speaking from the "full" simulator (not included in standart
T2) you have to config your target server as wdbrpc.

Hope this helps.

Harud Rsing



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: 1553 bus
Date: Thu, 07 Sep 2000 12:27:23 GMT
From: S Austin <saustin_deja@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p81io$crb$1@nnrp1.deja.com>

Is it possible to comparison shop for 1553 support for vxWorks or is
Compware Corp. the only game in town?



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 07 Sep 2000 12:28:51 GMT
From: lvwhitebir@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p81lg$cs3$1@nnrp1.deja.com>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p5r7g$r5b$1@nnrp1.deja.com> <8p79f2$h59$1@proxy2.fe.internet.bosch.de>

In article <8p79f2$h59$1@proxy2.fe.internet.bosch.de>,
  Gunter Ritter <Gunter.Ritter@Tenovis.com> wrote:
> Well, we used numbers in the project before and we changed it a new
project.
> The compiler of this project (Mitsubishi-Compiler) has no problems
with
> these cascaed macros.
> The problem is, that stopping using the table entries increases the
usage of
> memory. And you never have enough memory in an embedded system.
>
> Now we use the code of the new project for another project with
VxWorks, and
> the compiler doesnt like these macros.
>
> Gunter
>
>

I'm not sure I understand your problem that well, but you seem to
have two solutions.  For the first, you can rewrite the code so that
the macros aren't nested so deep (if you post a longer explanation
of why you do it this way someone might have a more portable
work-around).  My misunderstanding is from the statement "The problem
is, that stopping using the table entries increases the usage of
memory."

Second, you can use a different compiler.  You might ask in a NG
specific to your compiler if there is some sort of switch that you
can use to increase the nesting.  Going to a different compiler,
however, is a short-term solution.  Without modifying the code,
you'll probably experience this kind of pain again in the future.

HTH, Larry


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Thu, 7 Sep 2000 14:45:04 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p82jm$jgs$1@proxy2.fe.internet.bosch.de>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de> <39B7882E.BBFB0BF5@lucent.com>

You are right. These archives depend on each other.

The code I have to use can not be redesigned.
I want to structure the source files in several projects and link them
together to a bootable project.

Solution b) is not possible, because the code is used in another project,
too.

How can I combine the archives as proposed in solution a)?
Is there a different solution to link the object files (or any ohter kind of
output) of several projects to a bootable project?

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 7 Sep 2000 15:20:28 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p84m2$m2g$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p5r7g$r5b$1@nnrp1.deja.com> <8p79f2$h59$1@proxy2.fe.internet.bosch.de> <8p81lg$cs3$1@nnrp1.deja.com>

I will try it again.
The code we have shall be used for several software packages for an embedded
system.
For the first package we define the text strings for the display in a table
(about 800 strings).
To access the strings in the table we use the constants (see my first
posting).

The next package is based on the first package. But some text strings are
changed (no problem), inserted or deleted.
If we define constants like
#define K_MACRO_1    0
#define K_MACRO_2    1
#define K_MACRO_3    2
#define K_MACRO_4    3
we have to change many of the defines.

The string table needs more and more memory if we leave entries in the table
that are no more used.

Now we have started a new project using a new hardware platform with the
ARM9 processor using VxWorks, Tornado 2.0.1and the gnu-compiler delivered by
WindRiver.
The code shall not be redesigned and be used as it is (as far as possible).

The code can be compiled without errors with a different compiler
(Mitsubishi). So it should be possible to compile the code for ARM9. Maybe I
just have to set a switch for the gnu-compiler.

Gunter




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 07 Sep 2000 08:34:55 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39B7997E.6F7DE630@swri.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>

This is a multi-part message in MIME format.
- --------------70218FDEEC3F3DAFD88B559A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jim Thomas wrote:

> >>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:
>
>  Richard> try the following
>  Richard> typedef enum
>  Richard> {
>  Richard>     K_STRING_1,
>  Richard>     K_STRING_2,
>  Richard>     K_STRING_3,
>  Richard>     K_STRING_4,
>  Richard>     ....,
>  Richard>     NUMBER_K_STRINGS
>  Richard> } K_STRING_DEF_TYPE;
>
>  Richard> you can remove entries from the definition, and the following
>  Richard> ones will be renumbered.  I have not looked it up in ANSI C, but
>  Richard> in all of the compilers I have used, the first enumberated value
>  Richard> is 0, and each successive one is one larger than the previous
>  Richard> one.  These values are usable anywhere an int is.  As a bonus,
>  Richard> NUMBER_K_STRINGS can be used as the upper limit of the valid
>  Richard> indices (all valid index values are less than NUMBER_K_STRINGS),
>  Richard> and can be used to allocate your string table.
>
> But there is no longer any relationship between the values and the
> indices.  I use exactly his macros very happily (well, with parens :-).

I don't understand what you mean about losing the relationship between values
and the indices.  Using the enumerated type K_STRING_1 will have the value of
0, K_STRING_2 will have the value of 1, etc... Just like the original macros.


> Also to the poster who said "just use 0 1 2 3 4 ..." - baloney.  He, I
> think from following postings, used numeric names in the example but uses
> real names in the actual code.  The reason for symbols is exactly to
> eliminate meaningless numbers.

Yes that was baloney.  I retract my previous statement.  :)
I say the best, most portable way of doing this is to use an enumerated type
as has been mentioned.

- --------------70218FDEEC3F3DAFD88B559A
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------70218FDEEC3F3DAFD88B559A--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with WindView under Windows 2000.
Date: Thu, 7 Sep 2000 07:08:17 -0700
From: "Charles Krinke" <ckrinke@doctordesign.com>
Message-ID: <3eNt5.1$592.71@news.connectnet.com>
References: <Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca>

I have found a similar problem just trying to go
"cd\torrnado\host\x86-win32" with w2k. It appears to be an issue with DOS
windows. "cd\tornado\host\x86-wi~1" works, but that is just exercising
microsoft's hack. Apparently, gates&co crippled DOS windows a bit more then
in previous versions of their software.

"Simon DiMaio" <simond@ece.ubc.ca> wrote in message
news:Pine.SUN.3.95.1000901211732.23944G-100000@salcudean.ece.ubc.ca...
> Hi
>
> I have done a full install of Tornado 2.0 under Windows 2000. Upon running
> Tornado, I receive the following message:
>
>  couldn't read file "TRY=localhost\host\resource\tcl\WindView.win32.tcl":
> no such file or directory
>
> Tornado runs fine, but WindView is not available. The base directory for
> my Tornado installation is C:\Tornado, so I don't know where the
> "TRY=localhost" has come from.
>
> Has anybody experienced a similar error message?
>
> Any ideas for a remedy would be greatly appreciated.
>
> Thanks in advance,
> Simon DiMaio
>
> ------------------------------------------------------------------------
> Simon DiMaio                                    Email: simond@ece.ubc.ca
> Robotics and Control Group
> Dept. of Electrical and Computer Engineering Phone:    (604)822-9215
> University of British Columbia Fax  :    (604)822-5949
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 7 Sep 2000 08:16:43 -0600
From: "Richard" <rrapier sieversinst>
Message-ID: <39b7a2b4.0@news>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>

"Jim Thomas" <thomas@atlas.cfht.hawaii.edu> wrote in message
news:wwn1hknc9e.fsf@atlas.cfht.hawaii.edu...
> >>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:
>
>  Richard> try the following
>  Richard> typedef enum
>  Richard> {
>  Richard>     K_STRING_1,
>  Richard>     K_STRING_2,
>  Richard>     K_STRING_3,
>  Richard>     K_STRING_4,
>  Richard>     ....,
>  Richard>     NUMBER_K_STRINGS
>  Richard> } K_STRING_DEF_TYPE;
>
>  Richard> you can remove entries from the definition, and the following
>  Richard> ones will be renumbered.  I have not looked it up in ANSI C, but
>  Richard> in all of the compilers I have used, the first enumberated value
>  Richard> is 0, and each successive one is one larger than the previous
>  Richard> one.  These values are usable anywhere an int is.  As a bonus,
>  Richard> NUMBER_K_STRINGS can be used as the upper limit of the valid
>  Richard> indices (all valid index values are less than NUMBER_K_STRINGS),
>  Richard> and can be used to allocate your string table.
>
> But there is no longer any relationship between the values and the
> indices.  I use exactly his macros very happily (well, with parens :-).

But they do retain that relationship, The K_STRING_1 has a value of 0,
K_STRING_2 = 1,
and so on.  This is what allows one to be deleted from both the table, and
the enumerated type, and still retain the same relationship.  This way of
defining the values results in the exact same values he originally had
without the problem of nesting defines, and without the need to change the
relationship of the defines when a string is removed/added.  As with the
defines, it does require that the enumerated type be updated anytime the
table is changed.

<snip>
- --
rrapier sieversinst
To reply to me, replace the space with @, and add the .com on the end.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: rpclib - errno 0xd0003
Date: Thu, 7 Sep 2000 07:29:32 -0700
From: "Charles Krinke" <ckrinke@doctordesign.com>
Message-ID: <ZxNt5.2$592.47@news.connectnet.com>
References: <39B5B563.D0E3CB51@mindspring.com>

Dear Al:
    There is a header file that decodes these cryptic numbers. I believe
errno.h may help. I have seen the infamous 0xd00003 error many times and
basically it occurs whenever the network stack cannot get a file it thinks
it needs. It can occur from something as simple as unplugging the ethernet
cable. I have seen it as I got my ethernet driver functioning for the AMD
973 over the past couple of months. I posted viertually your same question 3
months ago and someone pointed me to errno.h then.

"Al Johnston" <sofeise@mindspring.com> wrote in message
news:39B5B563.D0E3CB51@mindspring.com...
> Anybody know why the rpcLib routines seem to like to
> set errno?  I know errno is not valid except when an
> error has been detected... still, its annoying!
>
> Anybody know?  none of the other lib's seem to "miss"
> behave like this.
>
> -al



---------------------------

Newsgroups: comp.os.vxworks
Subject: Question about TFTP
Date: Thu, 07 Sep 2000 11:27:27 -0400
From: JB <mrjfb@my-deja.com>
Organization: none really
Message-ID: <39B7B3DE.1AB470DE@my-deja.com>

Hi,

  We have the VxWorks 5.4 running on a MV3604 card. We are transferring
a few dozen files via TFTP during code initialization. After a few files
have been transferred, the socket counter in the WFTP32.EXE window jumps
to three and the next file transfer is delayed until the socket counter
goes back to 1. The point in the code initialization that this problem
happens is very consistent. Is this a VxWorks problem? Or is there any
FTP parameters that need to be tweaked for this to work?

  Thanks in advance,

     JB

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCMCIA (ATA card) and MBX821
Date: Thu, 7 Sep 2000 09:44:23 +0100
From: "Jeremy Pye" <cjp@endusis.com>
Organization: Customer of Energis Squared
Message-ID: <mfk7p8.uvm.ln@gate.endusis.com>
References: <39B4AB8B.C37C6325@sepro-robotique.com>

We use Intoto PCMCIA stack and client drivers (ethernet, ata, modem).
Works well. We dumped our 821 because of cache not working.
Changed to 860 C.1 + instead.

Emmanuel <Emmanuel.Herbreteau@sepro-robotique.com> wrote in message
news:39B4AB8B.C37C6325@sepro-robotique.com...
> Hi,
>
> We are working to connect a Compact-Flash card
> (ATA controller and PCMCIA bus) with an evaluation
> board called MBX821 (based on MPC 821).
>
> The BSP seems to be buggy (bad SIO support, PCMCIA
> not tested, etc...). Does anyone own a debugged
> BSP for such board with PCMCIA support ????
>
> Thanks a lot.
> Emmanuel.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: dosFs2 chkdsk slow to run from bootrom
Date: Thu, 07 Sep 2000 15:46:33 GMT
From: andreyk@home.com (Andray Kaganovsky)
Organization: @Home
Message-ID: <8FA8743BCandreykhomecom@24.2.9.61>
References: <8p4osn$ja8$1@nnrp1.deja.com> <8FA7C192Bandreykhomecom@24.2.9.61> <8p771e$fag$1@nnrp1.deja.com>

paulvroberts@my-deja.com wrote in <8p771e$fag$1@nnrp1.deja.com>:

>In article <8FA7C192Bandreykhomecom@24.2.9.61>,
>  andreyk@home.com (Andray Kaganovsky) wrote:
>> paulvroberts@my-deja.com wrote in <8p4osn$ja8$1@nnrp1.deja.com>:
>>
>> >Hi there,
>> >
>> >Does anyone know why chkdsk would be much slower when run from the
>> >bootrom, then when run after VxWorks is loaded?
>> >
>>> <SNIP>
>
>>
>> Could it be that CPU cache is disabled in the bootrom region ?
>>
>
>Thanks for the reply Andray. Good idea, however, I added a
>cacheEnable(DATA_CACHE) to the bootConfig.c and no difference.
>
How about proving that the CPU cache is enabled on the *code* section 
indeed ? Say, by measuring time taken by the following loop:

      volatile unsigned long s = 0;

      void  foo() 
      {
         register int i;

         for (i = 0;  i < 10000000; i++ ) {
            /* 
              Since 's' is volatile var which is only 
              written to and never from, and 'i' (hopefully) 
              resides in the CPU register, the fact that cache 
              is enabled on the *data* segment should have no
              effect.
             */
             s = (i | (i / 2)) & (~(i + 1234));
         }
      }

In my opinion, this loop should take much less time when CPU cache
is enabled on *code* section (i.e. the bootrom itself). 

     regards, Andray

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 1553 bus
Date: Thu, 07 Sep 2000 11:50:17 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39B7E369.D972DA92@lmco.com>
References: <8p81io$crb$1@nnrp1.deja.com>

	If you happen to be talking about the right device, you can get sample
code from the vendor.  The last time I looked, the Greenspring device
came with a 
driver and samples of how to use it.  It still will take some effort to
make it
work with your sytem, however.

BTW, I don't work for GS.

Speaking only for myself,

Joe Durusau


S Austin wrote:
> 
> Is it possible to comparison shop for 1553 support for vxWorks or is
> Compware Corp. the only game in town?
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: 7 Sep 2000 11:32:45 -0500
From: Bob Westbrook <Bob@job.com>
Message-ID: <ur9grskv0rg28r20uu9lo7s4gno8i0g8ol@4ax.com>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de>

On Thu, 7 Sep 2000 14:01:46 +0200, Gunter Ritter
<Gunter.Ritter@Tenovis.com> wrote:

>Thanks for your help. VxWorks and Tornado are quite new for me.
>
>Okay, the command line of the link command seems to be ok, all archives are
>present. They are linked to partialimage.o
>
>I changed the order of the archives from project1.a project2.a to project2.a
>project1.a.
>Well, the problem has changed a little bit. Now some functions in project 2
>that are referenced in project1 are marked as unreferenced by the linker.
>
>What do I have to do to make it independent of the link order?
>
>Gunter
>
I had a similar problem with cyclic dependencies.
Try changing the LIBS macro to project1.a project2.a project1.a
or project2.a project1.a project2.a

Hope this helps

---------------------------

Newsgroups: comp.os.vxworks
Subject: WDB_COM_TYPE
Date: Thu, 07 Sep 2000 16:40:37 GMT
From: rohitkapur@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8ge1$v6b$1@nnrp1.deja.com>

hi:

I am currently writing an ethernet driver for vxWorks using Tornado
1.0.1.  We are trying to implement the 4.3/4.4 BSD stack.  We are not
creating an Enhanced Network driver.  Does anyone know what should be
entered for the 'WDB_COMM_TYPE" field in the config.h file for a
Non-enhance ethernet driver.  Can we define 'WDB_COMM_TYPE' as
'WDB_COMM_NETWORK', and 'WDB_MODE' as 'WDB_TASK'.  I know if we are
creating an enhanced network driver(END), then we need to set
WDB_COMM_TYPE equal to WDB_COM_END, and WDB_MODE equal to WDB_DUAL.

If anyone can assist me with this question, i would appreciate it a lot.

Thanks,

Rohit Kapur


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: How to run a C++ object method from the Shell?
Date: Thu, 07 Sep 2000 07:32:09 -0500
From: Kenneth Arakaki <arakaki@nortelnetworks.com>
Organization: Nortel Networks
Message-ID: <39B78AC9.6A39982D@nortelnetworks.com>

VxWorks Group:

I know that we can load a load module ld < foo.o .... and run a
function  ->foo( ) .... in the VxWorks shell, but how to run an C++
object method in the shell????

We can obviously load the C++ module the same way... but how to call the
method?  Do we have to create a C wrapper? ....

void main ()
{
....
}

Please, an example....  Thanks in advance....!!!
Ken

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to use configure VxSim
Date: Thu, 07 Sep 2000 17:58:58 GMT
From: v_mathi_vanan@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8l0m$521$1@nnrp1.deja.com>
References: <8p5v72$93$1@nnrp1.deja.com> <8p81i9$cr8$1@nnrp1.deja.com>

Hi,

Thanks for your informatin. I advanced little ahead.

I built vxworks image by cofiguring rps, ping client, udp, tcp, igmp,
icmp, etc. Now I am able to start simulator (vxsim) and connect target
server using the ip 90.0.0.1. then I started shell and typed the
following commands and got the below results.




- -> ifShow
lo (unit number 0):
     Flags: (0x8069) UP LOOPBACK RUNNING ARP MULTICAST
     Type: SOFTWARE_LOOPBACK
     Internet address: 127.0.0.1
     Netmask 0xff000000 Subnetmask 0xff000000
     Metric is 0
     Maximum Transfer Unit size is 32768
     0 packets received; 0 packets sent
     0 multicast packets received
     0 multicast packets sent
     0 input errors; 0 output errors
     0 collisions; 0 dropped
value = 0 = 0x0


interface 90.0.0.254 is missing.


- -> hostShow
hostname         inet address       aliases
- --------         ------------       -------
localhost        127.0.0.1
value = 0 = 0x0
- ->

target address is missing.

Any idea ?

Thanks
Mathi.

In article <8p81i9$cr8$1@nnrp1.deja.com>,
  hruesing@my-deja.com wrote:
> In article <8p5v72$93$1@nnrp1.deja.com>,
>   v_mathi_vanan@my-deja.com wrote:
> > Hi,
> >
> > I have an application (Client server programe) which I want to
compile
> > and test it in VxWorks Simulator. I installed Tornado 2.0 and I did
> the
> > following steps
> >
> > 1. Created a workspace and project.
> > 2. Added all required files, and compiled them. No error.
> > 3. Launched a simulator and didn't start default target server.
> > 4. Before that I installed ULIP and configured the IP address as
> > 90.0.0.245. My routing table is updated automatically.
> > 5. I configured a target server with backend as wdppipe and target
ip
> > address as 90.0.0.245.
> > 6. I launched the target server and the communcation between the
> target
> > server and target agent (simulator) was ok.
> > 7. Started shell
> > 9. Downloaded my project image. No error.
> > 10. I started my application from the shell.
> > 11. Now the simulator has my server program.
> > 12 I started my client program in NT dos prompt, but if I send a
> request
> > from the client it is not reaching my server which is running in
> > simulator.
> >
> > can any body tell me the reason why my request is not reached in my
> > server program ?
> >
> > Do I need to configure anything more ?
> >
> > Your help is appreciated.
> >
> > Thanks
> > Mathi.
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> If you are speaking from the "full" simulator (not included in
standart
> T2) you have to config your target server as wdbrpc.
>
> Hope this helps.
>
> Harud Rsing
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: configuring PC target???
Date: Thu, 07 Sep 2000 13:54:49 -0400
From: Bruce Chrustie <root@root.com>
Organization: Nortel
Message-ID: <39B7D669.50B20513@root.com>

Hi gang,

Host is running Windowz and my code works fine under VxSim but now it is
time to download it to a 'real' processor for execution. Hooked up the
target PC to the LAN and booted up the PC via the floppy and default
boot config. But I cannot get the target to communicate via the LAN, nor
the terminal emulator (serial).

The tornado manual does not seem to explain this very well. Any insight
from those who have done this before????

Bruce,

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: configuring PC target???
Date: Thu, 07 Sep 2000 13:55:56 -0400
From: Bruce Chrustie <root@root.com>
Organization: Nortel
Message-ID: <39B7D6AC.8343E52F@root.com>
References: <39B7D669.50B20513@root.com>

one more thing....I can see the target booting via the VGA monitor on
the PC itself and am able to control the booting via the keyboard on the
target.

Bruce Chrustie wrote:
> 
> Hi gang,
> 
> Host is running Windowz and my code works fine under VxSim but now it is
> time to download it to a 'real' processor for execution. Hooked up the
> target PC to the LAN and booted up the PC via the floppy and default
> boot config. But I cannot get the target to communicate via the LAN, nor
> the terminal emulator (serial).
> 
> The tornado manual does not seem to explain this very well. Any insight
> from those who have done this before????
> 
> Bruce,

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 07 Sep 2000 15:02:05 -0400
From: Douglas Fraser <dwfraser@lucent.com>
Organization: Lucent Technologies
Message-ID: <39B7E62D.68DA292D@lucent.com>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p5r7g$r5b$1@nnrp1.deja.com> <8p79f2$h59$1@proxy2.fe.internet.bosch.de> <8p81lg$cs3$1@nnrp1.deja.com> <8p84m2$m2g$1@proxy2.fe.internet.bosch.de>

Gunter Ritter wrote:
> 
> I will try it again.
> The code we have shall be used for several software packages for an embedded
> system.
> For the first package we define the text strings for the display in a table
> (about 800 strings).

<snip..>

> The code can be compiled without errors with a different compiler
> (Mitsubishi). So it should be possible to compile the code for ARM9. Maybe I
> just have to set a switch for the gnu-compiler.
> 
> Gunter

I agree with Richard, you should really try to use enums in this case.
They were designed to solve this very problem. Adding or deleting an
element in the enumeration renumbers all the elements subsequent to that
element, just as you want it to. It is also 'type safe' as an array
index
since it has type equivalency to an integer. Give them a try, you will
probably find it to be a far more natural expression of what you are
doing.

The best part is, converting your current header file to the appropriate
enum representation using emacs, vi, or Perl is easy. If you are using
Windows,
I am not sure how you would do it, but I assume it can be done.

Give it a try. Only one file needs to change in your whole system, and
it will
be far simpler to read and maintain.

- -- 
Douglas Fraser

---------------------------

Newsgroups: comp.os.vxworks
Subject: signals on VxSim
Date: Thu, 07 Sep 2000 18:57:19 GMT
From: edabobojr@yahoo.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8oe3$98r$1@nnrp1.deja.com>

Could somebody offer me some advice on signal handling on vxsim.  I can
install the handler fine, and it gets called when the signal occurs.
What is the appropriate way to continue normal execution?  I've tried
using setjmp/longjmp and also modifying the pc through the sigcontext
passed to the handler.  These both result in General Protection
Faults.  Can anybody help?  Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tcp/ip
Date: Thu, 07 Sep 2000 19:14:14 GMT
From: djhystad@msn.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8pdg$afu$1@nnrp1.deja.com>
References: <20000906083316.5382.qmail@mailweb5.rediffmail.com>

We use VxWorks primarily for the TCP/IP stack.  The target shell is
nice for debugging during development, and not having to rewrite all
our code when changing SBC's is great.  The scheduler is inadequate for
our needs.

To each his own.
 <20000906083316.5382.qmail@mailweb5.rediffmail.com>,
  skrow@rediffmail.com ("shameek  roy") wrote:
> hai,
>     iam just learning the basics...
>     i haven't yet understood why would a realtime OS like VxWorks
ever need to support tcp/ip stack.
> what would be the kind of applications that run on VxWorks and that
require tcp/ip support?
> when VxWorks is an RTOS and as it also requires a host OS for prog.
development, why does it ever need to support tcp/ip which doesn't
provide any guarantees?
> please do provide some info or do direct me to appropriate sources.
>              thanx in advance,
>                              skrow.
>
> ////////////////////////////////////////////////////////
>
> Heroes have an infinite capacity for stupidity. Thus are legends
born!
>             --Anonymous
>
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
>
> Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions
>
> --
> Posted from IDENT:qmailr@[202.54.124.150]
> via Mailgate.ORG Server - http://www.Mailgate.ORG
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: NFS woes
Date: Thu, 07 Sep 2000 19:21:54 GMT
From: waqarahmad@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8pro$b5r$1@nnrp1.deja.com>
References: <4perqs4m4ob1mt7hr2b4sjvh4mni4rdvgf@4ax.com>

Mark,
>The Windows NFS client software
> will usually see the VxWorks machine, but either timeout trying to
> read the disk or not see all the files.
The file system on the vxWorks side might really be slow and the time
out on the client side might be kicking in. You may wanna look into
increasing the timeout on the NFS client side.

> NFS appears to be working in
> general, because we also open files on the Wintel box from VxWorks (so
> WinNT is the server and VxWorks the client), and this works with no
> problems.
One can not say that NFS appears to be working by simply reversing the
usage (i.e client and server). Because if there is a problem in the NFS
server on the vxWorks side you won't notice a thing because in this
case the vxWorks server is not being used.
I think in your case you might simply have WinNT setup issue. and
adjusting the time out might just do the trick.

Waqar

In article <4perqs4m4ob1mt7hr2b4sjvh4mni4rdvgf@4ax.com>,
  Hosehead Jones 2nd-1/2 <sirsmeghead@nospam.home.com> wrote:
> All righty, then - the background.  We're running VxWorks 5.4 (Tornado
> II) with dosFs 2.0 on a MV2700 board; our kernel includes both NFS
> client and server.  The MV2700 has a SCSI hard drive attached to it
> that's been divided up into four partitions.  The host platform is
> Windows NT.
>
> What we want to do is use NFS to export the local partitions in such a
> way that the Windows box will be able to see the local drive and copy
> files back and forth between the two systems.  Unfortunately, we've
> only had marginal success doing this.  The Windows NFS client software
> will usually see the VxWorks machine, but either timeout trying to
> read the disk or not see all the files.
>
> Since we can sometimes see the VxWorks partitions, I know we're
> exporting the volumes correctly  (I can't recall the exact call to do
> this - something like nfsExport).  NFS appears to be working in
> general, because we also open files on the Wintel box from VxWorks (so
> WinNT is the server and VxWorks the client), and this works with no
> problems.
>
> At this point, I don't know if the problem lies with WRS's NFS server
> software, or with the WinNT setup.  (We've tried a few different
> Windows NFS packages - FrontierTech, Omni Enterprise, Hummingbird -
> with no improvement.)  Has anyone else gotten this to work reliably?
> Is NFS even the answer?
>
> -----------------------------
> Mark Morrison
> Coherent Technologies, Inc.
> markm@ctilidar.com
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: Thu, 07 Sep 2000 15:34:45 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B7EDD5.8C791003@mindspring.com>
References: <39B54808.B227A591@mindspring.com> <Yakt5.23012$K4.1016852@newsread1.prod.itd.earthlink.net> <8p5ji4$irm$1@user2.teleport.com> <8p5non$ukk$11$1@news.t-online.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com>

> The PowerPC Compiler Writer's Guide (get yourself a copy from IBM's
> web site) recommends using adds instead of ors, because future PowerPC

I have had no luck finding this... can you give me a site?

thanks,

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: 7 Sep 2000 19:52:47 GMT
From: mathar@mpia-hd.mpg.de (Richard Mathar)
Organization: Max-Planck-Institut fuer Astronomie
Keywords: cccp, VxWorks
Message-ID: <8p8rmf$s6n$1@news.urz.uni-heidelberg.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de>
Reply-To: mathar@mpia-hd.mpg.de

 Gunter Ritter <Gunter.Ritter@Tenovis.com> writes:
|> 
|> I have the problem that I get errors "macro recursion too deep" when
|> compiling a module that uses cascaded macros.
|> 
|> The macros are defined as follows:
|> 
|> #define K_MACRO_1        0
|> #define K_MACRO_2        K_MACRO_1+1
|> #define K_MACRO_3        K_MACRO_2+1
|> #define K_MACRO_4        K_MACRO_3+1
|> #define K_MACRO_5        K_MACRO_4+1
|> :
|> :

If your're using gcc-2.95 there is indeed a maximum of 400 set to the input
stack. See the lines

#define INPUT_STACK_MAX 400

and

#define CHECK_DEPTH(code) \
  if (indepth >= (INPUT_STACK_MAX - 1))                                 \
    {                                                                   \
      error_with_line (line_for_error (instack[indepth].lineno),        \
                       "macro or `#include' recursion too deep");       \
      code;                                                             \
    }

in the file gcc-2.95/gcc/cccp.c (after gunzip and tar xf of the source code).

Increasing this number and recompilation of the compiler should help.
mathar@mpia-hd.mpg.de http://www.mpia-hd.mpg.de/homes/mathar

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 07 Sep 2000 19:50:52 GMT
From: djhystad@msn.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8rii$df6$1@nnrp1.deja.com>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>

In article <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>,
  Jim Thomas <thomas@atlas.cfht.hawaii.edu> wrote:
> >>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:
>
>  Richard> try the following
>  Richard> typedef enum
>  Richard> {
>  Richard>     K_STRING_1,
>  Richard>     K_STRING_2,
>  Richard>     K_STRING_3,
>  Richard>     K_STRING_4,
>  Richard>     ....,
>  Richard>     NUMBER_K_STRINGS
>  Richard> } K_STRING_DEF_TYPE;
>
>  Richard> you can remove entries from the definition, and the
following
>  Richard> ones will be renumbered.  I have not looked it up in ANSI
C, but
>  Richard> in all of the compilers I have used, the first enumberated
value
>  Richard> is 0, and each successive one is one larger than the
previous
>  Richard> one.  These values are usable anywhere an int is.  As a
bonus,
>  Richard> NUMBER_K_STRINGS can be used as the upper limit of the valid
>  Richard> indices (all valid index values are less than
NUMBER_K_STRINGS),
>  Richard> and can be used to allocate your string table.
>
> But there is no longer any relationship between the values and the
> indices.  I use exactly his macros very happily (well, with parens :-
).
>
> char foo[] = {
> #define bar 0
> "bar string",
> #define mumble (bar + 1)
> "mumble string",
> #define last (mumble + 1)
> (char *) NULL
> }
> ....
> assert((last + 1) == (sizeof foo / sizeof (char *)));
>
> Also to the poster who said "just use 0 1 2 3 4 ..." - baloney.  He, I
> think from following postings, used numeric names in the example but
uses
> real names in the actual code.  The reason for symbols is exactly to
> eliminate meaningless numbers.
>
> As for the original problem, how many levels do you have?  I don't
see any
> way of controlling memory allocation with GNU cpp - maybe you need
more
> swap space?
>
How about rewriting your example as:

enum {foo, bar, mumble, last}
char *strings[last];

void initializeStrings()
    {
    strings[foo]    = "foo string";
    strings[bar]    = "bar string";
    strings[mumble] = "mumble string";
    }

I know it requires an extra function, but it is easier to read.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Thu, 07 Sep 2000 19:50:24 GMT
From: djhystad@msn.com
Organization: Deja.com - Before you buy.
Message-ID: <8p8rhm$deq$1@nnrp1.deja.com>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu> <39b7a2b4.0@news>

In article <39b7a2b4.0@news>,
  "Richard" <rrapier sieversinst> wrote:
> "Jim Thomas" <thomas@atlas.cfht.hawaii.edu> wrote in message
> news:wwn1hknc9e.fsf@atlas.cfht.hawaii.edu...
> > >>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:
> >
> >  Richard> try the following
> >  Richard> typedef enum
> >  Richard> {
> >  Richard>     K_STRING_1,
> >  Richard>     K_STRING_2,
> >  Richard>     K_STRING_3,
> >  Richard>     K_STRING_4,
> >  Richard>     ....,
> >  Richard>     NUMBER_K_STRINGS
> >  Richard> } K_STRING_DEF_TYPE;
> >
> >  Richard> you can remove entries from the definition, and the
following
> >  Richard> ones will be renumbered.  I have not looked it up in ANSI
C, but
> >  Richard> in all of the compilers I have used, the first
enumberated value
> >  Richard> is 0, and each successive one is one larger than the
previous
> >  Richard> one.  These values are usable anywhere an int is.  As a
bonus,
> >  Richard> NUMBER_K_STRINGS can be used as the upper limit of the
valid
> >  Richard> indices (all valid index values are less than
NUMBER_K_STRINGS),
> >  Richard> and can be used to allocate your string table.
> >
> > But there is no longer any relationship between the values and the
> > indices.  I use exactly his macros very happily (well, with
parens :-).
>
> But they do retain that relationship, The K_STRING_1 has a value of 0,
> K_STRING_2 = 1,
> and so on.  This is what allows one to be deleted from both the
table, and
> the enumerated type, and still retain the same relationship.  This
way of
> defining the values results in the exact same values he originally had
> without the problem of nesting defines, and without the need to
change the
> relationship of the defines when a string is removed/added.  As with
the
> defines, it does require that the enumerated type be updated anytime
the
> table is changed.
>
> <snip>
> --
> rrapier sieversinst
> To reply to me, replace the space with @, and add the .com on the end.
>
>
I think his point is that there is no longer an obvious relationship
between the enumeration and the values stored in the array.  The
enumeration is defined in one place, and the array at another.  To
remove an entry you would either have to determine the index of element
in the array (either by counting or by "grokking" the nameing
convention).  This is somewhat error prone.

I think this looks like a good place to use automatic code generation.
Save the index/string definitions in a file using a format like;

index1, String 1
index2, String 2
index3, String 3

Writing a parser to convert this to:

enum {
index1,
index2,
index3,
maxIndex};

char *strings[maxIndex] = {
"String 1",
"String 2",
"String 3"
};

Would be pretty easy.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.sys.powerpc.tech,comp.os.vxworks
Subject: Re: ppc asm: loading 32 bit value into CTR reg
Date: 7 Sep 2000 13:37:24 -0700
From: andrew@user2.teleport.com (Andrew Klossner)
Message-ID: <8p8ua4$fkr$1@user2.teleport.com>
References: <39B54808.B227A591@mindspring.com> <39B687F7.127D0666@ib.stortek.com> <39B688DC.A8CD1507@ib.stortek.com> <39B7EDD5.8C791003@mindspring.com>

>> The PowerPC Compiler Writer's Guide (get yourself a copy from IBM's
>> web site) recommends using adds instead of ors, because future PowerPC

> I have had no luck finding this... can you give me a site?

deja.com, where you can search prior postings to comp.sys.powerpc.tech
for information such as this.

The Guide itself is at
http://www.chips.ibm.com/techlib/products/powerpc/manuals/compiler/cwg.pdf

... at least it was three weeks ago, the last time this question was asked.

  -=- Andrew Klossner (andrew@teleport.com)

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tcp/ip
Date: Thu, 07 Sep 2000 15:53:34 -0500
From: "M. Kotiaho" <mark.kotiaho.nospam@nospam.lmco.com>
Organization: LMMFC - D
Message-ID: <39B8004E.3C254526@nospam.lmco.com>
References: <20000906083316.5382.qmail@mailweb5.rediffmail.com>

In embedded/distributed systems, the different subsystems need to communicate with each other, and quite often also with the outside world.  In many defense
projects, the subsystems will communicate with each other based on a message protocol that is unique to the project, but still built on top of TCP/IP (or
UDP/IP).  This is much easier than trying to develop a messaging protocol from scratch.

MK

shameek roy wrote:

> hai,
>     iam just learning the basics...
>     i haven't yet understood why would a realtime OS like VxWorks ever need to support tcp/ip stack.
> what would be the kind of applications that run on VxWorks and that require tcp/ip support?
> when VxWorks is an RTOS and as it also requires a host OS for prog. development, why does it ever need to support tcp/ip which doesn't provide any guarantees?
> please do provide some info or do direct me to appropriate sources.
>              thanx in advance,
>                              skrow.


---------------------------

Newsgroups: comp.os.vxworks
Subject: How to download a modem driver to vxworks image
Date: Thu, 07 Sep 2000 21:15:54 GMT
From: bryan <bpong@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p90hk$jo3$1@nnrp1.deja.com>

Hi everyone,

 This is my first time to send a question in this newsgroup.

 I am developing a modem driver for VxWorks. I got a target hardware
from the other company and the image of VxWorks is inside the IDE.
That's mean I don't have any source code of BSP for this target.
So I need to download my modem driver as a downloadable application.
Is it possible to do that?! If so, how can I do it?

Best Regards
Bryan


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Problem with VxWorks Ncr810 SCSI Driver
Date: Thu, 07 Sep 2000 21:43:53 GMT
From: syee@connex.com
Organization: Deja.com - Before you buy.
Message-ID: <8p926j$ljj$1@nnrp1.deja.com>

I'm trying to get the ncr810 driver to work on the 810 controller (and
eventually the 895 controller).  I'm using Tornado 1.0.1 and VxWorks
5.3.1. on a Pentium machine.  The system is crashing everytime I try to
initialize the SCSI controller.  Below are the functions calls I make
that lead up to the crash:

ncr810CtrlCreate()   Creates controller structure
intConnect()         Connects ISR to interrupt vector
sysIntEnablePIC()    enables interrupt
SetHwRegisters()     sets hardware-dependent registers
ncr810CtrlInit()     initializes controller

The system crashes and reboots at the controller init function.  I'm
assuming that there is some conflict between the interrupt and the
Interrupt Service Routine (ncr810Intr). If I don't include the
sysIntEnablePIC() function, the system doesn't crash and I'm able to do
a controller init.  However, when I try a scsiPhysDevCreate or an
scsiAutoConfig, the system hangs.

I'm positive the base address and interrupts I use are correct because
I verified it in the PCI configuration space.  What's even stranger is
that I got it to work once but then all of a sudden it crashed and I
didn't have a backup at the time.  Has anyone experienced a similar
problem?  Any suggestions on how to fix this?  Please e-mail me at
syee@connex.com.  Thanks in advance.

Stanley Yee


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Does Windows2000 support Tornado 2.0?
Date: Thu, 7 Sep 2000 13:18:27 +0800
From: "ricky" <yuyang@utstar.com>
Organization: utstar
Message-ID: <8p78fi$1ek4$1@news.cz.js.cn>
Reply-To: "ricky" <yuyang@utstar.com>

Hello,everyone under Windows 2000:

Yestoday I install Tornado 2.0 into my PC with Windows2000 successfully.
When I run Tornado, it said couldn`t read file
"TRY=localhost\host\resource\tcl\WindView.win32.tcl",
then I ignored it and entered main window of Tornado,
I can`t find WindView in Tools menu.

Maybe WindView.dll is initialized by Tornado unsuccessfully without
WindView.win32.tcl.
But why Tornado can`t read file WindView.win32.tcl?
Is there a path mistake or other reasons?

How should I do?

Yours,
ricky



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: configuring PC target???
Date: Thu, 07 Sep 2000 16:36:07 -0500
From: Bo Yu <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39B80A47.33A010DB@email.mot.com>
References: <39B7D669.50B20513@root.com> <39B7D6AC.8343E52F@root.com>


- --------------92BD3F017BCA83438FE9A7B7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Bruce Chrustie wrote:

> one more thing....I can see the target booting via the VGA monitor on
> the PC itself and am able to control the booting via the keyboard on the
> target.
>
> Bruce Chrustie wrote:
> >
> > Hi gang,
> >
> > Host is running Windowz and my code works fine under VxSim but now it is
> > time to download it to a 'real' processor for execution. Hooked up the
> > target PC to the LAN and booted up the PC via the floppy and default
> > boot config. But I cannot get the target to communicate via the LAN, nor
> > the terminal emulator (serial).
> >
> > The tornado manual does not seem to explain this very well. Any insight
> > from those who have done this before????
> >
> > Bruce,

Did you rebuild the VxWorks using cross compiler ?

- --
Bo Yu



- --------------92BD3F017BCA83438FE9A7B7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Bruce Chrustie wrote:
<blockquote TYPE=CITE>one more thing....I can see the target booting via
the VGA monitor on
<br>the PC itself and am able to control the booting via the keyboard on
the
<br>target.
<p>Bruce Chrustie wrote:
<br>>
<br>> Hi gang,
<br>>
<br>> Host is running Windowz and my code works fine under VxSim but now
it is
<br>> time to download it to a 'real' processor for execution. Hooked up
the
<br>> target PC to the LAN and booted up the PC via the floppy and default
<br>> boot config. But I cannot get the target to communicate via the LAN,
nor
<br>> the terminal emulator (serial).
<br>>
<br>> The tornado manual does not seem to explain this very well. Any insight
<br>> from those who have done this before????
<br>>
<br>> Bruce,</blockquote>
Did you rebuild the VxWorks using cross compiler ?
<pre>--&nbsp;
Bo Yu</pre>
&nbsp;</html>

- --------------92BD3F017BCA83438FE9A7B7--


---------------------------

Newsgroups: comp.os.vxworks
Subject: [Q]: DHCPC
Date: Thu, 07 Sep 2000 22:27:44 GMT
From: Stephen <ipmobilestephen@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8p94o6$opq$1@nnrp1.deja.com>



I'm having some trouble with DHCPC. I'm trying to
use DHCPC after VxWorks is up to get an IP address
from a DHCP server that I'm running on LINUX
(DHCPD). I'm not trying to configure an interface;
I'm only trying to get an address for my application.

I see that the DHCP server is getting the DHCP
discovery messages, and it is responding with an
address to my interface's MAC address.

However, on the VxWorks side, the client simply repeats
the WAIT_OFFER state until it eventually times out. It
looks like the timeout message is the only event it ever
sees; DHCPC is not seeing the response from the DHCP server
at all.

ifShow on the interface shows that it *is* receiving
multicast packets.

I have the Network Protocol Toolkit installed, and I
wonder if that is an issue. (It was on a separate
occasion.)

Anyway, here's my fairly straightforward code. Anybody
got any ideas?


#include "stdio.h"
#include "dhcpcLib.h"

void dhcpc(int init)
{
  int    cookie;
  char   addr[16];
  STATUS result;

  struct dhcp_param params;

  cookie = dhcpcInit(ifunit("RX2"), 0);

  if (!cookie)
  {
    printf("dhcpInit failed\n");
    return;
  }
  else
    printf("cookie is %d\n", cookie);

  result = dhcpcBind(cookie, TRUE); <-- it fails here, of course..
  if (result != OK)
  {
    printf("dhcpcBind failed: %d.\n", errnoGet());
    return;
  }

  result = dhcpcParamsGet(cookie, &params);
  if (result != OK)
  {
    printf("dhcpcParamsGet failed: %d.\n", errnoGet());
    return;
  }

  inet_ntoa_b(params.yiaddr, addr);
  printf("DHCP returned %s.\n", addr);
}



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Does Windows2000 support Tornado 2.0?
Date: Thu, 07 Sep 2000 16:02:28 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39B81E84.4C005492@rti.com>
References: <8p78fi$1ek4$1@news.cz.js.cn>

Ricky -

Go to the Tools menu in Tornado and choose Options, then
pick 'Tornado Registry' all the way over at the right.
Change the Tornado registry from local machine to remote
machine and type in the IP address of your Windows 2000
machine.  This should make the error go away.

The "localhost" is coming from the WIND_REGISTRY setting.

Regards,
Lori

ricky wrote:
> 
> Hello,everyone under Windows 2000:
> 
> Yestoday I install Tornado 2.0 into my PC with Windows2000 successfully.
> When I run Tornado, it said couldn`t read file
> "TRY=localhost\host\resource\tcl\WindView.win32.tcl",
> then I ignored it and entered main window of Tornado,
> I can`t find WindView in Tools menu.
> 
> Maybe WindView.dll is initialized by Tornado unsuccessfully without
> WindView.win32.tcl.
> But why Tornado can`t read file WindView.win32.tcl?
> Is there a path mistake or other reasons?
> 
> How should I do?
> 
> Yours,
> ricky

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com

---------------------------

Newsgroups: comp.os.vxworks,comp.realtime
Subject: HOT HOT  - VxWorks S/W Developers Needed - Ottawa
Date: Thu, 7 Sep 2000 19:39:54 -0400
From: "PROCOM" <derekw@procom.ca>
Organization: IGS - Information Gateway Services
Message-ID: <8p98p4$nc$1@news.igs.net>

Title:  C++ / OOD VxWorks Software Developers

Description: Our client, one of the world's largest telecommunications
companies, currently requires 10 Junior to Senior Software Specialists to
design, develop, implement and support Wireless products and applications.

Minimum Requirements:
All candidates should possess a minimum of 1 year experience developing
real-time C/C++, OOD S/W on a VxWorks platform.

Desired skills would include any previous Wireless development experience.

Location: Ottawa, Ontario, Canada

Type: Full-Time Placement

Compensation: Open

PROCOM: Established in 1978, Professional Computer Consultants Group Ltd.
(Procom) is a national leader in the provision of Computer personnel on a
contract
and full-time basis. Our clients are comprised of the largest national and
international corporations that utilize technical resources extensively
across a wide range of disciplines. In the Financial Post (March 1999)
Procom was ranked as the 6th largest professional Services Company in
Canada. In November of 1999, Procom was named a Regional finalist in Canada'
s 50 Best Managed Private companies. Our track record is proven with more
than 180 consultants servicing Ottawa's high tech community and more than
1600 Procom consultants currently on assignment throughout. North America.
For further information on this and other opportunities please visit our web
site at www.procom.ca.

Interested candidates are invited to forward their resumes or questions in
confidence to:

Derek Weber
Technical Recruiter
300 March Road
Kanata, Ontario
K2K 2E2
phone: (613) 270-9339   ext 231
e-mail: derekw@procom.ca









---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: 07 Sep 2000 14:53:10 -1000
From: Jim Thomas <thomas@atlas.cfht.hawaii.edu>
Organization: Canada France Hawai`i Telescope
Message-ID: <wwn1hjn1qh.fsf@atlas.cfht.hawaii.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p8rmf$s6n$1@news.urz.uni-heidelberg.de>

>>>>> "Richard" == Richard Mathar <mathar@mpia-hd.mpg.de> writes:

 Richard> If your're using gcc-2.95 there is indeed a maximum of 400 set to
 Richard> the input stack. See the lines

 Richard> #define INPUT_STACK_MAX 400
          ....
 Richard> in the file gcc-2.95/gcc/cccp.c (after gunzip and tar xf of the
 Richard> source code).

Arrgh!  What ever happened to the 0,1,many rule?  :-(

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: 07 Sep 2000 15:03:10 -1000
From: Jim Thomas <thomas@atlas.cfht.hawaii.edu>
Organization: Canada France Hawai`i Telescope
Message-ID: <wwits7n19t.fsf@atlas.cfht.hawaii.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu> <8p8rii$df6$1@nnrp1.deja.com>

>>>>> "djhystad" == djhystad  <djhystad@msn.com> writes:

 djhystad> In article <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>,
 djhystad>   Jim Thomas <thomas@atlas.cfht.hawaii.edu> wrote:
 >> char foo[] = {
 >> #define bar 0
 >> "bar string",
 >> #define mumble (bar + 1)
 >> "mumble string",
 >> #define last (mumble + 1)
 >> (char *) NULL
 >> }

 djhystad> How about rewriting your example as:

 djhystad> enum {foo, bar, mumble, last}
 djhystad> char *strings[last];

 djhystad> void initializeStrings()
 djhystad>     {
 djhystad>     strings[foo]    = "foo string";
 djhystad>     strings[bar]    = "bar string";
 djhystad>     strings[mumble] = "mumble string";
 djhystad>     }

 djhystad> I know it requires an extra function, but it is easier to read.

First, your interpretation of my meaning was correct.  The proposed enum
removes the relationship between the indices and the values.

Second, your function above is nice, but it's not quite as easy to tell if
all strings are initialized.

---------------------------

Newsgroups: comp.os.vxworks
Subject: GUI Query
Date: Thu, 07 Sep 2000 18:12:28 -0700
From: Robert Sharp <RobertWSharp@hotmail.com>
Organization: SBC Internet Services
Message-ID: <39B83CFC.AE96C651@hotmail.com>

Hi all,

I'm at the beginning of a project, researching GUI issues, and I was
wondering what, besides C/C++ GUI apps, others are developing/have
developed their GUIs with and what tools/vendors you would recommend (or
not recommend). I'm dealing with a 133 MIPS processor, with an IR remote
control input and a TV (NTSC resolution) for output.

I was originally considering using Wind River's HTMLWorks so I (and
others) could create a GUI by HTML authoring, but they have dropped that
product. I'm interested to see if others have implemented HTML-based
GUIs and are happy with them.

I assume a fair amount of Java GUI apps are being done. Anyone using XML
technology? Others?

Thanks in advance!

Bob


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: ricky
Date: Fri, 8 Sep 2000 10:09:17 +0800
From: "ricky" <yuyang@utstar.com>
Organization: utstar
Message-ID: <8p9hot$2ouf$1@news.cz.js.cn>
Reply-To: "ricky" <yuyang@utstar.com>


: Lori Fraleigh <lori@rti.com>
ռ: <yuyang@utstar.com>
: Re: Does Windows2000 support Tornado 2.0?
: 200098 7:04

Ricky -

Go to the Tools menu in Tornado and choose Options, then
pick 'Tornado Registry' all the way over at the right.
Change the Tornado registry from local machine to remote
machine and type in the IP address of your Windows 2000
machine.  This should make the error go away.

The "localhost" is coming from the WIND_REGISTRY setting.

Regards,
Lori

ricky wrote:
>
> Hello,everyone under Windows 2000:
>
> Yestoday I install Tornado 2.0 into my PC with Windows2000 successfully.
> When I run Tornado, it said couldn`t read file
> "TRY=localhost\host\resource\tcl\WindView.win32.tcl",
> then I ignored it and entered main window of Tornado,
> I can`t find WindView in Tools menu.
>
> Maybe WindView.dll is initialized by Tornado unsuccessfully without
> WindView.win32.tcl.
> But why Tornado can`t read file WindView.win32.tcl?
> Is there a path mistake or other reasons?
>
> How should I do?
>
> Yours,
> ricky

- --
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 1553 bus
Date: Fri, 08 Sep 2000 09:01:24 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B85D8C.6BDB687A@cisco.com>
References: <8p81io$crb$1@nnrp1.deja.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------50C97A34EA14E5AF58F0071E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Austin,

This is not a reply to your query.
I am also interested in knowing more about the mil-std-1553b support.
Can
you please update me if you receive any info..?

Thanks and Regards,
Vijay

S Austin wrote:

> Is it possible to comparison shop for 1553 support for vxWorks or is
> Compware Corp. the only game in town?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

- --------------50C97A34EA14E5AF58F0071E
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------50C97A34EA14E5AF58F0071E--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: configuring PC target???
Date: Fri, 08 Sep 2000 09:09:53 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B85F89.D2FA9DD3@cisco.com>
References: <39B7D669.50B20513@root.com> <39B7D6AC.8343E52F@root.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------0D6C3602ACC7104B523B9FF8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Bruce,

Have you verified the host ip address to be correct?.
Have you specified the path of the .sym file residing in Host correctly.
Need more info about how you are trying to communicate.
Also I remember building my first PC target using the
manuals ;0) Just browse thru the prog guide once more...sorry no more
details...it was
long ago...

Do reply.

have fun,
Vijay

Bruce Chrustie wrote:

> one more thing....I can see the target booting via the VGA monitor on
> the PC itself and am able to control the booting via the keyboard on the
> target.
>
> Bruce Chrustie wrote:
> >
> > Hi gang,
> >
> > Host is running Windowz and my code works fine under VxSim but now it is
> > time to download it to a 'real' processor for execution. Hooked up the
> > target PC to the LAN and booted up the PC via the floppy and default
> > boot config. But I cannot get the target to communicate via the LAN, nor
> > the terminal emulator (serial).
> >
> > The tornado manual does not seem to explain this very well. Any insight
> > from those who have done this before????
> >
> > Bruce,

- --------------0D6C3602ACC7104B523B9FF8
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------0D6C3602ACC7104B523B9FF8--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: GUI Query
Date: Fri, 08 Sep 2000 09:16:38 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B8611E.1808ABCE@cisco.com>
References: <39B83CFC.AE96C651@hotmail.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------4F704F397F5D56078733BB05
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Robert,


I had done a web brower pad using UGL last year. Think its OK.

cheers,
Vijay

Robert Sharp wrote:

> Hi all,
>
> I'm at the beginning of a project, researching GUI issues, and I was
> wondering what, besides C/C++ GUI apps, others are developing/have
> developed their GUIs with and what tools/vendors you would recommend (or
> not recommend). I'm dealing with a 133 MIPS processor, with an IR remote
> control input and a TV (NTSC resolution) for output.
>
> I was originally considering using Wind River's HTMLWorks so I (and
> others) could create a GUI by HTML authoring, but they have dropped that
> product. I'm interested to see if others have implemented HTML-based
> GUIs and are happy with them.
>
> I assume a fair amount of Java GUI apps are being done. Anyone using XML
> technology? Others?
>
> Thanks in advance!
>
> Bob

- --------------4F704F397F5D56078733BB05
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------4F704F397F5D56078733BB05--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to download a modem driver to vxworks image
Date: Fri, 08 Sep 2000 09:24:52 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39B8630C.2B9BB20C@cisco.com>
References: <8p90hk$jo3$1@nnrp1.deja.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------44BE564D72038D037FDD0D9F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Bryan,

If the wdb component is enabled in the target image and if you are able
to
launch wdb from your host PC, you should be able to download the .obj
files
to the target anytime.
Hope this helps.

regards,
Vijay

bryan wrote:

> Hi everyone,
>
>  This is my first time to send a question in this newsgroup.
>
>  I am developing a modem driver for VxWorks. I got a target hardware
> from the other company and the image of VxWorks is inside the IDE.
> That's mean I don't have any source code of BSP for this target.
> So I need to download my modem driver as a downloadable application.
> Is it possible to do that?! If so, how can I do it?
>
> Best Regards
> Bryan
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

- --------------44BE564D72038D037FDD0D9F
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------44BE564D72038D037FDD0D9F--


---------------------------

Newsgroups: comp.os.vxworks
Subject: socket
Date: Fri, 08 Sep 2000 05:45:03 GMT
From: ba_ajay@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8p9ucs$llg$1@nnrp1.deja.com>

Hi,
   I am learning basics of Vxworks.

 I want to use socket programme with a tcp/ip stack. Right now, i am
using a bootable application. No compilation errors. Configured
according to the procedures in one of the vxworks faq sites.


                VxWorks / Tornado II
         Running multiple simulators on NT
URL :http://www.xs4all.nl/~borkhuis/vxworks/multsimnt.html

     problem : a. ping localhost is not pinging.

Can anyone help me know how to make a client-server communication
application possible on vxworks.  configured according to  the
procedure given in the site.



  1. Which symbol table to use(downloadable or built-in) ?

  2. is built-in symbol table the right one for a bootable appln ?

  3. if use a downloadable application , i get no errors in compilation.
     while downloading, error message is received as undefined symbols
socket,bind etc.. What do i need to include ?

  4. IS this approach the right way of testing client-server on
different processors.
    Client running on Shell linked to target1 processor 0 (ip-addrress
 90.0.0.1)
  server running on Shell linked to target2 processor 1 (ip-addrress
 90.0.0.2)









Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Fri, 8 Sep 2000 07:56:37 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p9v1n$4nh$1@proxy2.fe.internet.bosch.de>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de> <ur9grskv0rg28r20uu9lo7s4gno8i0g8ol@4ax.com>


I thought about this, too. But I didnt try it yet. I find it a little bit
strange to do it this way.
Well, I try it now.

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Fri, 8 Sep 2000 08:03:02 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8p9vdo$57d$1@proxy2.fe.internet.bosch.de>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <8p8rmf$s6n$1@news.urz.uni-heidelberg.de>

I think theres a limit in the compiler. But the compiler is delivered by
WindRiver as binary.
I try now the variant with the enumeration.

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device doesn't show up as an interface
Date: Fri, 08 Sep 2000 11:50:00 +0530
From: Yusuf Motiwala <motiwala@lucent.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <39B88510.92280A0E@lucent.com>
References: <39B4DE70.2B5E87AD@oneline.de>

You need to assign address for it to get shoed up in ifShow etc.
Since, ipAttach does not work with your interface, if will not be shhown
yup in ifShow etc.

Yusuf

Mario Wolframm wrote:

> I call muxDevLoad and get back a reasonable address.
> I call muxDevStart and get OK
> I see the driver registered via muxShow
> however:
> neither ipAttach nor ifAddrSet work with that new interface!


---------------------------

Newsgroups: comp.os.vxworks
Subject: MPC8260
Date: Fri, 08 Sep 2000 10:19:19 +0300
From: Assaf Hoffman <hoffman@galileo.co.il>
Organization: Galileo Technology
Message-ID: <39B892F7.9DC0315B@galileo.co.il>

Hi VxWorkers !!
I'm trying to run the MPC8260 based on the PPCEC603 tool chain.
I'm experiencing heavy stability problem with my BSP:
1) Debug printing in boot process (bootrom.hex) hangs the boot.
2) Once in 5-6 boots the VxWorks image hangs ('ping' is functional).
Does anybody have any experience with this CPU ??

- --
The only true freedom is freedom from your heart's desires....
========================================================================


     _/_/_/_/_/
   _/_/_/_/_/_/_/
 _/_/_/_/_/_/_/_/
_/_/_/_/
_/_/_/
_/_/_/    _/_/_/_/
_/_/_/      _/_/_/
 _/_/_/     _/_/_/   Assaf Hoffman
 _/_/_/_/_/_/_/_/   Galileo Technology Ltd.
   _/_/_/_/_/_/     E-mail - hoffman@galileo.co.il
     _/_/_/_/       Tel    - 972-4-9999555 ext. 203

 Check our Web site: http://www.galileoT.com
=========================================================================




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: socket
Date: 8 Sep 2000 08:06:06 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pa6le$ao$1@news1.xs4all.nl>
References: <8p9ucs$llg$1@nnrp1.deja.com>

ba_ajay@my-deja.com wrote:
:   1. Which symbol table to use(downloadable or built-in) ?

:   2. is built-in symbol table the right one for a bootable appln ?

Yes, that is the right one.

:   3. if use a downloadable application , i get no errors in compilation.
:      while downloading, error message is received as undefined symbols
: socket,bind etc.. What do i need to include ?

In your bootable application you should include the network components,
including the Ping client. In the simulator the first lines should be like
this:

Attached TCP/IP interface to nt unit 0
Attaching interface lo0...done

Adding 3069 symbols for standalone.
 

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device doesn't show up as an interface
Date: Fri, 08 Sep 2000 10:29:32 +0200
From: Mario Wolframm <wolframm@oneline.de>
Organization: ONELINE AG
Message-ID: <39B8A36C.EAD5C65B@oneline.de>
References: <39B4DE70.2B5E87AD@oneline.de> <39B88510.92280A0E@lucent.com>

Yusuf Motiwala wrote:
> 
> You need to assign address for it to get shoed up in ifShow etc.
> Since, ipAttach does not work with your interface, if will not be shown
> up in ifShow etc.
> 
> Yusuf

Hi fellows,
the following approach worked now:

set IP_MAX_UNITS to something big enough
 and then
1. pCookie = muxDevLoad
                (
                unit,           /* 0          */
                loadFunc,       /* driverLoad */
                loadString,     /* "a:b:c:... */
                loan,           /* unused: 0  */
                pBSP            /* NULL       */
                );

2. muxDevStart (pCookie);

3. ipAttach (unit /* 0 */, pDevice /* "ln" */);

4. ifMaskSet      (pDeviceName /* "ln0" */, ifMask /* 0xffffff00 */);
   ifBroadcastSet (pDeviceName /* "ln0" */, bcastAddr /* "10.2.3.255"
*/);
   ifAddrSet      (pDeviceName /* "ln0" */, ifAddr /* "10.2.3.4" */);


By that I managed to assign several interfaces based on that driver now

Thanks to all who answered (or considered to)
Mario

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 1553 bus
Date: Fri, 08 Sep 2000 08:46:45 GMT
From: David Briggs <briggs@radstone.co.uk>
Organization: Deja.com - Before you buy.
Message-ID: <8pa91h$1q5$1@nnrp1.deja.com>
References: <8p81io$crb$1@nnrp1.deja.com>

In article <8p81io$crb$1@nnrp1.deja.com>,
  S Austin <saustin_deja@my-deja.com> wrote:
> Is it possible to comparison shop for 1553 support for vxWorks or is
> Compware Corp. the only game in town?

Not that I know. There are a wide number of 1553
vendors - including my employers Radstone Technology.
http://www.radstone.com

HTH

- --
- -- David Briggs, Principal Software Engineer
Radstone Technology    Tel: (+44/0) 1327 359444
Water Lane, Towcester  Fax: (+44/0) 1327 358113
Northants  NN12 6JN    E-mail: briggs@radstone.co.uk
UK                     WWW: http://www.radstone.co.uk/


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Fri Sep  8 05:12:28 2000
From: f.pertin@staubli.com
Date: Fri Sep  8 05:12:30 PDT 2000
Subject: debbugging a source code loaded from the target loader......

Hello VXWORKS and TORNADO gurus,

I have a problem to debug my application. I loaded objects from the target
loader, my symbols tables (host and target) are synchronized. Does any body
know how to debug source code correponding to this object file. Everything
is going like if the gdb does not know the debug informations of this
object file.

best regards

Francois



From vxwexplo-errs@csg.lbl.gov  Fri Sep  8 08:43:24 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Fri Sep  8 08:43:27 PDT 2000
Subject: re: DHCPC

> I'm having some trouble with DHCPC. I'm trying to
> use DHCPC after VxWorks is up to get an IP address
> from a DHCP server that I'm running on LINUX
> (DHCPD). I'm not trying to configure an interface;
> I'm only trying to get an address for my application.

> I see that the DHCP server is getting the DHCP
> discovery messages, and it is responding with an
> address to my interface's MAC address.

> However, on the VxWorks side, the client simply repeats
> the WAIT_OFFER state until it eventually times out. It
> looks like the timeout message is the only event it ever
> sees; DHCPC is not seeing the response from the DHCP server
> at all.

> ifShow on the interface shows that it *is* receiving
> multicast packets.

Ah yes - you will (almost certainly) find that the response from you dhcp server 
terminates after the last option byte.  The vxworks client code expects the 
responses to be exactly the size specified in the RFC.  Unfortunately the RFC 
has been superseded by one that allows an unrestricted options length.

The lack of backward compatibility between the two RFCs was almost certainly not 
intenetional.  It is probably that vxWorks is the only client code that performs 
this length check (it doesn't do the more usefule check that the TLV option 
don't fall of the end of the receive data).

There are two checks for the packet length in the dhcpc code, a little hacking 
and they can both be patched out.

However you will find that there are rather a lot of bugs in this code.  I ended 
up raising so many TSRs the support group got overloaded:-)  Anyway I fixed a 
significant number of bugs then gave WRS the fixed code back.

	David

----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Fri Sep  8 09:31:59 2000
From: Charles Johnson <cjohnson@oresis.com>
Date: Fri Sep  8 09:32:02 PDT 2000
Subject: Alternate File Systems for VxWorks

Does anyone know if there are any alternatives in terms of file systems
(commercial or freeware) for VxWorks other than the dosFs2.0 that comes with
VxWorks ??  A journaling file system with support for preallocation,
contiguous allocation and load leveling (for flash disks) would be great.
I've heard of a company called CrossStor
(http://www.crosstor.com/home/index.html
<http://www.crosstor.com/home/index.html> ) which appears to have something.

Thanks.

Charles Johnson
Oresis Communications, Inc.
cjohnson@oresis.com <mailto:cjohnson@oresis.com> 



From vxwexplo-errs@csg.lbl.gov  Sat Sep  9 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sat Sep  9 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sat Sep  9 04:03:04 PDT 2000

        Subject: debbugging a source code loaded from the target loader......
        Subject: Porting a BSP from Tornado 1.0.1 to Tornado 2.0
        Subject: Re: use of cascaded macros
        Subject: Re: How to download a modem driver to vxworks image
        Subject: Re: How to download a modem driver to vxworks image
        Subject: Re: Problem with VxWorks Ncr810 SCSI Driver
        Subject: re: DHCPC
        Subject: Alternate File Systems for VxWorks
        Subject: Re: Problem with VxWorks Ncr810 SCSI Driver
        Subject: Starting off
        Subject: Exceptions inside ISRs
        Subject: Re: Starting off
        Subject: Are these different: __asm vs __asm__
        Subject: printing 64 bit unsigned decimal value
        Subject: gethostbyname() etc..
        Subject: Re: printing 64 bit unsigned decimal value
        Subject: Re: gethostbyname() etc..
        Subject: printf of "long long"
        Subject: Re: rpclib - errno 0xd0003
        Subject: Re: gethostbyname() etc..
        Subject: Re: Multiple instances of same (modern) NIC in an x86 target?
        Subject: Re: BSD4.4 Required Driver Entry point and structures.
        Subject: Everyone please atleast read this message over.....

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: debbugging a source code loaded from the target loader......
Date: Fri, 8 Sep 2000 14:12:10 +0200
From: f.pertin@staubli.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pal7m$p6m$1@overload.lbl.gov>

Hello VXWORKS and TORNADO gurus,

I have a problem to debug my application. I loaded objects from the target
loader, my symbols tables (host and target) are synchronized. Does any body
know how to debug source code correponding to this object file. Everything
is going like if the gdb does not know the debug informations of this
object file.

best regards

Francois


---------------------------

Newsgroups: comp.os.vxworks
Subject: Porting a BSP from Tornado 1.0.1 to Tornado 2.0
Date: Fri, 08 Sep 2000 14:58:03 +0200
From: Thomas Scholz <Thomas.Scholz@eed.ericsson.se>
Organization: Ericsson Eurolab Germany
Message-ID: <39B8E25B.7550135B@eed.ericsson.se>


Hi vxW wizards,

1) 

I would like to port a BSP from T101 to T2 using the T2 project tools.

I am having a lot of problems with undefined and doubly defined macros because
many definitions have been made in non-standard places (configAll.h instead of
config.h, etc.)

Can somebody provide me with information about what the project tools do when
they scan my source files, how they build a BSP, etc.  I hope to be able to
fix many problems if I get a deeper insight into what happens.


2)

There is one specific bug (maybe related to the above problems) that occurs
here that is not our fault (I hope so, at least).  I get the error:

.../Tornado_2.0/target/h/private/cplusLibP.h:38: syntax error before `0'

The code from cplusLibP.h is:

typedef enum
    {
    OFF		= 0,
    TERSE	= 1,
    COMPLETE	= 2
    } CPLUS_DEMANGLER_MODES;

It comes from the third line of the enumeration above, because there is an
ugly macro definition in /Tornado_2.0/target/h/tffs/flbase.h

#ifndef OFF
#define OFF     0
#endif

that makes "OFF" unusable for the enumeration. 

What is the best fix for this problem.


Thanks, Th.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: Fri, 8 Sep 2000 08:15:36 -0600
From: "Richard" <rrapier sieversinst>
Message-ID: <39b8f3ee.0@news>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu>

"Jim Thomas" <thomas@atlas.cfht.hawaii.edu> wrote in message
news:wwn1hknc9e.fsf@atlas.cfht.hawaii.edu...
> >>>>> "Richard" == Richard  <rrapierATsieversinstDOTcom> writes:
>
>  Richard> try the following
>  Richard> typedef enum
>  Richard> {
>  Richard>     K_STRING_1,
>  Richard>     K_STRING_2,
>  Richard>     K_STRING_3,
>  Richard>     K_STRING_4,
>  Richard>     ....,
>  Richard>     NUMBER_K_STRINGS
>  Richard> } K_STRING_DEF_TYPE;
>
>  Richard> you can remove entries from the definition, and the following
>  Richard> ones will be renumbered.  I have not looked it up in ANSI C, but
>  Richard> in all of the compilers I have used, the first enumberated value
>  Richard> is 0, and each successive one is one larger than the previous
>  Richard> one.  These values are usable anywhere an int is.  As a bonus,
>  Richard> NUMBER_K_STRINGS can be used as the upper limit of the valid
>  Richard> indices (all valid index values are less than NUMBER_K_STRINGS),
>  Richard> and can be used to allocate your string table.
>
> But there is no longer any relationship between the values and the
> indices.  I use exactly his macros very happily (well, with parens :-).

There is no less of a relationship between the enumeration and the indices
and the defines and the indices.  Just as with the defines each enumeration
value is 1+previous.  With the defined constants embedded in the string
table, there is a difference, but that is not what was being described
originally.  In addition, at least with the compiler he is using, your
proposed solution is not feasible, so he would be reduced to defining each
one as a numeric value, not dependant on the previous ones which would cause
huge headaches when it came time to remove/add entries from anywhere but the
end of the table.  If the process of generating the defines were automated,
that problem could be resolved.

>
> char foo[] = {
> #define bar 0
> "bar string",
> #define mumble (bar + 1)
> "mumble string",
> #define last (mumble + 1)
> (char *) NULL
> }
> ....
> assert((last + 1) == (sizeof foo / sizeof (char *)));
>

Another solution that could resolve both problems would be something along
the lines of:

typedef enum
{
    K_STRING_1,
#define K_STRING_1_VALUE "String 1"
    K_STRING_2,
#define K_STRING_2_VALUE "String 2"
 .
 .
 .
    NUMBER_K_STRINGS
};

char StringTable[] =
{
    K_STRING_1_VALUE,
    K_STRING_2_VALUE,
    .
    .
    .
};

assert(NUMBER_K_STRINGS == (sizeof (StringTable) / sizeof (char *)));

This would still assure that the table was at least the corect size, and
solve the nested macros problem, and have a reasonable assurance that the
strings and indices are matched.

> Also to the poster who said "just use 0 1 2 3 4 ..." - baloney.  He, I
> think from following postings, used numeric names in the example but uses
> real names in the actual code.  The reason for symbols is exactly to
> eliminate meaningless numbers.
>
> As for the original problem, how many levels do you have?  I don't see any
> way of controlling memory allocation with GNU cpp - maybe you need more
> swap space?

- --
rrapier sieversinst
To reply to me, replace the space with @, and add the .com on the end.






---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to download a modem driver to vxworks image
Date: Fri, 08 Sep 2000 14:29:51 GMT
From: bryan <bpong@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pat41$ob6$1@nnrp1.deja.com>
References: <8p90hk$jo3$1@nnrp1.deja.com> <39B8630C.2B9BB20C@cisco.com>

 Thank you for your help. But Actually I want to know that the
driver will work or not if I add it as a .obj files. For my
understand of VxWorks, when I install a driver, I need to add
some functions in usrConfig.c. Is it correct?

 As I read from the User's Guide, I can use the windsh(shell) with
startup(like a autoexec.bat) to creating additional devices. Do you
know how to do it? It will help me a lot. Thanks again!!!

Bryan


> Hi Bryan,
>
> If the wdb component is enabled in the target image and if you are
able
> to
> launch wdb from your host PC, you should be able to download the .obj
> files
> to the target anytime.
> Hope this helps.
>
> regards,
> Vijay
>
> bryan wrote:
>
> > Hi everyone,
> >
> >  This is my first time to send a question in this newsgroup.
> >
> >  I am developing a modem driver for VxWorks. I got a target hardware
> > from the other company and the image of VxWorks is inside the IDE.
> > That's mean I don't have any source code of BSP for this target.
> > So I need to download my modem driver as a downloadable application.
> > Is it possible to do that?! If so, how can I do it?
> >
> > Best Regards
> > Bryan
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> --------------44BE564D72038D037FDD0D9F
> Content-Type: text/x-vcard; charset=us-ascii;
>  name="vpeshkar.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for Vijay Kumar Peshkar
> Content-Disposition: attachment;
>  filename="vpeshkar.vcf"
>
> begin:vcard
> n:Peshkar;Vijay
> x-mozilla-html:FALSE
> org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple
of daisies, some fresh air and a smile!
> adr:;;;;;;
> version:2.1
> email;internet:vpeshkar@cisco.com
> title:Senior Software Engineer
> fn:Vijay Kumar Peshkar
> end:vcard
>
> --------------44BE564D72038D037FDD0D9F--
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to download a modem driver to vxworks image
Date: 8 Sep 2000 15:16:16 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pavs0$grn$1@news1.xs4all.nl>
References: <8p90hk$jo3$1@nnrp1.deja.com> <39B8630C.2B9BB20C@cisco.com> <8pat41$ob6$1@nnrp1.deja.com>

bryan <bpong@my-deja.com> wrote:
:  Thank you for your help. But Actually I want to know that the
: driver will work or not if I add it as a .obj files. For my
: understand of VxWorks, when I install a driver, I need to add
: some functions in usrConfig.c. Is it correct?

No, usrConfig.c is not used for normal projects anymore. If you want to
include drivers in the kernel you have to add these to sysLib.c or you
have to include these in the project facility using CDF files.

:  As I read from the User's Guide, I can use the windsh(shell) with
: startup(like a autoexec.bat) to creating additional devices. Do you
: know how to do it? It will help me a lot. Thanks again!!!

Yes, you can do that. Just enable the Startup scripting in your project
and define a startup script in the boor parameters and write a startup
script.
In your case if you load the object code of your driver and call the start
function of this driver the driver is enabled. You can start drivers all
the time, as these are just some pieces of code, as long as you don't
need some special initialisation code before interrupts are enabled.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problem with VxWorks Ncr810 SCSI Driver
Date: Fri, 08 Sep 2000 17:38:07 +0200
From: Sebastien Fauris <sfauris@club-internet.fr>
Organization: Club-Internet (France)
Message-ID: <39B907DF.A508EE6F@club-internet.fr>
References: <8p926j$ljj$1@nnrp1.deja.com>

Hi,

I don't know if this is your problem, but the driver of NCR810 I use from
Wind River (Tornado 1.0.1) does not support shared PCI interrupt. I am
waiting from them to correct this bug or hope if they don't, they would
give
me the source so I can correct it myself.

Sebastien.



---------------------------

Newsgroups: comp.os.vxworks
Subject: re: DHCPC
Date: Fri, 8 Sep 2000 16:43:38 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009081543.QAA11506@dsl-2.tadpole.co.uk>

> I'm having some trouble with DHCPC. I'm trying to
> use DHCPC after VxWorks is up to get an IP address
> from a DHCP server that I'm running on LINUX
> (DHCPD). I'm not trying to configure an interface;
> I'm only trying to get an address for my application.

> I see that the DHCP server is getting the DHCP
> discovery messages, and it is responding with an
> address to my interface's MAC address.

> However, on the VxWorks side, the client simply repeats
> the WAIT_OFFER state until it eventually times out. It
> looks like the timeout message is the only event it ever
> sees; DHCPC is not seeing the response from the DHCP server
> at all.

> ifShow on the interface shows that it *is* receiving
> multicast packets.

Ah yes - you will (almost certainly) find that the response from you dhcp server 
terminates after the last option byte.  The vxworks client code expects the 
responses to be exactly the size specified in the RFC.  Unfortunately the RFC 
has been superseded by one that allows an unrestricted options length.

The lack of backward compatibility between the two RFCs was almost certainly not 
intenetional.  It is probably that vxWorks is the only client code that performs 
this length check (it doesn't do the more usefule check that the TLV option 
don't fall of the end of the receive data).

There are two checks for the packet length in the dhcpc code, a little hacking 
and they can both be patched out.

However you will find that there are rather a lot of bugs in this code.  I ended 
up raising so many TSRs the support group got overloaded:-)  Anyway I fixed a 
significant number of bugs then gave WRS the fixed code back.

	David

- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: Alternate File Systems for VxWorks
Date: Fri, 8 Sep 2000 09:31:46 -0700
From: Charles Johnson <cjohnson@oresis.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pb6q6$bsj$1@overload.lbl.gov>

Does anyone know if there are any alternatives in terms of file systems
(commercial or freeware) for VxWorks other than the dosFs2.0 that comes with
VxWorks ??  A journaling file system with support for preallocation,
contiguous allocation and load leveling (for flash disks) would be great.
I've heard of a company called CrossStor
(http://www.crosstor.com/home/index.html
<http://www.crosstor.com/home/index.html> ) which appears to have something.

Thanks.

Charles Johnson
Oresis Communications, Inc.
cjohnson@oresis.com <mailto:cjohnson@oresis.com> 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problem with VxWorks Ncr810 SCSI Driver
Date: Fri, 08 Sep 2000 17:21:51 GMT
From: yeemoney@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pb76m$56v$1@nnrp1.deja.com>
References: <8p926j$ljj$1@nnrp1.deja.com>

I think I may have gotten it to work.  I set the ncr810PciMemOffset
(located in ncr810Lib.c) to 0 and it stopped crashing.  I still need to
see how stable it is.

Only me,
Stanley Yee

In article <8p926j$ljj$1@nnrp1.deja.com>,
  syee@connex.com wrote:
> I'm trying to get the ncr810 driver to work on the 810 controller (and
> eventually the 895 controller).  I'm using Tornado 1.0.1 and VxWorks
> 5.3.1. on a Pentium machine.  The system is crashing everytime I try
to
> initialize the SCSI controller.  Below are the functions calls I make
> that lead up to the crash:
>
> ncr810CtrlCreate()   Creates controller structure
> intConnect()         Connects ISR to interrupt vector
> sysIntEnablePIC()    enables interrupt
> SetHwRegisters()     sets hardware-dependent registers
> ncr810CtrlInit()     initializes controller
>
> The system crashes and reboots at the controller init function.  I'm
> assuming that there is some conflict between the interrupt and the
> Interrupt Service Routine (ncr810Intr). If I don't include the
> sysIntEnablePIC() function, the system doesn't crash and I'm able to
do
> a controller init.  However, when I try a scsiPhysDevCreate or an
> scsiAutoConfig, the system hangs.
>
> I'm positive the base address and interrupts I use are correct because
> I verified it in the PCI configuration space.  What's even stranger is
> that I got it to work once but then all of a sudden it crashed and I
> didn't have a backup at the time.  Has anyone experienced a similar
> problem?  Any suggestions on how to fix this?  Please e-mail me at
> syee@connex.com.  Thanks in advance.
>
> Stanley Yee
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Starting off
Date: Fri, 8 Sep 2000 22:08:01 +0200
From: "Pavius" <p4ve@hotmail.com>
Organization: Bezeq International Ltd.
Message-ID: <39b938ac@news.bezeqint.net>

Hi.

I have been programming for quite some time, and have gathered enough
knowledge in C and C++, and have a fairly good working knowledge in
assembly. I'm about to start developing in a RTOS environment. As i read in
the VxWorks programmers guide (which is about the only guide i found on the
net), everything evolves around multitasking, event handling and
dispatching. Thing is, i have no clue on where to actually begin ... I don't
assume i can get my hands on some vxworks libs, just to "get the feeling of
things", and since i can't find any books on the topics (and i don't mean
"Real time programming in 24 hours), i can't seem to grasp how i can start
writing programs that will eventually reside on DSPs and such.

So my questions in a nutshell are :

- - Where can i find tutorials about RTOS programming ? (and is this the best
place to start)
- - Are there any non-commercial licenses for a (maybe crippled) version of
the vxworks kernel ( i am using VC6)?

TIA

omg, i'm a newbie ;)



---------------------------

Newsgroups: comp.os.vxworks
Subject: Exceptions inside ISRs
Date: Fri, 08 Sep 2000 14:57:37 -0500
From: Michael White <qa1402@ftw.mot.com>
Organization: Motorola
Message-ID: <39B944B0.3E0E633B@ftw.mot.com>

Hi all,

   Does anyone out there know the behavior of VxWorks 5.4 on a MPC8260
if 
an exception (such as an instruction translation miss) occurs inside of
an external interrupt handler?

   Also, is there any way to get text to the TTY output under this
situation?
The default VxWorks TTY drivers are being used.
 
Thanks!
- ---
Michael White, qa1402@ftw.mot.com
Cellular Infrastructure Group
Ft. Worth, Texas    (817)245-6418

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Starting off
Date: Fri, 8 Sep 2000 23:40:34 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8pbmek$uff$18$1@news.t-online.com>
References: <39b938ac@news.bezeqint.net>

Hello Pavius,
go and try Tornado Prototyper.
Maybe this is what you want?
http://www.WindRiver.com

Ciao

- --

Martin Raabe




---------------------------

Newsgroups: comp.os.vxworks
Subject: Are these different: __asm vs __asm__
Date: Fri, 08 Sep 2000 23:33:48 GMT
From: "Jim" <jgdon@undergrad.math.uwaterloo.ca>
Organization: Magma Communications Ltd.
Message-ID: <wHeu5.1254$gi1.22001@news.magma.ca>

Hello all,
I have a real quick question for anyone who knows ... I am writing some
assembly in VxWorks for an MPC860 and I was wondering if there is a
difference between ...

__asm ("....<easy to read code>....");
and
__asm__ ("....<easy to read code>....");

Cheers and thanks in advance,
Jim




---------------------------

Newsgroups: comp.os.vxworks,cisco.eng.su-dev-vxworks,cisco.eng.cr.su-dev-vxworks
Subject: printing 64 bit unsigned decimal value
Date: Fri, 08 Sep 2000 17:49:10 -0700
From: Rajesh Goudar <rgoudar@cisco.com>
Organization: Cisco Systems, Inc.
Message-ID: <39B98906.67FD69A2@cisco.com>

Hi,

How do I print a 64 bit (unsigned long long) variable using printf
without getting any compiler warnings ?

eg:

main()
{
usigned long long time_cnt;
................
.................

printf(" the time tick = %??? \n", time_cnt);

}
i have used combinations of %d, %u, %ld %gu etc... all results in
compiler warning.

Any tips or help will be greatly appreciated.

Thanks in advance,
Rajesh



---------------------------

Newsgroups: comp.os.vxworks
Subject: gethostbyname() etc..
Date: Sat, 09 Sep 2000 01:33:02 GMT
From: nunya <nunya@nunya.com>
Organization: Nunya Business
Message-ID: <39B9934E.9C26A7A0@nunya.com>

Hello all;

I'm looking for the gethostbyname() stuff for VxWorks.  I just need
simple
IP address resolution, nothing extensive.

Is there any code out there for this already?

Thanks!
JLM

jlm@nospam.dessertfirst.com


---------------------------

Newsgroups: comp.os.vxworks,cisco.eng.su-dev-vxworks,cisco.eng.cr.su-dev-vxworks
Subject: Re: printing 64 bit unsigned decimal value
Date: Sat, 09 Sep 2000 01:36:33 GMT
From: johnstona@avionics2.robins.af.mil
Organization: Deja.com - Before you buy.
Message-ID: <8pc46v$7to$1@nnrp1.deja.com>
References: <39B98906.67FD69A2@cisco.com>



> How do I print a 64 bit (unsigned long long) variable using printf
> without getting any compiler warnings ?

Amazing... I was just going to ask a related question. But first
the answer to your query.  Somewhere in the prog. guide it says
that vxworks does not support %L (long long).  So as far as wrs
software, we are out of luck.  This has been this way for as long
as I can remember.  I am going to ask if anyone has a "fix"
for this defect/lack.  It has been bugging me for quiet awhile now.

- -al (sofeise)




Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gethostbyname() etc..
Date: Fri, 08 Sep 2000 21:48:06 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B996D6.698E8F9B@mindspring.com>
References: <39B9934E.9C26A7A0@nunya.com>

> I'm looking for the gethostbyname() stuff for VxWorks.  I just need
> simple
> IP address resolution, nothing extensive.

Depends on how you want to resolve it... if dns, then vxworks already
supports it.  If you want yp (nis) then for some STRANGE reason
WRS says your out of luck.  

We have a kludge that hooks into the vxworks into yp client, but
it is hardware dependent.  Have versions for sun2ce, mv2700, and
hkv30 (maybe) if you are interested.  I warn you though, the
way it is implemented is via "self modifying code".  

But we have been using it here for 8 years now...

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: printf of "long long"
Date: Fri, 08 Sep 2000 21:55:20 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B99888.6A31EEC7@mindspring.com>

the lack of support for printing a 64 bit integer has long annoyed me.

My fingers just keep typing the %L, and the compiler has to remind
me its not there... this happens every year or so... their memory
is not to good....

Does someone have a "real" fix for this?  (not a divide by ten
and map to char in an array approach)....

thanks

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: rpclib - errno 0xd0003
Date: Fri, 08 Sep 2000 21:59:15 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39B99973.96C9F9AA@mindspring.com>
References: <39B5B563.D0E3CB51@mindspring.com> <ZxNt5.2$592.47@news.connectnet.com>


I sure wish they would not do that... I am never sure if I missed a
"check for error return" somewhere... or if vxw is just being ill
natured...

thanks guys.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gethostbyname() etc..
Date: Sat, 09 Sep 2000 04:38:51 GMT
From: nunya <nunya@nunya.com>
Organization: Nunya Business
Message-ID: <39B9BED9.34431EB2@nunya.com>
References: <39B9934E.9C26A7A0@nunya.com> <39B996D6.698E8F9B@mindspring.com>


Yes, a simple DNS resolver is all I need, but...I don't see any man
pages
or prototypes for the gethostbyname() stuff  in a Tornado 1.0.1,
non-SENS, x86 target directory.   I do see some resolvxxx() routines in
a SENS PPC target directory that look like the items I need there.  Of
course, the code I'm working on runs on multiple targets so I need
something
I can use on (at least) both targets.  I don't mind writing some
pseudo-api that
front-ends resolvxxx(PPC) or gethostbyname()(x86) but I want to try to
avoid
writing the gethostbyname() etc..., again.

Thanks!
JLM

Al Johnston wrote:

> > I'm looking for the gethostbyname() stuff for VxWorks.  I just need
> > simple
> > IP address resolution, nothing extensive.
>
> Depends on how you want to resolve it... if dns, then vxworks already
> supports it.  If you want yp (nis) then for some STRANGE reason
> WRS says your out of luck.
>
> We have a kludge that hooks into the vxworks into yp client, but
> it is hardware dependent.  Have versions for sun2ce, mv2700, and
> hkv30 (maybe) if you are interested.  I warn you though, the
> way it is implemented is via "self modifying code".
>
> But we have been using it here for 8 years now...
>
> -al


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Multiple instances of same (modern) NIC in an x86 target?
Date: Sat, 09 Sep 2000 05:42:37 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: AJAX Productions
Message-ID: <39B9CED9.C608B01C@earthlink.com>
References: <8nb8ng$ghd$1@overload.lbl.gov>
Reply-To: jukema@earthlink.net

The Intel Pro 100B is a widely available PCI 10/100Tx NIC that uses the
i82559 MAC chip. There's a vxWorks driver for this board (if_fei.c) that we
modified to support multiple units (NICs.) Most of the work was done in the
driver's "attach" routine, where we had to assign a different block of PCI
I/O space to each of the NICs. We also shared a single interrupt among all
the NICs, so we had to modify the driver's interrupt handler to poll each
card to find out the one(s) that needed to be serviced. Overall, it was a
few days worth of work.


Henrik Bergstrom wrote:

> Dear VxWorks-users,
>
> I am having trouble finding a modern, commercially available, NIC which
> works with several instances of the same card in an x86 target. Some
> drivers are prepared for multiple instances, but don't work in
> practice.
>
> I am in need of a END (MUX) driver and the only one my local
> vxw-representative knew of was Intel's 82559, but I don't have access
> to that NIC.
>
> What would make me really happy are END/MUX-drivers with support for
> multiple instances of the same card for any of the following:
>
>   o 3com 3c905C-TX "Fast EtherLink XL PCI"
>     (This has "theoretical support" for multiple instances, but not
>     fully so in practice.)
>   o SMC 9432TX "EtherPower II 10/100"
>   o any other modern, commercially available, card
>
> Any help, tips or recommendations is appreciated.
>
> Best regards,
>
> Henrik Bergstrom
>
> - --
> Henrik Bergstrom  +46-8-628 28 28  henrik.bergstrom@intertex.se
> Intertex Data AB  (fax) 628 64 14


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: BSD4.4 Required Driver Entry point and structures.
Date: Sat, 09 Sep 2000 05:44:02 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: AJAX Productions
Message-ID: <39B9CF30.5FACD8B9@earthlink.com>
References: <3999938A.50D6CDF2@lucent.com>
Reply-To: jukema@earthlink.net

The book TCP/IP Illustrated (volume 2) is what you're looking for...

myhandle@lucent.com wrote:

> Hi Group,
> I need documentation which specifies the BSD4.4 network interface driver format,
> specially the required driver entry points and the details of the various
> interface data structures that are involved. If One of U can give me a pointer,
> it will be appreciated...
> thanx
> Jish


---------------------------

Newsgroups: comp.os.vxworks
Subject: Everyone please atleast read this message over.....
Date: Sat, 09 Sep 2000 07:27:02 GMT
From: secret@netzerro.net
Organization: Serious Cheat Proof PayPal $$$ Fast!
Message-ID: <09090003.3307@netzerro.net>
Reply-To: secretman@netzer0.com

This is a Brand New CHEAT PROOF program involving PayPal, & it really works! Please check this out!
Sorry for the SpamIt won't happen again, but this is a great new opportunity!

Make $10,000 in 3 weeks using PayPal - CHEAT PROOF!  This is a brand new, very serious business opportunity that will bring in thousands through your personal PayPal account, all from the safety of your home, with minimal effort!  It WILL work because unlike other programs, this one is CHEAT PROOF!  Nobody can cheat so everyone gets paid.  $5 (that's it, no more ever!) WILL get you $10,000 in 3 weeks (I've personally made around $6,100, but $10K IS possible)!  If you aren't familiar w/PayPal - Accounts are
 FREE, and you can sign up on my site below.  But seriously, everyone should at least check this out if nothing else, you'll be sorry if you don't:
http://zap.to/paypalcash



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 10 04:03:06 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sun Sep 10 04:03:08 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sun Sep 10 04:03:03 PDT 2000

        Subject: Re: Exceptions inside ISRs
        Subject: Re: use of cascaded macros
        Subject: Problem with updating DHCPS entries

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Exceptions inside ISRs
Date: Sat, 09 Sep 2000 18:24:57 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pdv98$5ng$1@nnrp1.deja.com>
References: <39B944B0.3E0E633B@ftw.mot.com>

Hi Michael,

>    Does anyone out there know the behavior of VxWorks 5.4 on a MPC8260
> if
> an exception (such as an instruction translation miss) occurs inside
of
> an external interrupt handler?

The example you quote is not a good one since that will be handled
correctly by the OS (since the MMU and interrupt enable state are
restored at the entry to an ISR, the OS needs to be able to handle the
misses and load the TLB with the appropriate info from the hash table).

Now, other exceptions, including the instruction translation error case,
will result in two things. A message is stored in a special location
(pointed to by sysExcMsg), and the target is rebooted. The bootrom
should then display the exception message.

True exceptions (i.e. everything except the MMU miss ones) in interrupt
handlers are considered fatal; moral of the story: be very careful in
your ISRs!

HTH,

John...


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: use of cascaded macros
Date: 09 Sep 2000 18:59:45 -1000
From: Jim Thomas <thomas@atlas.cfht.hawaii.edu>
Organization: Canada France Hawai`i Telescope
Message-ID: <wwk8ckn8ou.fsf@atlas.cfht.hawaii.edu>
References: <8p2lqt$3g9$1@proxy2.fe.internet.bosch.de> <39B4F533.F56D7B9B@swri.edu> <8p2vvs$hmq$1@proxy2.fe.internet.bosch.de> <39b54d5d.0@news> <wwn1hknc9e.fsf@atlas.cfht.hawaii.edu> <39b8f3ee.0@news>

>>>>> "Richard" == Richard  <rrapier sieversinst> writes:

 Richard> "Jim Thomas" <thomas@atlas.cfht.hawaii.edu> wrote in message
 Richard> news:wwn1hknc9e.fsf@atlas.cfht.hawaii.edu...
 >> But there is no longer any relationship between the values and the
 >> indices.  I use exactly his macros very happily (well, with parens :-).

 Richard> There is no less of a relationship between the enumeration and
 Richard> the indices and the defines and the indices.

As has been made clear, I was referring to physical location in the source
code.  Since the compiler provides no way of checking these or generating
them (oh for a "real" macro processor :-) the visual check is all we have.

 Richard> Another solution that could resolve both problems would be
 Richard> something along the lines of:

 Richard> typedef enum
 Richard> {
 Richard>     K_STRING_1,
 Richard> #define K_STRING_1_VALUE "String 1"
 Richard>     K_STRING_2,
 Richard> #define K_STRING_2_VALUE "String 2"
 Richard> .
 Richard> .
 Richard> .
 Richard>     NUMBER_K_STRINGS
 Richard> };

 Richard> char StringTable[] =
 Richard> {
 Richard>     K_STRING_1_VALUE,
 Richard>     K_STRING_2_VALUE,
 Richard>     .
 Richard>     .
 Richard>     .
 Richard> };

 Richard> assert(NUMBER_K_STRINGS == (sizeof (StringTable) / sizeof (char *)));

 Richard> This would still assure that the table was at least the corect
 Richard> size, and solve the nested macros problem, and have a reasonable
 Richard> assurance that the strings and indices are matched.

Nice inversion :-)  Unfortunately when the symbols are not numeric but
meaningful it's harder to make sure the table is right.  The assert helps,
but it's still easy to leave one out and duplicate another :-(

Jim

---------------------------

Newsgroups: comp.os.vxworks
Subject: Problem with updating DHCPS entries
Date: Sun, 10 Sep 2000 07:53:44 GMT
From: anderberg@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pfem4$ou3$1@nnrp1.deja.com>

  Can anybody suggest how one can update an entry added to DHCPS by 
dhcpsLeaseEntryAdd call. Or, alternatively, restart DHCP server without board
reboot, to use new tables. There are some functions (dhcpsCleanup,
dhcpsFreeResource...) which it seems are concerned to this issue, but
amazingly, they are not documented. I use VxWorks 5.4 on PPC860

Thanks in advance

Alex



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 10 21:07:04 2000
From: Neelesh Dwivedi <neelesh@daewoo.dti.daewoo.co.kr>
Date: Sun Sep 10 21:07:07 PDT 2000
Subject: Route Change.

Hello All,
I have been studying VxWorks and Tornado for the past one month.
I had a query regarding the Routing Table maintained by VxWorks.

1.   Does it confirm to any MIB ?           and

2.   In case of any change in the routing table, does it generate any
route change notification/ trap for other parts of the application?

Thanks.
Neelesh Dwivedi.



From vxwexplo-errs@csg.lbl.gov  Mon Sep 11 02:41:58 2000
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Date: Mon Sep 11 02:42:00 PDT 2000
Subject: North / South Bridge in PCI?

Tornado, VxWorks

Hi VxWorks veterans,

Can any one give clear picture about, what is the difference between
South Bridge / North Bridge in PCI?, how to identify in a system,
whether the bridge is north / south?.

Thanks & Regards,

R.Balaji.





From vxwexplo-errs@csg.lbl.gov  Mon Sep 11 04:03:07 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Mon Sep 11 04:03:09 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Mon Sep 11 04:03:04 PDT 2000

        Subject: Re: dosFs2 chkdsk slow to run from bootrom
        Subject: Re: HOT HOT  - VxWorks S/W Developers Needed - Ottawa
        Subject: Route Change.
        Subject: Booting the pcPentium target ?
        Subject: Re: debbugging a source code loaded from the target loader......
        Subject: Re: socket
        Subject: Re: Targetting COM ports 3 and 4 - need help
        Subject: Re: Linking archives
        Subject: Re: gethostbyname() etc..
        Subject: North / South Bridge in PCI?

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: dosFs2 chkdsk slow to run from bootrom
Date: Sun, 10 Sep 2000 13:26:15 +0200
From: Leonid Rosenboim <leonid@bitband.com>
Organization: BitBand Technologies Ltd. http://www.bitband.com
Message-ID: <39BB6FD7.76855B10@bitband.com>
References: <8p4osn$ja8$1@nnrp1.deja.com>
Reply-To: leonid@bitband.com

Actually, this is very simple -

the CHKDSK utility in DosFs2 would take advantage of available memory to
hasten
the process by keeping the entire FAT in RAM, if this however is impossible,

it will use the "second" FAT copy on the disk as its working copy of FAT.
The "working copy" is where the software keeps track of cluster chains
traversed etc.

So what you need is to define a few defines to make bootCOnfig.c allocate
more memory,
for PC target these are:

:#define INCLUDE_ADD_BOOTMEM  /* Add upper memory to low memory bootrom*/
:#define ADDED_BOOTMEM_SIZE   0x00200000   /* 2MB */

Dont know how much memory will be sufficient for you, your milage will vary
...

Leonid

paulvroberts@my-deja.com wrote:

> Hi there,
>
> Does anyone know why chkdsk would be much slower when run from the
> bootrom, then when run after VxWorks is loaded?
>
> We are using FAT32 (singly dos partitioned) 9GB SCSI disks and it takes
> 65 seconds in the bootrom, whereas after VxWorks is running, it takes
> just 3-4 seconds!
>
> What I did was to "enhance" the bootConfig.c file to allow booting using
> dosFs2. I use a 128K cache, and call chkdsk via the icotl FIOCHKDSK.
>
> I am using the MVME2700 BSP with the bootrom_uncmp target, so presumably
> that's not rom-resident.
>
> Any other ideas?
>
> Thanks,
>
> Paul Roberts.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: HOT HOT  - VxWorks S/W Developers Needed - Ottawa
Date: Sun, 10 Sep 2000 12:50:38 +0100
From: molochai <molochai@vapour-trail.demon.co.uk>
Message-ID: <9055d3fb49%molochai@vapour-trail.demon.co.uk>
References: <8p98p4$nc$1@news.igs.net>

In message <8p98p4$nc$1@news.igs.net>
          "PROCOM" <derekw@procom.ca> wrote:

I'm sure that nobody objects to an occasional job advert on this NG, but
sending the same advert several times a week is excessive IMHO.

> Title:  C++ / OOD VxWorks Software Developers
> 
[snip rest of advert]



---------------------------

Newsgroups: comp.os.vxworks
Subject: Route Change.
Date: Mon, 11 Sep 2000 09:38:23 +0530
From: Neelesh Dwivedi <neelesh@daewoo.dti.daewoo.co.kr>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8phm7k$rqk$1@overload.lbl.gov>

Hello All,
I have been studying VxWorks and Tornado for the past one month.
I had a query regarding the Routing Table maintained by VxWorks.

1.   Does it confirm to any MIB ?           and

2.   In case of any change in the routing table, does it generate any
route change notification/ trap for other parts of the application?

Thanks.
Neelesh Dwivedi.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Booting the pcPentium target ?
Date: Mon, 11 Sep 2000 04:49:08 GMT
From: mishra.r@dcmtech.co.in
Organization: Deja.com - Before you buy.
Message-ID: <8pho7v$73m$1@nnrp1.deja.com>

Hi all,
I need to boot my pcPentium target over the Ethernet.(ie. by
downloading the vxWorks image). I have a NE2000 compatible ethernet
card, have set the base address and IRQ for that in the config.h. So,
after when the image is created the loader is unable to load that image
from the host. Moreover, theres no message on the ftp server running on
the host.
regards
Rajesh.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: debbugging a source code loaded from the target loader......
Date: Mon, 11 Sep 2000 08:42:41 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <96%u5.6$AP1.615@nreader1.kpnqwest.net>
References: <8pal7m$p6m$1@overload.lbl.gov>

Hi Francois,

I found out two possibilities to solve the problem:
- - start your debugger and open the command-line window (Debug -> Debug
Window -> DebugCommandLine). Then you have to type: add-symbol-file
<Object.out> and your debugger reads all symbols from the object file.

- - start your debugger and download the modul you want to debug with
Tornado2.

Of course, the object-files must be the same as already loaded.

hope that helps
Markus



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: socket
Date: Mon, 11 Sep 2000 06:29:21 GMT
From: ba_ajay@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8phu3l$d6t$1@nnrp1.deja.com>
References: <8p9ucs$llg$1@nnrp1.deja.com> <8pa6le$ao$1@news1.xs4all.nl>

In article <8pa6le$ao$1@news1.xs4all.nl>,
  borkhuis@lucent.com wrote:
> ba_ajay@my-deja.com wrote:
> :   1. Which symbol table to use(downloadable or built-in) ?
>
> :   2. is built-in symbol table the right one for a bootable appln ?
>
> Yes, that is the right one.
>
> :   3. if use a downloadable application , i get no errors in
compilation.
> :      while downloading, error message is received as undefined
symbols
> : socket,bind etc.. What do i need to include ?
>
> In your bootable application you should include the network
components,
> including the Ping client. In the simulator the first lines should be
like
> this:
>
> Attached TCP/IP interface to nt unit 0
> Attaching interface lo0...done
>
> Adding 3069 symbols for standalone.
>
> Groeten,
> 	Johan
>

Hi,
   Thanks for ur guidance.
  Simulator has the lines as above.
  I have included the ping client in the network components, but still
i am not able to ping ip address 90.0.0.1 & 90.0.0.2 on NT(dos prompt) .

1. In NT ping localhost works whereas in the VxWorks Shell prompt
sometimes doesnt work(sometimes does work).
  I have changed true to false in Config.h .  Do i need to run any of
the makefiles for the change come into effect ?

Question :

   Can VxWorks be able to see 2 NT hosts as part of networking
feature.i.e  communication b/n  VxWorks host machines. Can u help me on
this ?

ajay



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


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Targetting COM ports 3 and 4 - need help
Date: Mon, 11 Sep 2000 08:39:29 +0200
From: "Michael Lawnick" <lawnick@softec.de>
Organization: Deja.com - Before you buy
Message-ID: <200009110638.IAA32669@net.softec.de>
References: <967826453.9627.0.nnrp-14.c1ed3722@news.demon.co.uk>

Hi Peter,

verify that you have assigned a fixed port/interrupt pair to your COMs in 
BIOS. I had a similar problem on an other PC-board were this parameters 
were set to automatic. After setting up fixed, the problem had gone.

HTH

> Hi
> 
> I am running my application on an Arcom Media GX Board which uses a 233Mhz
> Cyriz chip.
> 
> This board works with  the Pentium BSP and contains 4 COM ports. I want to
> read and write to these ports but can only manage to access ports COM1 and
> COM2. I have added the relevant code to sysSerial.c and config.h but it
> makes no difference. WindRiver themselves tell me that it is probably more
> difficult than I think and I will probably have to allow COM1 and 3 to share
> one Interrupt Leven and COM2 and COM4 to share another and then do the
> detection of which COM port is relevant within ISR code.
> 
> I do have enough interrupts for 4 ports but I realise I may not be allowed
> to handle them separately.
> 
> Has anyone done interrupt sharing before ??
> 
> Many thanks to replies in advance
> 
> Peter Deed
> Infocell Telecom
> ==================
> 
> 
> 
> 
> 
> 
>  _____________________________________________________________
>  Deja.com: Before you buy.
>  http://www.deja.com/
>  * To modify or remove your subscription, go to
>  http://www.deja.com/edit_sub.xp?group=comp.os.vxworks
>  * Read this thread at
>  http://www.deja.com/thread/%3C967826453.9627.0.nnrp-14.c1ed3722%40news.demon.co.uk%3E
> 


MfG
Lawnick, SOFTEC GmbH

==============================================
SOFTEC GmbH               Tel +49-731-96600-0
Promenade 17              Fax +49-731-96600-23
D-89073 Ulm               Michael Lawnick
Germany                   lawnick@softec.de
==============================================



 Sent via Deja.com http://www.deja.com/
 Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: 11 Sep 2000 04:04:03 -0500
From: Bob Westbrook <Bob@job.com>
Message-ID: <hv3qrsg5b1vsqvalfski0kginp4hqkjo8u@4ax.com>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de> <ur9grskv0rg28r20uu9lo7s4gno8i0g8ol@4ax.com> <8p9v1n$4nh$1@proxy2.fe.internet.bosch.de>

On Fri, 8 Sep 2000 07:56:37 +0200, Gunter Ritter
<Gunter.Ritter@Tenovis.com> wrote:

>
>I thought about this, too. But I didnt try it yet. I find it a little bit
>strange to do it this way.
>Well, I try it now.
>
>Gunter
>
Did it work ?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gethostbyname() etc..
Date: Mon, 11 Sep 2000 11:42:50 +0200
From: Christian Olsson <Christian.Olsson@emw.ericsson.se>
Organization: Ericsson Microwave Systems AB
Message-ID: <39BCA91A.FBF8AFFE@emw.ericsson.se>
References: <39B9934E.9C26A7A0@nunya.com>

Maybe "vxman hostGetByName" will do it for you?

/Christian Olsson


nunya wrote:
> 
> Hello all;
> 
> I'm looking for the gethostbyname() stuff for VxWorks.  I just need
> simple
> IP address resolution, nothing extensive.
> 
> Is there any code out there for this already?
> 
> Thanks!
> JLM
> 
> jlm@nospam.dessertfirst.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: North / South Bridge in PCI?
Date: Mon, 11 Sep 2000 15:22:22 +0530
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pibak$7jf$1@overload.lbl.gov>

Tornado, VxWorks

Hi VxWorks veterans,

Can any one give clear picture about, what is the difference between
South Bridge / North Bridge in PCI?, how to identify in a system,
whether the bridge is north / south?.

Thanks & Regards,

R.Balaji.




---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Mon Sep 11 04:50:20 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Mon Sep 11 04:50:22 PDT 2000
Subject: Re: North / South Bridge in PCI?


> Hi VxWorks veterans,
> 
> Can any one give clear picture about, what is the difference between
> South Bridge / North Bridge in PCI?, how to identify in a system,
> whether the bridge is north / south?.
> 

The North (or host) bridge converts the CPU bus to a PCI bus.  This also tends 
to contain the memory controller (it simplifies the bus arbitration if this is 
all done in one place).

The South bridge is a PCI device that support all the standard (PC) IO devices 
(serial ports, disk controller, ISA bus etc).

Some of the newest PC PCI chipsets are putting the disk controller into the 
north bridge.  This gives the disk controlles a faster path into memory.
Also look out for systems that use a private bus to pass data between the north 
and south bridges - again to get faster throughput and/or lower latencies.

	David



----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Tue Sep 12 03:05:33 2000
From: "Krishna Kishore Reddy Sureddy" <krishnakishore.reddy@wipro.com>
Date: Tue Sep 12 03:05:35 PDT 2000
Subject: vxWorks Task

Hi,
Can a task in vxWorks get suspended other than the conditions presented
below.Correct me if i am Wrong.

1. vxWorks calls
   a. ts()   b. taskSuspend()   c. sigsuspend()   d. pause()   e.
nanosleep()
  f. aio_suspend   g. sigtimedwait()   h. sigwaitinfo()
2. Task level exception
3. Breakpoint in task
4. Attaching task to Debugger
5. CS_MSEC_DELAY(msec), a vxWorks Macro
6. Error in Allocating/Freeing Memory
7. When a pipe is full and task attempts to write to a pipe
8. One task stack overflows and corrupts other tasks stack
9. ioctl() call causes non-recoverable error
10. If an invalid device descriptor in the valid range of device
descriptors
    numbers is passed to an I/O function
11. Some errors caused in the system even though the task itself
    may not have caused that error such as
       a. Device driver doing a hardware access that generates an error
       b. Bus error caused by a DMA cycle which was set up by a totally
different task
       c. Bus errors and access violations due to task level code,
driver code, interrupt handlers
Thanks and Regards,
S.K.K.Reddy.






From vxwexplo-errs@csg.lbl.gov  Tue Sep 12 04:03:07 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Tue Sep 12 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Tue Sep 12 04:03:04 PDT 2000

        Subject: Re: Are these different: __asm vs __asm__
        Subject: re: North / South Bridge in PCI?
        Subject: Intel PRO/10+ ISA (82595) network driver?
        Subject: second serial port on the MBX860
        Subject: how to reverse DEFLATE
        Subject: Re: second serial port on the MBX860
        Subject: ATA CD-ROM access
        Subject: shared memory
        Subject: Simulator Fonts
        Subject: Re: Linking archives
        Subject: Re: printf of "long long"
        Subject: Re: gethostbyname() etc..
        Subject: powerpc stack address in romInit()
        Subject: Re: powerpc stack address in romInit()
        Subject: Re: powerpc stack address in romInit()
        Subject: Re: powerpc stack address in romInit()
        Subject: Choosing a Tornado 2 Intel x86 BSP
        Subject: How to get DosFS2 ?
        Subject: network communication
        Subject: Re: Choosing a Tornado 2 Intel x86 BSP
        Subject: How to delay current task for some microseconds?
        Subject: Re: printf of "long long"
        Subject: Re: How to delay current task for some microseconds?
        Subject: vxWorks Task

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Are these different: __asm vs __asm__
Date: Mon, 11 Sep 2000 12:08:26 -0500
From: "Keith McHugh" <joriveek@yahoo.com>
Organization: Esat Net Customer
Message-ID: <39bcbc59.0@seat.s3two.ie>
References: <wHeu5.1254$gi1.22001@news.magma.ca>
Reply-To: "Keith McHugh" <joriveek@yahoo.com>

I don't know but __asm__ works fine to me. Did you try both of them on your
board? I'm afraid __asm won't work.

"Jim" <jgdon@undergrad.math.uwaterloo.ca> wrote in message
news:wHeu5.1254$gi1.22001@news.magma.ca...
> Hello all,
> I have a real quick question for anyone who knows ... I am writing some
> assembly in VxWorks for an MPC860 and I was wondering if there is a
> difference between ...
>
> __asm ("....<easy to read code>....");
> and
> __asm__ ("....<easy to read code>....");
>
> Cheers and thanks in advance,
> Jim
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: re: North / South Bridge in PCI?
Date: Mon, 11 Sep 2000 12:50:34 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009111150.MAA17403@dsl-2.tadpole.co.uk>


> Hi VxWorks veterans,
> 
> Can any one give clear picture about, what is the difference between
> South Bridge / North Bridge in PCI?, how to identify in a system,
> whether the bridge is north / south?.
> 

The North (or host) bridge converts the CPU bus to a PCI bus.  This also tends 
to contain the memory controller (it simplifies the bus arbitration if this is 
all done in one place).

The South bridge is a PCI device that support all the standard (PC) IO devices 
(serial ports, disk controller, ISA bus etc).

Some of the newest PC PCI chipsets are putting the disk controller into the 
north bridge.  This gives the disk controlles a faster path into memory.
Also look out for systems that use a private bus to pass data between the north 
and south bridges - again to get faster throughput and/or lower latencies.

	David



- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: Intel PRO/10+ ISA (82595) network driver?
Date: Mon, 11 Sep 2000 14:43:31 +0200
From: Albert Wijnja <Albert.Wijnja@meco.nl>
Organization: MECO Equipment Engineers BV
Message-ID: <39BCD373.E63BC046@meco.nl>
Reply-To: Albert.Wijnja@meco.nl

Hello,

Does anyone know if there is a driver for the Intel PRO/10+ ISA network
adapter available?
This card has a 82595 chipset.

Albert Wijnja



---------------------------

Newsgroups: comp.os.vxworks
Subject: second serial port on the MBX860
Date: Mon, 11 Sep 2000 13:31:44 GMT
From: "yvind Holmeide" <oeyvind.holmeide@no.abb.com>
Organization: Enitel Internet Public Access
Message-ID: <495v5.8872$Dxe.201235968@news.telia.no>

I am trying to configure VxWorks for a second serial port (RS232) on the
MBX860 board from Motorola.  The BSP is only prepared for one serial port
(the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.  I
have tried without success based on the corresponding BSP for the ads860
board.
Anyone been through this?

regards

yvind Holmeide



---------------------------

Newsgroups: comp.os.vxworks
Subject: how to reverse DEFLATE
Date: Mon, 11 Sep 2000 16:35:06 +0200
From: "Ton den Hartog" <qqhar@oce.nl>
Organization: UUNET-NL (http://www.nl.uu.net)
Message-ID: <8piqfh$gu8$1@porthos.nl.uu.net>


Hi,

I have an old program in a bootrom.bin image that cannot easily be
re-generated and that I would like to patch a little bit (only change a
string with an IP-addres in)
Apparantly this image is compressed with the Tornado defalte tool.
Is there a Tornado-deflate compatible tool available to uncompress the file
so that I can make my patch ?

We use Tornado 2 on Windows NT but a HP-UNIX tool is fine also.

Ton den Hartog




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: second serial port on the MBX860
Date: 11 Sep 2000 14:35:57 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8piqkd$46v$1@news1.xs4all.nl>
References: <495v5.8872$Dxe.201235968@news.telia.no>

oeyvind Holmeide <oeyvind.holmeide@no.abb.com> wrote:
: I am trying to configure VxWorks for a second serial port (RS232) on the
: MBX860 board from Motorola.  The BSP is only prepared for one serial port
: (the console).  Thus, an update of sysSerial.c for e.g. SMC2 is needed.  I
: have tried without success based on the corresponding BSP for the ads860
: board.
: Anyone been through this?

There is a package available from WindRiver with support for the 3 SCC's.
I got this package from our FAE, so ask your contact at WRS for this.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: ATA CD-ROM access
Date: Mon, 11 Sep 2000 14:43:09 GMT
From: newcastle1@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pir1n$e6a$1@nnrp1.deja.com>

Anyone know how to acess a ATA/IDE CDROM?

I have used a similar route as mounting a hard disk, using ataDevCreate
(). The CDROM is on the second device on the first controller.

The device itself becomes visible, as though it is mounted. But then I
cannot access any of the files using the cdromFS functions.

any help appreciated
cheers
Richard


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: shared memory
Date: Mon, 11 Sep 2000 16:56:47 +0200
From: Marc Waber <marc.waber@stest.ch>
Organization: Swisscom IP+ (post doesn't reflect views of Swisscom)
Message-ID: <39BCF2AF.F80C8C03@stest.ch>

Dear all!

I am trying to use shared memory with a CPV5350 as a master and a
MCPN765 as a slave.
The master sets up the anchor correctly, but the slave can't find it,
and hangs itself with the procedure "smIsAlive:..." with a wrong
ready-value and no heartbeat.
Any hints or ideas?

Thanks,
Marc
- -- 
Marc Waber				E-mail:    marc.waber@stest.ch
STS Switching Test Solutions AG		Phone:	   +41-76-355-6713
Foerrlibuckstr. 62 / Postfach 74	Fax:  	   +41-1-355-6605
CH-8037 Zurich				Homepage:  www.stest.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Simulator Fonts
Date: Mon, 11 Sep 2000 17:24:25 +0200
From: Lars Herczeg <herczeg@desun1.epfl.ch>
Organization: EPFL
Message-ID: <Pine.GSO.3.95.1000911172335.5912A-100000@desun1.epfl.ch>

Hi folks!

I'm working on a Windoz NT machine and the fonts of the VXWorks Simulator
window are just so tiny you can't read'em. Where can I change the size of
the VXWorks Simulator font?

Any help is apreciated.

Cheers,

        Lars

- -----------------------------------------------------------------
Lars Herczeg

Swiss Federal Institute of Technology Lausanne (EPFL)
Electrical Engineering Division

Ch. des Triaudes 9/344
CH-1024 Ecublens
Switzerland

E-mail: Lars.Herczeg@epfl.ch
- -----------------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Mon, 11 Sep 2000 16:12:15 GMT
From: werner_engeln@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pj08d$kv9$1@nnrp1.deja.com>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de> <39B7882E.BBFB0BF5@lucent.com> <8p82jm$jgs$1@proxy2.fe.internet.bosch.de>

If you cannot redesign nor can combine these libraries into one,
add a library twice:
    project1.a project2.a project1.a
The linker works sequentially and takes all unresolved symbols
from project1.a, afterwards takes all unresolved symbols from
project2.a and again takes all yet unresolved symbols from project1.a.

good luck,

Werner
In article <8p82jm$jgs$1@proxy2.fe.internet.bosch.de>,
  Gunter Ritter <Gunter.Ritter@Tenovis.com> wrote:
> You are right. These archives depend on each other.
>
> The code I have to use can not be redesigned.
> I want to structure the source files in several projects and link
them
> together to a bootable project.
>
> Solution b) is not possible, because the code is used in another
project,
> too.
>
> How can I combine the archives as proposed in solution a)?
> Is there a different solution to link the object files (or any ohter
kind of
> output) of several projects to a bootable project?
>
> Gunter
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Mon, 11 Sep 2000 18:01:37 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pj6lg$t2f$1@nnrp1.deja.com>
References: <39B99888.6A31EEC7@mindspring.com>

The problem is that without a prototype argument, the compiler assumes
that it must put an int on the stack. Given the printf prototype:

printf(char *, ... );

The compiler knows nothing about what arguments the function expects, so
it has to make assumptions.  This is what the old K&R compilers did
before there were prototypes.  That is, all integer arguments are
converted to "int", all floating point arguments are converted to
"double" and all structures, arrays, etc. become pointers.

I don't suppose a C++ iostream would have this problem.

In article <39B99888.6A31EEC7@mindspring.com>,
  Al Johnston <sofeise@mindspring.com> wrote:
> the lack of support for printing a 64 bit integer has long annoyed me.
>
> My fingers just keep typing the %L, and the compiler has to remind
> me its not there... this happens every year or so... their memory
> is not to good....
>
> Does someone have a "real" fix for this?  (not a divide by ten
> and map to char in an array approach)....
>
> thanks
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gethostbyname() etc..
Date: Mon, 11 Sep 2000 18:28:06 GMT
From: nunya <nunya@nunya.com>
Organization: Nunya Business
Message-ID: <39BD242C.455C79E0@nunya.com>
References: <39B9934E.9C26A7A0@nunya.com> <39BCA91A.FBF8AFFE@emw.ericsson.se>


Unfortunately, that only returns entries in the host table that have
been
added (by you) using hostAdd().

I need something like the resolvLib stuff that is in a SENS install, but
I
need it to work for older versions of vxWorks, too..

Given the responses I've gotten, it doesn't sound like there is anything

available.  I haven't talked to WRS yet, but, based on past experience
with them, they won't be able to help either.

:-(
Thanks!
JLM


Christian Olsson wrote:

> Maybe "vxman hostGetByName" will do it for you?
>
> /Christian Olsson
>
> nunya wrote:
> >
> > Hello all;
> >
> > I'm looking for the gethostbyname() stuff for VxWorks.  I just need
> > simple
> > IP address resolution, nothing extensive.
> >
> > Is there any code out there for this already?
> >
> > Thanks!
> > JLM
> >
> > jlm@nospam.dessertfirst.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: powerpc stack address in romInit()
Date: Mon, 11 Sep 2000 13:46:15 -0500
From: Bo Yu <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39BD2877.E4A02565@email.mot.com>


- --------------AD0D435A75C7423A84ED8ED6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

All PowerPC BSPs have the following statement in romInit() to load
the initial the stack pointer. I cannot find the definition for
STACK_ADRS in romInit().

  /* initialize the stack pointer */

  lis      sp, HIADJ(STACK_ADRS)
  addi   sp, sp, LO(STACK_ADRS)

Could anyone tell me what the value for STACK_ADRS is? Thanks.

- --
Bo Yu



- --------------AD0D435A75C7423A84ED8ED6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>All PowerPC BSPs have the following statement in romInit() to load
<br>the initial the stack pointer. I cannot find the definition for
<br>STACK_ADRS in romInit().
<p>&nbsp; /* initialize the stack pointer */
<p>&nbsp; lis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sp, HIADJ(STACK_ADRS)
<br>&nbsp; addi&nbsp;&nbsp; sp, sp, LO(STACK_ADRS)
<p>Could anyone tell me what the value for STACK_ADRS is? Thanks.
<pre>--&nbsp;
Bo Yu</pre>
&nbsp;</html>

- --------------AD0D435A75C7423A84ED8ED6--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc stack address in romInit()
Date: Mon, 11 Sep 2000 20:37:27 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pjfq4$8vr$1@nnrp1.deja.com>
References: <39BD2877.E4A02565@email.mot.com>

Hi,

> All PowerPC BSPs have the following statement in romInit() to load
> the initial the stack pointer. I cannot find the definition for
> STACK_ADRS in romInit().

It should be in a header file either in the BSP or in the 'all'
directory. I think that it will be the address that the kernel image
loads to (i.e. the address that the bootrom says after "Starting at").
This works since the stack grows down and the image up from that point.
You should be able to verify this by searching for the header file, or
by simply disassembling the vxWorks image and seeing what value is
loaded!

HTH,

John...

>   /* initialize the stack pointer */
>
>   lis      sp, HIADJ(STACK_ADRS)
>   addi   sp, sp, LO(STACK_ADRS)
>
> Could anyone tell me what the value for STACK_ADRS is? Thanks.
>
> --
> Bo Yu
>
> --------------AD0D435A75C7423A84ED8ED6
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hi,
> <p>All PowerPC BSPs have the following statement in romInit() to load
> <br>the initial the stack pointer. I cannot find the definition for
> <br>STACK_ADRS in romInit().
> <p>&nbsp; /* initialize the stack pointer */
> <p>&nbsp; lis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sp, HIADJ(STACK_ADRS)
> <br>&nbsp; addi&nbsp;&nbsp; sp, sp, LO(STACK_ADRS)
> <p>Could anyone tell me what the value for STACK_ADRS is? Thanks.
> <pre>--&nbsp;
> Bo Yu</pre>
> &nbsp;</html>
>
> --------------AD0D435A75C7423A84ED8ED6--
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc stack address in romInit()
Date: Tue, 12 Sep 2000 00:34:04 GMT
From: rjdejoie@kmrmail.kmr.ll.mit.edu (Bob DeJoie)
Message-ID: <39bd797a.13461736@news>
References: <39BD2877.E4A02565@email.mot.com>

On Mon, 11 Sep 2000 13:46:15 -0500, Bo Yu <boyu1@email.mot.com> wrote:


>Could anyone tell me what the value for STACK_ADRS is? Thanks.

From MV2700  BSP  target/config/all/configAll.h

#if     ((CPU_FAMILY == MIPS) || (CPU_FAMILY == PPC))
#define	STACK_RESIDENT	RAM_DST_ADRS
#else
#define	STACK_RESIDENT	_sdata
#endif

#if	(_STACK_DIR == _STACK_GROWS_DOWN)

#ifdef	ROM_RESIDENT
#define STACK_ADRS	STACK_RESIDENT
#else
#define STACK_ADRS	_romInit
#endif	/* ROM_RESIDENT */

#else	/* _STACK_DIR == _STACK_GROWS_UP */

#ifdef	ROM_RESIDENT
#define STACK_ADRS	(STACK_RESIDENT-STACK_SAVE)
#else
#define STACK_ADRS	(_romInit-STACK_SAVE)
#endif	/*  ROM_RESIDENT */

#endif	/* _STACK_DIR == _STACK_GROWS_UP */

================================================
Bob DeJoie      
Kwajalein Missile Range
Republic of the Marshall Islands
email: rjdejoie@kmrmail.kmr.ll.mit.edu
phone: 805-355-5855   fax: 805-355-3833
Time Zone: GMT +12 hours
================================================

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc stack address in romInit()
Date: Mon, 11 Sep 2000 17:30:22 -0700
From: Rajesh Tripathi <rtripathi@com21.com>
Organization: Globix Corp.
Message-ID: <39BD791E.EE39FA7C@com21.com>
References: <39BD2877.E4A02565@email.mot.com>

Hi,
It is defined in configAll.h file located in
"$WIND_BASE/target/config/all"directory and configAll.h is included in
config.h file located in your bsp directory.

Chears.

Rajesh


Bo Yu wrote:

> Hi,
>
> All PowerPC BSPs have the following statement in romInit() to load
> the initial the stack pointer. I cannot find the definition for
> STACK_ADRS in romInit().
>
>   /* initialize the stack pointer */
>
>   lis      sp, HIADJ(STACK_ADRS)
>   addi   sp, sp, LO(STACK_ADRS)
>
> Could anyone tell me what the value for STACK_ADRS is? Thanks.
>
> --
> Bo Yu
>
>


---------------------------

Newsgroups: comp.os.vxworks
Subject: Choosing a Tornado 2 Intel x86 BSP
Date: Tue, 12 Sep 2000 02:07:37 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <39BD90C7.C79FAFCA@earthlink.com>


- --------------9F0F68006FC509C22A580040
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi there!

There seems to be a large selection of Tornado 2.0 BSPs for the Intel
x86 architecture. I was wondering if anybody could recommend a BSP that
runs out-the-box on a PC/AT-compatible motherboard based on the Celeron,
Pentium II, or Pentium III processors. The keyword here is out-the-box;
e.g. I don't want to (can't afford to) do any porting to get vxWorks up
and runnig.

Thanks!

- --------------9F0F68006FC509C22A580040
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi there!
<p>There seems to be a large selection of Tornado 2.0 BSPs for the Intel
x86 architecture. I was wondering if anybody could recommend a BSP that
runs out-the-box on a PC/AT-compatible motherboard based on the Celeron,
Pentium II, or Pentium III processors. The keyword here is <b>out-the-box</b>;
e.g. I don't want to (can't afford to) do any porting to get vxWorks up
and runnig.
<p>Thanks!</html>

- --------------9F0F68006FC509C22A580040--


---------------------------

Newsgroups: comp.os.vxworks
Subject: How to get DosFS2 ?
Date: Tue, 12 Sep 2000 02:47:54 GMT
From: ellin_lin@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pk5gk$30s$1@nnrp1.deja.com>

As a tenderfoot, I'm puzzled with this problem:
Where & how?
Does DosFS2 support FAT32?

ellin



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: network communication
Date: Tue, 12 Sep 2000 03:49:43 GMT
From: ba_ajay@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pk94g$759$1@nnrp1.deja.com>

Hi,


Can VxWorks be able to see 2 NT hosts as part of networking
feature.i.e  communication b/n  VxWorks host machines.
I want to use one NT machine as client and another NT machine as server
using (tcp/ip stack)socket programming in VxWorks.
 Can u help me on this ?

ajay


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Choosing a Tornado 2 Intel x86 BSP
Date: Tue, 12 Sep 2000 10:15:21 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39BDB4E1.9BC88A38@cisco.com>
References: <39BD90C7.C79FAFCA@earthlink.com>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------8072015462FA31966951C07A
Content-Type: multipart/alternative;
 boundary="------------A073120CA99CCFB21EC3627A"


- --------------A073120CA99CCFB21EC3627A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

The Pc-pentiunmpro is good one.

good luck,
Vijay

Marcelo & Keyly Mourier wrote:

> Hi there!
>
> There seems to be a large selection of Tornado 2.0 BSPs for the Intel
> x86 architecture. I was wondering if anybody could recommend a BSP
> that runs out-the-box on a PC/AT-compatible motherboard based on the
> Celeron, Pentium II, or Pentium III processors. The keyword here is
> out-the-box; e.g. I don't want to (can't afford to) do any porting to
> get vxWorks up and runnig.
>
> Thanks!

- --------------A073120CA99CCFB21EC3627A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>The Pc-pentiunmpro is good one.
<p>good luck,
<br>Vijay
<p>Marcelo &amp; Keyly Mourier wrote:
<blockquote TYPE=CITE>Hi there!
<p>There seems to be a large selection of Tornado 2.0 BSPs for the Intel
x86 architecture. I was wondering if anybody could recommend a BSP that
runs out-the-box on a PC/AT-compatible motherboard based on the Celeron,
Pentium II, or Pentium III processors. The keyword here is <b>out-the-box</b>;
e.g. I don't want to (can't afford to) do any porting to get vxWorks up
and runnig.
<p>Thanks!</blockquote>
</html>

- --------------A073120CA99CCFB21EC3627A--

- --------------8072015462FA31966951C07A
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------8072015462FA31966951C07A--


---------------------------

Newsgroups: comp.os.vxworks
Subject: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 14:17:51 +0800
From: "Li Xin" <lixin@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8pkh2c$bgi$1@schbbs.mot.com>

I am writing a device driver under VxWorks and need a means to delay current
task for some microseconds. I know taskDelay() can delay current task, but
that will delay at least one tick which I think is too long for our driver.
Is there any method to delay current task for some microseconds?



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Tue, 12 Sep 2000 10:10:41 +0300
From: Ofer Goren <ogoren@nortelnetworks.com>
Organization: Bay Networks, Inc.
Message-ID: <39BDD6F0.BDF7C70C@nortelnetworks.com>
References: <39B99888.6A31EEC7@mindspring.com>

we use a function to do the trick. The function get a UINT64 variable, and
prints each 32 bits of it at a time.

Al Johnston wrote:

> the lack of support for printing a 64 bit integer has long annoyed me.
>
> My fingers just keep typing the %L, and the compiler has to remind
> me its not there... this happens every year or so... their memory
> is not to good....
>
> Does someone have a "real" fix for this?  (not a divide by ten
> and map to char in an array approach)....
>
> thanks

- --
Embedded SW Team Leader
Email       : ogoren@nortelnetworks.com
Phone number: +9723-6456023
Fax number  : +9723-6479579
ESN         : 826-6023
http://www.nortelnetworks.com
- ----------------------------------------------------
If you lend someone $20, and never see that person again,
it was probably worth the investment.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 09:12:12 +0100
From: Graham Baxter <gbaxter@NOSPAM.bcs.org.uk>
Organization: Graham Baxter (Software) Limited
Message-ID: <39BDE55C.48147D16@NOSPAM.bcs.org.uk>
References: <8pkh2c$bgi$1@schbbs.mot.com>

Has your processor got a spare timer? If so, use it as a nano-second timer.


Put in a time wasting loop:
    volatile int i;
    for(i=0;i<N;i++) ;
The exact time could be measured with an oscilloscope by toggling a port pin
before and after the for loop and the value of N adjusted. If it needs to be a
small exact time, turn off interrupts during the for loop.


There is also a function nanosleep() which may do the job.


I hope this helps.

Regards,


Graham Baxter
Freelance Software Engineer (vxWorks and pSOS)
gbaxter@bcsNOSPAM.org.uk



Li Xin wrote:

> I am writing a device driver under VxWorks and need a means to delay current
> task for some microseconds. I know taskDelay() can delay current task, but
> that will delay at least one tick which I think is too long for our driver.
> Is there any method to delay current task for some microseconds?


---------------------------

Newsgroups: comp.os.vxworks
Subject: vxWorks Task
Date: Tue, 12 Sep 2000 15:38:45 +0530
From: "Krishna Kishore Reddy Sureddy" <krishnakishore.reddy@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pkvmk$r6r$1@overload.lbl.gov>

Hi,
Can a task in vxWorks get suspended other than the conditions presented
below.Correct me if i am Wrong.

1. vxWorks calls
   a. ts()   b. taskSuspend()   c. sigsuspend()   d. pause()   e.
nanosleep()
  f. aio_suspend   g. sigtimedwait()   h. sigwaitinfo()
2. Task level exception
3. Breakpoint in task
4. Attaching task to Debugger
5. CS_MSEC_DELAY(msec), a vxWorks Macro
6. Error in Allocating/Freeing Memory
7. When a pipe is full and task attempts to write to a pipe
8. One task stack overflows and corrupts other tasks stack
9. ioctl() call causes non-recoverable error
10. If an invalid device descriptor in the valid range of device
descriptors
    numbers is passed to an I/O function
11. Some errors caused in the system even though the task itself
    may not have caused that error such as
       a. Device driver doing a hardware access that generates an error
       b. Bus error caused by a DMA cycle which was set up by a totally
different task
       c. Bus errors and access violations due to task level code,
driver code, interrupt handlers
Thanks and Regards,
S.K.K.Reddy.





---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Tue Sep 12 12:38:22 2000
From: James Cunningham <jacunning@yahoo.com>
Date: Tue Sep 12 12:38:25 PDT 2000
Subject: data access exception in net task

Is there a known problem with the Ethernet Controller (DEC 21140) that
is used on the Motorola  2400 and 2600 series of PowerPCs.  I have a
situation where I am seeing a data access exception in the net task
under very heavy DMA traffic. 

I originally thought it was a problem with the BSD network driver
(VxWorks 5.4) for our card that I am writing.  The symptoms that I saw
were:

Running on PowerPCs (2431 and 2603) sending/receiving data TCP as fast
as possible runs fine for about an hour or so and then I get one of the
following conditions:
1) Receives of packets stop happening - DMAs into my receive buffers
just seem to stop.
2) A data access exception.  The printout points to the net task.
3) The machine just locks up.

Looking at mbufShow(), memShow(), spy() and my driver status don't show
anything that would indicate a problem.

Setting up our driver as a character driver and sending data without
using the IP stack (direct IOCTL calls to our driver) still would
result in a data access exception in the net task.  It would seem that
maybe this is a problem with the Ethernet driver built into the PPC
board?

Modifying the PCI Latency timer in our boards configuration space
seemed to change the amount of time before the problem occurred but did
not eliminate it.

Any ideas as to what might be causing this problem or even how to
approach tracking it down would be greatly appreciated.



__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/


From vxwexplo-errs@csg.lbl.gov  Tue Sep 12 22:29:07 2000
From: "Jagannatha L.V" <jagantech@yahoo.com>
Date: Tue Sep 12 22:29:10 PDT 2000
Subject: Query about inetLib

Hi,
all I got some problems while using inetLib routines.
The problem is as follows:

see the following line of code:
printf("\n%x", inet_addr("90.36.40.2"));

Output of this in Vxworks is
228245a
But....
Output of this in Unix is
5a242802

(reversing of bytes)

1. I want to know why is this different.
2. If i see the manuals of vxwoks(inetLib) in example
it says(I am cutting and pasting)

The following example returns 0x5a000002: 

    inet_addr ("90.0.0.2");
but...
actually it returns 200005a in vxworks.

Can any one put some light on it or is it a bug.
reply as soon as posible.

with regards from
jagan....



 

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/


From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 01:57:55 2000
From: "Tim Allen" <Tim@TimAllenLtd.idps.co.uk>
Date: Wed Sep 13 01:57:57 PDT 2000
Subject: Re: How to get DosFS2 ?

>As a tenderfoot, I'm puzzled with this problem:
>Where & how?
>Does DosFS2 support FAT32?

Yes, DOSFS 2.0 does support FAT32, and you should be able to get it as a
free upgrade from your Wind River rep.

--------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy
VxWorks



From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 02:18:10 2000
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Date: Wed Sep 13 02:18:12 PDT 2000
Subject: RE: vxWorks Task

tornado vxworks

> Submitted-by: "Krishna Kishore Reddy Sureddy" 
<krishnakishore.reddy@wipro.com>
>
> Hi,
> Can a task in vxWorks get suspended other than the conditions presented
> below.Correct me if i am Wrong.
>
> 1. vxWorks calls
>    a. ts()   b. taskSuspend()   c. sigsuspend()   d. pause()   e.
> nanosleep()
>   f. aio_suspend   g. sigtimedwait()   h. sigwaitinfo()
> 2. Task level exception
> 3. Breakpoint in task
> 4. Attaching task to Debugger
> 5. CS_MSEC_DELAY(msec), a vxWorks Macro
> 6. Error in Allocating/Freeing Memory
> 7. When a pipe is full and task attempts to write to a pipe
> 8. One task stack overflows and corrupts other tasks stack
> 9. ioctl() call causes non-recoverable error
> 10. If an invalid device descriptor in the valid range of device
> descriptors
>     numbers is passed to an I/O function
> 11. Some errors caused in the system even though the task itself
>     may not have caused that error such as
>        a. Device driver doing a hardware access that generates an error
>        b. Bus error caused by a DMA cycle which was set up by a totally
> different task
>        c. Bus errors and access violations due to task level code,
> driver code, interrupt handlers
> Thanks and Regards,
> S.K.K.Reddy.
>

How about:

12. Hardware fault.

that covers everything not explained by 1..11 above.

David Anderson.  mailto:danderson@dtrack.demon.co.uk

-----------------------------------------------------
Who said "There's no life here in outer space."
-----------------------------------------------------

Disclaimer
----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
-------------------------------------------------------



From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 03:03:26 2000
From: Neelesh Dwivedi <neelesh@daewoo.dti.daewoo.co.kr>
Date: Wed Sep 13 03:03:28 PDT 2000
Subject: Re: Query about inetLib

Hello Mr. Jagannath,
I need to know a thing or two before I look for a suitable answer for
your query.
Was UNIX running on the same Processor as VxWorks?

If it is not so, then I think this is an issue of Little-Endian and
Big-Endian Notations.

An Intel Processor uses the Little-Endian format ( 0228245a for
"90.36.40.02"). So if the VxWorks was running on an Intel Processor, the
outcome is not unpredictable.

If you are using a Motorola Processor or any other , which supports
Big-Endian form, then also the result you get is not wrong.

I hope that would solve your problem.

Regards,

Neelesh Dwivedi.

Daewoo Telecom Ltd., New Delhi R&D Centre,
Gurgaon, India.



From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 03:28:52 2000
From: "Mike Anderson" <mike_anderson@att.net>
Date: Wed Sep 13 03:28:54 PDT 2000
Subject: RE: Query about inetLib

VxWorks Greetings!

<snip>

> printf("\n%x", inet_addr("90.36.40.2"));
> 
> Output of this in Vxworks is
> 228245a
> But....
> Output of this in Unix is
> 5a242802
> 
> (reversing of bytes)
> 

<snip>

> 
> Can any one put some light on it or is it a bug.
> reply as soon as posible.

You don't say what kind of CPU architecture that you're using,
but my guess is that it's probably x86, i960 or one of the 
other little endian processors.  The inet_addr routines will
simply convert the dotted quad into an integer with the 
bytes in the same relative location.  On a big endian machine,
such as a SPARC or PPC, this would result in the output
that you anticipated.  But, on a little endian machine, the
bytes would be reversed.  If you changed your printf to 
look like this:

printf("\n%x", htonl(inet_addr("90.35.40.2")));

you would get the big endian result you expected on both your
little endian target and the big endian UN*X box.

HTH,

================================================================
Mike Anderson
The PTR Group, Inc.
Embedded Development, Training, Consulting 
mailto:mike@theptrgroup.com
http://www.theptrgroup.com



From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 04:01:42 2000
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Date: Wed Sep 13 04:01:44 PDT 2000
Subject: RE: Query about inetLib

vxWorks Tornado

>
> Hi,
> all I got some problems while using inetLib routines.
> The problem is as follows:
>
> see the following line of code:
> printf("\n%x", inet_addr("90.36.40.2"));
>
> Output of this in Vxworks is
> 228245a
> But....
> Output of this in Unix is
> 5a242802
>
> (reversing of bytes)
>
> 1. I want to know why is this different.
> 2. If i see the manuals of vxwoks(inetLib) in example
> it says(I am cutting and pasting)
>
> The following example returns 0x5a000002:
>
>     inet_addr ("90.0.0.2");
> but...
> actually it returns 200005a in vxworks.
>
> Can any one put some light on it or is it a bug.
> reply as soon as posible.
>
> with regards from
> jagan....

It is correct , the value returned is in network order ( OK so far ) but 
when you display the value using
your  output routine ( printf or whatever ) the value is interpreted in 
target processor order...
if these are different then the little endian/big endian byte swap is 
apparent.

Hop that helps.

David Anderson.  mailto:danderson@dtrack.demon.co.uk

-----------------------------------------------------
Who said "There's no life here in outer space."
-----------------------------------------------------

Disclaimer
----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
-------------------------------------------------------



From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Wed Sep 13 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Wed Sep 13 04:03:05 PDT 2000

        Subject: Re: Linking archives
        Subject: C++ Static Class Members and VxWorks
        Subject: Re: C++ Static Class Members and VxWorks
        Subject: Blocked signals in VxWorks
        Subject: Re: C++ Static Class Members and VxWorks
        Subject: Re: How to delay current task for some microseconds?
        Subject: C++ Signal Service Routines must be static?
        Subject: Re: C++ Static Class Members and VxWorks
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: How to work with PCI ?
        Subject: Tornado for Managed Switches
        Subject: Re: PCI Configuration help for a novice
        Subject: Re: C++ Signal Service Routines must be static?
        Subject: scsiIoctl() is aborting my SCSI commands
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: How to delay current task for some microseconds?
        Subject: 8xx SCC in UART mode
        Subject: Re: C++ Signal Service Routines must be static?
        Subject: dosFS vs DOS compatibility !!!
        Subject: data access exception in net task
        Subject: how to set up default editor using Tornado
        Subject: Re: how to set up default editor using Tornado
        Subject: Re: data access exception in net task
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: configuring PC target???
        Subject: Re: Booting the pcPentium target ?
        Subject: Query about inetLib
        Subject: switching between multiple BSPs/toolchains
        Subject: Re: 8xx SCC in UART mode
        Subject: Re: switching between multiple BSPs/toolchains
        Subject: NPT driver question
        Subject: interrupt delayed
        Subject: Using SDRAM with MBX860
        Subject: re: How to get DosFS2 ?
        Subject: RE: vxWorks Task
        Subject: re: Query about inetLib
        Subject: Re: Query about inetLib

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Linking archives
Date: Tue, 12 Sep 2000 14:09:59 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8pl6dg$9tc$1@proxy2.fe.internet.bosch.de>
References: <8p5k76$90e$1@proxy2.fe.internet.bosch.de> <8p5md8$40e$1@news1.xs4all.nl> <8p791k$gss$1@proxy2.fe.internet.bosch.de> <8p7f57$enc$1@news1.xs4all.nl> <8p802g$gjl$1@proxy2.fe.internet.bosch.de> <ur9grskv0rg28r20uu9lo7s4gno8i0g8ol@4ax.com> <8p9v1n$4nh$1@proxy2.fe.internet.bosch.de> <hv3qrsg5b1vsqvalfski0kginp4hqkjo8u@4ax.com>


Bob Westbrook <Bob@job.com> schrieb in im Newsbeitrag:
hv3qrsg5b1vsqvalfski0kginp4hqkjo8u@4ax.com...
> On Fri, 8 Sep 2000 07:56:37 +0200, Gunter Ritter
> <Gunter.Ritter@Tenovis.com> wrote:
>
> >
> >I thought about this, too. But I didnt try it yet. I find it a little
bit
> >strange to do it this way.
> >Well, I try it now.
> >
> >Gunter
> >
> Did it work ?

Yes, it works.
But I still think that it this a strange solution.

Gunter



---------------------------

Newsgroups: comp.os.vxworks
Subject: C++ Static Class Members and VxWorks
Date: Tue, 12 Sep 2000 12:22:40 GMT
From: epooleNO@UCEnetis.com (RKT Technologies, Inc.)
Organization: Software Consultants to Medical Device Manufacturers
Message-ID: <39be1e6f.40485874@news.netis.com>


I know that when a member of a class in C++ is declared static, the
same copy of that class member is available to all objects of that
class (i.e. the same copy is shared across all objects).

My question is:  In VxWorks, if I use taskSpawn to spawn two
independent tasks, each of which creates and uses some objects of the
same class (i.e. each #include's "myStuff.hpp" and uses the class
definition contained in that file), and that class uses static
members, are the same copies of those static members shared across
both tasks?  Or is one copy of the static members shared across all
objects in one task, and a different copy shared across all objects in
the other task?

I would think that the latter would be the case (each task gets its
own copy of the static members), but I have been told differently.
So, I look to the experts on this forum for guidance.

Thanks to all...

Eric Poole
(e-mail me at epoole-at-scoot-dot-netis-dot-com)


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: C++ Static Class Members and VxWorks
Date: 12 Sep 2000 13:40:29 GMT
From: lied@nwson.lucent.com (Robert Lied)
Organization: Lucent Technologies, Naperville, Illinois, USA
Message-ID: <8plbod$b0s@ssbunews.ih.lucent.com>
References: <39be1e6f.40485874@news.netis.com>
Reply-To: lied@lucent.com

In article <39be1e6f.40485874@news.netis.com>,
RKT Technologies, Inc. <epooleNO@UCEnetis.com> wrote:
>I would think that the latter would be the case (each task gets its
>own copy of the static members), but I have been told differently.
>So, I look to the experts on this forum for guidance.

You have been told correctly.  There's only one and all the
tasks better play nice with it.

Classes have no concept of tasks.  If you make a class variable
(static member), it exists for all the instances of the class.
Tasks never enter into it, from the C++ point of view.

Another way to look at it is that tasks share all the global
memory, and a static member is really placed in global memory,
but named with class qualification.
- --
Bob Lied

---------------------------

Newsgroups: comp.os.vxworks
Subject: Blocked signals in VxWorks
Date: Tue, 12 Sep 2000 12:59:58 GMT
From: vtail@hotmail.com (RKT Technologies, Inc.)
Organization: Software Consultants to Medical Device Manufacturers
Message-ID: <39be2841.43000639@news.netis.com>


In VxWorks, if  signal is blocked using sigblock() or sigprocmask(),
and a signal appears (and is blocked), is the signal lost or does it
pend and then get activated when the signal is unblocked?

Thanks ...

(Above e-mail address is a spam sink ... reply by e-mail, if you wish,
to epoole-at-scoot-dot-netis-dot-com,)


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: C++ Static Class Members and VxWorks
Date: Tue, 12 Sep 2000 13:16:53 GMT
From: vtail@hotmail.com (RKT Technologies, Inc.)
Organization: Software Consultants to Medical Device Manufacturers
Message-ID: <39be2c19.43984389@news.netis.com>
References: <39be1e6f.40485874@news.netis.com> <8plbod$b0s@ssbunews.ih.lucent.com>

On 12 Sep 2000 13:40:29 GMT, lied@nwson.lucent.com (Robert Lied)
wrote:

>You have been told correctly.  There's only one and all the
>tasks better play nice with it.

Good morning, Bob.

Well, that's a bummer. <sigh>

Is that a behavior that's unique to VxWorks, or would the same
behavior be evident on POSIX-compliant Unix systems?

Thanks...

Eric

(Above e-mail address is a spam sink ... reply by e-mail, if you wish,
to epoole-at-scoot-dot-netis-dot-com,)


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 10:30:36 -0400
From: Charles H. Chapman <chc@nasa2.ksc.nasa.gov>
Organization: Dynacs Engineering Company
Message-ID: <8plemm$256@niven.ksc.nasa.gov>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39BDE55C.48147D16@NOSPAM.bcs.org.uk>
Reply-To: chc@nasa2.ksc.nasa.gov

> There is also a function nanosleep() which may do the job.

Nah, nanosleep may have a resolution of nanoseconds but it has a granularity
of one clock tick.

Chuck

---------------------------

Newsgroups: comp.os.vxworks
Subject: C++ Signal Service Routines must be static?
Date: Tue, 12 Sep 2000 14:19:16 GMT
From: vtail@hotmail.com (RKT Technologies, Inc.)
Organization: Software Consultants to Medical Device Manufacturers
Message-ID: <39be3a63.47642957@news.netis.com>


I'm told that in C++ on VxWorks. a signal service routine must be
static.

Is this true?

Eric Poole

(Above e-mail address is a spam sink ... reply by e-mail, if you wish,
to epoole-at-scoot-dot-netis-dot-com,)


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: C++ Static Class Members and VxWorks
Date: 12 Sep 2000 15:21:31 GMT
From: Troy Cauble <troy@bell-labs.com>
Organization: Bell Labs, Holmdel, NJ, USA
Message-ID: <8plhlr$9tl@nntpb.cb.lucent.com>
References: <39be1e6f.40485874@news.netis.com> <8plbod$b0s@ssbunews.ih.lucent.com> <39be2c19.43984389@news.netis.com>

RKT Technologies, Inc. <vtail@hotmail.com> wrote:
: On 12 Sep 2000 13:40:29 GMT, lied@nwson.lucent.com (Robert Lied)
: wrote:

:>You have been told correctly.  There's only one and all the
:>tasks better play nice with it.

: Good morning, Bob.

: Well, that's a bummer. <sigh>

: Is that a behavior that's unique to VxWorks, or would the same
: behavior be evident on POSIX-compliant Unix systems?


In a multithreaded Unix process, yes.  In separate Unix processes,
no.

Unix has processes.  VxWorks and many other RTOS's have tasks.
(Though terminology may vary.)

A primary difference between the two is the lack of memory
protection in tasks.  VxWorks tasks share memory.  Besides
globals, they can access each others stack space.  So a
bad pointer problem in one task can screw up another task.

It's not really a C++ or even a POSIX issue.  The OS's provide
different things.

- -troy

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 15:31:49 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pli95$m8g$1@nnrp1.deja.com>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39BDE55C.48147D16@NOSPAM.bcs.org.uk> <8plemm$256@niven.ksc.nasa.gov>

In article <8plemm$256@niven.ksc.nasa.gov>,
  chc@nasa2.ksc.nasa.gov wrote:
> > There is also a function nanosleep() which may do the job.
>
> Nah, nanosleep may have a resolution of nanoseconds but it has a
> granularity of one clock tick.

Unless you have some external clock device with a higher resolution that
is capable of generating interrupts for you, I don't see how you can
possibly get anything with a higher resoltion than your system clock.

I suppose you could try to just burn time with some bogous assembly
instructions. But the timing is going to be CPU (and clock speed)
dependent, and mighty tough to accurately calculate if you are using a
modern pipelined and cached processor.

I'd put in a taskDelay (1) and be done with it. If that's too long, jack
up your clock frequency.

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to work with PCI ?
Date: Tue, 12 Sep 2000 16:53:32 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39BE517C.27094971@agilent.com>
References: <8oif6g$5li$1@news.netvision.net.il>

I've just broken through into a clearing in the jungle of PCI Configuration &
VxWorks on various PC platforms including CompactPCI. Some things I found useful
on the journey:

1) There's a brief WindRiver Technical Note, WTN-49, that talks about some of
these issues - it's on Windsurf. In particular it covers VME window mapping, if
only briefly.

2) PCI System Architecture by Tom Shanley & Don Anderson, part of the MindShare
series.

3) Linux source for PCI configuration. I used the source browser at lxr.linux.no
to look at (for example) drivers/pci/pci.c
<http://lxr.linux.no/source/drivers/pci/pci.c?v=2.4.0-test7>. It lets you click
on identifiers to uncover where they are defined and used.

The VxWorks PCI show routines aren't included from Project - you need to edit
config.h in your (locally-copied) BSP and define INCLUDE_SHOW_ROUTINES.
Unfortunately, this is very coarse-grained and pulls in several other unrelated
show routines. I guess you could always write a .cdf file to add it to Project.

In your driver you would use PCI routines from sysLib [pcPentium]:
pciFindDevice() to get the config address (bus,device,function) for each
instance of your device, then read the appropriate BAR(s) to get their
address(es). I guess your master/slave window stuff mentioned in WTN-49 comes in
at that point.

Note that the PCI Auto Config Library (src/drv/pci/pciAutoConfigLib.c) mentioned
in WTN-49 isn't supported on x86 targets because the PCI BIOS (a callable part
of the BIOS) is expected to do all PCI configuration before the OS boots. This
is why the default setting for PCI_CFG_TYPE on x86 targets is PCI_CFG_NONE.

James Marshall




---------------------------

Newsgroups: comp.os.vxworks
Subject: Tornado for Managed Switches
Date: Tue, 12 Sep 2000 09:21:49 -0700
From: "Eric McDaniel" <ericm@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <srslorm3ct6152@corp.supernews.com>


Does anyone out there have any experience with this package (TMS) from
WindRiver?

It's actually 3 separate products - basic layer 2, extended layer 2 and
layer 3. Any experience with any of them? How well integrated are they with
the rest of the OS and the tools? I assume most or all of the components
joined the WindRiver product line as the result of acquisitions.

Are they worth the money? What are the competing alternatives, and are they
any good?

Thanks in advance for any help.

Eric McDaniel
ericm@vertical.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCI Configuration help for a novice
Date: Tue, 12 Sep 2000 17:14:06 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39BE564E.69470763@agilent.com>
References: <39AABFBA.C71B9657@res.raytheon.com>

Use the PCI Auto Config Library (src/drv/pci/pciAutoConfigLib.c). Also get
WTN-49 from WindSurf under WindRiver Technical Notes. (See my response to Ezra
Koper's How to work with PCI).

For interpreting PCI Config registers, the PCICFG program might help though
you'll have to port it from its current DOS form. See
http://www.cs.cmu.edu/~ralf/pub-files/rbpci119.zip.

Tom Shanley's PCI System Architecture has a decent description of what PCI
configuration requires. You can also get some ideas from the Linux source.

James Marshall

kostizt wrote:

> Folks,
>
> I must admit that I am new to the PCI bus and I am having a lot of
> trouble getting a vendor supplied driver / serial device into my
> system.  The symptom is that (a) the BARs don't make a lot of sense to
> me and (b) the device (serial), doesn't seem to be mapped (i/o simply
> posting in memory with no interrupts).
>
> I have a 2304 BSP.  The vendor's documentation says "ensure that the BSP
> itself performs configuration of all PCI devices supported by the PCI
> HAL.  This includes configuring the PCI base address registers (BARs)
> and the interrupt line request register in the PCI configuration space
> of each device."
>
> I thought I would find the code that does this in the BSP and go from
> there.  The problem is that I can't find where any of this happens!
>
> Does anyone know how the PCI devices get their configuration information
> processed by the BSP?
>
> If I invoke an xpciShow, it looks as follows:
>
> -> xpciShow
> Scanning function 0 of each PCI device on bus 0 of card 0
> bus slot vendor  dev IRQ    Bar0     Bar1     Bar2     Bar3     Bar4
> Bar5
>  0   00   1057  4801  00  00000001 fc000000 00000000 00000000 00000000
> 00000000
>  0   11   10ad  0565  00  00000000 00000000 00000000 00000000 00000000
> 00000000
>  0   13   10e3  0000  00  fd050000 00000001 00000000 00000000 00000000
> 00000000
>  0   14   1011  0009  00  00020001 00000000 00000000 00000000 00000000
> 00000000
>  0   17   124b  0001  00  00000000 00000000 00000000 00000000 00000000
> 00000000
> value = 1 = 0x1
>
> The information for bus/slot/vendor for slot 17 is the interesting
> piece.  The vendor info is the PCI device of interest.  Does a BAR0 of 0
> make sense?
>
> Any help would be greatly appreciated.
>
> Thanks in advance!
>
> Tom Kostizak


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: C++ Signal Service Routines must be static?
Date: 12 Sep 2000 16:35:04 GMT
From: lied@w-lon.lucent.com (Robert Lied)
Organization: Lucent Technologies, Naperville, Illinois, USA
Message-ID: <8pllvo$c7f@ssbunews.ih.lucent.com>
References: <39be3a63.47642957@news.netis.com>
Reply-To: lied@lucent.com

In article <39be3a63.47642957@news.netis.com>,
RKT Technologies, Inc. <vtail@hotmail.com> wrote:
>I'm told that in C++ on VxWorks. a signal service routine must be
>static.  Is this true?

If you mean a member function, yes.  It's not a VxWorks thing.  The
reason is that member functions implicitly get called with an extra
parameter (the infamous "this" pointer).  A handler expecting a
single argument will actually get "this" as its first argument, and
havoc ensues.  Static member functions don't pass the "this"
pointer, so less of a problem.  Strictly speaking, the types are
still wrong, though.  Simple solution:  don't use member
functions.  Use an ordinary function as the service routine; maybe
make it a friend.  There's not much you can safely do in a service
routine, anyway, except maybe set up some condition that the object
will be checking later.

A similar problem comes up in trying to use member functions as the
entry points of tasks.  The solution is discussed approximately
weekly in comp.programming.threads.
- --
Bob Lied

---------------------------

Newsgroups: comp.os.vxworks
Subject: scsiIoctl() is aborting my SCSI commands
Date: Tue, 12 Sep 2000 16:54:24 GMT
From: yeemoney@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pln3j$sg2$1@nnrp1.deja.com>

I'm using:
- -the ncr810 driver on the sym53C895 SCSI controller
- -VxWorks Version 5.3.1
- -Tornado Version 1.0.1

I pretty sure I havethe driver working.  I'm able to initialize and do
scsiAutoConfig and the information looks right.  However, I'm having
some issues running SCSI commands with scsiIoctl().  Has anyone
successfully used this particular function?  The problem I'm having is
that scsiIoctl is returning an error when it is executed via the
MyScsiCommand routine.

For example, I'm trying to do a SCSI read (opcode 0x8) and I create a
function  called scsiRead based on the MyScsiCommand template.
However, when it gets to the scsiIoctl() command, it returns a -1
(ERROR).  I then inserted a printErrno() and it shows 0x370012 which
corresponds to "S_scsiLib_ABORTED" error message.  So my command is
being aborted for some reason.  I hooked up a scsi bus analyzer and the
seek command is not even getting out to the bus.  Are you experiencing
any similar problems?  Any ideas on why the command is being aborted?
Thanks in advance.

Only me,
Stanley Yee


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 17:58:28 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39BE60B4.BA40D4AF@agilent.com>
References: <8pkh2c$bgi$1@schbbs.mot.com>

Use the timestamp driver if it's implemented on your system (see WindView User's
Guide, especially appendix G). Find out which timer device driver your system
uses then view its source file in target/src/drv/timer/???.c. This should tell
you whether timestamp is supported and to what resolution. The PC Pentium
Pro/II/III has a 64-bit TimeStamp Counter which increments at the processor's
clock rate so you can get very small delays.

Be aware that some (most?) timestamp drivers reset the timestamp counter every
tick. Sometimes this is because of hardware limitations, like the PowerPC
decrementer register acts for both the system tick and timestamp, but sometimes
it's because WindRiver made it so, like the i8253Timer.c driver for x86 which
resets the Pentium's TSC every tick.

James Marshall



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 12:36:07 -0700
From: Harvey Taylor <het@despam.pangea.ca>
Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups.
Message-ID: <39BE85A7.2692@despam.pangea.ca>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39BDE55C.48147D16@NOSPAM.bcs.org.uk> <8plemm$256@niven.ksc.nasa.gov> <8pli95$m8g$1@nnrp1.deja.com>

Ted Dennison wrote:
>[..] 
> I suppose you could try to just burn time with some bogous assembly
> instructions. But the timing is going to be CPU (and clock speed)
> dependent, and mighty tough to accurately calculate if you are using a
> modern pipelined and cached processor.
>

	Hi Ted,
	Several CPUs allow you to count cycles with an RDTSC type
	instruction which can be utilized to good effect.
<ciao>
- -het
 

- -- 
"Experience is like lead shot in your behind;  one who has never 
been shot doubts that such a thing exists at all." -Hans Lippman

Harvey Taylor  mailto:het@despam.pangea.ca  http://www.pangea.ca/~het

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Tue, 12 Sep 2000 19:13:50 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8plv8r$73s$1@nnrp1.deja.com>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39BE60B4.BA40D4AF@agilent.com>

In article <39BE60B4.BA40D4AF@agilent.com>,
  James Marshall <james_marshall@agilent.com> wrote:
> Use the timestamp driver if it's implemented on your system (see
> WindView User's Guide, especially appendix G). Find out which timer
> device driver your system uses then view its source file in
> target/src/drv/timer/???.c. This should tell you whether timestamp is
> supported and to what resolution. The PC Pentium Pro/II/III has a
> 64-bit TimeStamp Counter which increments at the processor's clock
> rate so you can get very small delays.

Wow, thanks a lot for the info James. I always wondered how Windview
managed to get that kind of resolution, when the best I could manage was
a clock tick. Duuuh. I guess I could have read the WindView users' guide
myself.

I've got a couple of very good immediate uses for that, too.

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: 8xx SCC in UART mode
Date: Tue, 12 Sep 2000 10:07:53 +0100
From: "Jeremy Pye" <cjp@endusis.com>
Organization: Customer of Energis Squared
Message-ID: <anrkp8.gnf.ln@gate.endusis.com>

Because the SMC ports don't offer handshaking
we need to connect our modem to one of the SCC
port. These drivers are not in either the MBX860,
ADS860 BSPs, so it looks as though I am going
to have to write one.
I don't know where to start. Can anyone help me
with a few pointers.

regards, Jeremy



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: C++ Signal Service Routines must be static?
Date: Tue, 12 Sep 2000 18:37:12 GMT
From: vtail@hotmail.com (RKT Technologies, Inc.)
Organization: Software Consultants to Medical Device Manufacturers
Message-ID: <39be773f.63226063@news.netis.com>
References: <39be3a63.47642957@news.netis.com> <8pllvo$c7f@ssbunews.ih.lucent.com>

On 12 Sep 2000 16:35:04 GMT, lied@w-lon.lucent.com (Robert Lied)
wrote:

>In article <39be3a63.47642957@news.netis.com>,
>RKT Technologies, Inc. <vtail@hotmail.com> wrote:
>>I'm told that in C++ on VxWorks. a signal service routine must be
>>static.  Is this true?
>
>If you mean a member function, yes.  It's not a VxWorks thing.  The
>reason is that member functions implicitly get called with an extra
>parameter (the infamous "this" pointer). 
>
> ,,,
>
>  Simple solution:  don't use member
>functions.  Use an ordinary function as the service routine; maybe
>make it a friend.

That's what I ended up doing, been working on it a good part of the
afternoon.

Didn't make it a friend, though.  I should look into that.

Thanks much...

Eric


---------------------------

Newsgroups: comp.os.vxworks
Subject: dosFS vs DOS compatibility !!!
Date: Tue, 12 Sep 2000 21:58:28 +0200
From: "zbody" <darkoz@hermes.si>
Organization: Slovenija OnLine - SiOL
Message-ID: <uVvv5.61$MD5.1290@news.siol.net>

Hello!

I installed dosFs on the pcPentium target running VxWorks as a hard-boot and
made a VxW format floppy. When I booted "pure" DOS6.22 from the DOS sys
floppy I expected that DOS will recognize VxWorks formated floppy diskette
but... it doesn't !!! (Extended error 82 - "The directory or file cannot be
created." -MSDN)
I put the params in the dosFsConfigInit() (for floppy) exactly as is written
in the Programmer's Guide p.187.
On the page 176. of Prog. Guide the first sentence says like this
:"Diskettes formatted using the dosFs file system are compatible with MS-DOS
diskettes up to and including release 6.2" :-))

Does somebody knows something about?

Thanks!

Regards!

Darko



---------------------------

Newsgroups: comp.os.vxworks
Subject: data access exception in net task
Date: Tue, 12 Sep 2000 12:38:20 -0700 (PDT)
From: James Cunningham <jacunning@yahoo.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pm2rj$680$1@overload.lbl.gov>

Is there a known problem with the Ethernet Controller (DEC 21140) that
is used on the Motorola  2400 and 2600 series of PowerPCs.  I have a
situation where I am seeing a data access exception in the net task
under very heavy DMA traffic. 

I originally thought it was a problem with the BSD network driver
(VxWorks 5.4) for our card that I am writing.  The symptoms that I saw
were:

Running on PowerPCs (2431 and 2603) sending/receiving data TCP as fast
as possible runs fine for about an hour or so and then I get one of the
following conditions:
1) Receives of packets stop happening - DMAs into my receive buffers
just seem to stop.
2) A data access exception.  The printout points to the net task.
3) The machine just locks up.

Looking at mbufShow(), memShow(), spy() and my driver status don't show
anything that would indicate a problem.

Setting up our driver as a character driver and sending data without
using the IP stack (direct IOCTL calls to our driver) still would
result in a data access exception in the net task.  It would seem that
maybe this is a problem with the Ethernet driver built into the PPC
board?

Modifying the PCI Latency timer in our boards configuration space
seemed to change the amount of time before the problem occurred but did
not eliminate it.

Any ideas as to what might be causing this problem or even how to
approach tracking it down would be greatly appreciated.



__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

---------------------------

Newsgroups: comp.os.vxworks
Subject: how to set up default editor using Tornado
Date: Tue, 12 Sep 2000 20:18:00 GMT
From: "joe zhao" <jzhao@akara.com>
Organization: Magma Communications Ltd.
Message-ID: <Ybwv5.2576$gi1.54835@news.magma.ca>

HI,
I would like to set up SlickEditor as the default editor in WindowsNT. How
can
I do in within Tornado environment?

Thanks.

Joe Zhao




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to set up default editor using Tornado
Date: Wed, 13 Sep 2000 00:18:21 GMT
From: ellin_lin@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pmh3r$t67$1@nnrp1.deja.com>
References: <Ybwv5.2576$gi1.54835@news.magma.ca>

In article <Ybwv5.2576$gi1.54835@news.magma.ca>,
  "joe zhao" <jzhao@akara.com> wrote:
> HI,
> I would like to set up SlickEditor as the default editor in
WindowsNT. How
> can
> I do in within Tornado environment?
>
> Thanks.
>
> Joe Zhao
>
>
I think you want to set up SlickEditor as the default editor for
Tornado, you can do it as following:
Tools->Options->External Editor

ellin


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: data access exception in net task
Date: Wed, 13 Sep 2000 01:55:14 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <39BEDF93.C2D18160@earthlink.com>
References: <8pm2rj$680$1@overload.lbl.gov>

I'm not sure this is the problem you are seeing, but just in case...

Running vxWorks 5.3.1 on a PowerPC 403CX would occasionally cause a data
access exception in the NetTask. The data access exception was caused by a
misaligned memory access somewhere in the TCP/IP stack. Running the same
kernel and application software on a PowerPC 603 (which is able to handle
misaligned memory operands) never caused the exception. I can't remember
exactly where the problem was, but somehow I recall it had to do with the
"dc" driver loaning its buffer to build an mbuf cluster...

James Cunningham wrote:

> Is there a known problem with the Ethernet Controller (DEC 21140) that
> is used on the Motorola  2400 and 2600 series of PowerPCs.  I have a
> situation where I am seeing a data access exception in the net task
> under very heavy DMA traffic.
>
> I originally thought it was a problem with the BSD network driver
> (VxWorks 5.4) for our card that I am writing.  The symptoms that I saw
> were:
>
> Running on PowerPCs (2431 and 2603) sending/receiving data TCP as fast
> as possible runs fine for about an hour or so and then I get one of the
> following conditions:
> 1) Receives of packets stop happening - DMAs into my receive buffers
> just seem to stop.
> 2) A data access exception.  The printout points to the net task.
> 3) The machine just locks up.
>
> Looking at mbufShow(), memShow(), spy() and my driver status don't show
> anything that would indicate a problem.
>
> Setting up our driver as a character driver and sending data without
> using the IP stack (direct IOCTL calls to our driver) still would
> result in a data access exception in the net task.  It would seem that
> maybe this is a problem with the Ethernet driver built into the PPC
> board?
>
> Modifying the PCI Latency timer in our boards configuration space
> seemed to change the amount of time before the problem occurred but did
> not eliminate it.
>
> Any ideas as to what might be causing this problem or even how to
> approach tracking it down would be greatly appreciated.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Wed, 13 Sep 2000 05:00:14 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: AJAX Productions
Message-ID: <39BF0AF9.65E8BD9C@earthlink.com>
References: <8pkh2c$bgi$1@schbbs.mot.com>
Reply-To: jukema@earthlink.net

Many modern CPUs include a 56-bit or 64-bit Time Base counter that runs at the
speed of the CPU bus (e.g. 33MHz or 66MHz) You could use in-line assembly to
read this register and break out the loop when the specified number of
microseconds have elapsed...

Li Xin wrote:

> I am writing a device driver under VxWorks and need a means to delay current
> task for some microseconds. I know taskDelay() can delay current task, but
> that will delay at least one tick which I think is too long for our driver.
> Is there any method to delay current task for some microseconds?


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: configuring PC target???
Date: Tue, 12 Sep 2000 09:20:20 +0200
From: "Dr. Peter Salewsky" <sa@resolut.de>
Message-ID: <39BDD934.1E5410CB@resolut.de>
References: <39B7D669.50B20513@root.com> <39B7D6AC.8343E52F@root.com>

Bruce Chrustie schrieb:
> one more thing....I can see the target booting via the VGA monitor on
> the PC itself and am able to control the booting via the keyboard on
> the target.
> 

What messages do you see on the VGA monitor when the target boots?
Do you get a prompt on the VGA monitor after booting?
Can you enter commands at this prompt via the keyboard?

[...]

- -- 
Dr. Peter Salewsky                  phone +49 3493 743-20
resolut GmbH                        fax   +49 3493 743-25
Antonienstr. 3                      dialog@resolut.de
D-06749 Bitterfeld, Germany         www.resolut.de

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Booting the pcPentium target ?
Date: Tue, 12 Sep 2000 09:29:54 +0200
From: "Dr. Peter Salewsky" <sa@resolut.de>
Message-ID: <39BDDB72.4A0AEDC2@resolut.de>
References: <8pho7v$73m$1@nnrp1.deja.com>

mishra.r@dcmtech.co.in schrieb:
> I need to boot my pcPentium target over the Ethernet.(ie. by
> downloading the vxWorks image). I have a NE2000 compatible ethernet
> card, have set the base address and IRQ for that in the config.h. So,
> after when the image is created the loader is unable to load that image
> from the host. Moreover, theres no message on the ftp server running on
> the host.

Do you have a monitor connected directly to your target?
If yes, what messages do you see on this monitor when the target
tries to boot?

- -- 
Dr. Peter Salewsky                  phone +49 3493 743-20
resolut GmbH                        fax   +49 3493 743-25
Antonienstr. 3                      dialog@resolut.de
D-06749 Bitterfeld, Germany         www.resolut.de

---------------------------

Newsgroups: comp.os.vxworks
Subject: Query about inetLib
Date: Tue, 12 Sep 2000 22:28:35 -0700 (PDT)
From: "Jagannatha L.V" <jagantech@yahoo.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pn60k$m6u$1@overload.lbl.gov>

Hi,
all I got some problems while using inetLib routines.
The problem is as follows:

see the following line of code:
printf("\n%x", inet_addr("90.36.40.2"));

Output of this in Vxworks is
228245a
But....
Output of this in Unix is
5a242802

(reversing of bytes)

1. I want to know why is this different.
2. If i see the manuals of vxwoks(inetLib) in example
it says(I am cutting and pasting)

The following example returns 0x5a000002: 

    inet_addr ("90.0.0.2");
but...
actually it returns 200005a in vxworks.

Can any one put some light on it or is it a bug.
reply as soon as posible.

with regards from
jagan....



 

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

---------------------------

Newsgroups: comp.os.vxworks
Subject: switching between multiple BSPs/toolchains
Date: Wed, 13 Sep 2000 08:33:34 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <I9Fv5.8$fx2.425@nreader1.kpnqwest.net>

Hello VxWorkers,
I have build all of my modules with Tornado2 for a specific BSP (mv2303) and
everything works fine. Now we will get a new BSP (mv240x) and I have to
compile the source for this target. Usual you have to set your toolchain for
a specific BSP at the creating time of a project. How can I change these
settings afterwards? At last I want to try VxSim, another toolchain....

Any ideas?

regards
- --
Markus Mitterer
Software-Development, STK
mailto: markus_mitterer@sbu1.storkgroup.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 8xx SCC in UART mode
Date: 13 Sep 2000 07:02:19 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pn8pr$a3o$1@news1.xs4all.nl>
References: <anrkp8.gnf.ln@gate.endusis.com>

Jeremy Pye <cjp@endusis.com> wrote:
: Because the SMC ports don't offer handshaking
: we need to connect our modem to one of the SCC
: port. These drivers are not in either the MBX860,
: ADS860 BSPs, so it looks as though I am going
: to have to write one.
: I don't know where to start. Can anyone help me
: with a few pointers.

Ask your support engineer for the drivers for this. They have some
unsupported code for the SCC ports. You have to do some to get it working,
but the code itself is OK.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: switching between multiple BSPs/toolchains
Date: 13 Sep 2000 07:07:17 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pn935$a3o$2@news1.xs4all.nl>
References: <I9Fv5.8$fx2.425@nreader1.kpnqwest.net>

Markus MItterer <markus.mitterer@sbu1.storkgroup.com> wrote:
: Hello VxWorkers,
: I have build all of my modules with Tornado2 for a specific BSP (mv2303) and
: everything works fine. Now we will get a new BSP (mv240x) and I have to
: compile the source for this target. Usual you have to set your toolchain for
: a specific BSP at the creating time of a project. How can I change these
: settings afterwards? At last I want to try VxSim, another toolchain....

: Any ideas?

You can add another build to your project. Go to the builds tab in your
workspace and right-click on the project you want another build for. Now
select New build and follow the instuctions.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: NPT driver question
Date: Wed, 13 Sep 2000 07:07:15 GMT
From: Kans <kannans@hclt.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pn92r$nf9$1@nnrp1.deja.com>

Hello VxWork-ers,

I am developing a NPT driver.

The muxTkBind call takes pNetSvcInfo and pNetDrvInfo
as parameters.

The NPT document does not talk much about these
parameters. Has anybody used it? If yes, of what
use is it to the drivers?

I would like to store some information with each
binding, where can I store that ?. Neither NET_PROTOCOL
nor MUX_BIND_ENTRY seem to have such a provision.

The muxTkSend call has a pSpareData pointer. Is the
network service supposed to call muxTkSend with
pSpareData set to pNetDrvInfo ?. How much space
is the network service supposed to allocate for
pNetDrvInfo ?(since pNetDrvInfo is just a pointer,
passed to the muxTkBind call).

Or is the usage of these parameters is supposed to
just be an understanding between the two layers and
mux has nothing to do about them?. How does VxWorks
IP stack use them?

Hope somebody can help me out on this!.

TIA,
Kans.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: interrupt delayed
Date: Wed, 13 Sep 2000 09:26:16 +0200
From: Anthony Rouaux <anthony.rouaux@st2e.com>
Organization: freesbee.fr
Message-ID: <39BF2C17.DE9D4475@st2e.com>

I am working with the Motorola MPC860T. I am using the intConnect()
function to connect my routine to CPM timer1 interruption. I find
amazing that it takes 20 us for the core to begin to execute my routine
after the interruption occurs.
Is this due to a hardware or a software problem?
Can you please help me to find a solution to decrease this time.
Thanks


---------------------------

Newsgroups: comp.os.vxworks
Subject: Using SDRAM with MBX860
Date: Wed, 13 Sep 2000 08:45:34 GMT
From: francescotorre1965@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pner9$up0$1@nnrp1.deja.com>

Hello,
we are using the MBX860 cpu board from Motorola;
it is equipped with 4 Mb of EDO DRAM.
We need to extend such memory by means of the
SIMM extension.
Is it possible to use a Syncronous DRAM ?
What we should modify and/or configure ?
                     Thanks!



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: How to get DosFS2 ?
Date: Wed, 13 Sep 2000 09:52:45 +0100
From: "Tim Allen" <Tim@TimAllenLtd.idps.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pngi3$qor$1@overload.lbl.gov>

>As a tenderfoot, I'm puzzled with this problem:
>Where & how?
>Does DosFS2 support FAT32?

Yes, DOSFS 2.0 does support FAT32, and you should be able to get it as a
free upgrade from your Wind River rep.

- --------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy
VxWorks


---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: vxWorks Task
Date: Tue, 12 Sep 2000 15:01:45 +0100
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pnk2j$s09$1@overload.lbl.gov>

tornado vxworks

> Submitted-by: "Krishna Kishore Reddy Sureddy" 
<krishnakishore.reddy@wipro.com>
>
> Hi,
> Can a task in vxWorks get suspended other than the conditions presented
> below.Correct me if i am Wrong.
>
> 1. vxWorks calls
>    a. ts()   b. taskSuspend()   c. sigsuspend()   d. pause()   e.
> nanosleep()
>   f. aio_suspend   g. sigtimedwait()   h. sigwaitinfo()
> 2. Task level exception
> 3. Breakpoint in task
> 4. Attaching task to Debugger
> 5. CS_MSEC_DELAY(msec), a vxWorks Macro
> 6. Error in Allocating/Freeing Memory
> 7. When a pipe is full and task attempts to write to a pipe
> 8. One task stack overflows and corrupts other tasks stack
> 9. ioctl() call causes non-recoverable error
> 10. If an invalid device descriptor in the valid range of device
> descriptors
>     numbers is passed to an I/O function
> 11. Some errors caused in the system even though the task itself
>     may not have caused that error such as
>        a. Device driver doing a hardware access that generates an error
>        b. Bus error caused by a DMA cycle which was set up by a totally
> different task
>        c. Bus errors and access violations due to task level code,
> driver code, interrupt handlers
> Thanks and Regards,
> S.K.K.Reddy.
>

How about:

12. Hardware fault.

that covers everything not explained by 1..11 above.

David Anderson.  mailto:danderson@dtrack.demon.co.uk

- -----------------------------------------------------
Who said "There's no life here in outer space."
- -----------------------------------------------------

Disclaimer
- ----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
- -------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Query about inetLib
Date: Wed, 13 Sep 2000 15:34:40 +0530
From: Neelesh Dwivedi <neelesh@daewoo.dti.daewoo.co.kr>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pnk2k$s0a$1@overload.lbl.gov>

Hello Mr. Jagannath,
I need to know a thing or two before I look for a suitable answer for
your query.
Was UNIX running on the same Processor as VxWorks?

If it is not so, then I think this is an issue of Little-Endian and
Big-Endian Notations.

An Intel Processor uses the Little-Endian format ( 0228245a for
"90.36.40.02"). So if the VxWorks was running on an Intel Processor, the
outcome is not unpredictable.

If you are using a Motorola Processor or any other , which supports
Big-Endian form, then also the result you get is not wrong.

I hope that would solve your problem.

Regards,

Neelesh Dwivedi.

Daewoo Telecom Ltd., New Delhi R&D Centre,
Gurgaon, India.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Query about inetLib
Date: Wed, 13 Sep 2000 10:39:05 GMT
From: "James Kuntz" <kuntz@mpsilink.com>
Organization: Verio
Message-ID: <dPIv5.38$704.2025@ord-read.news.verio.net>
References: <8pn60k$m6u$1@overload.lbl.gov>
Reply-To: "James Kuntz" <kuntz@mpsilink.com>

Hi,
    The problem appears to a big vs. little endian difference with the two
systems.  You should use the function ntohl (network to host long) to
resolve it.

Try

printf("\n%x", ntohl(inet_addr("90.36.40.2")));

on both systems and the results should be the same.

James Kuntz


Jagannatha L.V <jagantech@yahoo.com> wrote in message
news:8pn60k$m6u$1@overload.lbl.gov...
> Hi,
> all I got some problems while using inetLib routines.
> The problem is as follows:
>
> see the following line of code:
> printf("\n%x", inet_addr("90.36.40.2"));
>
> Output of this in Vxworks is
> 228245a
> But....
> Output of this in Unix is
> 5a242802
>
> (reversing of bytes)
>
> 1. I want to know why is this different.
> 2. If i see the manuals of vxwoks(inetLib) in example
> it says(I am cutting and pasting)
>
> The following example returns 0x5a000002:
>
>     inet_addr ("90.0.0.2");
> but...
> actually it returns 200005a in vxworks.
>
> Can any one put some light on it or is it a bug.
> reply as soon as posible.
>
> with regards from
> jagan....
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 04:52:59 2000
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Date: Wed Sep 13 04:53:01 PDT 2000
Subject: Source code archive link

VxWorks Tornado

Hi all,

Anyone can suggest where shall I find Some example source code archive
for PCI device access on VxWorks.

Thanks & Regards,

R.Bala




From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 07:05:55 2000
From: Jim Way <Jway@datum.com>
Date: Wed Sep 13 07:05:57 PDT 2000
Subject: RE: data access exception in net task

James,

> Running on PowerPCs (2431 and 2603) sending/receiving data TCP as fast
> as possible runs fine for about an hour or so and then I get one of the
> following conditions:
> 1) Receives of packets stop happening - DMAs into my receive buffers
> just seem to stop.
> 2) A data access exception.  The printout points to the net task.
> 3) The machine just locks up.
> 
> Looking at mbufShow(), memShow(), spy() and my driver status don't show
> anything that would indicate a problem.

I'm using PPC860T with VxWorks 5.4. Earlier this year, I had a similar
sounding problem. After "a while" my Ethernet would stop talking. There were
no apparently obvious symptoms, just like you're describing.

The problem was fixed by hiring a WRS consultant who applied two SPR fixes
(and did not apply another seemingly applicable one). Here is a snippet of
his email to me:

> I have integrated the fixes for the following :
> 
> SPR 22325 - Race condition between interrupt processing of received
packets and polled mode processing in END driver
> SPR 23528 - motCpmEnd driver corrupts tNetTask in system mode
>
> I have not integrated the fixes for the following :
> SPR 21143 - motCmpEnd END driver improperly filters incomming frames when
promiscuous mode is enabled.

Now, I'm not saying that these specific SPRs are related to your problem.
Just that my experience in this area suggests that browsing WindSurf for
SPRs might be helpful. Your local FAE might also be an excellent resource
for this problem. I know that mine is a top-notch techical guy. Depending on
your expertise with VxWorks (mine was very limited at the time, now I'm an
old-hand <ha ha>) you might want to consider using their consulting
services. We paid for three days of support and one on-site trip, and I
think my management all believe it was money very well spent. I know that I
had other things to work on during that time.

HTH,
Jim
-----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
-----------------------------------------





From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 09:06:24 2000
From: "Garner, William F (N-SDC)" <william.f.garner@lmco.com>
Date: Wed Sep 13 09:06:27 PDT 2000
Subject: Changing the Network Address VxSim Uses

VxWorks/Tornado users-

How or can the IP address of VxSim be changed from 90.0.0.n to 10.xx.xx.xx?


Changing the ULIP IP address to 10.0.0.254, the vxTarget IP address remains
(90.0.0.1).

-> hostShow
hostname         inet address       aliases
--------         ------------       -------
vxTarget         90.0.0.1           
localhost        127.0.0.1          
host             90.0.0.254         
trapDest         10.10.6.53

Please help,
Bill


From vxwexplo-errs@csg.lbl.gov  Wed Sep 13 19:00:19 2000
From: "Mike Anderson" <mike_anderson@att.net>
Date: Wed Sep 13 19:00:22 PDT 2000
Subject: RE: Changing the Network Address VxSim Uses

VxWorks Greetings!

> 
> How or can the IP address of VxSim be changed from 90.0.0.n to 
> 10.xx.xx.xx?
> 
> 
[snip]

This only works with the full copy of the simulator (not the
Simulator Lite that comes with Tornado, but the extra
cost version that includes networking.  Also, I believe
that this only works on the Solaris version of the simulator.
 
Start your simulator & target server.  Startup a Windsh.
at the -> issue a bootChange command.

-> bootChange

[you'll be prompted for all of the boot parameters]

Key in the new inet on enet (10.x.y.z) and boot host
IP (10.x.y.n).  Finish entering the rest of the boot
parameters.  When you get back to the -> prompt, there 
will be a file saved to the disk subsystem at the location
in the file system that the simulator booted from.  Unfortunately,
I don't remember the file name, but it will be obvious from the 
name.  This will have the boot line in it and can be edited to
change the IP parameters.

HTH,

Mike Anderson
The PTR Group, Inc.
Embedded Development, Training and Consulting Services
mailto:mike@theptrgroup.com
http://www.theptrgroup.com



From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 03:16:26 2000
From: keith.wood@epid.eurotherm.co.uk
Date: Thu Sep 14 03:16:28 PDT 2000
Subject: IP Link-Local Address space

Does any version of VxWorks support use of the Link-Local 
address space (169.254/16) as an extension to DHCP?

If yes - which versions?

If no - does anyone know if there are plans to incorporate it in any 
future versions?


Keith Wood
-------------------------
e-mail work: keith.wood@epid.eurotherm.co.uk
       home: genius@the-wood-family.org.uk
phone: work: +44 1903 205277

My views are not my own - they are 
the intellectual property of my employer



From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 04:03:12 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Thu Sep 14 04:03:15 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Thu Sep 14 04:03:08 PDT 2000

        Subject: RE: Query about inetLib
        Subject: RE: Query about inetLib
        Subject: Using a single IP for 2 interfaces
        Subject: Re: Using SDRAM with MBX860
        Subject: Source code archive link
        Subject: Re: interrupt delayed
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: How to delay current task for some microseconds?
        Subject: Re: printf of "long long"
        Subject: RE: data access exception in net task
        Subject: problem in converting from elf to bin
        Subject: FTP and standard out
        Subject: test
        Subject: FTP and standard output
        Subject: Problems Building gcc-2.95 for powerpc and vxworks
        Subject: Turning off standard output with FTP
        Subject: Query:VxWorks Socket Control
        Subject: Changing the Network Address VxSim Uses
        Subject: "no carrier" on MVME2400
        Subject: Re: 1553 bus
        Subject: hardware to monitor 32 vxworks "consols"
        Subject: VxWorks 5.4 NFS server problem
        Subject: Re: printf of "long long"
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: Re: PCI Configuration help for a novice
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: Ring Buffer Overflow?
        Subject: Ring Buffer Overflow? Correction 
        Subject: Re: printf of "long long"
        Subject: How to get cursor position in Zinc?
        Subject: Re: "no carrier" on MVME2400
        Subject: questions wxwork/tornado
        Subject: RE: Changing the Network Address VxSim Uses
        Subject: Re: dosFs2 chkdsk slow to run from bootrom
        Subject: UDP Socket Receive
        Subject: Re: How to get cursor position in Zinc?
        Subject: Re: Source code archive link
        Subject: Elan 520, AMD BSP
        Subject: Re: printf of "long long"
        Subject: Re: Query:VxWorks Socket Control
        Subject: Re: UDP Socket Receive

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: RE: Query about inetLib
Date: Wed, 13 Sep 2000 06:34:30 -0400
From: "Mike Anderson" <mike_anderson@att.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pnnj3$ks$1@overload.lbl.gov>

VxWorks Greetings!

<snip>

> printf("\n%x", inet_addr("90.36.40.2"));
> 
> Output of this in Vxworks is
> 228245a
> But....
> Output of this in Unix is
> 5a242802
> 
> (reversing of bytes)
> 

<snip>

> 
> Can any one put some light on it or is it a bug.
> reply as soon as posible.

You don't say what kind of CPU architecture that you're using,
but my guess is that it's probably x86, i960 or one of the 
other little endian processors.  The inet_addr routines will
simply convert the dotted quad into an integer with the 
bytes in the same relative location.  On a big endian machine,
such as a SPARC or PPC, this would result in the output
that you anticipated.  But, on a little endian machine, the
bytes would be reversed.  If you changed your printf to 
look like this:

printf("\n%x", htonl(inet_addr("90.35.40.2")));

you would get the big endian result you expected on both your
little endian target and the big endian UN*X box.

HTH,

================================================================
Mike Anderson
The PTR Group, Inc.
Embedded Development, Training, Consulting 
mailto:mike@theptrgroup.com
http://www.theptrgroup.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: Query about inetLib
Date: Wed, 13 Sep 2000 11:43:43 +0100
From: "David Anderson @ Data Track" <danderson@dtrack.demon.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pnnj3$kt$1@overload.lbl.gov>

vxWorks Tornado

>
> Hi,
> all I got some problems while using inetLib routines.
> The problem is as follows:
>
> see the following line of code:
> printf("\n%x", inet_addr("90.36.40.2"));
>
> Output of this in Vxworks is
> 228245a
> But....
> Output of this in Unix is
> 5a242802
>
> (reversing of bytes)
>
> 1. I want to know why is this different.
> 2. If i see the manuals of vxwoks(inetLib) in example
> it says(I am cutting and pasting)
>
> The following example returns 0x5a000002:
>
>     inet_addr ("90.0.0.2");
> but...
> actually it returns 200005a in vxworks.
>
> Can any one put some light on it or is it a bug.
> reply as soon as posible.
>
> with regards from
> jagan....

It is correct , the value returned is in network order ( OK so far ) but 
when you display the value using
your  output routine ( printf or whatever ) the value is interpreted in 
target processor order...
if these are different then the little endian/big endian byte swap is 
apparent.

Hop that helps.

David Anderson.  mailto:danderson@dtrack.demon.co.uk

- -----------------------------------------------------
Who said "There's no life here in outer space."
- -----------------------------------------------------

Disclaimer
- ----------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.

If you have received this email in error please destroy and notify Data 
Track Technology Plc +44 1425 271900.
- -------------------------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: Using a single IP for 2 interfaces
Date: 13 Sep 2000 14:02:40 +0200
From: yehudak@millimetrix.net ("Yehuda Kasirer")
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <NEBBJCEIDKEJPKHANDGJEENNCAAA.yehudak@millimetrix.net>

This is a multi-part message in MIME format.

- ------=_NextPart_000_0004_01C01D94.4F2AE370
Content-Type: text/plain;
	charset="windows-1255"
Content-Transfer-Encoding: 7bit

Is it possible to configure vxworks to use a single
IP for a device with 4 network interfaces ?

I know it is not the standard router configuration
(when each interface is part of a different network)
but I need to have my box connected in a ring like topology
where each box may need to forward from one port to a destination
port based on routing table. I do not want to use a different IP address
per interface.

Yehuda Kasirer
  



- ------=_NextPart_000_0004_01C01D94.4F2AE370
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1255">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>Is it =
possible to=20
configure vxworks to use a single</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>IP for =
a device with=20
4 network interfaces ?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D199150213-13092000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>I know =
it is not the=20
standard router configuration</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>(when =
each interface=20
is part of a different network)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>but I =
need to have=20
my box connected in a ring like topology</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>where =
each box may=20
need to forward from one port to a destination</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>port =
based on=20
routing table. I do not want to use a different IP =
address</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D199150213-13092000>per=20
interface.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D199150213-13092000></SPAN></FONT>&nbsp;</DIV>
<P><FONT size=3D2>Yehuda =
Kasirer<BR>&nbsp;&nbsp;<BR></FONT></P></BODY></HTML>

- ------=_NextPart_000_0004_01C01D94.4F2AE370--


- --
Posted from mailgw1.netvision.net.il [194.90.1.14] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Using SDRAM with MBX860
Date: 13 Sep 2000 12:09:46 GMT
From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
Organization: UNINETT news service
Message-ID: <8pnqqa$e2b$1@snipp.uninett.no>
References: <8pner9$up0$1@nnrp1.deja.com>
Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>

francescotorre1965@my-deja.com wrote:
: Hello,
: we are using the MBX860 cpu board from Motorola;

This board is End-Of-Line announced.
And good riddance - it has a basically lousy
design and it is flaky if exposed to any 
external hardware and/or hostile environment.

: it is equipped with 4 Mb of EDO DRAM.

Not the newer ones - those have 16 MByte.

: We need to extend such memory by means of the
: SIMM extension.
: Is it possible to use a Syncronous DRAM ?

Nope. The DIMM module share Universal Programmeable
Machine A on the CPU with the soldered DRAM. Stupid.
This means that in order to work the DIMM has to 
feature exactly the same DRAM as the soldered DRAM. 
The soldered DRAM may vary. You are basically f...
The DIMM socket is one piece of useless HW option.

: What we should modify and/or configure ?

You cant modify the I2C EEPROM resident UPM tables
as the soldered DRAM will then no longer work.

Sorry.

- --
  ******************************************************
  Never ever underestimate the power of human stupidity.
  -Robert Anson Heinlein

		GeirFRS@invalid.and.so.forth
  ******************************************************

---------------------------

Newsgroups: comp.os.vxworks
Subject: Source code archive link
Date: Wed, 13 Sep 2000 17:33:39 +0530
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pnr3j$263$1@overload.lbl.gov>

VxWorks Tornado

Hi all,

Anyone can suggest where shall I find Some example source code archive
for PCI device access on VxWorks.

Thanks & Regards,

R.Bala



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: interrupt delayed
Date: Wed, 13 Sep 2000 13:47 +0100 (BST)
From: rew@cp.cix.co.uk (Richard Wenham)
Organization: CIX - Compulink Information eXchange
Message-ID: <memo.20000913134718.296A@cpecran.compulink.co.uk>
References: <39BF2C17.DE9D4475@st2e.com>
Reply-To: rew@cp.cix.co.uk

I'm not familiar with the Motorola MPC860T, but 20 us is the average 
latency I would expect with the x86 BSP (Pentium 233).  Also, we get the 
occasional delay of up to 200 us, caused by network activity.  As far as I 
can make out, execution is in the kernel at this time, with interrupts 
off.

Richard Wenham
Cranfield Precision

In article <39BF2C17.DE9D4475@st2e.com>, anthony.rouaux@st2e.com (Anthony 
Rouaux) wrote:

> I am working with the Motorola MPC860T. I am using the intConnect()
> function to connect my routine to CPM timer1 interruption. I find
> amazing that it takes 20 us for the core to begin to execute my routine
> after the interruption occurs.
> Is this due to a hardware or a software problem?
> Can you please help me to find a solution to decrease this time.
> Thanks

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Wed, 13 Sep 2000 07:54:29 -0500
From: "Ben A. Abbott" <babbott@swri.org>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39BF7905.BF917C89@swri.org>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39BF0AF9.65E8BD9C@earthlink.com>

>

I use the following to read the accurate clock on a PPC:


static int _accurate_time_fake=0;
static unsigned long _accurate_time_now_upper32bits() { __asm__ (" mftbu 3");
                                         __asm__ (" blr ");
                                         return _accurate_time_fake++; /* this line added to avoid warnings */}

static unsigned long _accurate_time_now_lower32bits() {   __asm__ (" mftb 3");
                                         __asm__ (" blr ");
                                         return _accurate_time_fake++; /* this line added to avoid warnings */}



Ben Abbott
babbott@swri.org




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Wed, 13 Sep 2000 09:22:43 -0400
From: Douglas Fraser <dwfraser@lucent.com>
Organization: Lucent Technologies
Message-ID: <39BF7FA3.BFBEED3@lucent.com>
References: <8pkh2c$bgi$1@schbbs.mot.com>

Li Xin wrote:
> 
> I am writing a device driver under VxWorks and need a means to delay current
> task for some microseconds. I know taskDelay() can delay current task, but
> that will delay at least one tick which I think is too long for our driver.
> Is there any method to delay current task for some microseconds?

Many CPUs have a block of FLASH that is used for non-volatile storage.
This FLASH will NOT be cached (to allow FLASH programming algorithms to
work)
and will usually have a well defined access time for read cycles. For
very small delays, you can just use some integer number of reads from
this
FLASH block to implement a predictable delay.

Yes, it is board specific, thus non-portable. But it is very light
weight
and reliable. On my last product where I needed this, FLASH reads
completed
in exactly 140nS. The instruction loop, being VERY small, fit entirely
in
the instruction cache. We could change the clock rate on the processor
by
a gross amount and the change in the delay time was minimal because the
access time on the FLASH swamped the execution time.

Hope that helps.

- -- 
Douglas Fraser

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Wed, 13 Sep 2000 09:53:43 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39BF86E7.9327DE2@mindspring.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com>


> The problem is that without a prototype argument, the compiler assumes
> that it must put an int on the stack. Given the printf prototype:
> 
> printf(char *, ... );
> 
> The compiler knows nothing about what arguments the function expects, so
> it has to make assumptions.  This is what the old K&R compilers did

Are you telling me that a printf() with a correct typecaste for a 
"long long" will work?  What format string?  The doc says %L is
not supported...

thanks,

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: data access exception in net task
Date: Wed, 13 Sep 2000 07:02:53 -0700
From: Jim Way <Jway@datum.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8po24j$858$1@overload.lbl.gov>

James,

> Running on PowerPCs (2431 and 2603) sending/receiving data TCP as fast
> as possible runs fine for about an hour or so and then I get one of the
> following conditions:
> 1) Receives of packets stop happening - DMAs into my receive buffers
> just seem to stop.
> 2) A data access exception.  The printout points to the net task.
> 3) The machine just locks up.
> 
> Looking at mbufShow(), memShow(), spy() and my driver status don't show
> anything that would indicate a problem.

I'm using PPC860T with VxWorks 5.4. Earlier this year, I had a similar
sounding problem. After "a while" my Ethernet would stop talking. There were
no apparently obvious symptoms, just like you're describing.

The problem was fixed by hiring a WRS consultant who applied two SPR fixes
(and did not apply another seemingly applicable one). Here is a snippet of
his email to me:

> I have integrated the fixes for the following :
> 
> SPR 22325 - Race condition between interrupt processing of received
packets and polled mode processing in END driver
> SPR 23528 - motCpmEnd driver corrupts tNetTask in system mode
>
> I have not integrated the fixes for the following :
> SPR 21143 - motCmpEnd END driver improperly filters incomming frames when
promiscuous mode is enabled.

Now, I'm not saying that these specific SPRs are related to your problem.
Just that my experience in this area suggests that browsing WindSurf for
SPRs might be helpful. Your local FAE might also be an excellent resource
for this problem. I know that mine is a top-notch techical guy. Depending on
your expertise with VxWorks (mine was very limited at the time, now I'm an
old-hand <ha ha>) you might want to consider using their consulting
services. We paid for three days of support and one on-site trip, and I
think my management all believe it was money very well spent. I know that I
had other things to work on during that time.

HTH,
Jim
- -----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
- -----------------------------------------




---------------------------

Newsgroups: comp.os.vxworks
Subject: problem in converting from elf to bin
Date: Wed, 13 Sep 2000 14:10:40 GMT
From: Balajee Premraj <balajee_78@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8po1se$k4d$1@nnrp1.deja.com>



i Have built the Vxworks_rom image but when try to covert it to binary
image using elftobin utility it gives me an error in conversion why is
it so?
- --
Balajee Premraj


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: FTP and standard out
Date: Wed, 13 Sep 2000 08:54:29 -0600
From: Aaron Stone <aaron_stone@am.exch.hp.com>
Organization: Hewlett Packard
Message-ID: <k65vrsgggrob6pkq8qm3uvrv8im2vhatgq@4ax.com>

Im trying to use ftpXfer to transfer files.  When I open the file
socket.  Login and other terminal information are dumped to the
screen.  Is there any way to turn this off?

---------------------------

Newsgroups: comp.os.vxworks
Subject: test
Date: Wed, 13 Sep 2000 08:55:36 -0600
From: Aaron Stone <aaron_stone@am.exch.hp.com>
Organization: Hewlett Packard
Message-ID: <2b5vrs8rf83h6ll7ku2bk3itigp0f20snl@4ax.com>

fsdafsdfsadfsad

---------------------------

Newsgroups: comp.os.vxworks
Subject: FTP and standard output
Date: Wed, 13 Sep 2000 08:59:17 -0600
From: Aaron Stone <aaron_stone@am.exch.hp.com>
Organization: Hewlett Packard
Message-ID: <oh5vrs8s1qttaig00vmivhp7q0h5cqrr8t@4ax.com>

Im trying to use ftpXfer to transfer files.  When I open the file
socket.  Login and other terminal information are dumped to the
screen.  Is there any way to turn this off?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems Building gcc-2.95 for powerpc and vxworks
Date: Wed, 13 Sep 2000 14:42:34 GMT
From: gavreid@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8po3ok$mfj$1@nnrp1.deja.com>

I get the following error when I try and build gcc-2.95 (with binutils
2.10) for the powerpc-wrs-vxworks target ..... I am doing something
wrong ?
I have try's this using Linux and Cygwin and both produce the same
error. Are there any patches I need to apply ? ... Is there a FAQ ?


###Begin error code block
/build/gcc-2.95/gcc/xgcc -B/build/gcc-2.95/gcc/ -
B/usr/local/ppc/powerpc-wrs-vxw
orks/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I./../../include  fdmatch.c
In file included from /build/gcc-2.95/gcc/include/types/vxANSI.h:45,
                 from /build/gcc-2.95/gcc/include/types/vxTypes.h:63,
                 from /build/gcc-2.95/gcc/include/sys/types.h:39,
                 from fdmatch.c:52:
/build/gcc-2.95/gcc/include/types/vxArch.h:46: warning: `_BIG_ENDIAN'
redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from fdmatch.c:53:
/build/gcc-2.95/gcc/include/sys/stat.h:43: parse error before `ULONG'
/build/gcc-2.95/gcc/include/sys/stat.h:43: warning: no semicolon at end
of struc
t or union
/build/gcc-2.95/gcc/include/sys/stat.h:44: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:45: parse error before `st_mode'
/build/gcc-2.95/gcc/include/sys/stat.h:45: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:49: parse error before `st_rdev'
/build/gcc-2.95/gcc/include/sys/stat.h:49: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:50: parse error before `st_size'
/build/gcc-2.95/gcc/include/sys/stat.h:50: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:51: parse error before `st_atime'
/build/gcc-2.95/gcc/include/sys/stat.h:51: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:52: parse error before `st_mtime'
/build/gcc-2.95/gcc/include/sys/stat.h:52: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:53: parse error before `st_ctime'
/build/gcc-2.95/gcc/include/sys/stat.h:53: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:56: parse error before
`st_attrib'
/build/gcc-2.95/gcc/include/sys/stat.h:56: warning: data definition has
no type
or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:63: parse error before `}'
/build/gcc-2.95/gcc/include/sys/stat.h:128: parse error before `mkdir'
/build/gcc-2.95/gcc/include/sys/stat.h:128: warning: data definition
has no type
 or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:129: parse error before `fstat'
/build/gcc-2.95/gcc/include/sys/stat.h:129: warning: data definition
has no type
 or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:130: parse error before `stat'
/build/gcc-2.95/gcc/include/sys/stat.h:130: warning: data definition
has no type
 or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:131: parse error before `fstatfs'
/build/gcc-2.95/gcc/include/sys/stat.h:131: warning: data definition
has no type
 or storage class
/build/gcc-2.95/gcc/include/sys/stat.h:132: parse error before `statfs'
/build/gcc-2.95/gcc/include/sys/stat.h:132: warning: data definition
has no type
 or storage class
fdmatch.c: In function `fdmatch':
fdmatch.c:59: storage size of `sbuf1' isn't known
fdmatch.c:60: storage size of `sbuf2' isn't known
make[1]: *** [fdmatch.o] Error 1
make[1]: Leaving directory `/build/gcc-2.95/powerpc-wrs-
vxworks/libiberty'
make: *** [all-target-libiberty] Error 2
###END error code block


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Turning off standard output with FTP
Date: Wed, 13 Sep 2000 09:07:45 -0600
From: Aaron Stone <aaron_stone@am.exch.hp.com>
Organization: Hewlett-Packard Fort Collins Site
Message-ID: <39BF9840.B78A9901@am.exch.hp.com>

Im trying to use ftpXfer to transfer files.
When I open the file socket.  Login and
other terminal information are dumped
to the screen.  Is there any way to turn
this off?


---------------------------

Newsgroups: comp.os.vxworks
Subject: Query:VxWorks Socket Control
Date: Wed, 13 Sep 2000 11:17:56 -0400
From: Pallavi Singh <pallavi@nortelnetworks.com>
Organization: Nortel
Message-ID: <39BF9AA4.D722CA8A@nortelnetworks.com>

I wanted to know:

1. In what scenarios will call to recv() and ioctl() to read a socket
would fail or return an error code?

2. The reason why a socket control occasionally fails to be read?

Regards,
Pallavi


---------------------------

Newsgroups: comp.os.vxworks
Subject: Changing the Network Address VxSim Uses
Date: Wed, 13 Sep 2000 08:54:39 -0700
From: "Garner, William F (N-SDC)" <william.f.garner@lmco.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8po95i$bbi$1@overload.lbl.gov>

VxWorks/Tornado users-

How or can the IP address of VxSim be changed from 90.0.0.n to 10.xx.xx.xx?


Changing the ULIP IP address to 10.0.0.254, the vxTarget IP address remains
(90.0.0.1).

- -> hostShow
hostname         inet address       aliases
- --------         ------------       -------
vxTarget         90.0.0.1           
localhost        127.0.0.1          
host             90.0.0.254         
trapDest         10.10.6.53

Please help,
Bill

---------------------------

Newsgroups: comp.os.vxworks
Subject: "no carrier" on MVME2400
Date: 13 Sep 2000 16:26:58 GMT
From: Juergen Naumann <naumann@stern.Physik.Uni-Dortmund.DE>
Organization: Uni Dortmund, Physik
Message-ID: <8po9si$2vc$1@nx6.HRZ.Uni-Dortmund.DE>
Reply-To: naumann@Physik.Uni-Dortmund.DE

Dear all

When booting VxWorks I get the message "interrupt: dc0 - no carrier" 
very frequently. I learned from DejaNews that this is not something to 
really worry about but it's annoying. I also found as a workaround to
change the DEC_LOAD_STRING in configNet.h, which seems to work on 
MVME2300, 2600 and 2700 boards, but unfortunately I'm using a MVME2400 
board where this string is completly empty in the BSP. Putting in the 
value by hand also didn't solve the problem. 

Does anyone have a hint?

Thanks,
- -- 
                        Juergen Naumann
e----------------------------->H1<---------------------------p
     

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 1553 bus
Date: Wed, 13 Sep 2000 09:23:58 -0700
From: "Paul Anderson" <Pcharter@uswest.net>
Message-ID: <aWNv5.100$L46.145762@news.uswest.net>
References: <8p81io$crb$1@nnrp1.deja.com> <39B85D8C.6BDB687A@cisco.com>


Greetings,

Compware offers both BC & RT-MT driver packages for the ILC DDC ACE
(BU6158x). We also offer the RT-MT driver package for the UTMC SuMMIT
device.

The BC & RT-MT drivers for the ACE also support "dynamic transition" between
BC & RT when both drivers are installed.

These packages are quite mature, about 5 years in the field. The packages
are also quite complete in supporting features and capabilities of the ACE.

Programmer's Reference manuals are comprehensive and well written, and are
available under NDA (non-disclosure agreement) for qualified procurements.

Also, we are very interested to respond to questions about particular 1553
system requirements toward qualifying our driver packages.

Our license model consists of two parts, the "Development/Source" license,
which delivers entire source code including test applications which validate
the installation, and, the "Right-To-Use" license which is procured for each
instance of the run-time version to be deployed, i.e., for each instance of
hardware deployed. The "RTU" licening is steeply discounted with volume.

Our web site:

http://www.compware.com

Please let me know if I may be of assistance.

Thank you,

Paul Anderson
Compware Corp.
800-788-5855

"Vijay Kumar Peshkar" <vpeshkar@cisco.com> wrote in message
news:39B85D8C.6BDB687A@cisco.com...
> Austin,
>
> This is not a reply to your query.
> I am also interested in knowing more about the mil-std-1553b support.
> Can
> you please update me if you receive any info..?
>
> Thanks and Regards,
> Vijay




---------------------------

Newsgroups: comp.os.vxworks
Subject: hardware to monitor 32 vxworks "consols"
Date: Wed, 13 Sep 2000 12:22:04 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39BFA9AC.C24754D1@mindspring.com>

We would like to put together some hardware that would provide
access to up to 32 cpu cards vxworks "console" ports.  we are
running vxworks on mv2700/ppc cards.  The proposed "monitoring
hardware" would connect to the "com1" port on up to 32 of these
cards.  It should be able to display a virtual window for
each processor.

one way to do this would to put 32 tty cards in a sun box and
then have a xterm running on the sun box for each of these.

We are looking for a cheaper and more physically portable
solution. maybe some kind of terminal server hooked to 
a pc running linux?

anybody doing this already?

thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxWorks 5.4 NFS server problem
Date: Wed, 13 Sep 2000 10:30:51 -0700
From: "Se;ymour" <seymour@aol.com>
Organization: MindSpring Enterprises
Message-ID: <8pocqb$9s3$1@nntp9.atl.mindspring.net>

I'm having a problems copying files from a Linux Client to the Vxworks NFS
Server.  When I copy a large number of files after about 3 or 4 minutes the
Linux Client reports an errror

_nfs_fhget: inode 0 still buys, i_count=1

Does anyone else have this or a similar problems



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Wed, 13 Sep 2000 18:07:39 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pofop$65f$1@nnrp1.deja.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com> <39BF86E7.9327DE2@mindspring.com>

In article <39BF86E7.9327DE2@mindspring.com>,
  Al Johnston <sofeise@mindspring.com> wrote:
>
> > The problem is that without a prototype argument, the compiler
assumes
> > that it must put an int on the stack. Given the printf prototype:
> >
> > printf(char *, ... );
> >
> > The compiler knows nothing about what arguments the function
expects, so
> > it has to make assumptions.  This is what the old K&R compilers did
>
> Are you telling me that a printf() with a correct typecaste for a
> "long long" will work?  What format string?  The doc says %L is
> not supported...
>

Hmmm. I may have to retract that statement.  I tried somem experiments
and discovered that the following printf formats work with long long...

printf("%lld\n",mylonglong)
printf("%llx\n",mylonglong)

This is a surprise to me since I didn't think that standard C understood
what to do with long long integers in the absense of a prototype.  But
there it is, I tried it on:

gcc 2.8.1
Solaris C 5.0
IRIX MIPSpro Compilers: Version 7.2.1

Unfortunately it did not work on my PowerPC gcc from Tornado gcc 2.7.2.
So I guess you're out of luck unless you are brave enough to build your
own compiler from a newer GCC release.  I imagine it would work, but who
knows.

Good luck.



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Wed, 13 Sep 2000 13:18:16 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39BFC4E8.55B26F9F@aps.anl.gov>
References: <39BFA9AC.C24754D1@mindspring.com>

Al Johnston wrote:
> 
> We would like to put together some hardware that would provide
> access to up to 32 cpu cards vxworks "console" ports.
...
> one way to do this would to put 32 tty cards in a sun box and
> then have a xterm running on the sun box for each of these.

Ouch, wasteful...

> We are looking for a cheaper and more physically portable
> solution. maybe some kind of terminal server hooked to
> a pc running linux?

We have lots of terminal servers spread around the APS storage ring which
are premanently plugged into our console ports, then we just telnet to the
relevent server port to talk to the vxWorks system.  We allow engineers to
connect to systems they need to diagnose from their offices, or even
through a dialup line from home (securely of course).

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCI Configuration help for a novice
Date: Wed, 13 Sep 2000 18:21:01 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8poghk$78k$1@nnrp1.deja.com>
References: <39AABFBA.C71B9657@res.raytheon.com>

My version of the 2304 BSP does not do PCI autoconfig.  I don't think
they have updated that BSP to do so.  All the devices have drivers with
hard-coded base addresses.  Updating the BSP to use the autoconfig
library is no small task.

A zero is what you would expect to see in a BAR that has not been
configured or is not implemented.

In article <39AABFBA.C71B9657@res.raytheon.com>,
  kostizt <kostizt@res.raytheon.com> wrote:
> Folks,
>
> I must admit that I am new to the PCI bus and I am having a lot of
> trouble getting a vendor supplied driver / serial device into my
> system.  The symptom is that (a) the BARs don't make a lot of sense to
> me and (b) the device (serial), doesn't seem to be mapped (i/o simply
> posting in memory with no interrupts).
>
> I have a 2304 BSP.  The vendor's documentation says "ensure that the
BSP
> itself performs configuration of all PCI devices supported by the PCI
> HAL.  This includes configuring the PCI base address registers (BARs)
> and the interrupt line request register in the PCI configuration space
> of each device."
>
> I thought I would find the code that does this in the BSP and go from
> there.  The problem is that I can't find where any of this happens!
>
> Does anyone know how the PCI devices get their configuration
information
> processed by the BSP?
>
> If I invoke an xpciShow, it looks as follows:
>
> -> xpciShow
> Scanning function 0 of each PCI device on bus 0 of card 0
> bus slot vendor  dev IRQ    Bar0     Bar1     Bar2     Bar3     Bar4
> Bar5
>  0   00   1057  4801  00  00000001 fc000000 00000000 00000000 00000000
> 00000000
>  0   11   10ad  0565  00  00000000 00000000 00000000 00000000 00000000
> 00000000
>  0   13   10e3  0000  00  fd050000 00000001 00000000 00000000 00000000
> 00000000
>  0   14   1011  0009  00  00020001 00000000 00000000 00000000 00000000
> 00000000
>  0   17   124b  0001  00  00000000 00000000 00000000 00000000 00000000
> 00000000
> value = 1 = 0x1
>
> The information for bus/slot/vendor for slot 17 is the interesting
> piece.  The vendor info is the PCI device of interest.  Does a BAR0 of
0
> make sense?
>
> Any help would be greatly appreciated.
>
> Thanks in advance!
>
> Tom Kostizak
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Wed, 13 Sep 2000 14:41:14 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39BFCA4A.957BDD57@mindspring.com>
References: <39BFA9AC.C24754D1@mindspring.com> <39BFC4E8.55B26F9F@aps.anl.gov>

Hey, glad you are still around

Your "blast tas" code is one reason why I wanted to set this up.
I had a failure after three days... no msg was written to the
screen (a xterm with a rsh to the target)... I think it was
a "network timeout" issue rather than a real failure, but I
am not sure.

we really want this capability anyway, so now is a good time to 
get it back... we had it via some hardware that was
loaded via the vax... but we got ride of the vax a while back
[ :-< i miss my vax] and have never re-established the capability.

At the moment I am twiddling my thumbs... our !Q$ dawn vme 64x
chassis ate a 3rd card two weeks ago...  and I have been refusing
to use them until the defects are fixed...  man am I board...
I hate my job when its like this... but i have two many things 
going at once already.... I don't want to start another one.


thanks for your input.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Ring Buffer Overflow?
Date: Wed, 13 Sep 2000 19:22:01 GMT
From: Joe Andrews <joe.andrews@mw.boeing.com>
Organization: Vehicle Managememt Systems
Message-ID: <39BFD3D9.F191F871@mw.boeing.com>
Reply-To: joe.andrews@mw.boeing.com
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

I'm having a problem running any downloaded code on my mv2604 boards.
The code runs fine in the sim. I rebuilt the project for the board and
downloaded in to the card. When I try to execute any function under the
shell, I immediately get the following error:

LogTask: ring buffer overflow

After a few of those, it switches to :

LogTask  11xx messages lost
	ring buffer overflow

Which scrolls forever. The only way I can stop it is to reset the card.
It seems to happen before any of my code gets called: if I set a
breakpoint at the first line of the function, it still happens.  Any
idea what this error means, (yes, I know it means my ring buffer is
overflowing) or what's causing it?
Or, how can I find out what the messages are in the buffer? The manual
states LogTask gets its input from a message queue filled by LogMsg. The
default output device has not been changed and is set to ConsoleFD, but
the above messages are all I ever see.

Interestingly, I originally had the target server set up to use the
backplane network and ran the code on card #2, with card #1 being the
gateway. When I tried to execute a function on card #2, the above
message would appear on card #1's console.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Ring Buffer Overflow? Correction 
Date: Wed, 13 Sep 2000 19:46:00 GMT
From: Joe Andrews <joe.andrews@mw.boeing.com>
Organization: Vehicle Managememt Systems
Message-ID: <39BFD978.9B790E13@mw.boeing.com>
Reply-To: joe.andrews@mw.boeing.com
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

Oops, I mistakenly gave the wrong error before. What really comes out is
this:

interrupt:  panic:  netJobAdd:  ring buffer overflow

The cycle then repeats with the following:

LogTask:  xxx messages lost
interrupt:  panic:  netJobAdd:  ring buffer overflow

Where xxx is a number anywhere from 200-1500

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Wed, 13 Sep 2000 17:07:24 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39BFEC8C.1EFB7288@mindspring.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com> <39BF86E7.9327DE2@mindspring.com> <8pofop$65f$1@nnrp1.deja.com>


Hi,

> Hmmm. I may have to retract that statement.  I tried somem experiments
> and discovered that the following printf formats work with long long...
> 
> printf("%lld\n",mylonglong)
> printf("%llx\n",mylonglong)
> 
> This is a surprise to me since I didn't think that standard C understood
> what to do with long long integers in the absense of a prototype.  But
> there it is, I tried it on:

The only place I have found "%ll" documented was in solaris man pages. 
So
I am not sure what "standard" (if any) it is from.  it seems to work
with
gcc 2.95.2-solaris8;  it compiles okay with my vxw/ppc gcc compiler (no
warnings, etc... even with -Wall or -ansi!

> gcc 2.8.1
> Solaris C 5.0
> IRIX MIPSpro Compilers: Version 7.2.1

ah, another IRIX user!!!

> Unfortunately it did not work on my PowerPC gcc from Tornado gcc 2.7.2.
> So I guess you're out of luck unless you are brave enough to build your
> own compiler from a newer GCC release.  I imagine it would work, but who

Thanks... at the moment I have no hardware... so I couldn't see if it
would
work on the ppc... the vxw doc says %L is not supported, but does not
mention %ll.  Thanks for the answer!!! (sure wish it would have worked!)

Seems like a strange thing for wrs to break... but then again, %ll may
not
have worked in gcc 2.7.x to begin with.  I am planing to build my own
gcc/ppc sometimes in the near future... but I am putting it off at the
moment.  And hoping some other nice person will post a faq/howto... 

thanks for the help!

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: How to get cursor position in Zinc?
Date: Wed, 13 Sep 2000 16:00:13 +0800
From: "zongjun" <zongj@guoguang.com.cn>
Organization: The news server of Changzhou TeleCom
Message-ID: <8pnc07$pmn$1@news.cz.js.cn>

Hi all:
I would like to program InputMethod useing Zinc,but I don't know how to get
cursor position.
I'm waiting for your help.

Thanks in advance!

Zong





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "no carrier" on MVME2400
Date: Wed, 13 Sep 2000 17:00:36 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39BFF904.95180ADE@swri.edu>
References: <8po9si$2vc$1@nx6.HRZ.Uni-Dortmund.DE>

This is a multi-part message in MIME format.
- --------------2484C3DA2D03A07DF063CC85
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Juergen Naumann wrote:

> Dear all
>
> When booting VxWorks I get the message "interrupt: dc0 - no carrier"
> very frequently. I learned from DejaNews that this is not something to
> really worry about but it's annoying. I also found as a workaround to
> change the DEC_LOAD_STRING in configNet.h, which seems to work on
> MVME2300, 2600 and 2700 boards, but unfortunately I'm using a MVME2400
> board where this string is completly empty in the BSP. Putting in the
> value by hand also didn't solve the problem.
>
> Does anyone have a hint?
>

You can also try changing the settings on the ethernet cable to half
duplex.  We had a Cisco router connected to a MVME2307 and forcing the
port on the Cisco to half duplex did the trick for us.  I think that if
you force the port to 10BaseT as opposed to 100 the problem will go away
as well.  I not sure about the second solution though.

- --------------2484C3DA2D03A07DF063CC85
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------2484C3DA2D03A07DF063CC85--


---------------------------

Newsgroups: comp.os.vxworks
Subject: questions wxwork/tornado
Date: Thu, 14 Sep 2000 00:10:52 GMT
From: e.jolly@home.com (Ric)
Organization: Excite@Home - The Leader in Broadband
Message-ID: <39c01403.7876622@news>

Hi everyone, i have questions on wxvorks and tornado.

I hope that an expert will be able to answer the following, thanks in
advance.


The eggshell from vxwork give us access to several debugging commands
(l(), lkup(), i(), tt() etc...). I was reading the tornado (tornado 2)
user guide, and i found out that the Wind Sh is really similar to the
eggshell from vxwork. My questions: is tornado a graphical debugger
interface using commands already available trough vxwork eggsehll?

Or tornado really has enhanced feature?

Also, when using tornado is it possible to set multiple condtions
breakpoints? by that i mean making sure that several condition are met
before breaking or breaking when one out of several condition are met
(and/or multiple condition).

If we are using multiple targets is possible to debug simultaniously
several  target (ex: communication between 2 or more node, monitor
objets on both node)?

also when breaking we could get the display of the trace either on
assembly, c or c++?

thanks

 -eric





---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: Changing the Network Address VxSim Uses
Date: Wed, 13 Sep 2000 22:05:58 -0400
From: "Mike Anderson" <mike_anderson@att.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ppcai$7t$1@overload.lbl.gov>

VxWorks Greetings!

> 
> How or can the IP address of VxSim be changed from 90.0.0.n to 
> 10.xx.xx.xx?
> 
> 
[snip]

This only works with the full copy of the simulator (not the
Simulator Lite that comes with Tornado, but the extra
cost version that includes networking.  Also, I believe
that this only works on the Solaris version of the simulator.
 
Start your simulator & target server.  Startup a Windsh.
at the -> issue a bootChange command.

- -> bootChange

[you'll be prompted for all of the boot parameters]

Key in the new inet on enet (10.x.y.z) and boot host
IP (10.x.y.n).  Finish entering the rest of the boot
parameters.  When you get back to the -> prompt, there 
will be a file saved to the disk subsystem at the location
in the file system that the simulator booted from.  Unfortunately,
I don't remember the file name, but it will be obvious from the 
name.  This will have the boot line in it and can be edited to
change the IP parameters.

HTH,

Mike Anderson
The PTR Group, Inc.
Embedded Development, Training and Consulting Services
mailto:mike@theptrgroup.com
http://www.theptrgroup.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: dosFs2 chkdsk slow to run from bootrom
Date: Thu, 14 Sep 2000 02:26:51 GMT
From: paulvroberts@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8ppd0q$9lr$1@nnrp1.deja.com>
References: <8p4osn$ja8$1@nnrp1.deja.com> <39BB6FD7.76855B10@bitband.com>

Leonid and all,

Thanks for the reply. Its nice to have an expert on the newsgroup!

Actually, after I posted the message, I noticed this in the code for the
check routine, so I added a warning message if the FAT was being used.

I didn't see my warning message. This may of course be a bug in my
patch, or a build problem.
I haven't actually got any time right now to go back over and verify it
or to try your suggestion (we are using the MVME2700 family here and I
could not find INCLUDE_ADD_BOOTMEM being used - I will need to dig
deeper).

Hopefully I will be back on this in a few weeks.

Sorry if this sounds waffly, I just wanted to make sure I said "thank
you" and thought you and others might like to know the status.

Paul Roberts.

In article <39BB6FD7.76855B10@bitband.com>,
  leonid@bitband.com wrote:
> Actually, this is very simple -
>
> the CHKDSK utility in DosFs2 would take advantage of available memory
to
> hasten
> the process by keeping the entire FAT in RAM, if this however is
impossible,
>
> it will use the "second" FAT copy on the disk as its working copy of
FAT.
> The "working copy" is where the software keeps track of cluster chains
> traversed etc.
>
> So what you need is to define a few defines to make bootCOnfig.c
allocate
> more memory,
> for PC target these are:
>
> :#define INCLUDE_ADD_BOOTMEM  /* Add upper memory to low memory
bootrom*/
> :#define ADDED_BOOTMEM_SIZE   0x00200000   /* 2MB */
>
> Dont know how much memory will be sufficient for you, your milage will
vary
> ...
>
> Leonid
>
> paulvroberts@my-deja.com wrote:
>
> > Hi there,
> >
> > Does anyone know why chkdsk would be much slower when run from the
> > bootrom, then when run after VxWorks is loaded?
> >
> > We are using FAT32 (singly dos partitioned) 9GB SCSI disks and it
takes
> > 65 seconds in the bootrom, whereas after VxWorks is running, it
takes
> > just 3-4 seconds!
> >
> > What I did was to "enhance" the bootConfig.c file to allow booting
using
> > dosFs2. I use a 128K cache, and call chkdsk via the icotl FIOCHKDSK.
> >
> > I am using the MVME2700 BSP with the bootrom_uncmp target, so
presumably
> > that's not rom-resident.
> >
> > Any other ideas?
> >
> > Thanks,
> >
> > Paul Roberts.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: UDP Socket Receive
Date: Fri, 15 Sep 2000 03:12:37 +1000
From: Chris Chock <cchock@hunterlink.net.au>
Organization: Pacific Internet (Australia)
Message-ID: <39C10705.77D4E80A@hunterlink.net.au>

I have been sending data from a Radstone PPC4A card to a PC via
ethernet, using UDP.  When I try to receive using either "recvfrom" or
"select" I never seem to get any UDP packets.  I know that the PC is
transmitting 80 bytes of data at a 10 Hz rate, but my application never
gets them.  Are there any known issues with receiving UDP packets ?

Thanks.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to get cursor position in Zinc?
Date: Thu, 14 Sep 2000 10:07:48 +0530
From: Vijay Kumar Peshkar <vpeshkar@cisco.com>
Organization: Wipro Technologies
Message-ID: <39C0561B.52A20F44@cisco.com>
References: <8pnc07$pmn$1@news.cz.js.cn>
Reply-To: vpeshkar@cisco.com

This is a multi-part message in MIME format.
- --------------7619A8EE6200A7E3CCC60D01
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Zong,

I am assuming you want the cursor position of the mouse. Here's how to do it.

The basic idea is to create input queues and attach them to the device. Then
check the
queue for a combination of conditions to see if  the mouse has moved.

1. Create Input Driver for mouse using either:
ugl8250MsMouseDevCreate - assuming you have a MS serial mouse., else use
uglPs2MouseDevCreate.
Here you will specify the queue and interrupt number related to the mouse and
also port address.

2.call uglInputQEventGet to check for any new events...this can be in a low
priority task.
The elements in the queue will be in a structure of type UGL_INPUT_EVENT. You
need to extract
the x,y and 'id' from it.

More details with examples are in the Zinc manual.

Have Fun,
Vijay

zongjun wrote:

> Hi all:
> I would like to program InputMethod useing Zinc,but I don't know how to get
> cursor position.
> I'm waiting for your help.
>
> Thanks in advance!
>
> Zong

- --------------7619A8EE6200A7E3CCC60D01
Content-Type: text/x-vcard; charset=us-ascii;
 name="vpeshkar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vijay Kumar Peshkar
Content-Disposition: attachment;
 filename="vpeshkar.vcf"

begin:vcard 
n:Peshkar;Vijay Kumar
x-mozilla-html:FALSE
org:Wipro Technologies,K2, Bangalore;Wishing you blue skies, a couple of daisies, some fresh air and a smile!
adr:;;;;;;
version:2.1
email;internet:vpeshkar@cisco.com
title:Senior Software Engineer
fn:Vijay Kumar Peshkar
end:vcard

- --------------7619A8EE6200A7E3CCC60D01--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Source code archive link
Date: Thu, 14 Sep 2000 07:11:25 GMT
From: Balajee Premraj <balajee_78@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pptmi$ria$1@nnrp1.deja.com>
References: <8pnr3j$263$1@overload.lbl.gov>

In article <8pnr3j$263$1@overload.lbl.gov>,
  "Balaji  Ramachandran" <balaji.ramachandran@wipro.com> wrote:
> VxWorks Tornado
>
> Hi all,
>
> Anyone can suggest where shall I find Some example source code archive
> for PCI device access on VxWorks.
>
> Thanks & Regards,
>
> R.Bala
>
>
Hai, check out the directory, target\h\drv\pci inyour tornado
installation root ,might be useful.

- --
Balajee Premraj


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Elan 520, AMD BSP
Date: Thu, 14 Sep 2000 09:44:18 +0200
From: Dieter Schmidhuber <Dieter.Schmidhuber@dit.siemens.de>
Organization: Siemens Inc.
Message-ID: <39C081D2.5522CCA@dit.siemens.de>

Hello, hello,
is there anybody who has experience with the biosless BSP from AMD for
the Elan 520, or does anybody know an other way to work with the Elan
520 and VxWorks biosless.
Thanks



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Thu, 14 Sep 2000 10:42:49 +0300
From: Ofer Goren <ogoren@nortelnetworks.com>
Organization: Bay Networks, Inc.
Message-ID: <39C08178.C23AF43D@nortelnetworks.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com> <39BF86E7.9327DE2@mindspring.com> <8pofop$65f$1@nnrp1.deja.com> <39BFEC8C.1EFB7288@mindspring.com>



Al Johnston wrote:

> Seems like a strange thing for wrs to break... but then again, %ll may
> not
> have worked in gcc 2.7.x to begin with.  I am planing to build my own
> gcc/ppc sometimes in the near future... but I am putting it off at the
> moment.  And hoping some other nice person will post a faq/howto...
>

Well, maybe this nice person will be you. If you DO try to build the newer
compiler, can you share the steps required, with us?
Thanks,

>
> thanks for the help!
>
> -al

- --
Embedded SW Team Leader
Email       : ogoren@nortelnetworks.com
Phone number: +9723-6456023
Fax number  : +9723-6479579
ESN         : 826-6023
http://www.nortelnetworks.com
- ----------------------------------------------------
If you lend someone $20, and never see that person again,
it was probably worth the investment.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Query:VxWorks Socket Control
Date: Thu, 14 Sep 2000 11:18:23 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39C0A5EF.D0C0CDCC@ashbysoft.cix.co.uk>
References: <39BF9AA4.D722CA8A@nortelnetworks.com>

recv() can fail for a multitude of reasons, but usually the connection being
closed, or the local socket being closed. Less likely is that the buffer
address or the length is invalid, or the socket is in non-blocking mode and
would block (errno = EWOULDBLOCK).

Similar comments apply to ioctl(), particularly invalid buffer size / length.

Phil.

Pallavi Singh wrote:
> 
> I wanted to know:
> 
> 1. In what scenarios will call to recv() and ioctl() to read a socket
> would fail or return an error code?
> 
> 2. The reason why a socket control occasionally fails to be read?
> 
> Regards,
> Pallavi

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Thu, 14 Sep 2000 11:26:13 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39C0A7C4.54A3BA53@ashbysoft.cix.co.uk>
References: <39C10705.77D4E80A@hunterlink.net.au>

How does the PC send the packets? Does it reply to incoming packets from the
VxWorks board, or does it use an internally generated 'struct sockaddr_in' in
the sendto() call?

Are there any routers involved (and is the routing correct on the PC)?.

Does the PC receive packets from the VxWorks board OK?

Have you tried snooping the network traffic (Netmon is quite useful :)

Phil.

Chris Chock wrote:
> 
> I have been sending data from a Radstone PPC4A card to a PC via
> ethernet, using UDP.  When I try to receive using either "recvfrom" or
> "select" I never seem to get any UDP packets.  I know that the PC is
> transmitting 80 bytes of data at a 10 Hz rate, but my application never
> gets them.  Are there any known issues with receiving UDP packets ?
> 
> Thanks.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 14:52:41 2000
From: "Martin Mayer" <mmayer@nortelnetworks.com>
Date: Thu Sep 14 14:52:43 PDT 2000
Subject: MAC address

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C01E95.FC4FEA30
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

Where does vxWorks get the MAC address from when displaying it in the ifShow
routine?

Is it possible to modify this MAC address dynamically?

Thanks,
Martin Mayer


------_=_NextPart_001_01C01E95.FC4FEA30
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>MAC address</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Where does vxWorks get the MAC address from when displaying it in the ifShow routine?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is it possible to modify this MAC address dynamically?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Martin Mayer</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C01E95.FC4FEA30--


From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 15:05:32 2000
From: "Martin Mayer" <mmayer@nortelnetworks.com>
Date: Thu Sep 14 15:05:34 PDT 2000
Subject: Dynamically changing IP addresses

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C01E95.C7270F00
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

I would like to write a command that will change the IP address that vxWorks
uses. 

Any hints?

Thanks,
Martin Mayer




------_=_NextPart_001_01C01E95.C7270F00
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>Dynamically changing IP addresses</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I would like to write a command that will change the IP address that vxWorks uses. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any hints?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Martin Mayer</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C01E95.C7270F00--


From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 16:13:25 2000
From: Carlos Rimola <crimola@praxon.com>
Date: Thu Sep 14 16:13:28 PDT 2000
Subject: Anyone running RIP V2 out there?

Is anyone running VxWorks RIP in version 2 mode?  I just found a bug in the 
latest Wind River code that I can't imagine anyone being able to 
successfully run RIP in V2 mode.  The bug is in the ripSplitPacket function 
and will result in routes that expire after 120 seconds and a possible page 
fault due to a 0 ifp address being stored in the route entry.  E-mail me if 
you want more details and a fix..

In a related note - if you were to ship a new router product with RIP 
support, what would you default its operation (supply) to?  RIP V1 or 
V2?  Which one is more popular?  (I noticed that the RIP that ships with 
Linux defaults to RIP 1 mode).

Carlos Rimola
Sr. Software Engineer
Praxon, Inc.



From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 16:54:58 2000
From: "Jay Salerno-nonTRW" <Jay.Salerno-nonTRW@trw.com>
Date: Thu Sep 14 16:55:00 PDT 2000
Subject: Posting

I have a SBS POWERDENALI board.  Has anyone been able to get vxworks to
boot from the 2nd 8Mbyte flash part? Or, does anyone know of a TFFS
driver for the intel 28F160 flash memory part?

Thanks in advance

Jay Salerno
email:   jay.salerno-nonTrw@trrw.com
phone: 310-764-6310



From vxwexplo-errs@csg.lbl.gov  Thu Sep 14 19:30:03 2000
From: Fred Roeber <froeber@bbn.com>
Date: Thu Sep 14 19:30:05 PDT 2000
Subject: Re: hardware to monitor 32 vxworks "consols"

On Thu, 14 Sep 2000, Al Johnston <sofeise@mindspring.com> wrote:

> We would like to put together some hardware that would provide
> access to up to 32 cpu cards vxworks "console" ports.  we are
> running vxworks on mv2700/ppc cards.  The proposed "monitoring
> hardware" would connect to the "com1" port on up to 32 of these
> cards.  It should be able to display a virtual window for
> each processor.

We use Lantronix terminal servers for this. They are neat little boxes
(3" x 7" x 5") that have an ethernet connection and some number of
serial port connections (e.g 8, 12 or 16). You hook the console serial
lines on target boards to different serial ports on the Lantronix box.
To see what is happening on the serial port, you simply telnet to
the Lantronix box (over the ethernet connection) passing it a port
number. You then see all serial traffic just as if you were connected
directly.

Different people can telnet to each of the different ports. Works great
for us. Far better than rlogin method since you get to see all the
bootup/crash type messages. The only down side is the Lantronix boxes
aren't cheap (I think they are like $1K).

Sorry, I don't buy the things for our labs so don't have the contact
info. Should be able to find it on the web though.   Fred

   |      Fred J Roeber,  BBN Systems & Technologies      |
   |    4 John Clarke Road   Middletown, RI  02842-5202   |
   |          froeber@bbn.com     401-848-3548            |
   |    Division Scientist, High Performance Computing    |



From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Fri Sep 15 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Fri Sep 15 04:03:04 PDT 2000

        Subject: IP Link-Local Address space
        Subject: rlogin or telnet vxworks Client ?
        Subject: Re: How to delay current task for some microseconds?
        Subject: ftpXfer question
        Subject: How to use socket API in pSOS
        Subject: Telecom 'Start-up' Equity Opportunities / RTOS
        Subject: Re: How to delay current task for some microseconds?
        Subject: Use of spares in WIND_TCB
        Subject: [Fwd: Bootup Times ... how long????]
        Subject: task states
        Subject: Re: printf of "long long"
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: Re: How to use socket API in pSOS
        Subject: Re: How to add hdlc to ppp
        Subject: tgtsvr
        Subject: Lint and TornadoII
        Subject: localtime function in vxWorks
        Subject: MAC address
        Subject: Dynamically changing IP addresses
        Subject: Anyone running RIP V2 out there?
        Subject: Posting
        Subject: How can I config local IP address in pSOS?
        Subject: how to allocate a block of physically contiguous memory
        Subject: synchronizing local and host sym tables
        Subject: re: hardware to monitor 32 vxworks "consols"
        Subject: TFFS problem
        Subject: Re: how to allocate a block of physically contiguous memory
        Subject: Re: Use of spares in WIND_TCB
        Subject: Re: task states
        Subject: Re: How can I config local IP address in pSOS?
        Subject: Re: How to use socket API in pSOS
        Subject: Re: how to allocate a block of physically contiguous memory
        Subject: VGA controller on MBX860
        Subject: Re: how to allocate a block of physically contiguous memory
        Subject: Re: Lint and TornadoII
        Subject: Re: tgtsvr

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: IP Link-Local Address space
Date: Thu, 14 Sep 2000 11:14:11 +0100
From: keith.wood@epid.eurotherm.co.uk
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009141020.LAA22061@castor.epid.eurotherm.co.uk>

Does any version of VxWorks support use of the Link-Local 
address space (169.254/16) as an extension to DHCP?

If yes - which versions?

If no - does anyone know if there are plans to incorporate it in any 
future versions?


Keith Wood
- -------------------------
e-mail work: keith.wood@epid.eurotherm.co.uk
       home: genius@the-wood-family.org.uk
phone: work: +44 1903 205277

My views are not my own - they are 
the intellectual property of my employer


---------------------------

Newsgroups: comp.os.vxworks
Subject: rlogin or telnet vxworks Client ?
Date: Thu, 14 Sep 2000 12:19:09 GMT
From: "Phil" <pzevitas@world.std.com>
Organization: The World @ Software Tool & Die
Message-ID: <G0vn9I.BvM@world.std.com>
Sender: news@world.std.com (Mr Usenet Himself)

My company is looking for a telnet or rlogin client for Tornado 2.0 -
VxWorks 5.4.


Thanks,
Phil



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Thu, 14 Sep 2000 14:44:35 +0200
From: Leif Thuresson <leif.thuresson@tsl.uu.se>
Organization: TSL
Message-ID: <39C0C833.30D8C2C9@tsl.uu.se>
References: <8pkh2c$bgi$1@schbbs.mot.com>
Reply-To: leif.thuresson@tsl.uu.se

This is a multi-part message in MIME format.
- --------------22C0C1F50E2107BD3FEA4243
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Li Xin wrote:

> I am writing a device driver under VxWorks and need a means to delay current
> task for some microseconds. I know taskDelay() can delay current task, but
> that will delay at least one tick which I think is too long for our driver.
> Is there any method to delay current task for some microseconds?

I a few years back Geoffrey Espin posted this
a self calibrating delay routine on the vxWorks exploder.
It's the next best thing to a hardware timer.
The first call to the delay routine takes a long time because
it then does the calibration. If you can't tolerate that
you can make a dummy call when installing the device driver.
You can test the accuracy on your platform with timexN.

Good luck !
- --leif

    leiff@tsl.uu.se




- --------------22C0C1F50E2107BD3FEA4243
Content-Type: text/plain; charset=us-ascii;
 name="delay.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="delay.txt"

Submitted-by espin@idiom.com Fri Dec 5 11:35:17 1997
Submitted-by: Geoffrey Espin <espin@idiom.com>

- - --MimeMultipartBoundary
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Marc, et al,

> Submitted-by marc@onion.jhuapl.edu Fri Dec 5 07:26:18 1997
> We are using vxWorks 5.1.1 and are using a clock rate of 100 ticks/msec,
> we would like to switch to a higher clock rate (1000ticks/msec) and need
> to know if/how using a higher clock rate might negatively impact performance.

Obviously the more interrupts per second from any source will
cost you something. A 1000/sec on lots of CPUs these days is probably
not a big deal. If an interrupt costs you 5 microseconds:

1000 * 5 usec = 5 millisecs of mostly wasted time every second

But note that you cannot use taskDelay() from an interrupt handler! :-)

Attached is a portable sub-clock tick "hard" (busy loop) delay[>]
library.
I can't believe how many times I've seen code like (bletch!):

for (ix = 0; ix < 0x40000; ix++) ; /* spin wheels for 20 usecs (I hope)
*/

WRS does supply nanosleep() but is actually limited to system clock rate
usually I think.

Attached are my delayLib.c and delayLib.h. If you have any
suggestions or improvments let me know: espin@idiom.com.

Geoff
- - --
Geoffrey Espin espin@idiom.com
- - --

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
/* delayLib.c - self-calibrating hard delay routines */

/*
modification history
- - --------------------
27Mar96,espin written.
*/

/*
DESCRIPTION
This module provides "hard" [<]delay[>] routines for micro and
millisecond
periods.

EXAMPLE
.CS
- - -> delayMsec (1); /@ very first call used for calibration @/
- - -> timexN delayMsec, 10
timex: 75 reps, time per rep = 9555 +/- 222 (2%) microsecs
value = 59 = 0x3b = ';'
- - ->
.CE

The routines sysClkRateGet() and tickGet() are used to calibrate
the timing loop the first time either routine is called. Therefore,
the first call is much longer than requested. If the system clock
rate is changed, a new calibration must be explicitly made by
passing a negative [<]delay[>] duration.

INTERNAL
A one-shot timer could provide high resolution sub-clock tick
delay... but then this would be board dependent.
*/

#include "vxWorks.h"
#include "tickLib.h"
#include "sysLib.h"

#define DEBUG FALSE

   void delayUsec (unsigned int u);
   void delayMsec (unsigned int m);

/*******************************************************************************
*
* delayUsec - hard [<]delay[>] for <u> microseconds
*
* RETURNS: N/A
*/

#if DEBUG
int delayLoop = 0;
#endif /* DEBUG */

   void delayUsec
   (
   unsigned int u /* # of microsecs */
   )
   {
      #if !DEBUG
      static int delayLoop = 0;
      #endif /* !DEBUG */
      int ix;
      int iy;
   
      if (delayLoop == 0 || u == 0xffffffff) /* need calibration? */
      {
         int maxLoop;
         int start = 0;
         int stop = 0;
         int mpt = (1000 * 1000) / sysClkRateGet (); /* microsecs per
tick */
      
         for (delayLoop = 1; delayLoop < 0x1000 && stop == start;
delayLoop<<=1)
         {
            for (stop = start = tickGet (); start == stop; start =
tickGet ())
               ; /* wait for clock turn over */
         
            delayUsec (mpt); /* single recursion */
            stop = tickGet ();
         }
      
         maxLoop = delayLoop / 2; /* loop above overshoots */
         #if DEBUG
         printf ("maxLoop = %d\n", maxLoop);
         #endif /* DEBUG */
         start = 0;
         stop = 0;
         if (delayLoop < 4)
            delayLoop = 4;
         for (delayLoop /= 4; delayLoop<maxLoop && stop == start;
delayLoop++)
         {
            for (stop = start = tickGet (); start == stop; start =
tickGet ())
               ; /* wait for clock turn over */
         
            delayUsec (mpt); /* single recursion */
            stop = tickGet ();
         }
      #if DEBUG
      printf ("delayLoop = %d\n", delayLoop);
      #endif /* DEBUG */
      }
   
      for (iy = 0; iy < u; iy++)
      {
         for (ix = 0; ix < delayLoop; ix++)
            ;
      }
   }
/*******************************************************************************
*
* delayMsec - hard [<]delay[>] for <m> milliseconds
*
* RETURNS: N/A
*/

   void delayMsec
   (
   unsigned int m /* # of millisecs */
   )
   {
      delayUsec (m * 1000);
   }



Here's the include file:


/* delayLib.h - self-calibrating hard [<]delay routines header file */

/*
modification history
- - --------------------
27Mar96,espin written.
*/

#ifndef __INCdelayLibh
#define __INCdelayLibh

#if defined(__STDC__) || defined(__cplusplus)
   extern void delayUsec (unsigned int u);
   extern void delayMsec (unsigned int m);
#else
extern void delayUsec ();
extern void delayMsec ();
#endif /* __STDC__ || __cplusplus */

#endif /* __INCdelayLibh */



- --------------22C0C1F50E2107BD3FEA4243--


---------------------------

Newsgroups: comp.os.vxworks
Subject: ftpXfer question
Date: Thu, 14 Sep 2000 12:46:26 GMT
From: rohitkapur@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pqhas$hmb$1@nnrp1.deja.com>

Hi:

I am writing an ethernet driver for the AMD79C940 LAN chip for the 386EX
 processor using Tornado 1.0.1.  I am trying to perform simple FTP tests
to verify that my ethernet driver is working correctly.  I am using the
'ftpXfer' function.  I wanted to know if anyone knows if there are any
bugs with the 'ftpXfer' function that vxWorks 5.3 uses.  If anyone can
provide me assistance with this, i would appreciate it very much.

Thanks,

Rohit


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: How to use socket API in pSOS
Date: 14 Sep 2000 14:26:27 GMT
From: Jun Chen <jchen@chat.carleton.ca>
Organization: Carleton University
Message-ID: <39C0E013.418D549C@chat.carleton.ca>
Reply-To: jchen@chat.carleton.ca

what lib should I link with the program using socket?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Telecom 'Start-up' Equity Opportunities / RTOS
Date: Thu, 14 Sep 2000 14:57:49 GMT
From: careers@trisearch.com
Organization: FlashNet Communications, http://www.flash.net
Message-ID: <39c0e2ab.4722246@news.flash.net>

This message is to advise users of VxWorks or other
RTOS that we are currently looking for Software 
engineers with 3+ years experience in Real time 
embedded software design and development for
Telecom or Datacom applications.  

Our clients are fully venture capital funded Telecom
start-up companies as well as established Telecom 
companies.  

Top salaries to $120K (DOE) plus incentive bonuses
with generous stock options and full benefits and 
relocation packages are offered for this experience.  
These opportunities are truly exceptional 'career enhancing'
positions.  

TRI has played a key part in staffing some of the most 
successful start-up and established telecom companies
in the country.
If you have an interest in surveying these opportunities:
Please respond in strictest confidence to:
TRI
972/424-6076(fax)
careers@trisearch.com
www.trisearch.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Thu, 14 Sep 2000 14:46:55 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pqocm$qnm$1@nnrp1.deja.com>
References: <8pkh2c$bgi$1@schbbs.mot.com> <39C0C833.30D8C2C9@tsl.uu.se>

In article <39C0C833.30D8C2C9@tsl.uu.se>,
  leif.thuresson@tsl.uu.se wrote:
> I a few years back Geoffrey Espin posted this
> a self calibrating delay routine on the vxWorks exploder.
> It's the next best thing to a hardware timer.

...{most code snipped}
>       for (iy = 0; iy < u; iy++)
>       {
>          for (ix = 0; ix < delayLoop; ix++)
>             ;
>       }

3 questions here:

Don't modern processors render this type of timing completely
unfeasable? With pipelinging, instruction caches and speculative
execution etc. combined with possible task switches, How do you know
that the later runs of this code bear any relation time-wise to the
calibration run?

If I want to optimize my code, what's to stop the compiler from
optimizing these loops into a couple of assignments?

Thirdly: What happens if the calling task get switched out for a higher
priority task during the "delay"? There's no accounting for this extra
time that I see. When the calling task resumes, it will keep on looping
until the end. Depending on what you wanted the delay for, I guess this
might not always be a big problem.

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Use of spares in WIND_TCB
Date: Thu, 14 Sep 2000 11:04:18 -0400
From: "Joe Ott" <joe.ott@dialogic.com>
Organization: Verio
Message-ID: <ZN5w5.1151$l35.16657@iad-read.news.verio.net>

Hello,

I have the need to pass an arguement to a task after it has been spawned. On
inspection of the WIND_TCB I found spare1. Using spare1 would allow me to
pass a one time arguement to a task with little overhead.

My question is, are there some rules about using spare1 (or the other
spares) that I need to be aware of? So far things work fine, but I hate to
use spare1 blindly incase VxWorks uses it or will use it in the future.

Joe



---------------------------

Newsgroups: comp.os.vxworks
Subject: [Fwd: Bootup Times ... how long????]
Date: Thu, 14 Sep 2000 17:23:29 +0100
From: Derek Cassidy <Derek.Cassidy@cs.tcd.ie>
Organization: TCD, Ireland (post does not reflect views of Trinity College)
Message-ID: <39C0FB81.594411DD@cs.tcd.ie>



Derek Cassidy wrote:

> Can anyone tell me how long it takes some of the RTOS's to boot up, like
>
> Hard Hat Linux and QNX and vxworks??
>
> does anyone know of any sites on the web comparing bootup times on
> different RTOS??
>
> Derek


---------------------------

Newsgroups: comp.os.vxworks
Subject: task states
Date: Fri, 15 Sep 2000 01:20:25 +0900
From: "" <sjbyun@mobiis.com>
Organization: Korea Telecom
Message-ID: <8pqtlv$eqp$1@news2.kornet.net>

1. In VxWorks, task states are READY, PEND, DELAY, SUSPEND, etc...
   Is not there RUNNING state?

2. At calling taskActivate(),  task become RUNNING state or READY state?

3. In preemptive priority scheduling, when dose scheduler occure?
 3.1 When the higher priority task become READY state, is scheduler directly
occured? or  any other case?

4. In round robin scheduling,  Is the time called scheduler end of
timeslice?
  4.1 In case POSIX, althought timeslice is left  when calling wait(),  O/S
invokes scheduler by force.
       In case VxWorks, when scheduler is called  by force like above?
      or  Is not there any case to make tasks running by force?

5. In signal mechanism,  Dose target task become directly RUNNING state? or
only READY state when signal occures?



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Thu, 14 Sep 2000 17:32:44 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pr23r$7oi$1@nnrp1.deja.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com> <39BF86E7.9327DE2@mindspring.com> <8pofop$65f$1@nnrp1.deja.com> <39BFEC8C.1EFB7288@mindspring.com> <39C08178.C23AF43D@nortelnetworks.com>

Check out the Feb 2000 issue of Embedded Systems Programming (available
online at http://www.embedded.com/2000/0002/).  There is an article with
instructions on how to build a GNU cross compiler.  I was able to follow
these instructions (with some tweaks) to get a working GCC for PowerPC
on my Linux machine at home.  This was just for fun.  I never actually
tried to run any of the code with VxWorks though there's no reason it
shouldn't work.

BTW, "%lld" was a lucky guess.  I just figured if "%ld" means long
decimal, why not "%lld" for long long decimal?

In article <39C08178.C23AF43D@nortelnetworks.com>,
  Ofer Goren <ogoren@nortelnetworks.com> wrote:
>
>
> Al Johnston wrote:
>
> > Seems like a strange thing for wrs to break... but then again, %ll
may
> > not
> > have worked in gcc 2.7.x to begin with.  I am planing to build my
own
> > gcc/ppc sometimes in the near future... but I am putting it off at
the
> > moment.  And hoping some other nice person will post a faq/howto...
> >
>
> Well, maybe this nice person will be you. If you DO try to build the
newer
> compiler, can you share the steps required, with us?
> Thanks,
>
> >
> > thanks for the help!
> >
> > -al
>
> --
> Embedded SW Team Leader
> Email       : ogoren@nortelnetworks.com
> Phone number: +9723-6456023
> Fax number  : +9723-6479579
> ESN         : 826-6023
> http://www.nortelnetworks.com
> ----------------------------------------------------
> If you lend someone $20, and never see that person again,
> it was probably worth the investment.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Thu, 14 Sep 2000 12:57:17 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39C1117D.AD435059@aps.anl.gov>
References: <39BFA9AC.C24754D1@mindspring.com> <39BFC4E8.55B26F9F@aps.anl.gov> <39BFCA4A.957BDD57@mindspring.com>

Hi Al,

Al Johnston wrote:
> 
> Your "blast tas" code is one reason why I wanted to set this up.
> I had a failure after three days... no msg was written to the
> screen (a xterm with a rsh to the target)... I think it was
> a "network timeout" issue rather than a real failure, but I
> am not sure.

There've been some other postings here recently about network problems on
PPC that might explain your fault - from what you said above it sounds
like you might have experienced one of these rather than a TAS failure -
my test code should recognise any faults in the TAS actions and report
them.

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to use socket API in pSOS
Date: Thu, 14 Sep 2000 12:20:18 -0500
From: Steven Deans <steven.deans@fnc.fujitsu.com>
Organization: Fujitsu Companies of North America
Message-ID: <39C108D2.DFA402E6@fnc.fujitsu.com>
References: <39C0E013.418D549C@chat.carleton.ca>

Jun Chen wrote:

> what lib should I link with the program using socket?

Assuming pSOS builds the same for all targets. Use pNA which is part of
the OS library. You have to "turn on" pNA in sys_conf.h and have
installed pNA.

Steven



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to add hdlc to ppp
Date: Thu, 14 Sep 2000 18:22:31 GMT
From: xltan@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pr50f$bgn$1@nnrp1.deja.com>

Hi,

I'm interested in finding out the following with the suggested
approach for doing sync hdlc via VxWorks' ppplib.

Will there be a performance bottleneck on ppp over hdlc
driver when it internally is based on and limited by tty
type interface processing (char-by-char based) provided
by VxWorks' ppplib?


Is there any interoperability issue of VxWorks ppplib
with other vendor's PPP implementations? The VxWorks's pppLib
only implemented RFC1548 which has been obsoleted by
RFC1661 and it doesn't include RFC1662 (PPP in HDLC-like
framing) either.


Thanks for sharing.

/Stephen


 Subject:
       Re: How to add hdlc to ppp
 Date:
       07/12/2000
 Author:
       Nick Gagnon <nick_gagnon@mitel.com>


                                                                      <<
previous in search    next in search >>

 Hi kathy,

 We are doing similar work here. One solution that came up it that you
make your hdlc driver looks like a serial driver.  Then when you will
select
 which device you will be using for ppp it will be transparent to it.

 There is other solution then the one I propose you, but they are not
easy path and for now is as been giving us a hell of trouble


 --


 Regards

 Nick Gagnon

 Mitel Corporation
 350 Legget Drive
 P.O. Box 13089
 Kanata, Ontario
 Canada K2K 2W7

 Tel: (613) 592-2122 Ext 1797
 Fax: (613) 592-4784
 E-mail : nick_gagnon@mitel.com



 "kathy" <v1368@ms16.hinet.net> wrote in message
 news:8kep8u$fmf@netnews.hinet.net...
 >
 > Hi,
 > Now I want to add  synchrous hdlc to vxworks PPP interface.
 > I check pppinit system call .It just supports uart.
 > How to do synchrous hdlc to vxworks PPP interface.
 > Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: tgtsvr
Date: 14 Sep 2000 21:10:22 +0200
From: srinivas_000@rediffmail.com ("srinivas  kumar")
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <20000914121058.26449.qmail@mailweb8.rediffmail.com>

hello everyone,

   whever i try to configure and launch the target server
 on the host win NT, the following thing is seen in the log console.

    Connecting to target agent... 
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent... 
    Error: rpccore backend client Timed out
failed.
    

   please do inform me about the cause of this error and the possible solutions.

   thanks in advance,
                             --srinu
                                  


_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html




- --
Posted from IDENT:qmailr@[202.54.124.153] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: Lint and TornadoII
Date: Thu, 14 Sep 2000 21:57:13 +0100
From: "Andy Kirby" <andy@yikes-a.demon.co.uk>
Organization: BT Internet
Message-ID: <8pre3g$2tm$1@neptunium.btinternet.com>

Has anyone had any experience of setting up Lint with the Tornado NT
environment? I have been trying to use Gimpel FlexeLint with T2(PPC) and
there seems to be an awful lot of setting up of the Lint switches to even
get it pass the VXWorks headers and the GNU extensions (like __attribute__
((packed)) ). If anyone can point me to a place where this has been done,
I'd appreciate any tips.

Thanks

Andy



---------------------------

Newsgroups: comp.os.vxworks
Subject: localtime function in vxWorks
Date: Thu, 14 Sep 2000 17:17:51 -0400
From: "Somesh Agrawal" <somesh_a@hotmail.com>
Organization: 3Com
Message-ID: <8prf9c$49b$1@news.ne.3com.com>

Is there a way to setup local time zone to something other than "GMT", so
that
localtime and gmtime give different output.

Thanks,
S.A



---------------------------

Newsgroups: comp.os.vxworks
Subject: MAC address
Date: Thu, 14 Sep 2000 17:51:49 -0400
From: "Martin Mayer" <mmayer@nortelnetworks.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8prikj$865$1@overload.lbl.gov>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C01E95.FC4FEA30
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

Where does vxWorks get the MAC address from when displaying it in the ifShow
routine?

Is it possible to modify this MAC address dynamically?

Thanks,
Martin Mayer


- ------_=_NextPart_001_01C01E95.FC4FEA30
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>MAC address</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Where does vxWorks get the MAC address from when displaying it in the ifShow routine?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is it possible to modify this MAC address dynamically?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Martin Mayer</FONT>
</P>

</BODY>
</HTML>
- ------_=_NextPart_001_01C01E95.FC4FEA30--

---------------------------

Newsgroups: comp.os.vxworks
Subject: Dynamically changing IP addresses
Date: Thu, 14 Sep 2000 17:50:20 -0400
From: "Martin Mayer" <mmayer@nortelnetworks.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8prikk$866$1@overload.lbl.gov>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C01E95.C7270F00
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

I would like to write a command that will change the IP address that vxWorks
uses. 

Any hints?

Thanks,
Martin Mayer




- ------_=_NextPart_001_01C01E95.C7270F00
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>Dynamically changing IP addresses</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I would like to write a command that will change the IP address that vxWorks uses. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any hints?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Martin Mayer</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
- ------_=_NextPart_001_01C01E95.C7270F00--

---------------------------

Newsgroups: comp.os.vxworks
Subject: Anyone running RIP V2 out there?
Date: Thu, 14 Sep 2000 16:09:40 -0700
From: Carlos Rimola <crimola@praxon.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <4.3.1.2.20000914143424.00b47e08@10.1.0.201>

Is anyone running VxWorks RIP in version 2 mode?  I just found a bug in the 
latest Wind River code that I can't imagine anyone being able to 
successfully run RIP in V2 mode.  The bug is in the ripSplitPacket function 
and will result in routes that expire after 120 seconds and a possible page 
fault due to a 0 ifp address being stored in the route entry.  E-mail me if 
you want more details and a fix..

In a related note - if you were to ship a new router product with RIP 
support, what would you default its operation (supply) to?  RIP V1 or 
V2?  Which one is more popular?  (I noticed that the RIP that ships with 
Linux defaults to RIP 1 mode).

Carlos Rimola
Sr. Software Engineer
Praxon, Inc.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Posting
Date: Thu, 14 Sep 2000 16:54:27 -0700
From: "Jay Salerno-nonTRW" <Jay.Salerno-nonTRW@trw.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8prplj$bcb$1@overload.lbl.gov>

I have a SBS POWERDENALI board.  Has anyone been able to get vxworks to
boot from the 2nd 8Mbyte flash part? Or, does anyone know of a TFFS
driver for the intel 28F160 flash memory part?

Thanks in advance

Jay Salerno
email:   jay.salerno-nonTrw@trrw.com
phone: 310-764-6310


---------------------------

Newsgroups: comp.os.vxworks
Subject: How can I config local IP address in pSOS?
Date: 15 Sep 2000 00:45:05 GMT
From: Jun Chen <jchen@chat.carleton.ca>
Organization: Carleton University
Message-ID: <39C17112.72847306@chat.carleton.ca>
Reply-To: jchen@chat.carleton.ca

 

---------------------------

Newsgroups: comp.os.vxworks
Subject: how to allocate a block of physically contiguous memory
Date: Fri, 15 Sep 2000 02:54:24 +0100
From: "White Weng" <whitew@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8prvgg$h8h$1@schbbs.mot.com>

Hi, anyone help me?

    Can cacheDmaMalloc() allocate a block of physically contiguous memory,
and this block includes 3 pages, in addition these 3 pages must be
physically contiguous? If there are no 3 physically contiguous pages in
current memory but there are some more pages which are not physically
configuous, it will return NULL. I wonder if the function can accomplish
this operation.  If it can that is to say, it can not only handle cache-saft
operation but also physically contiguous memory allocation.  If it can not,
who can?

Thanks very much!




---------------------------

Newsgroups: comp.os.vxworks
Subject: synchronizing local and host sym tables
Date: Fri, 15 Sep 2000 02:20:03 GMT
From: "Dragan Ostojic" <ostojic@sympatico.ca>
Organization: Sympatico
Message-ID: <nHfw5.70$3u6.20039@news20.bellglobal.com>

Hi,

I can't get synchronizing target and host symbol table to work. I boot off
the flash on the target and then I start target
server from the host. When I start target server it doesn't successfully
synchronize the tables. If somebody has done this
before I would be very grateful for help.

Regards,
Dragan.



---------------------------

Newsgroups: comp.os.vxworks
Subject: re: hardware to monitor 32 vxworks "consols"
Date: Thu, 14 Sep 2000 22:23:21 -0400 (EDT)
From: Fred Roeber <froeber@bbn.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ps472$f3e$1@overload.lbl.gov>

On Thu, 14 Sep 2000, Al Johnston <sofeise@mindspring.com> wrote:

> We would like to put together some hardware that would provide
> access to up to 32 cpu cards vxworks "console" ports.  we are
> running vxworks on mv2700/ppc cards.  The proposed "monitoring
> hardware" would connect to the "com1" port on up to 32 of these
> cards.  It should be able to display a virtual window for
> each processor.

We use Lantronix terminal servers for this. They are neat little boxes
(3" x 7" x 5") that have an ethernet connection and some number of
serial port connections (e.g 8, 12 or 16). You hook the console serial
lines on target boards to different serial ports on the Lantronix box.
To see what is happening on the serial port, you simply telnet to
the Lantronix box (over the ethernet connection) passing it a port
number. You then see all serial traffic just as if you were connected
directly.

Different people can telnet to each of the different ports. Works great
for us. Far better than rlogin method since you get to see all the
bootup/crash type messages. The only down side is the Lantronix boxes
aren't cheap (I think they are like $1K).

Sorry, I don't buy the things for our labs so don't have the contact
info. Should be able to find it on the web though.   Fred

   |      Fred J Roeber,  BBN Systems & Technologies      |
   |    4 John Clarke Road   Middletown, RI  02842-5202   |
   |          froeber@bbn.com     401-848-3548            |
   |    Division Scientist, High Performance Computing    |


---------------------------

Newsgroups: comp.os.vxworks
Subject: TFFS problem
Date: Fri, 15 Sep 2000 05:18:34 GMT
From: yanghch@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8psbes$p3h$1@nnrp1.deja.com>

I want to mount True FFS on my flash device which is MT28F400B1wg.And
my BSP is MCP750,but its TFFS doesn't support the flash device.The code
it provides is for 16bit flash device,but the MT28F400B1Wg is 32bit,so
it doesn't work.If you can give me some advice,I will be very glad.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to allocate a block of physically contiguous memory
Date: Fri, 15 Sep 2000 05:47:53 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8psd65$qvj$1@nnrp1.deja.com>
References: <8prvgg$h8h$1@schbbs.mot.com>

Hi,

Simple answer to this... all memory allocations are physically
contiguous since the memory is 1:1 mapped (i.e. physical address =
virtual address). If you ask for 12K (3 pages), then you'll get 12K
contiguous in both virtual and physical space.

HTH,

John...

In article <8prvgg$h8h$1@schbbs.mot.com>,
  "White Weng" <whitew@sc.mcel.mot.com> wrote:
> Hi, anyone help me?
>
>     Can cacheDmaMalloc() allocate a block of physically contiguous
memory,
> and this block includes 3 pages, in addition these 3 pages must be
> physically contiguous? If there are no 3 physically contiguous pages
in
> current memory but there are some more pages which are not physically
> configuous, it will return NULL. I wonder if the function can
accomplish
> this operation.  If it can that is to say, it can not only handle
cache-saft
> operation but also physically contiguous memory allocation.  If it can
not,
> who can?
>
> Thanks very much!
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Use of spares in WIND_TCB
Date: Fri, 15 Sep 2000 05:52:00 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8psddr$r96$1@nnrp1.deja.com>
References: <ZN5w5.1151$l35.16657@iad-read.news.verio.net>

Hi,

In general, you should be OK using any of the 4 spares. They are not
used by the core OS. There are some optional products and third party
products that make use of one or more of the spares however. So, use a
macro somewhere that lets you change it easily in case you buy an
optional product later that uses the one you've chosen!

HTH,

John...

PS There are also two slots labelled 'reserved' and I don't know of
anything that uses those...


In article <ZN5w5.1151$l35.16657@iad-read.news.verio.net>,
  "Joe Ott" <joe.ott@dialogic.com> wrote:
> Hello,
>
> I have the need to pass an arguement to a task after it has been
spawned. On
> inspection of the WIND_TCB I found spare1. Using spare1 would allow me
to
> pass a one time arguement to a task with little overhead.
>
> My question is, are there some rules about using spare1 (or the other
> spares) that I need to be aware of? So far things work fine, but I
hate to
> use spare1 blindly incase VxWorks uses it or will use it in the
future.
>
> Joe
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: task states
Date: Fri, 15 Sep 2000 05:59:05 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8psdr2$riq$1@nnrp1.deja.com>
References: <8pqtlv$eqp$1@news2.kornet.net>

Hi,

In article <8pqtlv$eqp$1@news2.kornet.net>,
  "" <sjbyun@mobiis.com> wrote:
> 1. In VxWorks, task states are READY, PEND, DELAY, SUSPEND, etc...
>    Is not there RUNNING state?


There is no 'running' state; the highest priority 'ready' task runs.

> 2. At calling taskActivate(),  task become RUNNING state or READY
state?

Ready.

> 3. In preemptive priority scheduling, when dose scheduler occure?
>  3.1 When the higher priority task become READY state, is scheduler
directly
> occured? or  any other case?

Not sure I understand your question, but basically any event in the OS
that could cause the highest priority ready task to change (e.g.
semGive(), interrupt, taskResume() and so on) will call the scheduler.
At that point, the highest priority ready task will run.

> 4. In round robin scheduling,  Is the time called scheduler end of
> timeslice?

Yes, because an event that could change the highest priority ready task
has occurred (timeslice expiration).

>   4.1 In case POSIX, althought timeslice is left  when calling wait(),
 O/S
> invokes scheduler by force.
>        In case VxWorks, when scheduler is called  by force like above?
>       or  Is not there any case to make tasks running by force?

If the current running task blocks (i.e. changes from ready to pend,
delay or even suspend) then the scheduler will of course be called since
something needs to work out which task to run next...


> 5. In signal mechanism,  Dose target task become directly RUNNING
state? or
> only READY state when signal occures?

The signal handler will run with the same priority as the task which
received it. There is no running state.

HTH,

John...

>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How can I config local IP address in pSOS?
Date: Fri, 15 Sep 2000 08:20:26 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8psfbt$kh7$15$1@news.t-online.com>
References: <39C17112.72847306@chat.carleton.ca>

Hello Jun,
wrong newsgroup.
Try comp.os.psos

- --

Martin Raabe




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to use socket API in pSOS
Date: Fri, 15 Sep 2000 08:23:55 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8psfbu$kh7$15$2@news.t-online.com>
References: <39C0E013.418D549C@chat.carleton.ca>

Hello Jun,
please use the newsgroup comp.os.psos

The answer is, that the Network is named pNA+.
There is a config file in each project called sys_conf.h where you can
switch pNA+ on by
#define SC_PNA YES
If you have pNA+ installed (standard pRISM+ delivery contains it) then
everything to be done is to recompile/link by
psosmake clean;psosmake

The system library contains pNA+ libraries by default.
- --
Martin Raabe

Jun Chen <jchen@chat.carleton.ca> schrieb in im Newsbeitrag:
39C0E013.418D549C@chat.carleton.ca...
> what lib should I link with the program using socket?



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to allocate a block of physically contiguous memory
Date: Fri, 15 Sep 2000 07:49:01 +0100
From: "White Weng" <whitew@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8psgp0$19$1@schbbs.mot.com>
References: <8prvgg$h8h$1@schbbs.mot.com> <8psd65$qvj$1@nnrp1.deja.com>

Thanks very much first,

But if the physical memory are equivalent to virtual memory, why those macro
are difined, such as  CACHE_DMA_VIRT_TO_PHYS(address) and
CACHE_DMA_PHYS_TO_VIRT(address).

Regard!

White Weng


john_94501@my-deja.com wrote in message <8psd65$qvj$1@nnrp1.deja.com>...
>Hi,
>
>Simple answer to this... all memory allocations are physically
>contiguous since the memory is 1:1 mapped (i.e. physical address =
>virtual address). If you ask for 12K (3 pages), then you'll get 12K
>contiguous in both virtual and physical space.
>
>HTH,
>
>John...
>
>In article <8prvgg$h8h$1@schbbs.mot.com>,
>  "White Weng" <whitew@sc.mcel.mot.com> wrote:
>> Hi, anyone help me?
>>
>>     Can cacheDmaMalloc() allocate a block of physically contiguous
>memory,
>> and this block includes 3 pages, in addition these 3 pages must be
>> physically contiguous? If there are no 3 physically contiguous pages
>in
>> current memory but there are some more pages which are not physically
>> configuous, it will return NULL. I wonder if the function can
>accomplish
>> this operation.  If it can that is to say, it can not only handle
>cache-saft
>> operation but also physically contiguous memory allocation.  If it can
>not,
>> who can?
>>
>> Thanks very much!
>>
>>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: VGA controller on MBX860
Date: Fri, 15 Sep 2000 09:53:04 GMT
From: francescotorre1965@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8psrht$9j2$1@nnrp1.deja.com>

Hello,
we are using a MBX860 (Motorola) with vxworks os;
it is equipped with a QSPAN cpu to pci bridge;
we need to configure the card in order to plug a PC104+
VGA controller (with CT 65550).
We have found the pciDevConfig function but we don't
understand if it is enough to correctly configure the chip and
how we have to set the parameters (mem space, io space, irq).
We need also to integrate the WindRiver (Zinc) UGL module
purchased with the os ..., what we have to do?
Since we're very unskilled with PCI and PCI peripheral
configuration we'd like to know where find documentation on
these arguments (downloadable manuals, web sites, software examples
and so on).
                Thanks!


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to allocate a block of physically contiguous memory
Date: Fri, 15 Sep 2000 11:08:15 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39C1F50F.BD8EA004@ashbysoft.cix.co.uk>
References: <8prvgg$h8h$1@schbbs.mot.com> <8psd65$qvj$1@nnrp1.deja.com> <8psgp0$19$1@schbbs.mot.com>

WRS recommend that physical and virtual memory are the same, but it isn't
a requirement to run VxWorks. Also shared memory buses have memory mapping
arrangements (eg: VME address spaces) which need to be dealt with.

Phil.

White Weng wrote:
> 
> Thanks very much first,
> 
> But if the physical memory are equivalent to virtual memory, why those macro
> are difined, such as  CACHE_DMA_VIRT_TO_PHYS(address) and
> CACHE_DMA_PHYS_TO_VIRT(address).
> 
> Regard!
> 
> White Weng
> 
> john_94501@my-deja.com wrote in message <8psd65$qvj$1@nnrp1.deja.com>...
> >Hi,
> >
> >Simple answer to this... all memory allocations are physically
> >contiguous since the memory is 1:1 mapped (i.e. physical address =
> >virtual address). If you ask for 12K (3 pages), then you'll get 12K
> >contiguous in both virtual and physical space.
> >
> >HTH,
> >
> >John...
> >
> >In article <8prvgg$h8h$1@schbbs.mot.com>,
> >  "White Weng" <whitew@sc.mcel.mot.com> wrote:
> >> Hi, anyone help me?
> >>
> >>     Can cacheDmaMalloc() allocate a block of physically contiguous
> >memory,
> >> and this block includes 3 pages, in addition these 3 pages must be
> >> physically contiguous? If there are no 3 physically contiguous pages
> >in
> >> current memory but there are some more pages which are not physically
> >> configuous, it will return NULL. I wonder if the function can
> >accomplish
> >> this operation.  If it can that is to say, it can not only handle
> >cache-saft
> >> operation but also physically contiguous memory allocation.  If it can
> >not,
> >> who can?
> >>
> >> Thanks very much!
> >>
> >>
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Lint and TornadoII
Date: Fri, 15 Sep 2000 12:25:30 +0200
From: "Matthias Guelck" <Matthias.Guelck@de.heidelberg.com>
Organization: Heidelberg Digital
Message-ID: <8pstlq$vfb$1@news.hdpp.de>
References: <8pre3g$2tm$1@neptunium.btinternet.com>

Hello Andy,

we are using PC-lint 7.5 to check our VxWorks projects for two years now, using
a lint parameter file with the following contents:

- -----------------------------------------------------------------------------

- -A                            /* ANSI-C checking                           */
+fdi                          /* begin include search at including file    */
+fcp                          /* use c++ not only for cpp and cxx ext.     */
+fcu                          /* character is unsigned                     */
+fva                          /* variable argument size                    */
+fwc                          /* wchar_t is built in type                  */
+ppw(option)                  /* add preprocessor word <option>            */
- -si4                          /* Integers are 4 Byte long                  */
- -sl4                          /* Longs are 4 Byte long                     */
- -sp4                          /* Pointers are 4 Byte long                  */
- -t2                           /* Tab size is 2                             */
- -v                            /* turn off all verbosity messages           */

- -width(0,3)                   /* Output format no breaking and indent 3    */
- -hsb#3                        /* Error display format                      */
- -"format=%f(%l): Error %n: %m"/* Error message format                      */



- -elib(???)                    /* I can`t fix errors in library headers     */

- -e537                         /* repeated include is controlled by #ifdev  */
- -e716                         /* while(1) is ok!                           */
- -e783                         /* file end without new line is ok           */
- -e765                         /* external could be made static             */

/* NOT REFERENCED (see weak defines; check at end of project) */
- -e714                         /* function not referenced                   */
- -e749                         /* local enumeration constant not referenced */
- -e750                         /* local macro not referenced                */
- -e751                         /* local typedef not referenced              */
- -e752                         /* local declarator not referenced           */
- -e753                         /* local struct, union or enum tag not ref.  */
- -e754                         /* local structure member not referenced     */
- -e755                         /* global macro not referenced               */
- -e756                         /* global typedef not referenced             */
- -e757                         /* global declarator not referenced          */
- -e758                         /* global struct, union or enum tag not ref. */
- -e768                         /* global structure member not referenced    */
- -e769                         /* global enumeration constant not ref.      */
- -e1714                        /* member function not referenced            */
- -e1715                        /* static member not referenced              */
- -e1716                        /* virtual member function not referenced    */
- -e1750                        /* local template not referenced             */
- -e1755                        /* global template not referenced            */


- -esym(1512, unary_function<*>)         /* from stl in file stl_function.h  */
- -esym(1512, binary_function<*>)        /*            - "" -                */


- -emacro(611,clearerr)         /* ignore errors in macro                    */
- -emacro(666,clearerr)         /* ignore errors in macro                    */
- -emacro(740,clearerr)         /* ignore errors in macro                    */

- -emacro(534,putc)             /* ignore errors in macro                    */
- -emacro(611,putc)             /* ignore errors in macro                    */
- -emacro(666,putc)             /* ignore errors in macro                    */
- -emacro(740,putc)             /* ignore errors in macro                    */

- -emacro(534,putchar)          /* ignore errors in macro                    */
- -emacro(611,putchar)          /* ignore errors in macro                    */
- -emacro(666,putchar)          /* ignore errors in macro                    */
- -emacro(734,putchar)          /* ignore errors in macro                    */
- -emacro(740,putchar)          /* ignore errors in macro                    */

- -emacro(534,getchar)          /* ignore errors in macro                    */
- -emacro(611,getchar)          /* ignore errors in macro                    */
- -emacro(666,getchar)          /* ignore errors in macro                    */
- -emacro(740,getchar)          /* ignore errors in macro                    */

- -emacro(611,feof)             /* ignore errors in macro                    */
- -emacro(740,feof)             /* ignore errors in macro                    */

- -emacro(611,ferror)           /* ignore errors in macro                    */
- -emacro(740,ferror)           /* ignore errors in macro                    */

- -emacro(611,fileno)           /* ignore errors in macro                    */
- -emacro(613,fileno)           /* ignore errors in macro                    */
- -emacro(666,fileno)           /* ignore errors in macro                    */
- -emacro(740,fileno)           /* ignore errors in macro                    */

- -emacro(611,__sfileno)        /* ignore errors in macro                    */
- -emacro(613,__sfileno)        /* ignore errors in macro                    */
- -emacro(666,__sfileno)        /* ignore errors in macro                    */
- -emacro(740,__sfileno)        /* ignore errors in macro                    */

- -emacro(  26,va_start)        /* ignore errors in macro                    */
- -emacro( 522,va_start)        /* ignore errors in macro                    */
- -emacro( 534,va_start)        /* ignore errors in macro                    */
- -emacro( 746,va_start)        /* ignore errors in macro                    */
- -emacro(1055,va_start)        /* ignore errors in macro                    */


/*
**  Ignore these constructs..
*/
- -d__extension__()             /* for va_xxx macros                         */
- -d__attribute__=;             /* from stl in file exception part one       */
- -d((__noreturn__))=;          /*          - "" -            part two       */
- -d_IH=
- -d_SWI=
- -d_TRAP()=
- -d_SPL()=
- -d_GPL()=

/*  The following functions exhibit variable return modes.
**  That is, they may equally-usefully be called for a value
**  as called just for their effects.  Accordingly we inhibit
**  Warning 534 for these functions.
**  Feel free to add to or subtract from this list.
*/
- -esym(534,close,creat,fclose,fprintf,fputc)
- -esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset)
- -esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy)
- -esym(534,strncat,strncpy,unlink,write)
- -esym(534,cprintf,CTerminalIO::cprintf,printErr,xfclose)

- -----------------------------------------------------------------------------

The important line is -elib(???) which instructs lint to ignore all errors in
header files included with the <> brackets. If you include all the VxWorks
headers with <> you will get rid of the error messages caused by the famous Wind
River programmers.
Since macros are resolved within your source file, you also have to ignore
errors related to the macro resolutions (-emacro()).
Also important is the "Ignore these constructs.." section.

Using the STL with VxWorks, we found some very crucial problems, which were
reported to gimpel support about one year ago, but still not fixed!
It seems like the same people are (un)supporting Wind River Systems and gimpel
products: help is promised, but never given ...

Matthias



"Andy Kirby" <andy@yikes-a.demon.co.uk> wrote :
> Has anyone had any experience of setting up Lint with the Tornado NT
> environment? I have been trying to use Gimpel FlexeLint with T2(PPC) and
> there seems to be an awful lot of setting up of the Lint switches to even
> get it pass the VXWorks headers and the GNU extensions (like __attribute__
> ((packed)) ). If anyone can point me to a place where this has been done,
> I'd appreciate any tips.
>
> Thanks
>
> Andy
>
>


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tgtsvr
Date: Fri, 15 Sep 2000 06:42:04 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39C2272C.C4834D44@lmco.com>
References: <20000914121058.26449.qmail@mailweb8.rediffmail.com>

	For a start, plug into the target's serial port and watch the boot
process.  Does it end with something like 'wdb ready'?  Can you ping the
target?
Is there a gateway between you and the target?  The msg basically says
that it 
is having trouble talking to the target machine.  It is possible to get
similar
msgs if the tgtserver parameters are wrong.

Speaking only for myself,

Joe Durusau


srinivas kumar wrote:
> 
> hello everyone,
> 
>    whever i try to configure and launch the target server
>  on the host win NT, the following thing is seen in the log console.
> 
>     Connecting to target agent...
>     Error: rpccore backend client Timed out
> failed.
>     Connecting to target agent...
>     Error: rpccore backend client Timed out
> failed.
> 
> 
>    please do inform me about the cause of this error and the possible solutions.
> 
>    thanks in advance,
>                              --srinu
> 
> 
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
> 
> For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html
> 
> --
> Posted from IDENT:qmailr@[202.54.124.153]
> via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 05:58:05 2000
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Date: Fri Sep 15 05:58:08 PDT 2000
Subject: PCI Sample Codes Needed

Hi All,

I am looking looking for example code(Partial or full source code) in
acessing PCI device
in VxWorks, such as

1.How to read a register from a device attached to Bus-1.
2.How to write a register from a device attached to Bus-1.
3.How to write ISR, if Device on the Bus-1 is connected to #INTA, line.

Assume some device / vendor ids, and assume the device is single
function
device, device has been auto configured.

Please send the code examples ASAP.

Thanks & Regards,

R.Balaji.






From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 06:00:32 2000
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Date: Fri Sep 15 06:00:35 PDT 2000
Subject: PCI Sample code needed

VxWorks Tornado

Hi All,

I am looking looking for example code(Partial or full source code) in
acessing PCI device in VxWorks, such as

1.How to read a register from a device attached to Bus-1.
2.How to write a register from a device attached to Bus-1.
3.How to write ISR, if Device on the Bus-1 is connected to #INTA, line.

Assume some device / vendor ids, and assume the device is single
function
device, device has been auto configured.

Please send the code examples ASAP.

Thanks & Regards,

R.Balaji.






From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 06:41:38 2000
From: John Moore <jmoore@argoneng.com>
Date: Fri Sep 15 06:41:40 PDT 2000
Subject: Re: Dynamically changing IP addresses

Try
    ifAddrSet()


the vxWorks Users Group Exploder wrote:

>
> Submitted-by: "Martin Mayer" <mmayer@nortelnetworks.com>
>
>
>
> Hi,
>
> I would like to write a command that will change the IP address that vxWorks
> uses.
>
> Any hints?
>
> Thanks,
> Martin Mayer
>





From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 06:54:32 2000
From: Jim Way <Jway@datum.com>
Date: Fri Sep 15 06:54:34 PDT 2000
Subject: RE: MAC address

Martin,

> Where does vxWorks get the MAC address from when displaying it in
> the ifShow routine?
>
> Is it possible to modify this MAC address dynamically?
>
> Thanks,
> Martin Mayer

On my system, I trace from my code, which calls sysCpmEnetAddrGet(), into
the \Tornado2 directory. In file ppc860TEnd.h I find the definition of this
routine, which appears to be a macro. The local code documentation suggests
this gets down into the BSP. Or were you looking for something more
specific? I'm pretty certain that the MAC address is placed in a specially
reserved piece of non-volatile memory. My hardware guy suggested at one time
that this address is loaded onto the board during manufacturing. The numbers
come from a block of MAC addresses that we received from a registration
process (I don't have a contact for you on that).

Regarding your second question, it might be physically possible to write
some code to change the MAC address dynamiclly, but I don't think it would
be a good idea. As I understand it, the MAC address is used in the TCP and
IP layers to uniquely identify a specific device. Very Bad Things can happen
if you change your MAC address on the fly, or if you have two or more
devices with the same MAC address. My suggestion would be to re-examine the
reason you want to do this. You may be able to implement your requirement in
a different manner.

In your other post, you asked:

> I would like to write a command that will change the IP address 
> that vxWorks uses. 

Try the ifAddrSet() method. Here's the call as we use it: ifAddrSet("cpm0",
(LPCSTR)newAddress) == OK).

HTH,
Jim
-----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
-----------------------------------------



From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 08:01:07 2000
From: "Jin, Yucheng (HT-EX)" <YJin@GI.com>
Date: Fri Sep 15 08:01:09 PDT 2000
Subject: Is floating point operation re-entrant in vxworks

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C01F25.AB3FF3C0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi, 

Is floating point operation re-entrant in VxWorks 5.3.1?  Is this CPU
dependent or not?  Thanks in advance.

Regards,
Yucheng Jin
BCS, Motorola

------_=_NextPart_001_01C01F25.AB3FF3C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Is floating point operation re-entrant in vxworks</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi, </FONT>
</P>

<P><FONT SIZE=3D2>Is floating point operation re-entrant in VxWorks =
5.3.1?&nbsp; Is this CPU dependent or not?&nbsp; Thanks in =
advance.</FONT>
</P>

<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Yucheng Jin</FONT>
<BR><FONT SIZE=3D2>BCS, Motorola</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C01F25.AB3FF3C0--


From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 10:37:38 2000
From: jgou@minervanetworks.com (Jim Gou)
Date: Fri Sep 15 10:37:40 PDT 2000
Subject: Visual Studio Editor

Hi All,

As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
wonderful.  Microsoft Visual Studio is a good alternative to it for
searching, class view, source browser...

Now I have problem on VxWorks .cc files.  MS Visual Studio doesn't recognize
them!

Do you know how I could customize to define .cc files as .cpp in MS Visual
Studio so that its "source browser" and "class view" features could be
utilized?

Your help is very appreciated,

Jim Gou
Minerva Networks
(408)904-1218





From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 10:50:06 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Fri Sep 15 10:50:09 PDT 2000
Subject: RE: MAC address

Martin,
> 
> Where does vxWorks get the MAC address from when displaying it in
> the ifShow routine?

From the if_net[] structure :-)

This is filled in by with the value returned by the END driver in response to an 
EIOCGADDR ioctl issued when the driver is initialised.

The ethernet device driver will get it from some part of the system hardware, 
typicallly a serial EEPROM on the network card.
>
> Is it possible to modify this MAC address dynamically?

Depends how much hacking you want to do...

Realise that you need to get:
1) the ethernet hardware to accept packets for the new address
2) the ethernet driver to add the correct source address to outward packets
3) ARP to respond with the new address to arp requests
4) remote systems to change their ARP tables so that responses are sent to
   your new address.

1 and 2 can be done with the driver source, maybe there is an EIOC ioctl to do 
the job, maybe the driver supports it!

3 requires that you overwrite your address in the IP_DRV_CTRL structure for your 
interface

4 isn't truly possible!  Unix systems time entries out after 10 minutes (but 
don't expect windows to do this).  Sending an ARP request to everyone in your 
existing ARP table may update the remote systems table (but not in Solaris 
2.5.1).

What are you actually trying to do?

Given your other question about changing the IP address - you may be better 
adding an alias (ie a second address) - but I'm not sure vxWorks supports it 
(I've not looked).

If you are trying to get some sort of high-availability by switching systems you 
MAY manage to get things to work by having both systems with the SAME MAC 
address!  Ensure IP forwarding is disabled (or have some very complicated 
routing rules) and IP will silently discard all the packets for the other 
system!
	
	David
>
> Thanks,
> Martin Mayer
> 



----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Fri Sep 15 17:21:49 2000
From: "Mike Anderson" <mike_anderson@att.net>
Date: Fri Sep 15 17:21:52 PDT 2000
Subject: RE: Visual Studio Editor

VxWorks Greetings!

>
> As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
> wonderful.  Microsoft Visual Studio is a good alternative to it for
> searching, class view, source browser...
>
> Now I have problem on VxWorks .cc files.  MS Visual Studio
> doesn't recognize
> them!
>
> Do you know how I could customize to define .cc files as .cpp in MS Visual
> Studio so that its "source browser" and "class view" features could be
> utilized?
>
>

Yes.  Don't use the Visual Studio IDE.  Instead use the Visual Slickedit
(www.slickedit.com) product.  It does everything that Visual Studio does
and is Tornado aware.  You can create Tornado projects, compile your
code, use tag files and perform class browsing all from one interface.

HTH,

Mike Anderson
The PTR Group, Inc.
mailto:mike@theptrgroup.com
http://www.theptrgroup.com



From vxwexplo-errs@csg.lbl.gov  Sat Sep 16 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sat Sep 16 04:03:12 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sat Sep 16 04:03:05 PDT 2000

        Subject: Re: [Fwd: Bootup Times ... how long????]
        Subject: Re: localtime function in vxWorks
        Subject: Re: PCI Configuration help for a novice
        Subject:  Re: PCI Configuration help for a novice
        Subject: Re: PCI Configuration help for a novice
        Subject: PCI Configuration help for a novice
        Subject: Re: GUI Query
        Subject: PCI Sample Codes Needed
        Subject: PCI Sample code needed
        Subject: Re: localtime function in vxWorks
        Subject: Re: Dynamically changing IP addresses
        Subject: Re: localtime function in vxWorks
        Subject: re: Dynamically changing IP addresses
        Subject: RE: MAC address
        Subject: Re: PCI Sample Codes Needed
        Subject: Re: GUI Query
        Subject: Is floating point operation re-entrant in vxworks
        Subject: Re: How can I config local IP address in pSOS?
        Subject: Re: How to delay current task for some microseconds?
        Subject: RE: MAC address
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Telecom 'Start-up' Equity Opportunities / RTOS
        Subject: Visual Studio Editor
        Subject: RE: MAC address
        Subject: long long and divides on x86 pentiums
        Subject: Re: "no carrier" on MVME2400
        Subject: test
        Subject: wigfd
        Subject: vxWorks files need - kernel build
        Subject: Re: Visual Studio Editor
        Subject: muxbind
        Subject: Re: long long and divides on x86 pentiums
        Subject: Re: Lint and TornadoII
        Subject: Re: printf of "long long"
        Subject: VxSim-Lite vs. VxSim
        Subject: ppc i/d cache (all of them) vs vxworks sh/mem
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: Re: VxSim-Lite vs. VxSim
        Subject: RE: Visual Studio Editor
        Subject: UDP socket can't recv the UDP Broadcast Package--help

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: [Fwd: Bootup Times ... how long????]
Date: Fri, 15 Sep 2000 07:13:34 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C2045E.A6FC678B@mindspring.com>
References: <39C0FB81.594411DD@cs.tcd.ie>

For vxWorks this varies by card, by boot method, and by configuration.
We used to use sun2ce cards which took 3+ min to boot, but this is
not typical.  We are now using ppc cards (mvme2700) where it takes
32 sec.  I believe that is more the norm in vxworks.

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: localtime function in vxWorks
Date: 15 Sep 2000 11:51:24 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pt2fs$s51$1@news1.xs4all.nl>
References: <8prf9c$49b$1@news.ne.3com.com>

Somesh Agrawal <somesh_a@hotmail.com> wrote:
: Is there a way to setup local time zone to something other than "GMT", so
: that localtime and gmtime give different output.

You could try setting the TIMEZONE environment variabel, see ansiTime for
more info on this

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCI Configuration help for a novice
Date: Fri, 15 Sep 2000 12:09:17 GMT
From: krhohio@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8pt3h7$hbm$1@nnrp1.deja.com>
References: <39AABFBA.C71B9657@res.raytheon.com>

It looks like WindRiver has added some kind of a PCI bus "autoconfig"
to the Tornado 2 driver directories (at least for the MVME2604 BSP).

file:\c:\tornado20\target\h\drv\pci\pciAutoConfigLib.h
file:\c:\tornado20\target\src\drv\pci\pciAutoConfigLib.c

Note that our installation of Tornado 1 with the MVME2604 BSP
did not have these files present.  Since I have been trying to get
something like this for the last couple of years (why would a vendor
support PCI without providing a "plug-n-play" capability?) it was a bit
disturbing to see the following in pciAutoConfigLib.c (i.e. the files
already existed):

/* Copyright 1997,1998,1999 Motorola, Inc. All Rights Reserved */
/* Copyright 1997-1999 Wind River Systems, Inc. All Rights Reserved */

The pciAutoConfigLib.c file contains a lot of documentation.
If anyone runs across any other documentation of the autoconfig
implementation please let me know (I haven't looked on "WindSurf" yet -
see WTN-49 reference below).

Kent

- ---------

Subject:  Re: PCI Configuration help for a novice
Date: 09/12/2000
Author: James Marshall <james_marshall@agilent.com>

Use the PCI Auto Config Library (src/drv/pci/pciAutoConfigLib.c).
Also get WTN-49 from WindSurf under WindRiver Technical Notes.
(See my response to Ezra Koper's How to work with PCI).

For interpreting PCI Config registers, the PCICFG program might help
though you'll have to port it from its current DOS form.
See  http://www.cs.cmu.edu/~ralf/pub-files/rbpci119.zip.

Tom Shanley's PCI System Architecture has a decent description of what
PCI configuration requires.
You can also get some ideas from the Linux source.

James Marshall

- ----------

Subject: Re: PCI Configuration help for a novice
Date: Wed, 13 Sep 2000 18:21:01 GMT
From: John Fusco <john_fusco@my-deja.com>

My version of the 2304 BSP does not do PCI autoconfig.  I don't think
they have updated that BSP to do so.  All the devices have drivers with
hard-coded base addresses.  Updating the BSP to use the autoconfig
library is no small task.

A zero is what you would expect to see in a BAR that has not been
configured or is not implemented.

- ----------

Subject: PCI Configuration help for a novice
Date:     08/28/2000
Author:  kostizt <kostizt@res.raytheon.com>

Folks,

I must admit that I am new to the PCI bus and I am having a lot of
trouble getting a vendor supplied driver / serial device into my system.
The symptom is that (a) the BARs don't make a lot of sense to me and (b)
the device (serial), doesn't seem to be mapped (i/o simply posting in
memory with no interrupts).

I have a 2304 BSP.  The vendor's documentation says "ensure that the BSP
itself performs configuration of all PCI devices supported by the PCI
HAL.  This includes configuring the PCI base address registers (BARs)
and the interrupt line request register in the PCI configuration space
of each device."

I thought I would find the code that does this in the BSP and go from
there.  The problem is that I can't find where any of this happens!

Does anyone know how the PCI devices get their configuration information
processed by the BSP?

 If I invoke an xpciShow, it looks as follows:
<SNIP>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: GUI Query
Date: Fri, 15 Sep 2000 08:18:29 -0400
From: "Patrick H. Ryan" <theryans@erinet.com>
Organization: EriNet Online Communications - Dayton, OH
Message-ID: <39c213c5$0$34971$53a6afc1@news.erinet.com>
References: <39B83CFC.AE96C651@hotmail.com>

Bob,

We are in the Design Concepts phase.  We too are running a MIPS at 166mhz
with 32MB RAM.  We just successfully got the ICE browser up and running on
the target.

We're going to be using a browser (likely ICE) for rendering the UI locally
on the target, and then also allow other browsers to connect to the target
to run the UI remotely.  For this reason, we'll likely be using XML for
platform (endian) transparancy.  I still have not found a decent Messaging
Component to use in the browser to communicate between the browser and the
target.  Will likely roll my own.

We looked at porting Mozilla.  I think it's a viable solution, but it looks
like a fair amount of work to get it over to vxWorks.

We intend to use as much Java as possible, because:

    -that is where WindRiver is headed
    -we can develop (on PC) software in parallel with hardware
    -quicker time to market (based on other Java products we've developed)
    -there is alot of code available (JDK, OpenSource, etc.)

ZINC
We've also used Zinc 2.x in previous products.  It's a well designed OO
library.  But you get what you get.  Haven't seen any add-ons from 3rd
parties for Zinc.  After seeing what Java can do, I'm not impressed with
their GUI designer.

JAVA
We've used JBuilder for almost 4 years now.  It's a great tool.  Drag and
drop your UI and look at the code it generates.  That alone should sell
you.  Unfortunately, they figured that out and are going to raise prices at
the end of September.  The basic (Foundation) version is still free.  So is
Forte for Java from Sun.  Good sites: java.sun.com, www.javaworld.com.

UML
Also consider taking the big leap into formal modeling.  We're looking at
using Together Enterprise to do our modeling.  It also includes a full
editor and debugger now.  I believe I'll be able to diagram my design using
Together, and then generate either Java or C++ code from it.  See
www.togethersoft.com.

Hope this helps.  Let me know how it goes, Bob.

I too would like to hear from anyone doing browser or GUI development in
general under vxWorks.  We can help each other find solutions faster than
trying to do it on our own.

Patrick H. Ryan
Senior Design Engineer



Robert Sharp wrote:

> Hi all,
>
> I'm at the beginning of a project, researching GUI issues, and I was
> wondering what, besides C/C++ GUI apps, others are developing/have
> developed their GUIs with and what tools/vendors you would recommend (or
> not recommend). I'm dealing with a 133 MIPS processor, with an IR remote
> control input and a TV (NTSC resolution) for output.
>
> I was originally considering using Wind River's HTMLWorks so I (and
> others) could create a GUI by HTML authoring, but they have dropped that
> product. I'm interested to see if others have implemented HTML-based
> GUIs and are happy with them.
>
> I assume a fair amount of Java GUI apps are being done. Anyone using XML
> technology? Others?
>
> Thanks in advance!
>
> Bob


---------------------------

Newsgroups: comp.os.vxworks
Subject: PCI Sample Codes Needed
Date: Fri, 15 Sep 2000 18:38:29 +0530
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pt7c2$sgr$1@overload.lbl.gov>

Hi All,

I am looking looking for example code(Partial or full source code) in
acessing PCI device
in VxWorks, such as

1.How to read a register from a device attached to Bus-1.
2.How to write a register from a device attached to Bus-1.
3.How to write ISR, if Device on the Bus-1 is connected to #INTA, line.

Assume some device / vendor ids, and assume the device is single
function
device, device has been auto configured.

Please send the code examples ASAP.

Thanks & Regards,

R.Balaji.





---------------------------

Newsgroups: comp.os.vxworks
Subject: PCI Sample code needed
Date: Fri, 15 Sep 2000 18:41:24 +0530
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pt7c2$sgs$1@overload.lbl.gov>

VxWorks Tornado

Hi All,

I am looking looking for example code(Partial or full source code) in
acessing PCI device in VxWorks, such as

1.How to read a register from a device attached to Bus-1.
2.How to write a register from a device attached to Bus-1.
3.How to write ISR, if Device on the Bus-1 is connected to #INTA, line.

Assume some device / vendor ids, and assume the device is single
function
device, device has been auto configured.

Please send the code examples ASAP.

Thanks & Regards,

R.Balaji.





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: localtime function in vxWorks
Date: Fri, 15 Sep 2000 09:13:38 -0400
From: "Somesh Agrawal" <somesh_a@hotmail.com>
Organization: 3Com
Message-ID: <8pt79f$igg$1@news.ne.3com.com>
References: <8prf9c$49b$1@news.ne.3com.com> <8pt2fs$s51$1@news1.xs4all.nl>


 I have seen the document it says

"If the environment variable TIMEZONE is set, the information is retrieved
from this variable, otherwise from the locale information. "

how to set env var in vxWorks. And if it takes values from locale
information also the what
will be the format of LC_TIME (setlocal(LC_TIME, "????");).


Thanks,
S.A

borkhuis@lucent.com wrote in message <8pt2fs$s51$1@news1.xs4all.nl>...
>Somesh Agrawal <somesh_a@hotmail.com> wrote:
>: Is there a way to setup local time zone to something other than "GMT", so
>: that localtime and gmtime give different output.
>
>You could try setting the TIMEZONE environment variabel, see ansiTime for
>more info on this
>
>Groeten,
> Johan
>
>--
>          o o o o o o o . . .   ______________________________
>         o      _____           ||    Johan Borkhuis         |
>       .][__n_n_|DD[  ====_____  |    borkhuis@lucent.com    |
>      >(________|__|_[_________]_|___________________________|
>      _/oo OOOOO oo`  ooo   ooo  'o!o!o                 o!o!o`
>=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Dynamically changing IP addresses
Date: 15 Sep 2000 13:23:56 GMT
From: "Michael Bueckel" <michael.bueckel@ch.abb.com>
Organization: Swisscom IP+ (post doesn't reflect views of Swisscom)
Message-ID: <01c01f18$863154f0$9c9514ac@chind-tu01-f916>
References: <8prikk$866$1@overload.lbl.gov>

Hi Martin,

try: ifAddrSet(device name, addr);

Both agruments are strings: e.g device name = "lnpci" addr ="192.2.5.3"

Kind regards

Michael



Martin Mayer <mmayer@nortelnetworks.com> wrote in article
<8prikk$866$1@overload.lbl.gov>...
 
> I would like to write a command that will change the IP address that
vxWorks
> uses. 
> 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: localtime function in vxWorks
Date: 15 Sep 2000 13:36:27 GMT
From: borkhuis@lucent.com
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8pt8kr$ah8$1@news1.xs4all.nl>
References: <8prf9c$49b$1@news.ne.3com.com> <8pt2fs$s51$1@news1.xs4all.nl> <8pt79f$igg$1@news.ne.3com.com>

Somesh Agrawal <somesh_a@hotmail.com> wrote:

:  I have seen the document it says

: "If the environment variable TIMEZONE is set, the information is retrieved
: from this variable, otherwise from the locale information. "

: how to set env var in vxWorks. And if it takes values from locale
: information also the what
: will be the format of LC_TIME (setlocal(LC_TIME, "????");).

See envLib for information on how to set environment variables.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Dynamically changing IP addresses
Date: Fri, 15 Sep 2000 09:42:14 -0400
From: John Moore <jmoore@argoneng.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ptasi$7in$1@overload.lbl.gov>

Try
    ifAddrSet()


the vxWorks Users Group Exploder wrote:

>
> Submitted-by: "Martin Mayer" <mmayer@nortelnetworks.com>
>
>
>
> Hi,
>
> I would like to write a command that will change the IP address that vxWorks
> uses.
>
> Any hints?
>
> Thanks,
> Martin Mayer
>




---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: MAC address
Date: Fri, 15 Sep 2000 06:51:26 -0700
From: Jim Way <Jway@datum.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ptasj$7io$1@overload.lbl.gov>

Martin,

> Where does vxWorks get the MAC address from when displaying it in
> the ifShow routine?
>
> Is it possible to modify this MAC address dynamically?
>
> Thanks,
> Martin Mayer

On my system, I trace from my code, which calls sysCpmEnetAddrGet(), into
the \Tornado2 directory. In file ppc860TEnd.h I find the definition of this
routine, which appears to be a macro. The local code documentation suggests
this gets down into the BSP. Or were you looking for something more
specific? I'm pretty certain that the MAC address is placed in a specially
reserved piece of non-volatile memory. My hardware guy suggested at one time
that this address is loaded onto the board during manufacturing. The numbers
come from a block of MAC addresses that we received from a registration
process (I don't have a contact for you on that).

Regarding your second question, it might be physically possible to write
some code to change the MAC address dynamiclly, but I don't think it would
be a good idea. As I understand it, the MAC address is used in the TCP and
IP layers to uniquely identify a specific device. Very Bad Things can happen
if you change your MAC address on the fly, or if you have two or more
devices with the same MAC address. My suggestion would be to re-examine the
reason you want to do this. You may be able to implement your requirement in
a different manner.

In your other post, you asked:

> I would like to write a command that will change the IP address 
> that vxWorks uses. 

Try the ifAddrSet() method. Here's the call as we use it: ifAddrSet("cpm0",
(LPCSTR)newAddress) == OK).

HTH,
Jim
- -----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
- -----------------------------------------


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PCI Sample Codes Needed
Date: Fri, 15 Sep 2000 16:17:30 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39C22F7A.1CC65206@vitatron.com>
References: <8pt7c2$sgr$1@overload.lbl.gov>

I am also interested in this example code, so I anyone has any....

Gijs van Oort

Balaji Ramachandran wrote:

> Hi All,
>
> I am looking looking for example code(Partial or full source code) in
> acessing PCI device
> in VxWorks, such as
>
> 1.How to read a register from a device attached to Bus-1.
> 2.How to write a register from a device attached to Bus-1.
> 3.How to write ISR, if Device on the Bus-1 is connected to #INTA, line.
>
> Assume some device / vendor ids, and assume the device is single
> function
> device, device has been auto configured.
>
> Please send the code examples ASAP.
>
> Thanks & Regards,
>
> R.Balaji.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: GUI Query
Date: Fri, 15 Sep 2000 11:14:24 -0400
From: "Mike Kordik" <kordikmj@betalasermike.com>
Message-ID: <20rw5.19$l66.228@client>
References: <39B83CFC.AE96C651@hotmail.com> <39c213c5$0$34971$53a6afc1@news.erinet.com>

We are also beginning a project using VxWorks and are going to use Java as
our GUI. The issue for us right now is how to get data from our C/C++
realtime code to our Java GUI. We want to separate the GUI from our realtime
code using sockets so the GUI can run anywhere and not necessarily on our
device (ie browser). We are thinking of one of the following techniques:
- - Simply using object serialization to serialize a C++ object into a stream
and unserialize to a Java object
- - When a Java screen is selected have the C++ side generate an XML page and
send it to the Java side to be parsed and displayed.
- - Put data in a database and have Java get the data through JDBC.
- - Use SOAP.

I want to choose a way that gives us flexibility and ease of coding.
Preferably something off the shelf would be great.

Patrick, what do you think about the ICE browser do far?

If you do not mind me asking, where do you work? I noticed your email
address is erinet which is in Dayton.

Thanks,
Mike

"Patrick H. Ryan" <theryans@erinet.com> wrote in message
news:39c213c5$0$34971$53a6afc1@news.erinet.com...
> Bob,
>
> We are in the Design Concepts phase.  We too are running a MIPS at 166mhz
> with 32MB RAM.  We just successfully got the ICE browser up and running on
> the target.
>
> We're going to be using a browser (likely ICE) for rendering the UI
locally
> on the target, and then also allow other browsers to connect to the target
> to run the UI remotely.  For this reason, we'll likely be using XML for
> platform (endian) transparancy.  I still have not found a decent Messaging
> Component to use in the browser to communicate between the browser and the
> target.  Will likely roll my own.
>
> We looked at porting Mozilla.  I think it's a viable solution, but it
looks
> like a fair amount of work to get it over to vxWorks.
>
> We intend to use as much Java as possible, because:
>
>     -that is where WindRiver is headed
>     -we can develop (on PC) software in parallel with hardware
>     -quicker time to market (based on other Java products we've developed)
>     -there is alot of code available (JDK, OpenSource, etc.)
>
> ZINC
> We've also used Zinc 2.x in previous products.  It's a well designed OO
> library.  But you get what you get.  Haven't seen any add-ons from 3rd
> parties for Zinc.  After seeing what Java can do, I'm not impressed with
> their GUI designer.
>
> JAVA
> We've used JBuilder for almost 4 years now.  It's a great tool.  Drag and
> drop your UI and look at the code it generates.  That alone should sell
> you.  Unfortunately, they figured that out and are going to raise prices
at
> the end of September.  The basic (Foundation) version is still free.  So
is
> Forte for Java from Sun.  Good sites: java.sun.com, www.javaworld.com.
>
> UML
> Also consider taking the big leap into formal modeling.  We're looking at
> using Together Enterprise to do our modeling.  It also includes a full
> editor and debugger now.  I believe I'll be able to diagram my design
using
> Together, and then generate either Java or C++ code from it.  See
> www.togethersoft.com.
>
> Hope this helps.  Let me know how it goes, Bob.
>
> I too would like to hear from anyone doing browser or GUI development in
> general under vxWorks.  We can help each other find solutions faster than
> trying to do it on our own.
>
> Patrick H. Ryan
> Senior Design Engineer
>
>
>
> Robert Sharp wrote:
>
> > Hi all,
> >
> > I'm at the beginning of a project, researching GUI issues, and I was
> > wondering what, besides C/C++ GUI apps, others are developing/have
> > developed their GUIs with and what tools/vendors you would recommend (or
> > not recommend). I'm dealing with a 133 MIPS processor, with an IR remote
> > control input and a TV (NTSC resolution) for output.
> >
> > I was originally considering using Wind River's HTMLWorks so I (and
> > others) could create a GUI by HTML authoring, but they have dropped that
> > product. I'm interested to see if others have implemented HTML-based
> > GUIs and are happy with them.
> >
> > I assume a fair amount of Java GUI apps are being done. Anyone using XML
> > technology? Others?
> >
> > Thanks in advance!
> >
> > Bob
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Is floating point operation re-entrant in vxworks
Date: Fri, 15 Sep 2000 11:00:21 -0400
From: "Jin, Yucheng (HT-EX)" <YJin@GI.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8pted2$9hg$1@overload.lbl.gov>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C01F25.AB3FF3C0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi, 

Is floating point operation re-entrant in VxWorks 5.3.1?  Is this CPU
dependent or not?  Thanks in advance.

Regards,
Yucheng Jin
BCS, Motorola

- ------_=_NextPart_001_01C01F25.AB3FF3C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Is floating point operation re-entrant in vxworks</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi, </FONT>
</P>

<P><FONT SIZE=3D2>Is floating point operation re-entrant in VxWorks =
5.3.1?&nbsp; Is this CPU dependent or not?&nbsp; Thanks in =
advance.</FONT>
</P>

<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Yucheng Jin</FONT>
<BR><FONT SIZE=3D2>BCS, Motorola</FONT>
</P>

</BODY>
</HTML>
- ------_=_NextPart_001_01C01F25.AB3FF3C0--

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How can I config local IP address in pSOS?
Date: Fri, 15 Sep 2000 09:44:26 -0500
From: Steven Deans <steven.deans@fnc.fujitsu.com>
Organization: Fujitsu Companies of North America
Message-ID: <39C235CA.78E6A7DF@fnc.fujitsu.com>
References: <39C17112.72847306@chat.carleton.ca>

Jun Chen wrote:

>

All of the default IP setting can be configured in the pNA section of
the sys_conf.h.
You are asking some very basic questions. I am assuming you have no pSOS
manuals.

Steven



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to delay current task for some microseconds?
Date: Fri, 15 Sep 2000 16:35:30 GMT
From: "codeworks" <codeworks@mobilpost.com>
Organization: Enitel Internet Public Access
Message-ID: <mdsw5.10421$Dxe.206564864@news.telia.no>
References: <8pkh2c$bgi$1@schbbs.mot.com>


Li Xin <lixin@sc.mcel.mot.com> wrote in message
news:8pkh2c$bgi$1@schbbs.mot.com...
> I am writing a device driver under VxWorks and need a means to delay
current
> task for some microseconds. I know taskDelay() can delay current task, but
> that will delay at least one tick which I think is too long for our
driver.
> Is there any method to delay current task for some microseconds?
>
> Anything you ever do in vxWorks take more than a few microSeconds. To
delay a task with a number of uSecs below the task swich time does not make
sense. Spin on a hardware counter until you have consumed the time you need.
( or read a byte on ISA, if you have one)




---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: MAC address
Date: Fri, 15 Sep 2000 16:49:13 GMT
From: gold@sdsu.edu
Organization: Deja.com - Before you buy.
Message-ID: <8ptjtu$60t$1@nnrp1.deja.com>
References: <8ptasj$7io$1@overload.lbl.gov>

In article <8ptasj$7io$1@overload.lbl.gov>,
  Jim Way <Jway@datum.com> wrote:
> Martin,
>
> > Where does vxWorks get the MAC address from when displaying it in
> > the ifShow routine?
> >
> > Is it possible to modify this MAC address dynamically?
> >
> > Thanks,
> > Martin Mayer
>

It gets it from the interface structure it keeps around internally.  It
doesn't call the driver everytime you do an ifShow() to get the MAC
address.  The MAC address is squirreled away in the struct when the
interface is brought up.  If you have the source to an END driver, you
see it gets put in the mib2tbl.ifPhysAddress.phyAddress or something via
the END_MIB_INIT() macro.  The upper layer code also makes an ioctl call
with EIOCGADDR to get the MAC address, at which time it saves it.
Apparently you can also make an EIOCSADDR ioctl to set the MAC address
in the MIB, then your code would have to make sure it gets propagated
out to everywhere else.

Can you change it on the fly ?  Yes, but it's not a good idea for all
sorts of reasons an earlier poster identified.  Another problem is on
the QUICC devices (360/860/8260) the MAC address is in dual-port RAM.
So after you change it (via EIOCSADDR or some magic way), how do you
propagate that change out to the dual-port RAM (and not hose up the MAC
while it's in the middle of a MAC address comparison) ?  The same could
be said for any controller, you really need to stop the controller,
change the MAC, and then restart it.

If you're using an END driver, you provide the function (in sysLib.c) to
provide the MAC address to an ethernet driver.  The best way would be to
unload() the driver, set some flags so the function (i.e.
sysCpmEnetAddrGet()) returns a different MAC address, and then load()
(really muxDevUnload/muxDevLoad/muxDevStart) the driver.  Of course this
means your driver must be capable of being unloaded (and releasing any
semaphores and allocated memory) and being restarted.

> In your other post, you asked:
>
> > I would like to write a command that will change the IP address
> > that vxWorks uses.
>
> Try the ifAddrSet() method. Here's the call as we use it:
ifAddrSet("cpm0",
> (LPCSTR)newAddress) == OK).

Yes this works, but be careful.  If you're changing your address to a
different class (i.e. from a class C to a class B), you must set the
netmask first before setting the IP address, or things won't work.  Thus
do:
ifMaskSet("cpm0", 0xffffff00)  /* set for class C, an integer arg */
ifAddrSet("cpm0", "1.2.3.4")   /* string arg for IP addr */

 hth,
  Dan Gold  gold@sdsu.edu


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Fri, 15 Sep 2000 10:46:42 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C26082.C4E48CF1@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com>

We are are experienceing a very similar problem.

We run various sized scsi drives on a mvme2604. We have seen the problem
on small partitions formatted with fat16 and a 4 gig partition formatted
with fat32.

The system regularily records a 200 byte text lines to a file once per
minute. Other events of interest (80 bytes text strings) are also
recorded. This has functioned ok.

When some additional logging is added to the system, ~2k every 4 seconds,
I am seeing exactly the problem you describe.

I changed the dcache values to write immediately which causes about half
of the data files not to be corrupted. I also increased the priority
around the write.

I have still not resolved the problem.

mike i.

Hosehead Jones 2nd-1/2 wrote:

> We are experiencing an intermittent (but still serious) problem with
> dosFs 2.0.  Our system is running on a MVME2700, connected to an 18 GB
> SCSI drive divided into 4 partitions of 4095 MB each (so that Windows
> NT can also see the drive).  The drive has been formatted using
> Windows NT using FAT16.
>
> One task in our application handles archiving; at a 100 Hz rate, this
> task checks for new data to archive to disk, then archives it if new
> data is available.  Each block of new data is on the order of 10 KB.
>
> We check the current filesize (using fstat) after each new write to
> verify that the data was archived properly.  Most of the time, the
> data is written to disk correctly.  However, once in a while (say once
> every few hours) the filesize jumps by a huge margin (at least 1 GB,
> and usually about 4 GB), then all subsequent writes to this file don't
> increase the filesize at all.  Once this happens, the data in the file
> is corrupted beyond repair, and when the file is closed it will either
> be truncated by dosFs to a 0-byte file, or it will be enormous and the
> checkdisk utilities will report that the filesize is larger than its
> clusters and delete it.
>
> We've pretty well tracked this down to being a bug in dosFs; we've
> verified that we call write() with a valid pointer and data size.  Has
> anyone else come across something similar?
>
> -----------------------
> Mark Morrison
> Coherent Technologies, Inc.
> markm@ctilidar.com

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Telecom 'Start-up' Equity Opportunities / RTOS
Date: Fri, 15 Sep 2000 01:50:21 +0100
From: molochai <molochai@vapour-trail.demon.co.uk>
Message-ID: <2d102afe49%molochai@vapour-trail.demon.co.uk>
References: <39c0e2ab.4722246@news.flash.net>

In message <39c0e2ab.4722246@news.flash.net>
          careers@trisearch.com wrote:


Might be handy to indicate *where* the jobs are - especially which country.
Similarly with currencies are being quoted for salaries: US$, canadian$, $HK,
AUS$ someother$?

> This message is to advise users of VxWorks or other
> RTOS that we are currently looking for Software 
> engineers with 3+ years experience in Real time 
> embedded software design and development for
> Telecom or Datacom applications.  
> 
> Our clients are fully venture capital funded Telecom
> start-up companies as well as established Telecom 
> companies.  
> 
> Top salaries to $120K (DOE) plus incentive bonuses
> with generous stock options and full benefits and 
> relocation packages are offered for this experience.  
> These opportunities are truly exceptional 'career enhancing'
> positions.  
> 
> TRI has played a key part in staffing some of the most 
> successful start-up and established telecom companies
> in the country.
> If you have an interest in surveying these opportunities:
> Please respond in strictest confidence to:
> TRI
> 972/424-6076(fax)
> careers@trisearch.com
> www.trisearch.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Visual Studio Editor
Date: Fri, 15 Sep 2000 10:36:34 -0700
From: jgou@minervanetworks.com (Jim Gou)
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ptoui$fcr$1@overload.lbl.gov>

Hi All,

As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
wonderful.  Microsoft Visual Studio is a good alternative to it for
searching, class view, source browser...

Now I have problem on VxWorks .cc files.  MS Visual Studio doesn't recognize
them!

Do you know how I could customize to define .cc files as .cpp in MS Visual
Studio so that its "source browser" and "class view" features could be
utilized?

Your help is very appreciated,

Jim Gou
Minerva Networks
(408)904-1218




---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: MAC address
Date: Fri, 15 Sep 2000 18:50:23 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009151750.SAA02082@dsl-2.tadpole.co.uk>

Martin,
> 
> Where does vxWorks get the MAC address from when displaying it in
> the ifShow routine?

From the if_net[] structure :-)

This is filled in by with the value returned by the END driver in response to an 
EIOCGADDR ioctl issued when the driver is initialised.

The ethernet device driver will get it from some part of the system hardware, 
typicallly a serial EEPROM on the network card.
>
> Is it possible to modify this MAC address dynamically?

Depends how much hacking you want to do...

Realise that you need to get:
1) the ethernet hardware to accept packets for the new address
2) the ethernet driver to add the correct source address to outward packets
3) ARP to respond with the new address to arp requests
4) remote systems to change their ARP tables so that responses are sent to
   your new address.

1 and 2 can be done with the driver source, maybe there is an EIOC ioctl to do 
the job, maybe the driver supports it!

3 requires that you overwrite your address in the IP_DRV_CTRL structure for your 
interface

4 isn't truly possible!  Unix systems time entries out after 10 minutes (but 
don't expect windows to do this).  Sending an ARP request to everyone in your 
existing ARP table may update the remote systems table (but not in Solaris 
2.5.1).

What are you actually trying to do?

Given your other question about changing the IP address - you may be better 
adding an alias (ie a second address) - but I'm not sure vxWorks supports it 
(I've not looked).

If you are trying to get some sort of high-availability by switching systems you 
MAY manage to get things to work by having both systems with the SAME MAC 
address!  Ensure IP forwarding is disabled (or have some very complicated 
routing rules) and IP will silently discard all the packets for the other 
system!
	
	David
>
> Thanks,
> Martin Mayer
> 



- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: long long and divides on x86 pentiums
Date: Fri, 15 Sep 2000 14:08:12 -0400
From: "Parent, Gilles [WDLN2:4B41:EXCH]" <gilpar@americasm01.nt.com>
Organization: Nortel Networks
Message-ID: <8pto6b$7jc$1@bcrkh13.ca.nortel.com>

Real simple problem,

...  long long test;
     test = 50;
     test = test / 2;

compiles, but when links it says the function __divdi3 is missing. What
library is it in?

/don




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "no carrier" on MVME2400
Date: Fri, 15 Sep 2000 15:00:22 -0400
From: Ken Bass <kbass@dsrnet.com>
Organization: Verio
Message-ID: <39C271C6.E77A7E28@dsrnet.com>
References: <8po9si$2vc$1@nx6.HRZ.Uni-Dortmund.DE>

Wind River is aware of this problem. It is caused if you are connected
to a ethernet switch that supports Full Duplex. Ethernet Hubs are
typically Half Duplex.

Wind River send me a new dec*.o file which essentially removed the no
carrier print.

There is an SPR on Windsurf already about this problem.

Juergen Naumann wrote:
> 
> Dear all
> 
> When booting VxWorks I get the message "interrupt: dc0 - no carrier"
> very frequently. I learned from DejaNews that this is not something to
> really worry about but it's annoying. I also found as a workaround to
> change the DEC_LOAD_STRING in configNet.h, which seems to work on
> MVME2300, 2600 and 2700 boards, but unfortunately I'm using a MVME2400
> board where this string is completly empty in the BSP. Putting in the
> value by hand also didn't solve the problem.
> 
> Does anyone have a hint?
> 
> Thanks,
> --
>                         Juergen Naumann
> e----------------------------->H1<---------------------------p
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: test
Date: Fri, 15 Sep 2000 14:48:57 -0400
From: "Don Wade" <donwade@nortelnetworks.com>
Organization: Bell Northern Research
Message-ID: <8ptqiv$90c$1@bcrkh13.ca.nortel.com>

cdw



---------------------------

Newsgroups: comp.os.vxworks
Subject: wigfd
Date: Fri, 15 Sep 2000 14:54:05 -0400
From: "Don Wade" <donwade@nortelnetworks.com>
Organization: Bell Northern Research
Message-ID: <8ptqsj$94f$2@bcrkh13.ca.nortel.com>

gewrab



---------------------------

Newsgroups: comp.os.vxworks
Subject: vxWorks files need - kernel build
Date: Fri, 15 Sep 2000 15:12:09 -0400
From: Ken Bass <kbass@dsrnet.com>
Organization: Verio
Message-ID: <39C27489.DB9AC883@dsrnet.com>

I need some utilities for compiling a kernel under a non-supported host.

There was a linux.sparta.com/vxworks which no longer exists that had
some utilities.

I'm looking for the programs like elfXsyms, elf2bin, xsym.c.

Thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Visual Studio Editor
Date: Fri, 15 Sep 2000 15:01:23 -0400
From: "Don Wade" <donwade@nortelnetworks.com>
Organization: Bell Northern Research
Message-ID: <8ptra8$9f1$1@bcrkh13.ca.nortel.com>
References: <8ptoui$fcr$1@overload.lbl.gov>

by default , cpp and C files in vs will automatically invoke the MS
complier. To associate
other file types with the compiler use the /Tp (or is it /tp) option to
declare that a foreign file type
should be treated as a CPP file. I think /Tc is for associating foreign
files with a "C" construct.

If only I could hook the remote debugger of vs into the gdb debugger.....

/don

Jim Gou <jgou@minervanetworks.com> wrote in message
news:8ptoui$fcr$1@overload.lbl.gov...
> Hi All,
>
> As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
> wonderful.  Microsoft Visual Studio is a good alternative to it for
> searching, class view, source browser...
>
> Now I have problem on VxWorks .cc files.  MS Visual Studio doesn't
recognize
> them!
>
> Do you know how I could customize to define .cc files as .cpp in MS Visual
> Studio so that its "source browser" and "class view" features could be
> utilized?
>
> Your help is very appreciated,
>
> Jim Gou
> Minerva Networks
> (408)904-1218
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: muxbind
Date: Fri, 15 Sep 2000 13:32:11 -0700
From: Narayanan Meiyyappan <nmeiyyap@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <Pine.GSO.4.10.10009151220300.13860-100000@farley.cisco.com>


I am trying to bind my datalink driver to the vxworks tcp/ip stack using
the muxinterface. this binding is done by the network stack using the
muxbind function. is it possible to bind the stack to my driver from
the vxworks shell after it has booted or should it be done during the
boot time. can somebody help me on this.

Thanks
- -Narayanan.M


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: long long and divides on x86 pentiums
Date: Fri, 15 Sep 2000 13:30:40 -0700
From: Rajesh Tripathi <rtripathi@com21.com>
Organization: Globix Corp.
Message-ID: <39C286F0.EDF3EBA1@com21.com>
References: <8pto6b$7jc$1@bcrkh13.ca.nortel.com>

"Parent, Gilles [WDLN2:4B41:EXCH]" wrote:

> Real simple problem,
>
> ...  long long test;
>      test = 50;
>      test = test / 2;
>
> compiles, but when links it says the function __divdi3 is missing. What
> library is it in?
>
> /don

Hi,

The function  _divdi3 and _udivdi3 are in library file "libgcc.a" located
in

$WIND_BASE/host/sun4-solaris2/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126
directory on out system.  Find the corresponding path on your system.

Cheers

Rajesh Tripathi


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Lint and TornadoII
Date: Fri, 15 Sep 2000 21:51:02 +0100
From: "Andy Kirby" <andy@yikes-a.demon.co.uk>
Organization: BT Internet
Message-ID: <8pu2q9$9ge$1@plutonium.btinternet.com>
References: <8pre3g$2tm$1@neptunium.btinternet.com> <8pstlq$vfb$1@news.hdpp.de>

Thanks very much - this is just the information I was looking for.

Do you check your projects as a whole (run Lint on all files at once), or
run Lint on files individually?

Thanks

Andy

"Matthias Guelck" <Matthias.Guelck@de.heidelberg.com> wrote in message
news:8pstlq$vfb$1@news.hdpp.de...
> Hello Andy,
>
> we are using PC-lint 7.5 to check our VxWorks projects for two years now,
using
> a lint parameter file with the following contents:
>
> --------------------------------------------------------------------------
- ---
>
> -A                            /* ANSI-C checking
*/
> +fdi                          /* begin include search at including file
*/
> +fcp                          /* use c++ not only for cpp and cxx ext.
*/
> +fcu                          /* character is unsigned
*/
> +fva                          /* variable argument size
*/
> +fwc                          /* wchar_t is built in type
*/
> +ppw(option)                  /* add preprocessor word <option>
*/
> -si4                          /* Integers are 4 Byte long
*/
> -sl4                          /* Longs are 4 Byte long
*/
> -sp4                          /* Pointers are 4 Byte long
*/
> -t2                           /* Tab size is 2
*/
> -v                            /* turn off all verbosity messages
*/
>
> -width(0,3)                   /* Output format no breaking and indent 3
*/
> -hsb#3                        /* Error display format
*/
> -"format=%f(%l): Error %n: %m"/* Error message format
*/
>
>
>
> -elib(???)                    /* I can`t fix errors in library headers
*/
>
> -e537                         /* repeated include is controlled by #ifdev
*/
> -e716                         /* while(1) is ok!
*/
> -e783                         /* file end without new line is ok
*/
> -e765                         /* external could be made static
*/
>
> /* NOT REFERENCED (see weak defines; check at end of project) */
> -e714                         /* function not referenced
*/
> -e749                         /* local enumeration constant not referenced
*/
> -e750                         /* local macro not referenced
*/
> -e751                         /* local typedef not referenced
*/
> -e752                         /* local declarator not referenced
*/
> -e753                         /* local struct, union or enum tag not ref.
*/
> -e754                         /* local structure member not referenced
*/
> -e755                         /* global macro not referenced
*/
> -e756                         /* global typedef not referenced
*/
> -e757                         /* global declarator not referenced
*/
> -e758                         /* global struct, union or enum tag not ref.
*/
> -e768                         /* global structure member not referenced
*/
> -e769                         /* global enumeration constant not ref.
*/
> -e1714                        /* member function not referenced
*/
> -e1715                        /* static member not referenced
*/
> -e1716                        /* virtual member function not referenced
*/
> -e1750                        /* local template not referenced
*/
> -e1755                        /* global template not referenced
*/
>
>
> -esym(1512, unary_function<*>)         /* from stl in file stl_function.h
*/
> -esym(1512, binary_function<*>)        /*            - "" -
*/
>
>
> -emacro(611,clearerr)         /* ignore errors in macro
*/
> -emacro(666,clearerr)         /* ignore errors in macro
*/
> -emacro(740,clearerr)         /* ignore errors in macro
*/
>
> -emacro(534,putc)             /* ignore errors in macro
*/
> -emacro(611,putc)             /* ignore errors in macro
*/
> -emacro(666,putc)             /* ignore errors in macro
*/
> -emacro(740,putc)             /* ignore errors in macro
*/
>
> -emacro(534,putchar)          /* ignore errors in macro
*/
> -emacro(611,putchar)          /* ignore errors in macro
*/
> -emacro(666,putchar)          /* ignore errors in macro
*/
> -emacro(734,putchar)          /* ignore errors in macro
*/
> -emacro(740,putchar)          /* ignore errors in macro
*/
>
> -emacro(534,getchar)          /* ignore errors in macro
*/
> -emacro(611,getchar)          /* ignore errors in macro
*/
> -emacro(666,getchar)          /* ignore errors in macro
*/
> -emacro(740,getchar)          /* ignore errors in macro
*/
>
> -emacro(611,feof)             /* ignore errors in macro
*/
> -emacro(740,feof)             /* ignore errors in macro
*/
>
> -emacro(611,ferror)           /* ignore errors in macro
*/
> -emacro(740,ferror)           /* ignore errors in macro
*/
>
> -emacro(611,fileno)           /* ignore errors in macro
*/
> -emacro(613,fileno)           /* ignore errors in macro
*/
> -emacro(666,fileno)           /* ignore errors in macro
*/
> -emacro(740,fileno)           /* ignore errors in macro
*/
>
> -emacro(611,__sfileno)        /* ignore errors in macro
*/
> -emacro(613,__sfileno)        /* ignore errors in macro
*/
> -emacro(666,__sfileno)        /* ignore errors in macro
*/
> -emacro(740,__sfileno)        /* ignore errors in macro
*/
>
> -emacro(  26,va_start)        /* ignore errors in macro
*/
> -emacro( 522,va_start)        /* ignore errors in macro
*/
> -emacro( 534,va_start)        /* ignore errors in macro
*/
> -emacro( 746,va_start)        /* ignore errors in macro
*/
> -emacro(1055,va_start)        /* ignore errors in macro
*/
>
>
> /*
> **  Ignore these constructs..
> */
> -d__extension__()             /* for va_xxx macros
*/
> -d__attribute__=;             /* from stl in file exception part one
*/
> -d((__noreturn__))=;          /*          - "" -            part two
*/
> -d_IH=
> -d_SWI=
> -d_TRAP()=
> -d_SPL()=
> -d_GPL()=
>
> /*  The following functions exhibit variable return modes.
> **  That is, they may equally-usefully be called for a value
> **  as called just for their effects.  Accordingly we inhibit
> **  Warning 534 for these functions.
> **  Feel free to add to or subtract from this list.
> */
> -esym(534,close,creat,fclose,fprintf,fputc)
> -esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset)
> -esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy)
> -esym(534,strncat,strncpy,unlink,write)
> -esym(534,cprintf,CTerminalIO::cprintf,printErr,xfclose)
>
> --------------------------------------------------------------------------
- ---
>
> The important line is -elib(???) which instructs lint to ignore all
errors in
> header files included with the <> brackets. If you include all the VxWorks
> headers with <> you will get rid of the error messages caused by the
famous Wind
> River programmers.
> Since macros are resolved within your source file, you also have to ignore
> errors related to the macro resolutions (-emacro()).
> Also important is the "Ignore these constructs.." section.
>
> Using the STL with VxWorks, we found some very crucial problems, which
were
> reported to gimpel support about one year ago, but still not fixed!
> It seems like the same people are (un)supporting Wind River Systems and
gimpel
> products: help is promised, but never given ...
>
> Matthias
>
>
>
> "Andy Kirby" <andy@yikes-a.demon.co.uk> wrote :
> > Has anyone had any experience of setting up Lint with the Tornado NT
> > environment? I have been trying to use Gimpel FlexeLint with T2(PPC) and
> > there seems to be an awful lot of setting up of the Lint switches to
even
> > get it pass the VXWorks headers and the GNU extensions (like
__attribute__
> > ((packed)) ). If anyone can point me to a place where this has been
done,
> > I'd appreciate any tips.
> >
> > Thanks
> >
> > Andy
> >
> >
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: printf of "long long"
Date: Fri, 15 Sep 2000 18:04:06 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C29CD6.413BFA24@mindspring.com>
References: <39B99888.6A31EEC7@mindspring.com> <8pj6lg$t2f$1@nnrp1.deja.com> <39BF86E7.9327DE2@mindspring.com> <8pofop$65f$1@nnrp1.deja.com> <39BFEC8C.1EFB7288@mindspring.com> <39C08178.C23AF43D@nortelnetworks.com> <8pr23r$7oi$1@nnrp1.deja.com>


> on my Linux machine at home.  This was just for fun.  I never actually

You, sir, are one sick puppy! -g-

thanks for the pointer!

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxSim-Lite vs. VxSim
Date: Fri, 15 Sep 2000 16:46:47 -0700
From: "Michael S. Simpson" <mssimpson@west.raytheon.com>
Organization: Raytheon Company
Message-ID: <39C2B4E7.C504233B@west.raytheon.com>

This is a multi-part message in MIME format.
- --------------ECD1B8FB94F212C38227F3F1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

What's the difference (other than the name and implication) between
VxSim-Lite and the full-up release?  What functionality is reduced /
limited?

Thanks in advance...

Mike Simpson
Sr Software Engineer
Raytheon Missile Systems
- --------------ECD1B8FB94F212C38227F3F1
Content-Type: text/x-vcard; charset=us-ascii;
 name="mssimpson.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael S. Simpson
Content-Disposition: attachment;
 filename="mssimpson.vcf"

begin:vcard 
n:Simpson;Michael
tel;pager:520-489-7933
tel;home:520-622-5039
tel;work:520-794-5381
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:mssimpson@west.raytheon.com
fn:Michael Simpson
end:vcard

- --------------ECD1B8FB94F212C38227F3F1--


---------------------------

Newsgroups: comp.os.vxworks
Subject: ppc i/d cache (all of them) vs vxworks sh/mem
Date: Fri, 15 Sep 2000 20:28:33 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C2BEB1.C1A5554C@mindspring.com>

sorry, but this one takes a little background first:

BACKGROUND:

bsp is mvme2700.

I will not pretend to understand much more than the rudimentary
basis of hardware cache arch.

I have implemented a "counting semaphore" layered on top of 
sysBusTas[Clear]().  It is ment to operate on vxworks sh/mem area
(default config is cpu0's dram at mpc address 0x1,0000).

I am trying to get a unit-test for the above code working.  The
unit test (blast tas) program lets a master and one or two slaves
compete calling the tas_dec() routine; calling tas_dec() 
decrements a sema4 guarded down counter; from 7ffff to 0.  When 0
is reached, the number of times each cpu got the tas is added up 
and the result better equal 7ffff.  The location of the sema4 and
its counter is in vxworks sh/mem (mpc 0x0001,0000 / 
0x0801,0000 a32vme).

The cpu's synchronize operation by writing sync values various
locations in this same area.

The program works fine with cpu0 (master) and cpu1 (1st slave) and 
with cpu0 (master) and cpu2 (1st slave);  It should work with cpu0
(master), cpu0 (first slave), and cpu1 (2nd slave).  It doesn't...
it hangs, apparently not seeing some of the "synchronization writes"
that I use to keep the 3 cpus in sync with each other...  

I have checked for all the obvious coding screw ups.

QUESTIONS:

The vxworks sh/mem region is used for all of the cpu to cpu
communication
here (sync as well as the sema4 count and guard fields.  My
understanding
is that vxworks automatically sets this area up as "not cacheable" via
the
memDesc settings in sysLib.c.

That means I should not have to worry about invalidating the data-cache 
between writes/reads on the different cpus... right?

I am not using any SYNC or EIEIO (other then the ones you get 
as part of the vxworks sysBusTas()/sysBusTasClear() routines.)  Since
the
vxworks sh/mem region is non-cacheable, I should not need to do 
this.... right???

I hope not, cause I sure cant make any since out of the places where
vxworks uses them!  There doesn't seem to be any rhyme or reason to it.

Any other suggestions ?

thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Fri, 15 Sep 2000 20:40:49 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C2C191.D54B5332@mindspring.com>
References: <8ps472$f3e$1@overload.lbl.gov>


Talked to them (Lantronix) today...  One of the things I am trying to
get the candidate server to do is to "capture" the first 10k or so bytes
of text that are written to COM1 after booting.  The idea is to let the
server grab it just in case... then later (if something went wrong) we 
could do a tenet to look at the data.

The best their server would do is 2k (aprox 40 lines)... I would really
like to capture a little more than that, so I am still looking.

Unlike xyplex, they responded (pre-sales support) very promptly and were
technically competent...  I sure wish they could have buffered a little
more data... still, this is hardly a standard terminal server function.

Again, thanks for suggesting them!

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxSim-Lite vs. VxSim
Date: Fri, 15 Sep 2000 20:44:10 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C2C25A.FDCC3AB2@mindspring.com>
References: <39C2B4E7.C504233B@west.raytheon.com>

In a word, NETWORKING!

---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: Visual Studio Editor
Date: Fri, 15 Sep 2000 20:27:31 -0400
From: "Mike Anderson" <mike_anderson@att.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8puhi1$33$1@overload.lbl.gov>

VxWorks Greetings!

>
> As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
> wonderful.  Microsoft Visual Studio is a good alternative to it for
> searching, class view, source browser...
>
> Now I have problem on VxWorks .cc files.  MS Visual Studio
> doesn't recognize
> them!
>
> Do you know how I could customize to define .cc files as .cpp in MS Visual
> Studio so that its "source browser" and "class view" features could be
> utilized?
>
>

Yes.  Don't use the Visual Studio IDE.  Instead use the Visual Slickedit
(www.slickedit.com) product.  It does everything that Visual Studio does
and is Tornado aware.  You can create Tornado projects, compile your
code, use tag files and perform class browsing all from one interface.

HTH,

Mike Anderson
The PTR Group, Inc.
mailto:mike@theptrgroup.com
http://www.theptrgroup.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: UDP socket can't recv the UDP Broadcast Package--help
Date: Sat, 16 Sep 2000 03:23:19 GMT
From: Sam Becker <yxshi@huawei.com>
Organization: Deja.com - Before you buy.
Message-ID: <8pup2p$h8g$1@nnrp1.deja.com>

I am now developing the driver for IPOA under vxworks. I CAN get the
singlecast package for my UDP socket, but CANNOT recv the BroadCast
package (from BOOTP request)

I've traced that my IPOA driver does get the package and does submit it
to MUX(IP driver).But i can not get any data from the socket.

some related codes as following:

	sockAddrSize = sizeof(struct sockaddr_in);
	bzero((char *) &serverAddr, sockAddrSize);
	serverAddr.sin_len = (u_char)sockAddrSize;
	serverAddr.sin_family = AF_INET;
	serverAddr.sin_port = 67;
	serverAddr.sin_addr.s_addr = inet_addr("16.16.3.33");

	if ((sFd = socket(AF_INET, SOCK_DGRAM, 0)) == ERROR)
		{
		printf("Open socket fail!\n");
		return;
		}

	if (bind (sFd, (struct sockaddr *)&serverAddr, sockAddrSize) ==
ERROR)
		{
		printf("Bind socket fail!\n");
		close(sFd);
		return;
		}

	if(recvfrom(sFd, (char *)&bootpMsg, sizeof(bootpMsg), 0,
				(struct sockaddr *)&clientAddr,
&sockAddrSize) == ERROR)
		{
		printf("Receive message fail!\n");
		close(sFd);
		return;
		}

Thank U very much!

- --
ש





Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 17 04:03:06 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sun Sep 17 04:03:08 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sun Sep 17 04:03:03 PDT 2000

        Subject: Re: UDP socket can't recv the UDP Broadcast Package--help
        Subject: Customizing  Tornado2.0's  Project Fascility
        Subject: The gateway and router tab
        Subject: How can I get VxWorkses' hardware (drivers) support list

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP socket can't recv the UDP Broadcast Package--help
Date: Sat, 16 Sep 2000 10:40:45 -0400
From: Ken Bass <kbass@dsrnet.com>
Organization: Verio
Message-ID: <39C3866D.DC32AE5F@dsrnet.com>
References: <8pup2p$h8g$1@nnrp1.deja.com>

Have you dont ipstatShow and udpstatShow? What counters are
incrementing?

Sam Becker wrote:
> 
> I am now developing the driver for IPOA under vxworks. I CAN get the
> singlecast package for my UDP socket, but CANNOT recv the BroadCast
> package (from BOOTP request)
> 
> I've traced that my IPOA driver does get the package and does submit it
> to MUX(IP driver).But i can not get any data from the socket.
> 
> some related codes as following:
> 
>         sockAddrSize = sizeof(struct sockaddr_in);
>         bzero((char *) &serverAddr, sockAddrSize);
>         serverAddr.sin_len = (u_char)sockAddrSize;
>         serverAddr.sin_family = AF_INET;
>         serverAddr.sin_port = 67;
>         serverAddr.sin_addr.s_addr = inet_addr("16.16.3.33");
> 
>         if ((sFd = socket(AF_INET, SOCK_DGRAM, 0)) == ERROR)
>                 {
>                 printf("Open socket fail!\n");
>                 return;
>                 }
> 
>         if (bind (sFd, (struct sockaddr *)&serverAddr, sockAddrSize) ==
> ERROR)
>                 {
>                 printf("Bind socket fail!\n");
>                 close(sFd);
>                 return;
>                 }
> 
>         if(recvfrom(sFd, (char *)&bootpMsg, sizeof(bootpMsg), 0,
>                                 (struct sockaddr *)&clientAddr,
> &sockAddrSize) == ERROR)
>                 {
>                 printf("Receive message fail!\n");
>                 close(sFd);
>                 return;
>                 }
> 
> Thank U very much!
> 
> --
> ש
> 
> 
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Customizing  Tornado2.0's  Project Fascility
Date: Sat, 16 Sep 2000 15:32:14 -0700
From: "Steven Szabo" <szabost@cig.mot.com>
Organization: Motorola CIG
Message-ID: <8q0lfv$es55@nntp.cig.mot.com>

Hello,
I am new to Tornado/TCL and have to solve a relatively simple problem:  add
a huge directory tree to a project at once.
What seemed to be a 1/2 an hour TCL project turned out to be a day long saga
with no correct solution in sight.  Please help me figure out what's wrong
with my TCL script:
All it does is walks through a directory tree on an NT box and add all files
to the current project....and so it does, but: all files are added with the
same path, which is the path to the very first directory added.
Here are a couple of things I tried thus far:
1) tried to move line 19-22 on line 5 and the if with the catch inside (24-
29) up into the first if (line 10) and then tried to add each file to the
workspace separately (without fileList).
2) when this failed I also tried to add full paths to the Workspace, somehow
Tornado couldn't make sense of the full path.
3) tried to convert all backslashes to forward slashes, didn't work.
4) gave up
Can someone explain what the code between the ::beginWaitCursor and
::endWaitCursor supposed to look like instead of what it is today?  I
suspect that's where the problem might be since that's the part I have least
understanding of.
Any help would be very much appreciated, please send it to my email:
Steven.Szabo@motorola.com

Thanks
Steve

1    proc treeBrowse { dirPath handle} {
2     set fileList ""
3     set dirList ""
4     cd $dirPath
5
6     foreach entry [exec ls] {
7          set dirPathNew $dirPath
8          append dirPathNew "\\$entry"
9         if [file isfile $dirPathNew] {
10             lappend fileList $entry
11      } elseif [file isdirectory $dirPathNew] {
12         lappend dirList $entry
13         treeBrowse $dirPathNew $handle
14      } else {
15         messageBox -ok -stop "INVALID PATH: $dirPathNew"
16         return
17      }
18   }
19   ::beginWaitCursor
20   set projObj [::Object::evaluate $handle Project]
21   set hProj [::Object::evaluate $projObj Handle]
22   set projName [::prjInfoGet $hProj fileName]
23
24   # Add the file(s) to the data layer
25   if {[catch {::Workspace::fileAdd ::FileViewServer \
26       $projName $fileList} error]} {
27       messageBox -ok -stop "SZABO: $error"
28   }
29   ::endWaitCursor
30   return
31  }




---------------------------

Newsgroups: comp.os.vxworks
Subject: The gateway and router tab
Date: Sun, 17 Sep 2000 08:49:22 +0800
From: "Zhang Zhiqun" <bula@guoguang.com.cn>
Organization: The news server of Changzhou TeleCom
Message-ID: <8q14a9$241l$1@news.cz.js.cn>

Hi

I don't how to configuare the router tab for the follow statues:

The IP address of the vxWorks client is 192.168.0.1.
The default gateway is 192.168.0.3.

[192.168.3.1]-------|
                    |
[192.168.1.1]-------+--[192.168.0.3]----+---[192.168.0.1]
                                        |
[192.168.2.1]----------[192.168.0.4]----|

The client will access the 192.168.1.1 server and 192.168.3.1 server
defaultly.
And sometimes it will access the 192.168.2.1 server.

I set:

ipaddrset("en0", "192.168.0.1")
routeadd("0.0.0.0","192.168.0.3")
routeadd("192.168.2.1", "192.168.0.4")

Are these right?

- --

Thanks and best regards.

Zhang Zhiqun (Bula Zhang)
bula@guoguang.com.cn

Guoguang Electronic Information Technology Co., Ltd.
http://www.guoguang.com.cn
93 Qingtan Road, Changzhou, Jiangsu, 213015, China
Tel: +86 519 697 0000 ext. 2372
Fax: +86 519 697 1140



---------------------------

Newsgroups: comp.os.vxworks
Subject: How can I get VxWorkses' hardware (drivers) support list
Date: Sun, 17 Sep 2000 12:16:07 +0200
From: "Doron Shamia" <doronshamia@hotmail.com>
Message-ID: <39c48c25$1@news.barak.net.il>

Does anybody know how can I get a full list of all hardware supported by
VxWorks (NICs, FLASH, etc.).

    TIA, Doron.



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 17 23:30:45 2000
From: "Qin Ting" <qt@mail.ndsc.com.cn>
Date: Sun Sep 17 23:30:49 PDT 2000
Subject: What does PCI I/O space mean?

Hi, all

   I know that PCI defines three space: memory address space, I/O address
space and configuration space. But I don't understand exactly what do these
sapces mean? Can anybody explains?

  Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board has
a flash image and this image configures its PCI bridge's BAR1 as I/O space
address. But in MPC860, there is no I/O space, so how could I access this
I/O space from vxWorks/MPC860?

  Anticipate your help!

Qin Ting



From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 02:19:53 2000
From: =?ks_c_5601-1987?B?udq5zLfm?= <mrpark@sol.etri.re.kr>
Date: Mon Sep 18 02:19:55 PDT 2000
Subject: VxWorks beginner's question....

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C0219C.D22BE240
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

RGVhciBzdWJzY3JpYmVyLi4uLg0KDQpJIGhhdmUgYSBxdWVzdGlvbiBhYm91dCBtYWtpbmcgVnhX
b3JrcyBpbWFnZS4NCg0KQXQgdGhlIHVzckFwcEluaXQoKSwgSSBhZGRlZCB0aGUgdGFza1NwYXdu
KCkgdG8gcnVuIGEgbmV3IHRhc2sgbWFkZW4gYnkgQysrLg0KDQpCdXQgb24gdGhlIGxpbmtpbmcg
cHJvY2VzcywgdGhlcmUgaXMgYSBzaW1wbGUgZXJyb3IuIEl0IHNob3dzICJVbmRlZmluZWQgU3lz
Ym9scyIuDQoNClRoZSBzb3VyY2UgaXMgbGlrZSB0aGlzDQp1c3JBcHBJbml0KCkNCnsNCiAgICB0
YXNrU3Bhd24oInRhc2tfbmFtZSIsIFBSSSwgMCwgU1RBQ0ssIChGVU5DUFRSKXRlc3RfbWFpbiww
LDAsMCwwLDAsMC4uLi4pOw0KfQ0KDQoNCnRlc3RfbWFpbi5jcHANCg0KaW50IHRlc3RfbWFpbigp
DQp7DQogICAgdGFza1NwYXduKC4uLi4uKSA7IC8vIHJ1bm5pbmcgdG8gbmV3IGMrKyB0YXNrLg0K
DQp9DQoNCldoYXQgaXMgdGhlIHByb2JsZW0gPw0KSG93IGNhbiBJIGNvbm5lY3QgYysrIHRhc2sg
YXQgdGhlIEMgc291cmNlIGNvZGUgPw0KVGhhbmsgeW91IGluIGFkdmFuY2UuDQo=

------=_NextPart_000_000A_01C0219C.D22BE240
Content-Type: text/html;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
dD0idGV4dC9odG1sOyBjaGFyc2V0PWtzX2NfNTYwMS0xOTg3Ij4NCjxNRVRBIGNvbnRlbnQ9Ik1T
SFRNTCA1LjUwLjQxMzQuNjAwIiBuYW1lPUdFTkVSQVRPUj4NCjxTVFlMRT48L1NUWUxFPg0KPC9I
RUFEPg0KPEJPRFkgYmdDb2xvcj0jZmZmZmZmPg0KPERJVj48Rk9OVCBzaXplPTI+RGVhciBzdWJz
Y3JpYmVyLi4uLjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8
L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkkgaGF2ZSBhIHF1ZXN0aW9uIGFib3V0IG1ha2luZyBW
eFdvcmtzIGltYWdlLjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJz
cDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkF0IHRoZSB1c3JBcHBJbml0KCksIEkgYWRkZWQg
dGhlIHRhc2tTcGF3bigpIHRvIHJ1biBhIG5ldyB0YXNrIA0KbWFkZW4gYnkgQysrLjwvRk9OVD48
L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQg
c2l6ZT0yPkJ1dCBvbiB0aGUmbmJzcDtsaW5raW5nIHByb2Nlc3MsIHRoZXJlIGlzIGEgc2ltcGxl
IGVycm9yLiBJdCANCnNob3dzICJVbmRlZmluZWQgU3lzYm9scyIuPC9GT05UPjwvRElWPg0KPERJ
Vj48Rk9OVCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+VGhl
IHNvdXJjZSBpcyBsaWtlIHRoaXM8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj51c3JB
cHBJbml0KCk8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj57PC9GT05UPjwvRElWPg0K
PERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7Jm5ic3A7Jm5ic3A7IHRhc2tTcGF3bigidGFza19uYW1l
IiwgUFJJLCAwLCBTVEFDSywgDQooRlVOQ1BUUil0ZXN0X21haW4sMCwwLDAsMCwwLDAuLi4uKTs8
L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj59PC9GT05UPjwvRElWPg0KPERJVj48Rk9O
VCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+PC9GT05UPiZu
YnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+dGVzdF9tYWluLmNwcDwvRk9OVD48L0RJVj4N
CjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0y
PmludCB0ZXN0X21haW4oKTwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPns8L0ZPTlQ+
PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj4mbmJzcDsmbmJzcDsmbmJzcDsgdGFza1NwYXduKC4u
Li4uKSA7IC8vIHJ1bm5pbmcgdG8gbmV3IGMrKyANCnRhc2suPC9GT05UPjwvRElWPg0KPERJVj48
Rk9OVCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+fTwvRk9O
VD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZP
TlQgc2l6ZT0yPldoYXQgaXMgdGhlIHByb2JsZW0gPzwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQg
c2l6ZT0yPkhvdyBjYW4gSSBjb25uZWN0IGMrKyB0YXNrIGF0IHRoZSBDIHNvdXJjZSBjb2RlID88
L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj5UaGFuayB5b3UgaW4gYWR2YW5jZS48L0ZP
TlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4NCg==

------=_NextPart_000_000A_01C0219C.D22BE240--



From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 02:21:14 2000
From: "Mike Davies" <mike.davies@epid.eurotherm.co.uk>
Date: Mon Sep 18 02:21:16 PDT 2000
Subject: Re: Visual Studio Editor


Jim Gou wrote in message <8ptoui$fcr$1@overload.lbl.gov>...
>Hi All,
>
>As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
>wonderful.  Microsoft Visual Studio is a good alternative to it for
>searching, class view, source browser...
>
>Now I have problem on VxWorks .cc files.  MS Visual Studio doesn't
recognize
>them!
>
>Do you know how I could customize to define .cc files as .cpp in MS Visual
>Studio so that its "source browser" and "class view" features could be
>utilized?
>
>Your help is very appreciated,
>
>Jim Gou
>Minerva Networks
>(408)904-1218
>
>
>

You need to set a registry entry :

look for a key named "Tabs/Language Settings"  (under
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\ on my
machine) and add the appropriate extensions to the FileExtensions list.

(it may be easier to search for "FileExtensions" until you find the right
one rather than try to navigate the entire tree in regedit.exe)

HTH,

Mike Davies





From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Mon Sep 18 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Mon Sep 18 04:03:04 PDT 2000

        Subject: Re: ATA CD-ROM access
        Subject: Re: Problems writing with dosFs 2.0
        Subject: How to read DOS Hard disk from Vxworks dosFs
        Subject: Re: Customizing  Tornado2.0's  Project Fascility
        Subject: Re: Customizing  Tornado2.0's  Project Fascility
        Subject: Re: UDP Socket Receive
        Subject: Re: Lint and TornadoII
        Subject: What does PCI I/O space mean?
        Subject: Re: Flash File system
        Subject: Re: What does PCI I/O space mean?
        Subject: VxWorks beginner's question....
        Subject: re: Visual Studio Editor

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: ATA CD-ROM access
Date: Sun, 17 Sep 2000 15:08:40 +0200
From: Leonid Rosenboim <leonid@bitband.com>
Organization: BitBand Technologies Ltd. http://www.bitband.com
Message-ID: <39C4C258.7323F681@bitband.com>
References: <8pir1n$e6a$1@nnrp1.deja.com>
Reply-To: leonid@bitband.com

This is because CD-ROM drives usually do not implement the ATA protocol, as
hard
drives do, but instead use the ATAPI protocol, which runs over the same IDE
hardware
but is something else. Couple of years back we did an ATAPI driver
addition,
which makes the VxWorks ATA driver know both ATA and ATAPI protocols,
but its burried somewhere at WindRiver. Try to ask your FAE to get you the
driver.

newcastle1@my-deja.com wrote:

> Anyone know how to acess a ATA/IDE CDROM?
>
> I have used a similar route as mounting a hard disk, using ataDevCreate
> (). The CDROM is on the second device on the first controller.
>
> The device itself becomes visible, as though it is mounted. But then I
> cannot access any of the files using the cdromFS functions.
>
> any help appreciated
> cheers
> Richard
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Sun, 17 Sep 2000 16:06:13 +0200
From: Leonid Rosenboim <leonid@bitband.com>
Organization: BitBand Technologies Ltd. http://www.bitband.com
Message-ID: <39C4CFD5.CDEB7798@bitband.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com>
Reply-To: leonid@bitband.com

My .$.02:

An interesting point about these two problem reports is that both happen on a
PowerPC
VME target, hence I would suggest the board's specific SCSI driver as a
potential source
of the problem, More specifically the DMA cache coherency issues could have
been to blame.


Michael Imai wrote:

> We are are experienceing a very similar problem.
>
> We run various sized scsi drives on a mvme2604. We have seen the problem
> on small partitions formatted with fat16 and a 4 gig partition formatted
> with fat32.
>
> The system regularily records a 200 byte text lines to a file once per
> minute. Other events of interest (80 bytes text strings) are also
> recorded. This has functioned ok.
>
> When some additional logging is added to the system, ~2k every 4 seconds,
> I am seeing exactly the problem you describe.
>
> I changed the dcache values to write immediately which causes about half
> of the data files not to be corrupted. I also increased the priority
> around the write.
>
> I have still not resolved the problem.
>
> mike i.
>
> Hosehead Jones 2nd-1/2 wrote:
>
> > We are experiencing an intermittent (but still serious) problem with
> > dosFs 2.0.  Our system is running on a MVME2700, connected to an 18 GB
> > SCSI drive divided into 4 partitions of 4095 MB each (so that Windows
> > NT can also see the drive).  The drive has been formatted using
> > Windows NT using FAT16.
> >
> > One task in our application handles archiving; at a 100 Hz rate, this
> > task checks for new data to archive to disk, then archives it if new
> > data is available.  Each block of new data is on the order of 10 KB.
> >
> > We check the current filesize (using fstat) after each new write to
> > verify that the data was archived properly.  Most of the time, the
> > data is written to disk correctly.  However, once in a while (say once
> > every few hours) the filesize jumps by a huge margin (at least 1 GB,
> > and usually about 4 GB), then all subsequent writes to this file don't
> > increase the filesize at all.  Once this happens, the data in the file
> > is corrupted beyond repair, and when the file is closed it will either
> > be truncated by dosFs to a 0-byte file, or it will be enormous and the
> > checkdisk utilities will report that the filesize is larger than its
> > clusters and delete it.
> >
> > We've pretty well tracked this down to being a bug in dosFs; we've
> > verified that we call write() with a valid pointer and data size.  Has
> > anyone else come across something similar?
> >
> > -----------------------
> > Mark Morrison
> > Coherent Technologies, Inc.
> > markm@ctilidar.com
>
> --
> Michael Imai, P.Eng.
> Senior Software Engineer
> Offshore Systems Ltd.            (604)904-4651
> 107-930 1st Street          Fax: (604)987-2555
> North Vancouver, BC                    V7P 3N4


---------------------------

Newsgroups: comp.os.vxworks
Subject: How to read DOS Hard disk from Vxworks dosFs
Date: Sun, 17 Sep 2000 18:19:32 +0200
From: "zbody" <darkoz@hermes.si>
Organization: Slovenija OnLine - SiOL
Message-ID: <Sa6x5.42$097.2790@news.siol.net>

Hello!

I formatted hard disk within partition of 2 GB and installed (??) VxWorks
dosFs and floppy drive was working OK. I can read DOS formatted floppy and
write files on it but with hard logical drive that I created with
ataDevCreate() and then dosFsDevCreate() nothing is happening.
Even when I vant to format the drive (with diskFormat()) I get the message
"Couldn't format "hardy"(my drive) "
The thing doesn't work also if instead of "configStructH" I put NULL (for
self configuration).
Does somebody know why is that so?

/* for hardy */

 if((pBlkDevHard = (BLK_DEV*)ataDevCreate(0,0,4192320,1)) == NULL)
 printf("ERROR: ata creation !\n");

 if(dosFsConfigInit(&configStructH, 0xf8, 128, 1, 1, 256, 512, 0,
DOS_OPT_AUTOSYNC|DOS_OPT_LOWERCASE) == ERROR)
 printf("ERROR: hard config Init !\n");

 if((pVolDescHard = dosFsDevInit("hardy", pBlkDevHard, &configStructH)) ==
NULL)
 printf("ERROR: hard FsDev init !\n");

/* for floppy */

 if((pBlkDevSoft = (BLK_DEV*)fdDevCreate(0,0,0,0)) == NULL)
 printf("ERROR: floppy creation !\n");

 if(dosFsConfigInit(&configStructS, 0xf0, 1, 1, 2, 9, 224, 0,
DOS_OPT_AUTOSYNC|DOS_OPT_LOWERCASE) == ERROR)
 printf("ERROR: floppy config Init !\n");

 if((pVolDescSoft = dosFsDevInit("floppy", pBlkDevSoft, &configStructS)) ==
NULL)
 printf("ERROR: floppy Fs init !\n");

Thanks!

Darko



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Customizing  Tornado2.0's  Project Fascility
Date: Sun, 17 Sep 2000 21:44:29 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8q371f$6q$12$1@news.t-online.com>
References: <8q0lfv$es55@nntp.cig.mot.com>

Hello Steven,
there is a add on to the Tornado II available, called SNiFF+ for Tornado.
Here you get support for handling huge projects (vew to some Million Lines
of Code)
together with team support and SourceCode Browsing.
You Might be interrested to visit WWW.WindRiver.com or ask your local
WindRiver rep.
for SNiFF+.
There is a eval. download and an internet based online manual as well.


- --
Martin Raabe
Project Manager
Integration of SNiFF+ in Tornado II and pRISM+
TakeFive Software GmbH ,  a Wind River Company
Carl-Zeiss-Strasse 41
55129 Mainz
T: (+49) 170 / 1838405
F: (+49) 6131 / 35840-99
M: (+49) 170 / 1838405
E: Martin.Raabe@WindRiver.com
W: www.WindRiver.com
W: www.takefive.co.at/faq

Steven Szabo <szabost@cig.mot.com> schrieb in im Newsbeitrag:
8q0lfv$es55@nntp.cig.mot.com...
> Hello,
> I am new to Tornado/TCL and have to solve a relatively simple problem:
add
> a huge directory tree to a project at once.
> What seemed to be a 1/2 an hour TCL project turned out to be a day long
saga
> with no correct solution in sight.  Please help me figure out what's wrong
> with my TCL script:
> All it does is walks through a directory tree on an NT box and add all
files
> to the current project....and so it does, but: all files are added with
the
> same path, which is the path to the very first directory added.
> Here are a couple of things I tried thus far:
> 1) tried to move line 19-22 on line 5 and the if with the catch inside
(24-
> 29) up into the first if (line 10) and then tried to add each file to the
> workspace separately (without fileList).
> 2) when this failed I also tried to add full paths to the Workspace,
somehow
> Tornado couldn't make sense of the full path.
> 3) tried to convert all backslashes to forward slashes, didn't work.
> 4) gave up
> Can someone explain what the code between the ::beginWaitCursor and
> ::endWaitCursor supposed to look like instead of what it is today?  I
> suspect that's where the problem might be since that's the part I have
least
> understanding of.
> Any help would be very much appreciated, please send it to my email:
> Steven.Szabo@motorola.com
>
> Thanks
> Steve
>
> 1    proc treeBrowse { dirPath handle} {
> 2     set fileList ""
> 3     set dirList ""
> 4     cd $dirPath
> 5
> 6     foreach entry [exec ls] {
> 7          set dirPathNew $dirPath
> 8          append dirPathNew "\\$entry"
> 9         if [file isfile $dirPathNew] {
> 10             lappend fileList $entry
> 11      } elseif [file isdirectory $dirPathNew] {
> 12         lappend dirList $entry
> 13         treeBrowse $dirPathNew $handle
> 14      } else {
> 15         messageBox -ok -stop "INVALID PATH: $dirPathNew"
> 16         return
> 17      }
> 18   }
> 19   ::beginWaitCursor
> 20   set projObj [::Object::evaluate $handle Project]
> 21   set hProj [::Object::evaluate $projObj Handle]
> 22   set projName [::prjInfoGet $hProj fileName]
> 23
> 24   # Add the file(s) to the data layer
> 25   if {[catch {::Workspace::fileAdd ::FileViewServer \
> 26       $projName $fileList} error]} {
> 27       messageBox -ok -stop "SZABO: $error"
> 28   }
> 29   ::endWaitCursor
> 30   return
> 31  }
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Customizing  Tornado2.0's  Project Fascility
Date: Sun, 17 Sep 2000 19:34:59 -0700
From: "Steven Szabo" <Steven.Szabo@motorola.com>
Organization: Motorola CIG
Message-ID: <8q3o35$es07@nntp.cig.mot.com>
References: <8q0lfv$es55@nntp.cig.mot.com> <8q371f$6q$12$1@news.t-online.com>

May bad, it's really simple!
The magic line to fix the path:

::filePathFix dirPathNew $hProj

Steve

Martin Raabe <Martin.Raabe@WindRiver.com> wrote in message
news:8q371f$6q$12$1@news.t-online.com...
> Hello Steven,
> there is a add on to the Tornado II available, called SNiFF+ for Tornado.
> Here you get support for handling huge projects (vew to some Million Lines
> of Code)
> together with team support and SourceCode Browsing.
> You Might be interrested to visit WWW.WindRiver.com or ask your local
> WindRiver rep.
> for SNiFF+.
> There is a eval. download and an internet based online manual as well.
>
>
> --
> Martin Raabe
> Project Manager
> Integration of SNiFF+ in Tornado II and pRISM+
> TakeFive Software GmbH ,  a Wind River Company
> Carl-Zeiss-Strasse 41
> 55129 Mainz
> T: (+49) 170 / 1838405
> F: (+49) 6131 / 35840-99
> M: (+49) 170 / 1838405
> E: Martin.Raabe@WindRiver.com
> W: www.WindRiver.com
> W: www.takefive.co.at/faq
>
> Steven Szabo <szabost@cig.mot.com> schrieb in im Newsbeitrag:
> 8q0lfv$es55@nntp.cig.mot.com...
> > Hello,
> > I am new to Tornado/TCL and have to solve a relatively simple problem:
> add
> > a huge directory tree to a project at once.
> > What seemed to be a 1/2 an hour TCL project turned out to be a day long
> saga
> > with no correct solution in sight.  Please help me figure out what's
wrong
> > with my TCL script:
> > All it does is walks through a directory tree on an NT box and add all
> files
> > to the current project....and so it does, but: all files are added with
> the
> > same path, which is the path to the very first directory added.
> > Here are a couple of things I tried thus far:
> > 1) tried to move line 19-22 on line 5 and the if with the catch inside
> (24-
> > 29) up into the first if (line 10) and then tried to add each file to
the
> > workspace separately (without fileList).
> > 2) when this failed I also tried to add full paths to the Workspace,
> somehow
> > Tornado couldn't make sense of the full path.
> > 3) tried to convert all backslashes to forward slashes, didn't work.
> > 4) gave up
> > Can someone explain what the code between the ::beginWaitCursor and
> > ::endWaitCursor supposed to look like instead of what it is today?  I
> > suspect that's where the problem might be since that's the part I have
> least
> > understanding of.
> > Any help would be very much appreciated, please send it to my email:
> > Steven.Szabo@motorola.com
> >
> > Thanks
> > Steve
> >
> > 1    proc treeBrowse { dirPath handle} {
> > 2     set fileList ""
> > 3     set dirList ""
> > 4     cd $dirPath
> > 5
> > 6     foreach entry [exec ls] {
> > 7          set dirPathNew $dirPath
> > 8          append dirPathNew "\\$entry"
> > 9         if [file isfile $dirPathNew] {
> > 10             lappend fileList $entry
> > 11      } elseif [file isdirectory $dirPathNew] {
> > 12         lappend dirList $entry
> > 13         treeBrowse $dirPathNew $handle
> > 14      } else {
> > 15         messageBox -ok -stop "INVALID PATH: $dirPathNew"
> > 16         return
> > 17      }
> > 18   }
> > 19   ::beginWaitCursor
> > 20   set projObj [::Object::evaluate $handle Project]
> > 21   set hProj [::Object::evaluate $projObj Handle]
> > 22   set projName [::prjInfoGet $hProj fileName]
> > 23
> > 24   # Add the file(s) to the data layer
> > 25   if {[catch {::Workspace::fileAdd ::FileViewServer \
> > 26       $projName $fileList} error]} {
> > 27       messageBox -ok -stop "SZABO: $error"
> > 28   }
> > 29   ::endWaitCursor
> > 30   return
> > 31  }
> >
> >
> >
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Tue, 19 Sep 2000 01:34:23 +1000
From: Chris Chock <cchock@hunterlink.net.au>
Organization: Pacific Internet (Australia)
Message-ID: <39C635FF.5CA51931@hunterlink.net.au>
References: <39C10705.77D4E80A@hunterlink.net.au> <39C0A7C4.54A3BA53@ashbysoft.cix.co.uk>



Phil Ashby wrote:

> How does the PC send the packets? Does it reply to incoming packets from the
> VxWorks board, or does it use an internally generated 'struct sockaddr_in' in
> the sendto() call?
>

I do not have access to the PC source as it was not provided by the supplier.
The PC runs it's own application and provides a GUI interface to us.  With the
GUI I can see that UDP packets are being received when I Tx from the PowerPC.  I
can aslo see the Tx count increasing when I set the software up to transmit back
to the PowerPC.

> Are there any routers involved (and is the routing correct on the PC)?.
>

No.

>
> Does the PC receive packets from the VxWorks board OK?
>

Yes.  As I have two PC's running the same software I also checked that they could
transmit to and receive from each other.

>
> Have you tried snooping the network traffic (Netmon is quite useful :)
>

I set up one of the PCs to send UDP packets to my WinNT notebook and ran "netstat
- -s".  I can adjust the rate at which UDP packets are transmitted so I set up to
see 50 UDP packets every 10 seconds.  Through netstat I could see the IP count
increasing by the appropriate 50 every 10 seconds.  Under UDP however, I see the
"No ports" increasing by the 50 every 10 seconds but the "Datagrams received"
remains relatively steady.  Seems to increase by one every now and then.  I am
not sure how to interpret the results.

>
> Phil.
>
> Chris Chock wrote:
> >
> > I have been sending data from a Radstone PPC4A card to a PC via
> > ethernet, using UDP.  When I try to receive using either "recvfrom" or
> > "select" I never seem to get any UDP packets.  I know that the PC is
> > transmitting 80 bytes of data at a 10 Hz rate, but my application never
> > gets them.  Are there any known issues with receiving UDP packets ?
> >
> > Thanks.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Lint and TornadoII
Date: Mon, 18 Sep 2000 07:58:06 +0200
From: "Matthias Guelck" <Matthias.Guelck@de.heidelberg.com>
Organization: Heidelberg Digital
Message-ID: <8q4b46$fcp$1@news.hdpp.de>
References: <8pre3g$2tm$1@neptunium.btinternet.com> <8pstlq$vfb$1@news.hdpp.de> <8pu2q9$9ge$1@plutonium.btinternet.com>

Hello Andy,

we are checking our source files in two steps: first they are checked for their
syntax with the "unit" lint (parameter -u). At this time a ".lob" file is
created for each source file. After all files are checked, the resulting ".lob"
files are used for a global lint. Unfortunately this task often crashes the lint
run. This is one of the crucial problems we are faced with at the moment (for
more than one year!).

Best regards

Matthias


"Andy Kirby" <andy@yikes-a.demon.co.uk> wrote:
> Thanks very much - this is just the information I was looking for.
>
> Do you check your projects as a whole (run Lint on all files at once), or
> run Lint on files individually?
>
> Thanks
>
> Andy
>
> "Matthias Guelck" <Matthias.Guelck@de.heidelberg.com> wrote in message
> news:8pstlq$vfb$1@news.hdpp.de...
> > Hello Andy,
> >
> > we are using PC-lint 7.5 to check our VxWorks projects for two years now,
> using
> > a lint parameter file with the following contents:
> >
> > --------------------------------------------------------------------------
> ---
> >
> > -A                            /* ANSI-C checking
> */
> > +fdi                          /* begin include search at including file
> */
> > +fcp                          /* use c++ not only for cpp and cxx ext.
> */
> > +fcu                          /* character is unsigned
> */
> > +fva                          /* variable argument size
> */
> > +fwc                          /* wchar_t is built in type
> */
> > +ppw(option)                  /* add preprocessor word <option>
> */
> > -si4                          /* Integers are 4 Byte long
> */
> > -sl4                          /* Longs are 4 Byte long
> */
> > -sp4                          /* Pointers are 4 Byte long
> */
> > -t2                           /* Tab size is 2
> */
> > -v                            /* turn off all verbosity messages
> */
> >
> > -width(0,3)                   /* Output format no breaking and indent 3
> */
> > -hsb#3                        /* Error display format
> */
> > -"format=%f(%l): Error %n: %m"/* Error message format
> */
> >
> >
> >
> > -elib(???)                    /* I can`t fix errors in library headers
> */
> >
> > -e537                         /* repeated include is controlled by #ifdev
> */
> > -e716                         /* while(1) is ok!
> */
> > -e783                         /* file end without new line is ok
> */
> > -e765                         /* external could be made static
> */
> >
> > /* NOT REFERENCED (see weak defines; check at end of project) */
> > -e714                         /* function not referenced
> */
> > -e749                         /* local enumeration constant not referenced
> */
> > -e750                         /* local macro not referenced
> */
> > -e751                         /* local typedef not referenced
> */
> > -e752                         /* local declarator not referenced
> */
> > -e753                         /* local struct, union or enum tag not ref.
> */
> > -e754                         /* local structure member not referenced
> */
> > -e755                         /* global macro not referenced
> */
> > -e756                         /* global typedef not referenced
> */
> > -e757                         /* global declarator not referenced
> */
> > -e758                         /* global struct, union or enum tag not ref.
> */
> > -e768                         /* global structure member not referenced
> */
> > -e769                         /* global enumeration constant not ref.
> */
> > -e1714                        /* member function not referenced
> */
> > -e1715                        /* static member not referenced
> */
> > -e1716                        /* virtual member function not referenced
> */
> > -e1750                        /* local template not referenced
> */
> > -e1755                        /* global template not referenced
> */
> >
> >
> > -esym(1512, unary_function<*>)         /* from stl in file stl_function.h
> */
> > -esym(1512, binary_function<*>)        /*            - "" -
> */
> >
> >
> > -emacro(611,clearerr)         /* ignore errors in macro
> */
> > -emacro(666,clearerr)         /* ignore errors in macro
> */
> > -emacro(740,clearerr)         /* ignore errors in macro
> */
> >
> > -emacro(534,putc)             /* ignore errors in macro
> */
> > -emacro(611,putc)             /* ignore errors in macro
> */
> > -emacro(666,putc)             /* ignore errors in macro
> */
> > -emacro(740,putc)             /* ignore errors in macro
> */
> >
> > -emacro(534,putchar)          /* ignore errors in macro
> */
> > -emacro(611,putchar)          /* ignore errors in macro
> */
> > -emacro(666,putchar)          /* ignore errors in macro
> */
> > -emacro(734,putchar)          /* ignore errors in macro
> */
> > -emacro(740,putchar)          /* ignore errors in macro
> */
> >
> > -emacro(534,getchar)          /* ignore errors in macro
> */
> > -emacro(611,getchar)          /* ignore errors in macro
> */
> > -emacro(666,getchar)          /* ignore errors in macro
> */
> > -emacro(740,getchar)          /* ignore errors in macro
> */
> >
> > -emacro(611,feof)             /* ignore errors in macro
> */
> > -emacro(740,feof)             /* ignore errors in macro
> */
> >
> > -emacro(611,ferror)           /* ignore errors in macro
> */
> > -emacro(740,ferror)           /* ignore errors in macro
> */
> >
> > -emacro(611,fileno)           /* ignore errors in macro
> */
> > -emacro(613,fileno)           /* ignore errors in macro
> */
> > -emacro(666,fileno)           /* ignore errors in macro
> */
> > -emacro(740,fileno)           /* ignore errors in macro
> */
> >
> > -emacro(611,__sfileno)        /* ignore errors in macro
> */
> > -emacro(613,__sfileno)        /* ignore errors in macro
> */
> > -emacro(666,__sfileno)        /* ignore errors in macro
> */
> > -emacro(740,__sfileno)        /* ignore errors in macro
> */
> >
> > -emacro(  26,va_start)        /* ignore errors in macro
> */
> > -emacro( 522,va_start)        /* ignore errors in macro
> */
> > -emacro( 534,va_start)        /* ignore errors in macro
> */
> > -emacro( 746,va_start)        /* ignore errors in macro
> */
> > -emacro(1055,va_start)        /* ignore errors in macro
> */
> >
> >
> > /*
> > **  Ignore these constructs..
> > */
> > -d__extension__()             /* for va_xxx macros
> */
> > -d__attribute__=;             /* from stl in file exception part one
> */
> > -d((__noreturn__))=;          /*          - "" -            part two
> */
> > -d_IH=
> > -d_SWI=
> > -d_TRAP()=
> > -d_SPL()=
> > -d_GPL()=
> >
> > /*  The following functions exhibit variable return modes.
> > **  That is, they may equally-usefully be called for a value
> > **  as called just for their effects.  Accordingly we inhibit
> > **  Warning 534 for these functions.
> > **  Feel free to add to or subtract from this list.
> > */
> > -esym(534,close,creat,fclose,fprintf,fputc)
> > -esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset)
> > -esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy)
> > -esym(534,strncat,strncpy,unlink,write)
> > -esym(534,cprintf,CTerminalIO::cprintf,printErr,xfclose)
> >
> > --------------------------------------------------------------------------
> ---
> >
> > The important line is -elib(???) which instructs lint to ignore all
> errors in
> > header files included with the <> brackets. If you include all the VxWorks
> > headers with <> you will get rid of the error messages caused by the
> famous Wind
> > River programmers.
> > Since macros are resolved within your source file, you also have to ignore
> > errors related to the macro resolutions (-emacro()).
> > Also important is the "Ignore these constructs.." section.
> >
> > Using the STL with VxWorks, we found some very crucial problems, which
> were
> > reported to gimpel support about one year ago, but still not fixed!
> > It seems like the same people are (un)supporting Wind River Systems and
> gimpel
> > products: help is promised, but never given ...
> >
> > Matthias
> >
> >
> >
> > "Andy Kirby" <andy@yikes-a.demon.co.uk> wrote :
> > > Has anyone had any experience of setting up Lint with the Tornado NT
> > > environment? I have been trying to use Gimpel FlexeLint with T2(PPC) and
> > > there seems to be an awful lot of setting up of the Lint switches to
> even
> > > get it pass the VXWorks headers and the GNU extensions (like
> __attribute__
> > > ((packed)) ). If anyone can point me to a place where this has been
> done,
> > > I'd appreciate any tips.
> > >
> > > Thanks
> > >
> > > Andy
> > >
> > >
> >
>
>


---------------------------

Newsgroups: comp.os.vxworks
Subject: What does PCI I/O space mean?
Date: Mon, 18 Sep 2000 14:32:27 +0800
From: "Qin Ting" <qt@mail.ndsc.com.cn>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q4fd1$sip$1@overload.lbl.gov>

Hi, all

   I know that PCI defines three space: memory address space, I/O address
space and configuration space. But I don't understand exactly what do these
sapces mean? Can anybody explains?

  Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board has
a flash image and this image configures its PCI bridge's BAR1 as I/O space
address. But in MPC860, there is no I/O space, so how could I access this
I/O space from vxWorks/MPC860?

  Anticipate your help!

Qin Ting


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Flash File system
Date: Mon, 18 Sep 2000 09:31:03 +0200
From: Uwe Foss <uwe.foss@dit.siemens.de>
Organization: Siemens AG
Message-ID: <39C5C4B7.2C19C84E@dit.siemens.de>
References: <lwAt5.127$JC2.53194@news01.micron.net>

I have heard of FlashX from Datalight.
It should support wear leveling and a robust transaction system, automated
write interuption recovery, 9K ROM 6K RAM .
The porting kit should be available with full source and adaptions to
several OS.

http://www.fsforth.de/    Software

Randy Schafer schrieb:

> Can anyone recommend a Flash File System (other than TrueFFS) that will
> work with vxWorks? TFFS does not work properly with our configuration.
>
> Thanks
> --
> Randy Schafer
> Sr.Software Engineer
> Cinta Corportaion
> randy.schafer@cinta-corp.com

- ----------------------------
SIEMENS AG
ATD TD 23 STG
 uwe . foss @ dit . siemens . de
- -----------------------------



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: What does PCI I/O space mean?
Date: 18 Sep 2000 09:27:57 GMT
From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
Organization: UNINETT news service
Message-ID: <8q4n6t$e72$1@snipp.uninett.no>
References: <8q4fd1$sip$1@overload.lbl.gov>
Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>

Qin Ting <qt@mail.ndsc.com.cn> wrote:
: Hi, all

:    I know that PCI defines three space: memory address space, I/O address
: space and configuration space. But I don't understand exactly what do these
: sapces mean? Can anybody explains?

What more is there to know? You have to know that PCI was designed 
while looking askance at the x86/PC. The PCI spcial interest group
did not want to ruin the PCI bus like the ISA bus, but at the same 
time it had to be able to support archaic x86/ISA "features." PCI 
does not do this with explicit control stobes, but rather by placing
this on the PCI control subbus as part of the general PCI bus state
machine architecture, symmetrical to the memory and configuration
space. There are even configuration options to emulate 10 bit IO
space and 20 bit address space of the old 8086. 

The different PCI memory spaces are then mapped into local bus
address/memory space by the PCI bridge.  I'm not really sure if 
the MBX860 BSP truncates the full 32bit/4GB PCI address space 
down to the map window size or use the gateway principle.
Either an address/data register gateway or a full 4KByte page.
Possibely both - truncated classical x86 64KByte worth of IO 
space (any PCI device can support IO space for backwards
compatibility, but really should allow for memory space 
decoding instead) and gateway memory space. 
You'll have to look for yourself.

:   Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board has
: a flash image and this image configures its PCI bridge's BAR1 as I/O space
: address. But in MPC860, there is no I/O space, so how could I access this
: I/O space from vxWorks/MPC860?

You will see this IO register translated into a memory mapped register
somewhere in the PCI IO window instead. Same offset into the IO window
as the base IO address on the PCI bus. This PCI card of yours is faulty.
It really should support memory space registers instead.

- --
  ******************************************************
  Never ever underestimate the power of human stupidity.
  -Robert Anson Heinlein

		GeirFRS@invalid.and.so.forth
  ******************************************************

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxWorks beginner's question....
Date: Mon, 18 Sep 2000 18:18:19 +0900
From: =?ks_c_5601-1987?B?udq5zLfm?= <mrpark@sol.etri.re.kr>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q4pui$4oj$1@overload.lbl.gov>

This is a multi-part message in MIME format.

- ------=_NextPart_000_000A_01C0219C.D22BE240
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

RGVhciBzdWJzY3JpYmVyLi4uLg0KDQpJIGhhdmUgYSBxdWVzdGlvbiBhYm91dCBtYWtpbmcgVnhX
b3JrcyBpbWFnZS4NCg0KQXQgdGhlIHVzckFwcEluaXQoKSwgSSBhZGRlZCB0aGUgdGFza1NwYXdu
KCkgdG8gcnVuIGEgbmV3IHRhc2sgbWFkZW4gYnkgQysrLg0KDQpCdXQgb24gdGhlIGxpbmtpbmcg
cHJvY2VzcywgdGhlcmUgaXMgYSBzaW1wbGUgZXJyb3IuIEl0IHNob3dzICJVbmRlZmluZWQgU3lz
Ym9scyIuDQoNClRoZSBzb3VyY2UgaXMgbGlrZSB0aGlzDQp1c3JBcHBJbml0KCkNCnsNCiAgICB0
YXNrU3Bhd24oInRhc2tfbmFtZSIsIFBSSSwgMCwgU1RBQ0ssIChGVU5DUFRSKXRlc3RfbWFpbiww
LDAsMCwwLDAsMC4uLi4pOw0KfQ0KDQoNCnRlc3RfbWFpbi5jcHANCg0KaW50IHRlc3RfbWFpbigp
DQp7DQogICAgdGFza1NwYXduKC4uLi4uKSA7IC8vIHJ1bm5pbmcgdG8gbmV3IGMrKyB0YXNrLg0K
DQp9DQoNCldoYXQgaXMgdGhlIHByb2JsZW0gPw0KSG93IGNhbiBJIGNvbm5lY3QgYysrIHRhc2sg
YXQgdGhlIEMgc291cmNlIGNvZGUgPw0KVGhhbmsgeW91IGluIGFkdmFuY2UuDQo=

- ------=_NextPart_000_000A_01C0219C.D22BE240
Content-Type: text/html;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
dD0idGV4dC9odG1sOyBjaGFyc2V0PWtzX2NfNTYwMS0xOTg3Ij4NCjxNRVRBIGNvbnRlbnQ9Ik1T
SFRNTCA1LjUwLjQxMzQuNjAwIiBuYW1lPUdFTkVSQVRPUj4NCjxTVFlMRT48L1NUWUxFPg0KPC9I
RUFEPg0KPEJPRFkgYmdDb2xvcj0jZmZmZmZmPg0KPERJVj48Rk9OVCBzaXplPTI+RGVhciBzdWJz
Y3JpYmVyLi4uLjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8
L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkkgaGF2ZSBhIHF1ZXN0aW9uIGFib3V0IG1ha2luZyBW
eFdvcmtzIGltYWdlLjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJz
cDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkF0IHRoZSB1c3JBcHBJbml0KCksIEkgYWRkZWQg
dGhlIHRhc2tTcGF3bigpIHRvIHJ1biBhIG5ldyB0YXNrIA0KbWFkZW4gYnkgQysrLjwvRk9OVD48
L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQg
c2l6ZT0yPkJ1dCBvbiB0aGUmbmJzcDtsaW5raW5nIHByb2Nlc3MsIHRoZXJlIGlzIGEgc2ltcGxl
IGVycm9yLiBJdCANCnNob3dzICJVbmRlZmluZWQgU3lzYm9scyIuPC9GT05UPjwvRElWPg0KPERJ
Vj48Rk9OVCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+VGhl
IHNvdXJjZSBpcyBsaWtlIHRoaXM8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj51c3JB
cHBJbml0KCk8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj57PC9GT05UPjwvRElWPg0K
PERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7Jm5ic3A7Jm5ic3A7IHRhc2tTcGF3bigidGFza19uYW1l
IiwgUFJJLCAwLCBTVEFDSywgDQooRlVOQ1BUUil0ZXN0X21haW4sMCwwLDAsMCwwLDAuLi4uKTs8
L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj59PC9GT05UPjwvRElWPg0KPERJVj48Rk9O
VCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+PC9GT05UPiZu
YnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+dGVzdF9tYWluLmNwcDwvRk9OVD48L0RJVj4N
CjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0y
PmludCB0ZXN0X21haW4oKTwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPns8L0ZPTlQ+
PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj4mbmJzcDsmbmJzcDsmbmJzcDsgdGFza1NwYXduKC4u
Li4uKSA7IC8vIHJ1bm5pbmcgdG8gbmV3IGMrKyANCnRhc2suPC9GT05UPjwvRElWPg0KPERJVj48
Rk9OVCBzaXplPTI+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+fTwvRk9O
VD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZP
TlQgc2l6ZT0yPldoYXQgaXMgdGhlIHByb2JsZW0gPzwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQg
c2l6ZT0yPkhvdyBjYW4gSSBjb25uZWN0IGMrKyB0YXNrIGF0IHRoZSBDIHNvdXJjZSBjb2RlID88
L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj5UaGFuayB5b3UgaW4gYWR2YW5jZS48L0ZP
TlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4NCg==

- ------=_NextPart_000_000A_01C0219C.D22BE240--


---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Visual Studio Editor
Date: Mon, 18 Sep 2000 10:20:35 +0100
From: "Mike Davies" <mike.davies@epid.eurotherm.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q4puj$4ok$1@overload.lbl.gov>


Jim Gou wrote in message <8ptoui$fcr$1@overload.lbl.gov>...
>Hi All,
>
>As a new comer of VxWorks, I found Tornado IDE Editor (for NT) is not that
>wonderful.  Microsoft Visual Studio is a good alternative to it for
>searching, class view, source browser...
>
>Now I have problem on VxWorks .cc files.  MS Visual Studio doesn't
recognize
>them!
>
>Do you know how I could customize to define .cc files as .cpp in MS Visual
>Studio so that its "source browser" and "class view" features could be
>utilized?
>
>Your help is very appreciated,
>
>Jim Gou
>Minerva Networks
>(408)904-1218
>
>
>

You need to set a registry entry :

look for a key named "Tabs/Language Settings"  (under
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\ on my
machine) and add the appropriate extensions to the FileExtensions list.

(it may be easier to search for "FileExtensions" until you find the right
one rather than try to navigate the entire tree in regedit.exe)

HTH,

Mike Davies




---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 05:24:47 2000
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Date: Mon Sep 18 05:24:49 PDT 2000
Subject: Slot identification on Compact PCI

VxWorks  Tornado

Hi All,

Is it possible to identify the Slot number thru software in a Compact
PCI chassis, if so in VxWorks any one has implemented it, please let me
know detail, how to do it.

Thanks & Regards,

R.Balaji.




From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 07:25:53 2000
From: Jim Way <Jway@datum.com>
Date: Mon Sep 18 07:25:55 PDT 2000
Subject: RE: MAC address

Dan (gold@sdsu.edu),

Looks like I'm ready for the Tornado BSP class now! Thanks for the deeper
explanations. I now understand more about the Very Bad Things I had been
warned about (I'm using a QUICC device myself).

Jim


From vxwexplo-errs@csg.lbl.gov  Mon Sep 18 19:51:55 2000
From: "Qin Ting" <qt@mail.ndsc.com.cn>
Date: Mon Sep 18 19:51:57 PDT 2000
Subject: Re: comp.os.vxworks newsdigest

> Newsgroups: comp.os.vxworks
> Subject: Re: What does PCI I/O space mean?
> Date: 18 Sep 2000 09:27:57 GMT
> From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
> Organization: UNINETT news service
> Message-ID: <8q4n6t$e72$1@snipp.uninett.no>
> References: <8q4fd1$sip$1@overload.lbl.gov>
> Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>
>
> Qin Ting <qt@mail.ndsc.com.cn> wrote:
> : Hi, all
>
> :    I know that PCI defines three space: memory address space, I/O
address
> : space and configuration space. But I don't understand exactly what do
these
> : sapces mean? Can anybody explains?
>
> What more is there to know? You have to know that PCI was designed
> while looking askance at the x86/PC. The PCI spcial interest group
> did not want to ruin the PCI bus like the ISA bus, but at the same
> time it had to be able to support archaic x86/ISA "features." PCI
> does not do this with explicit control stobes, but rather by placing
> this on the PCI control subbus as part of the general PCI bus state
> machine architecture, symmetrical to the memory and configuration
> space. There are even configuration options to emulate 10 bit IO
> space and 20 bit address space of the old 8086.
>
> The different PCI memory spaces are then mapped into local bus
> address/memory space by the PCI bridge.  I'm not really sure if
> the MBX860 BSP truncates the full 32bit/4GB PCI address space
> down to the map window size or use the gateway principle.
> Either an address/data register gateway or a full 4KByte page.
> Possibely both - truncated classical x86 64KByte worth of IO
> space (any PCI device can support IO space for backwards
> compatibility, but really should allow for memory space
> decoding instead) and gateway memory space.
> You'll have to look for yourself.
>
> :   Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board
has
> : a flash image and this image configures its PCI bridge's BAR1 as I/O
space
> : address. But in MPC860, there is no I/O space, so how could I access
this
> : I/O space from vxWorks/MPC860?
>
> You will see this IO register translated into a memory mapped register
> somewhere in the PCI IO window instead. Same offset into the IO window
> as the base IO address on the PCI bus. This PCI card of yours is faulty.
> It really should support memory space registers instead.
>


Thanks a lot! Your explanation make me more clear about it, but I still have
something unknown.

You mean that the PCI I/O address space can be mapped into MPC860's local
bus memory space, am I right?
If so, how can I configure the bit 0 of  HOST bridge's BAR? I think it
should be 1, means I/O address space, right?

And, can secondary PCI bus's I/O address space be mapped into the primary
PCI bus's  memory address space through PCI-PCI brideg or other
non-transparent bridge like intel-21554?

Anticipate your help.
Qin Ting



From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 01:25:42 2000
From: f.pertin@staubli.com
Date: Tue Sep 19 01:25:44 PDT 2000
Subject: bootting a target

Hello VXWORKS and TORNADO gurus,

I work with T2, I got a new target board (CPU pentium). The supplier of
this board does not provided a BSP for VX. I succeed to boot this board
with the floppy provided with T2. Now I am trying to use the ethernet
connexion, the only informaion I have on the ethernet chip on this board
is:
chipset: RTL 8139B
Ethernet interface: PCI 10/100 Mbps Ethernet IEEE 802.3 U protocol
compatible.

Does anybody knows which of the following defines I have to use in the
config.h file ????
....
#define   INCLUDE_END         /* Use Enhanced Network Drivers */

#undef    INCLUDE_ULTRA       /* include SMC Elite16 Ultra interface */
#define   INCLUDE_ENE         /* include Eagle/Novell NE2000 interface */
#undef    INCLUDE_ELT         /* include 3COM EtherLink III interface */
#undef    INCLUDE_ESMC        /* include SMC 91c9x Ethernet interface */
#undef    INCLUDE_FEI         /* include Intel Ether Express PRO100B PCI */
#undef    INCLUDE_SLIP        /* include serial line interface */
#define SLIP_TTY    1    /* serial line IP channel COM2 */
#undef    INCLUDE_ELC         /* include SMC Elite16 interface */
#undef    INCLUDE_EEX         /* include INTEL EtherExpress interface */
#undef    INCLUDE_EEX32       /* include INTEL EtherExpress flash 32 */
#undef    INCLUDE_EX          /* include Excelan Ethernet interface */
#undef    INCLUDE_ENP         /* include CMC Ethernet interface*/
#undef    INCLUDE_SM_NET      /* include backplane net interface */
#undef    INCLUDE_SM_SEQ_ADDR /* shared memory network auto address setup */
#undef    INCLUDE_EL_3C90X_END    /* 3com fast etherLink XL PCI */
#undef    INCLUDE_LN_97X_END      /* AMD 79C972 END DRIVER */
....

or does anybody know where to find (www......) correspondance between vx
drivers and chipset ????

Thanks in advance

Francois



From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Tue Sep 19 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Tue Sep 19 04:03:04 PDT 2000

        Subject: Re: Is floating point operation re-entrant in vxworks
        Subject: Slot identification on Compact PCI
        Subject: Re: UDP Socket Receive
        Subject: Re: Slot identification on Compact PCI
        Subject: TCP/IP
        Subject: RE: MAC address
        Subject: Re: MAC address
        Subject: Unreachable printf() changes results!
        Subject: FORCE CPCI3750 and VxWorks booting
        Subject: learning vx works
        Subject: Re: learning vx works
        Subject: Re: UDP Socket Receive
        Subject: Re: UDP socket can't recv the UDP Broadcast Package--help
        Subject: GDB with vxWorks
        Subject: Re: synchronizing local and host sym tables
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: scsi disk install & formatting
        Subject: re: comp.os.vxworks newsdigest
        Subject: Doubt
        Subject: Re: ppc i/d cache (all of them) vs vxworks sh/mem
        Subject: Re: hardware to monitor 32 vxworks "consols"
        Subject: how to make selfdefined errno
        Subject: Re: Visual Studio Editor
        Subject: Re: powerpc stack address in romInit()
        Subject: Re: Using a single IP for 2 interfaces
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Virtual privat network protocol for vxworks
        Subject: RTC support on MPC8xx
        Subject: Tornado II, Slickedit and MKS SourceIntegrity
        Subject: bootting a target
        Subject: Re: UDP Socket Receive
        Subject: PPP-CHAP

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Is floating point operation re-entrant in vxworks
Date: Mon, 18 Sep 2000 14:01 +0100 (BST)
From: rew@cp.cix.co.uk (Richard Wenham)
Organization: CIX - Compulink Information eXchange
Message-ID: <memo.20000918140113.332A@cpecran.compulink.co.uk>
References: <8pted2$9hg$1@overload.lbl.gov>
Reply-To: rew@cp.cix.co.uk

If by re-entrant you mean thread-safe, then you need to specify 
the VX_FP_TASK option when spawning any task which is going to use 
floating point.  Also, any ISR which uses floating point must call 
fppSave() and fppRestore().  Not CPU dependent, AFAIK.

Richard Wenham
Cranfield Precision

In article <8pted2$9hg$1@overload.lbl.gov>, YJin@GI.com (Jin, Yucheng 
(HT-EX)) wrote:
> Hi, 
> 
> Is floating point operation re-entrant in VxWorks 5.3.1?  Is this CPU
> dependent or not?  Thanks in advance.
> 
> Regards,
> Yucheng Jin
> BCS, Motorola


---------------------------

Newsgroups: comp.os.vxworks
Subject: Slot identification on Compact PCI
Date: Mon, 18 Sep 2000 18:05:13 +0530
From: "Balaji  Ramachandran" <balaji.ramachandran@wipro.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q54g2$8nn$1@overload.lbl.gov>

VxWorks  Tornado

Hi All,

Is it possible to identify the Slot number thru software in a Compact
PCI chassis, if so in VxWorks any one has implemented it, please let me
know detail, how to do it.

Thanks & Regards,

R.Balaji.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Mon, 18 Sep 2000 13:50:12 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8q56ic$d5j$1@nnrp1.deja.com>
References: <39C10705.77D4E80A@hunterlink.net.au> <39C0A7C4.54A3BA53@ashbysoft.cix.co.uk> <39C635FF.5CA51931@hunterlink.net.au>

In article <39C635FF.5CA51931@hunterlink.net.au>,
  Chris Chock <cchock@hunterlink.net.au> wrote:
>
>
> I do not have access to the PC source as it was not provided by the
> supplier. The PC runs it's own application and provides a GUI
> interface to us.  With the GUI I can see that UDP packets are being
> received when I Tx from the PowerPC.  I can aslo see the Tx count
> increasing when I set the software up to transmit back to the PowerPC.
>
> Through netstat I could see the IP count increasing by the appropriate
> 50 every 10 seconds.  Under UDP however, I see the "No ports"
> increasing by the 50 every 10 seconds but the "Datagrams received"
> remains relatively steady.  Seems to increase by one every now and
> then.  I am not sure how to interpret the results.

Hmmm. Are you sure your sofware is using the right set of ports to
communicate with this application?

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Slot identification on Compact PCI
Date: Mon, 18 Sep 2000 15:42:20 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39C629CC.CEC71CFB@agilent.com>
References: <8q54g2$8nn$1@overload.lbl.gov>

On CompactPCI, logical slots 2 to 8 have their IDSEL pins connected to AD31 to
AD25 respectively of logical slot 1 (the system slot). In the PCI configuration
space behind a PCI-PCI bridge there are a maximum of 16 devices, numbered 0 to
15. These 16 notional devices have their IDSEL pins connected to AD31:AD16, so
device 15 maps directly to logical slot 2 in CompactPCI.

The alternative is the Slot Numbering Capability, indicated on the Capabilities
List in the config header of the PCI-PCI bridge. I haven't used this however.

James.



---------------------------

Newsgroups: comp.realtime,comp.robotics.research,comp.os.vxworks,comp.os.linux.embedded,comp.os.qnx
Subject: TCP/IP
Date: Mon, 18 Sep 2000 15:14:18 GMT
From: Derek Cassidy <Derek.Cassidy@cs.tcd.ie>
Organization: TCD, Ireland (post does not reflect views of Trinity College)
Message-ID: <ejqx5.11098$3y3.180164@typhoon.austin.rr.com>
Followup-To: comp.robotics.research
Reply-To: Derek Cassidy <Derek.Cassidy@cs.tcd.ie>

I am currently using TCA (Task Control Architecture) for message passing

between modules (uses TCP/IP) in a program using Debian Linux. However I
will be using
some other real-time OS now and probably cannot use TCA...
is there any other similar package available for other RTOS's ,
i.e. for QNX? .

*******  Crossposted: comp.robotics.research (moderated)  *******
  Summary: Academic, government & industry research in robotics.  
      Archives and information: http://www.metamech.com/crr
         Charter: http://www.metamech.com/crr/Charter         
      Meta-discussions/information: crr-request@metamech.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: MAC address
Date: Mon, 18 Sep 2000 07:22:34 -0700
From: Jim Way <Jway@datum.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q5bh1$b5u$1@overload.lbl.gov>

Dan (gold@sdsu.edu),

Looks like I'm ready for the Tornado BSP class now! Thanks for the deeper
explanations. I now understand more about the Very Bad Things I had been
warned about (I'm using a QUICC device myself).

Jim

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: MAC address
Date: Mon, 18 Sep 2000 16:41:35 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39C637AF.AC7DDBD2@agilent.com>
References: <200009151750.SAA02082@dsl-2.tadpole.co.uk>



David Laight wrote:

>
> 4 isn't truly possible!  Unix systems time entries out after 10 minutes (but
> don't expect windows to do this).  Sending an ARP request to everyone in your
> existing ARP table may update the remote systems table (but not in Solaris
> 2.5.1).
>

You can also issue a gratuitous or unsolicited ARP. This is an ARP request where
both the sender and target protocol (ie. IP) addresses are the same, the sender
hardware (ie. MAC) address is valid of course. The ARP packet is broadcast. When
received, it tells the host's ARP code to update its ARP table with the new MAC
address for that IP address. All IP stacks issue a single unsolicited ARP request
when they have their IP address set via a SIOCSIFADDR ioctl(), eg. at start-up or
ifAddrSet(). It helps detect duplicate IP addresses.

You can see this working on a VxWorks console if you ping it from a host, then
change the MAC address by swapping network card or pinging from a separate machine
with the same IP address - you get something like "address details overwritten by
0x0eb0c901". The 32-bit number is the IP address. Usually it means trouble on the
network :-|

James.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Unreachable printf() changes results!
Date: Mon, 18 Sep 2000 16:28:53 GMT
From: dzshen@263.net
Organization: Deja.com - Before you buy.
Message-ID: <8q5fr8$ov3$1@nnrp1.deja.com>

Hi, I met a strange problem when debugging ARP module of our TCP/IP
protocol stack. Here is the pseudocode:

code segment 1:
...

if( CreateARPTask != SUCCESS)
	return ARP_FAILURE;
if( CreateARPMsgQ != SUCCESS)
	return ARP_FAILURE;
return ARP_SUCCESS;

...

code segment 2:
...

if( CreateARPTask != SUCESS)
	return ARP_FAILURE;
if( CreateARPMsgQ != SUCESS)
{
	printf("Fail to create ARP Message Queue");
	return ARP_FAILURE;
}
return ARP_SUCCESS;

...

If compiled and run as code segment 1, when BGP module send a arp
request, it blocks and other tasks, such as RIP, IP forwarding, UDP,
TCP changes to ready state forever. However, if as code segment 2, it
runs quite well. But the Queue was successfully created and the printf
() statement is not executed at all. I disassembed the code, and the
only difference is the latter one contains the instructions to call
printf(), and the 'return' instruction is several bytes off as compared
with code segment 1.

Who can tell me why?


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: FORCE CPCI3750 and VxWorks booting
Date: Mon, 18 Sep 2000 19:02:24 GMT
From: "Kent B. Larsen" <Kent.B.Larsen@boeing.com>
Organization: The Boeing Company
Message-ID: <39C666C0.3C39556B@boeing.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

We purchased the BSP for the CPCI3750.
The BSP contains the boot and vxworks images and html
documents describing the routines supplied and supported
by Force but does not contain any information on how to
get vxworks running on the board.

I think there are two ways to get the vxworks boot code running:
Method 1 - burn 'bootrom.hex' into a flash device and
replace the socketed monitor eeprom with this new device.
This seems to be the method inferred in what little documentation
there is.  The down side to this method would be that you lose
the shipped-with monitor capabilities.

Method 2 - 
	step 1 - use the monitor to load the bootrom to RAM.
	step 2 - use the monitor to burn what was just loaded
		in RAM into USER flash.
	step 3 - executing the bootrom code by using a monitor
		'go' command or by using the 'setboot' feature.

I have been pursueing method 2.
There is a monitor command called 'netload' that will get a
file from a TFTP server and place it in memory.
I believe that I would want to load a binary image of 'bootrom'
and not 'bootrom' as shipped in the BSP. 'Bootrom' is an elf
file.  So I need to run 'elftobin <bootrom >bootrom.bin', first.
Then I would do step 1 with this command:

PowerBoot> netload bootrom.bin 100000 <cpci3750_IP> <TFTPS_IP>

Here assume that I've started a TFTP Server and setup
the Base Directory correctly.

Now, my main question is in regargs to the 'relocatability'
of 'bootrom'.
The USER Flash starts at FFE00000.  The BSP bootrom was shipped
with ROM_TEXT_ADRS set to FFF00100 in 'Makefile' and 'Config.h'.
Since I want to burn a bootrom image in USER Flash, I believe
that I need to modify 'Makefile' and 'Config.h' by setting
ROM_TEXT_ADRS to FFE00100.  Then I would make a new bootrom image.
This image would be downloaded and burned into USER Flash.
Am I correct?

Well, I have done all the above.  I get the [VxWorks Boot]: prompt.
I use the 'c' command to modify the boot parameters.
I use the '@' command to boot vxworks but the booting
times out at the 'Loading...' stage with an 0xd0003 error.
I've switched to an FTP Server and I know that the server works
because I have other boards (DY4) that boot just fine through it.
I've got logging turned on and there is no indication that any
part of the FTP handshake is taking place with the CPCI3750.

Any ideas on what I might be doing (have done) wrong?

Oh, I am in contact with support at Force but it is slow going.

Thanks,
- -Kent B. Larsen   Boeing   1-714-762-7680

---------------------------

Newsgroups: comp.os.vxworks
Subject: learning vx works
Date: Mon, 18 Sep 2000 15:25:25 -0700
From: "Venkat" <venkat_sr@yahoo.com>
Organization: Giganews.Com - Premium News Outsourcing
Message-ID: <jWtx5.20489$SN6.474853@news4.giganews.com>

Hi,
 I am trying to learn to vx works!! HOw do I get to start writing programs
on vx works. Is there a version which would run on a PC.
(like the PharLap's TNT).
Please direct me to any links on the web. I jsut hope I would be able to
learn it using my PC.
Thanks in advance,
Venkat





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: learning vx works
Date: 18 Sep 2000 19:49:48 GMT
From: Johan Borkhuis <borkhuis@lucent.com>
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8q5rks$t8r$1@news1.xs4all.nl>
References: <jWtx5.20489$SN6.474853@news4.giganews.com>

Venkat <venkat_sr@yahoo.com> wrote:
: Hi,
:  I am trying to learn to vx works!! HOw do I get to start writing programs
: on vx works. Is there a version which would run on a PC.

Yes there is Tornado Prototyper, an evaluation version of Tornado. You can
download it from the Windriver site, just follow the link on their
homepage.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Tue, 19 Sep 2000 20:16:02 +1000
From: Chris Chock <cchock@hunterlink.net.au>
Organization: Pacific Internet (Australia)
Message-ID: <39C73CE2.EFEF2075@hunterlink.net.au>
References: <39C10705.77D4E80A@hunterlink.net.au>

I have since discovered the udpstatShow routine.  Output of the routine is
as follows:

- -> udpstatShow
UDP:
 3631 total packets
 1136 input packets
 2495 output packets
 0 incomplete header
 0 bad data length field
 0 bad checksum
 18 broadcasts received with no ports
 0 full socket
 1118 pcb cache lookups failed
 994 pcb hash lookups failed

What do "pcb cache lookups failed" and "pcb hash lookups failed" mean ?

Chris Chock wrote:

> I have been sending data from a Radstone PPC4A card to a PC via
> ethernet, using UDP.  When I try to receive using either "recvfrom" or
> "select" I never seem to get any UDP packets.  I know that the PC is
> transmitting 80 bytes of data at a 10 Hz rate, but my application never
> gets them.  Are there any known issues with receiving UDP packets ?
>
> Thanks.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP socket can't recv the UDP Broadcast Package--help
Date: Tue, 19 Sep 2000 20:25:54 +1000
From: Chris Chock <cchock@hunterlink.net.au>
Organization: Pacific Internet (Australia)
Message-ID: <39C73F32.A9C79424@hunterlink.net.au>
References: <8pup2p$h8g$1@nnrp1.deja.com>

I found this at the WRS Site.  Hope it helps.

Why recvfrom does not receive broadcast message
  if socket's local address is not INADDR_ANY

  Solution ID:
               16.0.638539.2492251
  Solution Type:
               Product Solution
  Solution Status:
               Confirmed

  Goal:
           Why recvfrom does not receive broadcast message if socket's
local address is not
           INADDR_ANY
  Fact:
           It works if socket's local IP address is bound to INADDR_ANY
  Fact:
           Tornado 2.0
  Fact:
           VxWorks / 5.4
  Fact:
           Socket's local address is not INADDR_ANY
  Symptom:
           Broadcast messages are not received
  Symptom:
           Specifying the local address as one of the local IP addreses
returns no errors, but
           broadcast messages are not received.
  Fix:
           If the s_addr member of the sockaddr_in structure contains
INADDR_ANY when
           the socket binds and calls recvfrom then, the socket will
receive any messages
           destined for that port.

           If s_addr is not INADDR_ANY, for example: 192.100.1.12, then the
IP destination
           address must match the socket's local address. Since the
broadcast message's
           destination address, 192.100.1.255 will not match 192.100.1.12,
the message will be
           dropped.

           The network stack in vxWorks is based on BSD44 which has the
following code in
           udp_input:

           if (in_broadcast(ip->;ip_dst, m->;m_pkthdr.rcvif)) {
           struct socket *last;
           /*
           * Deliver a multicast or broadcast datagram to *all
           * sockets for which the local and remote addresses
           * and ports match those of the incoming datagram.
           ...
           if (inp->;inp_lport != uh->;uh_dport)
           continue;
           if (inp->;inp_laddr.s_addr != INADDR_ANY) {
           if (inp->;inp_laddr.s_addr !=
           ip->;ip_dst.s_addr)
           continue;
           }
           if (inp->;inp_faddr.s_addr != INADDR_ANY) {
           if (inp->;inp_faddr.s_addr !=
           ip->;ip_src.s_addr ||
           inp->;inp_fport != uh->;uh_sport)
           continue;
           }

Sam Becker wrote:

> I am now developing the driver for IPOA under vxworks. I CAN get the
> singlecast package for my UDP socket, but CANNOT recv the BroadCast
> package (from BOOTP request)
>
> I've traced that my IPOA driver does get the package and does submit it
> to MUX(IP driver).But i can not get any data from the socket.
>
> some related codes as following:
>
>         sockAddrSize = sizeof(struct sockaddr_in);
>         bzero((char *) &serverAddr, sockAddrSize);
>         serverAddr.sin_len = (u_char)sockAddrSize;
>         serverAddr.sin_family = AF_INET;
>         serverAddr.sin_port = 67;
>         serverAddr.sin_addr.s_addr = inet_addr("16.16.3.33");
>
>         if ((sFd = socket(AF_INET, SOCK_DGRAM, 0)) == ERROR)
>                 {
>                 printf("Open socket fail!\n");
>                 return;
>                 }
>
>         if (bind (sFd, (struct sockaddr *)&serverAddr, sockAddrSize) ==
> ERROR)
>                 {
>                 printf("Bind socket fail!\n");
>                 close(sFd);
>                 return;
>                 }
>
>         if(recvfrom(sFd, (char *)&bootpMsg, sizeof(bootpMsg), 0,
>                                 (struct sockaddr *)&clientAddr,
> &sockAddrSize) == ERROR)
>                 {
>                 printf("Receive message fail!\n");
>                 close(sFd);
>                 return;
>                 }
>
> Thank U very much!
>
> --
> ש
> 
> 
> 
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: GDB with vxWorks
Date: Mon, 18 Sep 2000 18:09:59 -0400
From: Ken Bass <kbass@dsrnet.com>
Organization: Verio
Message-ID: <39C692B7.A138296E@dsrnet.com>

I downloaded and compiled GDB 5.0 which supports vxWorks.

When I run it, I get the vxgdb prompt.
But typing 'target vxworks xxx' is unrecognized!

Any suggestions? (I'm running under linux).

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: synchronizing local and host sym tables
Date: Mon, 18 Sep 2000 17:23:42 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39C6B20E.E3751728@rti.com>
References: <nHfw5.70$3u6.20039@news20.bellglobal.com>

Dragan -

It is possible that symbol table synchronization is not
working properly due to a a bug in Tornado.

I'm assuming you have a Windows host running Tornado.

If you are running Tornado 1.0.1, go to your Start menu and run
'Registry & License'.  Enter the hostname of the machine 
running the Tornado registry in the first box.  Click Apply.
It's probably set to localhost which causes symbol table
synchronization not to work properly.  Restart the registry
on your Windows machine and then restart Tornado and your
target server.

If you are running Tornado 2.0, bring up the Tornado IDE,
Select Tools->Options.  Scroll over to the right most tab,
Tornado Registry.  Select remote registry and enter the name
of the machine running the registry.  If you select local
registry, it will not work.

Basically, "localhost" gets stored in the Windows registry
for the name of the machine running the Tornado registry.
The WTX tools on the host resolve localhost to the ip address
127.0.0.1 and pass this down to the target.  The target then
tries to communicate with 127.0.0.1 to enable the symbol
table synchronization but ends up talking to itself and
not the Windows host.  Neat "feature".

If your Windows machines has multiple ethernet interfaces and
the target is located on a non-primary interface, this still
won't be enough for you.  The machine name will get resolved
to an ip address that the target doesn't know about.  You will
need to execute a routeNetAdd on the target before connecting
the target server in order to get symbol table synchronization
to work or enter the IP address of the non-primary interface
that the target knows about for WIND_REGISTRY.

Regards,
Lori

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200       Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com


Dragan Ostojic wrote:
> 
> Hi,
> 
> I can't get synchronizing target and host symbol table to work. I boot off
> the flash on the target and then I start target
> server from the host. When I start target server it doesn't successfully
> synchronize the tables. If somebody has done this
> before I would be very grateful for help.
> 
> Regards,
> Dragan.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Tue, 19 Sep 2000 00:33:00 GMT
From: "DanO" <danogorchock@NOSPAMcarolina.rr.com>
Organization: RoadRunner - Carolina
Message-ID: <0vyx5.15913$g35.2684676@typhoon.southeast.rr.com>
References: <39BFA9AC.C24754D1@mindspring.com>

Al,
    Well we still use an Open VMS based solution.  It used to be called VCS
but is now called PCM (PolycenterConsoleMonitor).  It is running on an Alpha
which has ports mapped through XYPLEX terminal servers.  It has been very
reliable in collecting all data from a hundred or so ports simultaneously.
It can usually keep about 1-2 weeks of data avaliable (YMMV).

Good Luck!

"Al Johnston" <sofeise@mindspring.com> wrote in message
news:39BFA9AC.C24754D1@mindspring.com...
> We would like to put together some hardware that would provide
> access to up to 32 cpu cards vxworks "console" ports.  we are
> running vxworks on mv2700/ppc cards.  The proposed "monitoring
> hardware" would connect to the "com1" port on up to 32 of these
> cards.  It should be able to display a virtual window for
> each processor.
>
> one way to do this would to put 32 tty cards in a sun box and
> then have a xterm running on the sun box for each of these.
>
> We are looking for a cheaper and more physically portable
> solution. maybe some kind of terminal server hooked to
> a pc running linux?
>
> anybody doing this already?
>
> thanks.



---------------------------

Newsgroups: comp.os.vxworks
Subject: scsi disk install & formatting
Date: Tue, 19 Sep 2000 00:34:11 GMT
From: chilibot@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q6ca2$sbl$1@nnrp1.deja.com>

I am having trouble getting my scsi drive installed and formatted to
dosFs.


I am using BSP mv2604.


I am choking on this line

    if(dosFsConfigInit(&config,0xF8,3,1,2,256,224,0,
(DOS_OPT_CHANGENOWARN |DOS_OPT_AUTOSYNC)) !=
OK);
    {
          printErrno(0);
          printErr ("dosFsConfigInit: dosFsConfigInit 0 failed.\n",
                     0, 0, 0, 0, 0, 0);
          return (ERROR);
    }



If anyone has any thoughts on possible problems let me know.

Below is the bigger picture of the code.

This code is presently working on another system I have.  So I am
suspecting that it is maybe hardware related.


STATUS sysScsiConfig (void)
    {

   #if 0
    /* these are not needed for the hard disk init */
    UINT which;
    int  scsiId;
    char modeData [4];                /* array for floppy MODE SELECT
data */
    SCSI_OPTIONS options;
   #endif
    char Disk0Label[] = "/sd0";
    char Disk1Label[] = "/sd1";
    char Disk2Label[] = "/sd2";

    DOS_VOL_CONFIG config;
    DOS_VOL_CONFIG *pconfig;

    printf("Configuring SCSI devices...\n");


    scsiDebug = FALSE;                /* enable SCSI debugging output */
    scsiIntsDebug = FALSE;        /* enable SCSI interrupt debugging
output */

if ((pSpd00 = scsiPhysDevCreate (pSysScsiCtrl, 0, 0, 0, NONE, 0, 0, 0))
        == (SCSI_PHYS_DEV *) NULL)
    {
        printErr ("usrScsiConfig: scsiPhysDevCreate failed.\n",
                        0, 0, 0, 0, 0, 0);
    }
    else
    {
       /* create block devices */

       if (((pSbd0 = scsiBlkDevCreate (pSpd00, 0x10000, 0)) ==
NULL)       ||
           ((pSbd1 = scsiBlkDevCreate (pSpd00, 0x10000, 0x10000)) ==
NULL) ||
           ((pSbd2 = scsiBlkDevCreate (pSpd00, 0, 0x20000)) == NULL))
       {
          printErr ("sysScsiConfig: scsiBlkDevCreate failed.\n",
                     0, 0, 0, 0, 0, 0);
          return (ERROR);
       }

/* define or undef the lines below to select the options desired for
the file system */
#define  DRI_USE_LONG_FILENAMES
#undef DRI_USE_LOWERCASE_FILENAMES
#define DRI_NFS_EXPORT

#if 1
       dosFsDevInitOptionsSet(0
                         #ifdef DRI_USE_LONG_FILENAMES
                             |  DOS_OPT_LONGNAMES
                         #endif
                         #ifdef DRI_NFS_EXPORT
                             |  DOS_OPT_EXPORT
                         #endif
                         #ifdef DRI_USE_LOWERCASE_FILENAMES
                             |  DOS_OPT_LOWERCASE
                         #endif
                               );
#endif

    if(dosFsConfigInit(&config,0xF8,3,1,2,256,224,0,
(DOS_OPT_CHANGENOWARN |DOS_OPT_AUTOSYNC)) !=
OK);
    {
          printErrno(0);
          printErr ("dosFsConfigInit: dosFsConfigInit 0 failed.\n",
                     0, 0, 0, 0, 0, 0);
          return (ERROR);
    }
       if ((dosFsDevInit  (Disk0Label, pSbd0, &config) == NULL) )
       {
          printErr ("sysScsiConfig: dosFsDevInit 0 failed.\n",
                     0, 0, 0, 0, 0, 0);
          return (ERROR);
       }


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: comp.os.vxworks newsdigest
Date: Tue, 19 Sep 2000 10:54:10 +0800
From: "Qin Ting" <qt@mail.ndsc.com.cn>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q6ln1$330$1@overload.lbl.gov>

> Newsgroups: comp.os.vxworks
> Subject: Re: What does PCI I/O space mean?
> Date: 18 Sep 2000 09:27:57 GMT
> From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
> Organization: UNINETT news service
> Message-ID: <8q4n6t$e72$1@snipp.uninett.no>
> References: <8q4fd1$sip$1@overload.lbl.gov>
> Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>
>
> Qin Ting <qt@mail.ndsc.com.cn> wrote:
> : Hi, all
>
> :    I know that PCI defines three space: memory address space, I/O
address
> : space and configuration space. But I don't understand exactly what do
these
> : sapces mean? Can anybody explains?
>
> What more is there to know? You have to know that PCI was designed
> while looking askance at the x86/PC. The PCI spcial interest group
> did not want to ruin the PCI bus like the ISA bus, but at the same
> time it had to be able to support archaic x86/ISA "features." PCI
> does not do this with explicit control stobes, but rather by placing
> this on the PCI control subbus as part of the general PCI bus state
> machine architecture, symmetrical to the memory and configuration
> space. There are even configuration options to emulate 10 bit IO
> space and 20 bit address space of the old 8086.
>
> The different PCI memory spaces are then mapped into local bus
> address/memory space by the PCI bridge.  I'm not really sure if
> the MBX860 BSP truncates the full 32bit/4GB PCI address space
> down to the map window size or use the gateway principle.
> Either an address/data register gateway or a full 4KByte page.
> Possibely both - truncated classical x86 64KByte worth of IO
> space (any PCI device can support IO space for backwards
> compatibility, but really should allow for memory space
> decoding instead) and gateway memory space.
> You'll have to look for yourself.
>
> :   Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board
has
> : a flash image and this image configures its PCI bridge's BAR1 as I/O
space
> : address. But in MPC860, there is no I/O space, so how could I access
this
> : I/O space from vxWorks/MPC860?
>
> You will see this IO register translated into a memory mapped register
> somewhere in the PCI IO window instead. Same offset into the IO window
> as the base IO address on the PCI bus. This PCI card of yours is faulty.
> It really should support memory space registers instead.
>


Thanks a lot! Your explanation make me more clear about it, but I still have
something unknown.

You mean that the PCI I/O address space can be mapped into MPC860's local
bus memory space, am I right?
If so, how can I configure the bit 0 of  HOST bridge's BAR? I think it
should be 1, means I/O address space, right?

And, can secondary PCI bus's I/O address space be mapped into the primary
PCI bus's  memory address space through PCI-PCI brideg or other
non-transparent bridge like intel-21554?

Anticipate your help.
Qin Ting


---------------------------

Newsgroups: comp.os.vxworks
Subject: Doubt
Date: Tue, 19 Sep 2000 09:45:22 +0530
From: myhandle@lucent.com
Organization: Lucent Technologies
Message-ID: <39C6E85A.4EB5C30@lucent.com>

Hi all,

I am new to VxWorks::::

Can anyone explain the meaning of ::::

A fundamental advantage of the Tornado environment is that the application
modules do not need to be linked with the run-time system libraries or even with
each other. Instead, Tornado can load the relocatable object modules directly,
using the symbol tables in each object module to resolve external symbol
references dynamically. "In Tornado, this symbol table resolution is done by the
target server (which executes on the host)."

Please suggest an example so that i can undestand this concept practically......

Thanx in advance,
ravi.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: ppc i/d cache (all of them) vs vxworks sh/mem
Date: Tue, 19 Sep 2000 00:30:39 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C6EBEF.FECEF9E@mindspring.com>
References: <39C2BEB1.C1A5554C@mindspring.com>

Would you believe this turned out to be a problem with that
piece of @%$#% Dawn vme chassis?  Looks like the "paddle boards"
(lets you not have to use grant cards) that Dawn shipped still
have problems!  I should have checked that sooner... you would
think in 9 months they could produce one that actually works!

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: hardware to monitor 32 vxworks "consols"
Date: Tue, 19 Sep 2000 00:34:42 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39C6ECE2.F666382D@mindspring.com>
References: <39BFA9AC.C24754D1@mindspring.com> <0vyx5.15913$g35.2684676@typhoon.southeast.rr.com>

>     Well we still use an Open VMS based solution.  It used to be called VCS
> but is now called PCM (PolycenterConsoleMonitor).  It is running on an Alpha
I remember that!  the vax is dead, long live the vax... (i miss my vms
days).

> which has ports mapped through XYPLEX terminal servers.  It has been very

I have been trying to get XYPLEX to talk to me for a week now... On day
vendors are going to realize that "just in time inventory" doesn't mean
you can get rid of pre-sales support... sigh....

thanks for the reply!
> reliable in collecting all data from a hundred or so ports simultaneously.
> It can usually keep about 1-2 weeks of data avaliable (YMMV).
> 
> Good Luck!
> 
> "Al Johnston" <sofeise@mindspring.com> wrote in message
> news:39BFA9AC.C24754D1@mindspring.com...
> > We would like to put together some hardware that would provide
> > access to up to 32 cpu cards vxworks "console" ports.  we are
> > running vxworks on mv2700/ppc cards.  The proposed "monitoring
> > hardware" would connect to the "com1" port on up to 32 of these
> > cards.  It should be able to display a virtual window for
> > each processor.
> >
> > one way to do this would to put 32 tty cards in a sun box and
> > then have a xterm running on the sun box for each of these.
> >
> > We are looking for a cheaper and more physically portable
> > solution. maybe some kind of terminal server hooked to
> > a pc running linux?
> >
> > anybody doing this already?
> >
> > thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: how to make selfdefined errno
Date: 19 Sep 2000 10:28:25 -0700
From: "sunny" <sunlifei@sbell.com.cn>
Organization: The news server of Changzhou TeleCom
Message-ID: <01bfb64d$49e896e0$8cc210ac@sunny>

Hi,

I have  a question about errno.
I want to set my errno for my program. According the book,I use makeStatTbl
to build new statTbl.c, but I found the errno in errno.h(for POSIX) dismiss
because status codes haven't been prefixed with "S_" in errno.h. 

So how can I resolve it?

Thanks!
Regrads

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Visual Studio Editor
Date: Tue, 19 Sep 2000 07:47:06 +0200
From: Gunter Ritter <Gunter.Ritter@Tenovis.com>
Organization: Tenovis GmbH u. Co. KG
Message-ID: <8q6uj1$drf$1@proxy2.fe.internet.bosch.de>
References: <8puhi1$33$1@overload.lbl.gov>

Hello NG,

but when I use Slicke Edit as an external editor, it is not possible to set
breakpoints for debugging the code.
I can set breakpoints only when using the internal editor of Tornado. Or
does anybody know a way to set breakpoints in Slick Edit?

Gunter




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: powerpc stack address in romInit()
Date: Tue, 19 Sep 2000 08:25:31 +0200
From: "Michael Lawnick" <lawnick@softec.de>
Organization: Deja.com - Before you buy
Message-ID: <200009190624.IAA30041@net.softec.de>
References: <39BD2877.E4A02565@email.mot.com>

Hi,

that differs on the image you generate, bootrom or vxWorks, but you will find 
it in the appropriate makefile definition file under target/h/make.
HTH
> Hi,
> 
> All PowerPC BSPs have the following statement in romInit() to load
> the initial the stack pointer. I cannot find the definition for
> STACK_ADRS in romInit().
> 
>   /* initialize the stack pointer */
> 
>   lis      sp, HIADJ(STACK_ADRS)
>   addi   sp, sp, LO(STACK_ADRS)
> 
> Could anyone tell me what the value for STACK_ADRS is? Thanks.
> 
> --
> Bo Yu

MfG
Lawnick, SOFTEC GmbH

==============================================
SOFTEC GmbH               Tel +49-731-96600-0
Promenade 17              Fax +49-731-96600-23
D-89073 Ulm               Michael Lawnick
Germany                   lawnick@softec.de
==============================================



 Sent via Deja.com http://www.deja.com/
 Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Using a single IP for 2 interfaces
Date: Tue, 19 Sep 2000 13:07:14 +0530
From: Yusuf Motiwala <motiwala@lucent.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <39C717AA.96B86726@lucent.com>
References: <NEBBJCEIDKEJPKHANDGJEENNCAAA.yehudak@millimetrix.net>

Yes, it is possible. I'done with three interfaces.

On side note, it is better to send in text format when posting to
newsgroups.

Regards,
Yusuf





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Tue, 19 Sep 2000 03:00:50 GMT
From: paulvroberts@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q6ksp$633$1@nnrp1.deja.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com>

Mark/Mike,

Which version of Tornado/VxWorks are you using and which BSP and
versions?

We also had quite severe problems with writing to SCSI when using
Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
those problems went away.

I remember isolating the problem down to the last two bytes of a file
being set to 0. We experimented with quatities of data written etc, and
found that the problem was reproducable when the amount that you are
writing was close to the cluster size.

I researched the problem a bit and found that there were indeed various
complaints about the SCSI driver, so I think it must have got an
overhaul at some point.

If you are tied into using an older Tornado/VxWorks/BSP, then there may
be a specific patch that WRS could give you to apply.

Please let me know if you have found a problem that is still in VxWorks
5.4, I would be very interested to verify that behaviour in our
environment. Or at least it will give me something else to keep me up at
night....

Paul Roberts.

In article <39C4CFD5.CDEB7798@bitband.com>,
  leonid@bitband.com wrote:
> My .$.02:
>
> An interesting point about these two problem reports is that both
happen on a
> PowerPC
> VME target, hence I would suggest the board's specific SCSI driver as
a
> potential source
> of the problem, More specifically the DMA cache coherency issues could
have
> been to blame.
>
> Michael Imai wrote:
>
> > We are are experienceing a very similar problem.
> >
> > We run various sized scsi drives on a mvme2604. We have seen the
problem
> > on small partitions formatted with fat16 and a 4 gig partition
formatted
> > with fat32.
> >
> > The system regularily records a 200 byte text lines to a file once
per
> > minute. Other events of interest (80 bytes text strings) are also
> > recorded. This has functioned ok.
> >
> > When some additional logging is added to the system, ~2k every 4
seconds,
> > I am seeing exactly the problem you describe.
> >
> > I changed the dcache values to write immediately which causes about
half
> > of the data files not to be corrupted. I also increased the priority
> > around the write.
> >
> > I have still not resolved the problem.
> >
> > mike i.
> >
> > Hosehead Jones 2nd-1/2 wrote:
> >
> > > We are experiencing an intermittent (but still serious) problem
with
> > > dosFs 2.0.  Our system is running on a MVME2700, connected to an
18 GB
> > > SCSI drive divided into 4 partitions of 4095 MB each (so that
Windows
> > > NT can also see the drive).  The drive has been formatted using
> > > Windows NT using FAT16.
> > >
> > > One task in our application handles archiving; at a 100 Hz rate,
this
> > > task checks for new data to archive to disk, then archives it if
new
> > > data is available.  Each block of new data is on the order of 10
KB.
> > >
> > > We check the current filesize (using fstat) after each new write
to
> > > verify that the data was archived properly.  Most of the time, the
> > > data is written to disk correctly.  However, once in a while (say
once
> > > every few hours) the filesize jumps by a huge margin (at least 1
GB,
> > > and usually about 4 GB), then all subsequent writes to this file
don't
> > > increase the filesize at all.  Once this happens, the data in the
file
> > > is corrupted beyond repair, and when the file is closed it will
either
> > > be truncated by dosFs to a 0-byte file, or it will be enormous and
the
> > > checkdisk utilities will report that the filesize is larger than
its
> > > clusters and delete it.
> > >
> > > We've pretty well tracked this down to being a bug in dosFs; we've
> > > verified that we call write() with a valid pointer and data size.
Has
> > > anyone else come across something similar?
> > >
> > > -----------------------
> > > Mark Morrison
> > > Coherent Technologies, Inc.
> > > markm@ctilidar.com
> >
> > --
> > Michael Imai, P.Eng.
> > Senior Software Engineer
> > Offshore Systems Ltd.            (604)904-4651
> > 107-930 1st Street          Fax: (604)987-2555
> > North Vancouver, BC                    V7P 3N4
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Virtual privat network protocol for vxworks
Date: Tue, 19 Sep 2000 10:35:12 +0200
From: Rainer Stelzer <r.stelzer@stoye.de>
Organization: Stoye GmbH, =?iso-8859-1?Q?K=F6ln?=
Message-ID: <39C72540.3533ECF@stoye.de>

Hi vxworkers,

can somebody out there give me an hint were to find a vxworks-ported
(commercial or none-commercial) ip-tunneling protocol  like CIPE ?

Thanx in advance.

regards

Rainer

=====================================================
            Gebrder Stoye GmbH
department: traffic control systems
      name: Rainer Stelzer
       adr: Longericher Strasse 177
      city: Cologne, Germany
       zip: 50739
     phone: ++49/221/2616-551
    mailto: r.stelzer@stoye.de
       www: http://www.stoye.de
=====================================================



---------------------------

Newsgroups: comp.os.vxworks
Subject: RTC support on MPC8xx
Date: Tue, 19 Sep 2000 10:39:04 +0200
From: Rainer Stelzer <r.stelzer@stoye.de>
Organization: Stoye GmbH, =?iso-8859-1?Q?K=F6ln?=
Message-ID: <39C72628.117D5EB9@stoye.de>

Hi vxworkers,

is a vxworks-driver for the MPC823/860 build in RTC avail ?

Thanxs in advance

Rainer

=====================================================
            Gebrder Stoye GmbH
department: traffic control systems
      name: Rainer Stelzer
       adr: Longericher Strasse 177
      city: Cologne, Germany
       zip: 50739
     phone: ++49/221/2616-551
    mailto: r.stelzer@stoye.de
       www: http://www.stoye.de
=====================================================



---------------------------

Newsgroups: comp.os.vxworks
Subject: Tornado II, Slickedit and MKS SourceIntegrity
Date: Tue, 19 Sep 2000 10:44:21 +0200
From: Rainer Stelzer <r.stelzer@stoye.de>
Organization: Stoye GmbH, =?iso-8859-1?Q?K=F6ln?=
Message-ID: <39C72765.7B998FBE@stoye.de>

Hi vxworkers,

is somebody out there running the combination of
Tornado II, Slickedit and MKS SourceIntegrity successfully
together ?
Would you please share your experience ?

Thanx in advance

Rainer

=====================================================
            Gebrder Stoye GmbH
department: traffic control systems
      name: Rainer Stelzer
       adr: Longericher Strasse 177
      city: Cologne, Germany
       zip: 50739
     phone: ++49/221/2616-551
    mailto: r.stelzer@stoye.de
       www: http://www.stoye.de
=====================================================



---------------------------

Newsgroups: comp.os.vxworks
Subject: bootting a target
Date: Tue, 19 Sep 2000 10:25:18 +0200
From: f.pertin@staubli.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q7aq1$cpm$1@overload.lbl.gov>

Hello VXWORKS and TORNADO gurus,

I work with T2, I got a new target board (CPU pentium). The supplier of
this board does not provided a BSP for VX. I succeed to boot this board
with the floppy provided with T2. Now I am trying to use the ethernet
connexion, the only informaion I have on the ethernet chip on this board
is:
chipset: RTL 8139B
Ethernet interface: PCI 10/100 Mbps Ethernet IEEE 802.3 U protocol
compatible.

Does anybody knows which of the following defines I have to use in the
config.h file ????
....
#define   INCLUDE_END         /* Use Enhanced Network Drivers */

#undef    INCLUDE_ULTRA       /* include SMC Elite16 Ultra interface */
#define   INCLUDE_ENE         /* include Eagle/Novell NE2000 interface */
#undef    INCLUDE_ELT         /* include 3COM EtherLink III interface */
#undef    INCLUDE_ESMC        /* include SMC 91c9x Ethernet interface */
#undef    INCLUDE_FEI         /* include Intel Ether Express PRO100B PCI */
#undef    INCLUDE_SLIP        /* include serial line interface */
#define SLIP_TTY    1    /* serial line IP channel COM2 */
#undef    INCLUDE_ELC         /* include SMC Elite16 interface */
#undef    INCLUDE_EEX         /* include INTEL EtherExpress interface */
#undef    INCLUDE_EEX32       /* include INTEL EtherExpress flash 32 */
#undef    INCLUDE_EX          /* include Excelan Ethernet interface */
#undef    INCLUDE_ENP         /* include CMC Ethernet interface*/
#undef    INCLUDE_SM_NET      /* include backplane net interface */
#undef    INCLUDE_SM_SEQ_ADDR /* shared memory network auto address setup */
#undef    INCLUDE_EL_3C90X_END    /* 3com fast etherLink XL PCI */
#undef    INCLUDE_LN_97X_END      /* AMD 79C972 END DRIVER */
....

or does anybody know where to find (www......) correspondance between vx
drivers and chipset ????

Thanks in advance

Francois


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Tue, 19 Sep 2000 11:15:08 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39C73CAC.64F9572E@agilent.com>
References: <39C10705.77D4E80A@hunterlink.net.au> <39C73CE2.EFEF2075@hunterlink.net.au>

>  1118 pcb cache lookups failed
>  994 pcb hash lookups failed
>
> What do "pcb cache lookups failed" and "pcb hash lookups failed" mean ?

"pcb" is a protocol control block which holds the various pieces of information
required for each UDP or TCP socket. In the lower-speed networking past, there
tended to be relatively few open sockets on a machine and lower packet rates so
these pcbs were held in a linked list and searched linearly. Now pcbs are held
in a hash table for faster access, and currently-active sockets cached.

James Marshall



---------------------------

Newsgroups: comp.os.vxworks
Subject: PPP-CHAP
Date: Tue, 19 Sep 2000 10:33:12 GMT
From: cnraman@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q7fd8$39k$2@nnrp1.deja.com>

Hello all,
I am developing an Vxworks ( Tornado II) application which uses PPP and
PAP or CHAP for authentication. I have tested the connection setup by
connecting to a PC running WinNt4.0.
I was able to test PAP with vxWorks as target and client. But with
vxWorks as client and authentication method as CHAP, NT tries to force
CHAP 80. VxWorks negotates with Chap 05 and finally the both agree for
PAP and PPP link is established.  Is this negotiation correct?I read in
some some material that the negotiation is supposed to fail. But for me
PPP link is established.
With vxWorks as server and authentication method as CHAP, i actually
got a LCP ConfAck for Chap 05 and got a message "CHAP authentication
success". Does this mean that NT 4.0 agreed for CHAP 05 algorithm?

Is there any other method for testing CHAP authentication of my
application?

Any help is welcome. Thanks in advance

regards
Ramakrishnan


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 05:40:50 2000
From: "timallen" <timallen@ntlworld.com>
Date: Tue Sep 19 05:40:52 PDT 2000
Subject: Re: bootting a target

>chipset: RTL 8139B
>Ethernet interface: PCI 10/100 Mbps Ethernet IEEE 802.3 U protocol
>compatible.
>
>Does anybody knows which of the following defines I have to use in the
>config.h file ????

Unfortunately, it's none of them. The RTL8139 is not supported by the
standard release.  However, you should be able to obtain the unsupported END
driver from your VxWorks rep.

Regards,
Tim.
--------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy




From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 07:16:31 2000
From: Gaurav Kakkar <gaurav-kakkar@usa.net>
Date: Tue Sep 19 07:16:33 PDT 2000
Subject: Problems concerning with file operations

Hi Vxworkers,

I am just running vxsim on solaris platform and dealing with file -related
operations. But I am facing some problems which are as follows:

1.  How to find the hard disk free space. Does vxworks support any routine in
its libraries like df/dfspace in unix. If some logic that how to find  it is
there, then please inform me.

2.  Assuming two tasks are accessing the same file. First is writing and
another is reading. Does vxworks support any routine so as to get the status
of the file whether is is opened or not. Unix has fuser command or linux has
lfos command. Does vxworks support any such library routine for that. If the
solution concerns with creating semaphore, then creating semaphore for one
file is OK, but for multiple files, using multiple semaphores is an improper
choice. 
   So please give me some solution with this concurrency problem.

Any suggestions are highly appreciated.

Waiting eagerly for desired solution,

Best Regards
gaurav.


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 11:21:26 2000
From: Bernard_Zhao@Ademco.com
Date: Tue Sep 19 11:21:28 PDT 2000
Subject: Please add me to VxWorks User Group Mailing List

Dear Sir/Madam,

Could you please add me to the mailing list. My personal information is as
follows:

Email: bernard_zhao@ademco.com
Tel:     (613)591-9777x218
Addr:  Ademco Video Group
          210-308 Palladium
          Kanata, Ontario, K2V 1A1

Thank you very much!

Bernard ZHAO




From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 17:52:56 2000
From: "ڹ̷" <mrpark@sol.etri.re.kr>
Date: Tue Sep 19 17:52:58 PDT 2000
Subject: What is the reason of this error ?

I am using the Tornado2 with C++ source code.
I made the library archive about 10 individual directorys and linked to
VxWorks at the LIBS field.
But many errors were appeared on linking process after making partial Image.

Do you know what is the mean of this error  at the linking process ?

F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmInterworkTable.o
): In function  `global destructors keyed to toString__Fi.2$str.274':
sr10FrAtmInterworkTable.o(.text+0xb08): multiple definition of `global
destructors keyed to toString__Fi.2$str.274'
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(SR10_AtmInterface.o)(.tex
t+0xad30): first defined here
Warning: size of symbol `global destructors keyed to toString__Fi.2$str.274'
changed from  108 to 44 in sr10FrAtmInterworkTable.o
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmInterworkTable.o
): In function  `global constructors keyed to toString__Fi.2$str.274':
sr10FrAtmInterworkTable.o(.text+0xf24): multiple definition of `global
constructors keyed  to toString__Fi.2$str.274'
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(SR10_AtmInterface.o)(.tex
t+0xad9c): first defined here
Warning: size of symbol `global constructors keyed to
toString__Fi.2$str.274' changed from  124 to 44 in sr10FrAtmInterworkTable.o
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmMappingTable.o):
In function ` global destructors keyed to toString__Fi.2$str.274':
sr10FrAtmMappingTable.o(.text+0x4d0): multiple definition of `global
destructors keyed to toString__Fi.2$str.274'





From vxwexplo-errs@csg.lbl.gov  Tue Sep 19 20:06:54 2000
From: "Mike Anderson" <mike_anderson@att.net>
Date: Tue Sep 19 20:06:57 PDT 2000
Subject: Documentation for Tornado 2 Configlettes

VxWorks Greetings!

  Can anyone out there in netland point me to the RTFM for
Tornado 2 configlettes?   I have a BSP that runs on the
board when compiled using the Makefile in the BSP directory,
but doesn't work if I derive a bootable project from the
BSP (some of the source files aren't included into the 
project and the compile fails).  So, I need to add several
files to the build.  I could do it with new rules in the
Build spec, but I was hoping to make a configlette that
did it automagically.

TIA,

Mike Anderson
mailto:mike@theptrgroup.com
The PTR Group, Inc.
www.theptrgroup.com



From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Wed Sep 20 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Wed Sep 20 04:03:04 PDT 2000

        Subject: fcntl
        Subject: Re: fcntl
        Subject: USB in VxWorks
        Subject: re: bootting a target
        Subject: UDP socket bind fail before configuring IP address for network interface.
        Subject: Re: bootting a target
        Subject: Re: UDP Socket Receive
        Subject: Re: [Fwd: Bootup Times ... how long????]
        Subject: Problems concerning with file operations
        Subject: Booting 68k via PPC
        Subject: Newbie question:downloading object modules to several remote target 
        Subject: Using GCC 2.95.2 with Tornado 1.0?
        Subject: Re: synchronizing local and host sym tables
        Subject: Re: synchronizing local and host sym tables
        Subject: VxSim networking
        Subject: Please add me to VxWorks User Group Mailing List
        Subject: Multiple vxworks copies one per slot.
        Subject: Processor synchronization
        Subject: Re: Problems concerning with file operations
        Subject: VxWorks faq is available????
        Subject: Re: fcntl
        Subject: Re: [Fwd: Bootup Times ... how long????]
        Subject: What is the reason of this error ?
        Subject: Re: Multiple vxworks copies one per slot.
        Subject: Re: synchronizing local and host sym tables
        Subject: Documentation for Tornado 2 Configlettes
        Subject: atm adapter
        Subject: WindSh problem
        Subject: Re: Documentation for Tornado 2 Configlettes
        Subject: Re: VxWorks faq is available????
        Subject: Re: VxSim-Lite vs. VxSim
        Subject: Re: atm adapter
        Subject: Re: USB in VxWorks
        Subject: ipAttach
        Subject: Using Tornado 2 Makefiles
        Subject: binding a socket for multicast use.
        Subject: Re: Doubt
        Subject: Re: How can I get VxWorkses' hardware (drivers) support list

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: fcntl
Date: Tue, 19 Sep 2000 11:33:40 GMT
From: "Tri VU KHAC" <tvk@sonycom.com>
Organization: KPNQwest customer news service
Message-ID: <oaIx5.55$tB3.2756@nreader1.kpnqwest.net>

Hi folks,

I'm looking for an equivalent command of fcntl() in unix since it doesn't
exist in vxWorks.

Thank you for your helps.

Tri.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: fcntl
Date: 19 Sep 2000 11:46:53 GMT
From: borkhuis@lucent.com (Johan Borkhuis)
Organization: Lucent Technologies
Message-ID: <8FB484DECborkhuislucentcom@135.7.153.101>
References: <oaIx5.55$tB3.2756@nreader1.kpnqwest.net>

tvk@sonycom.com (Tri VU KHAC) wrote in 
<oaIx5.55$tB3.2756@nreader1.kpnqwest.net>:

>Hi folks,
>
>I'm looking for an equivalent command of fcntl() in unix since it doesn't
>exist in vxWorks.

ioctl?

Groeten,                                                                 
        Johan                                                            
                                                                         
- --                                                                       
     o o o o o o o . . .   ___________________________________           
    o      _____           ||    Johan Borkhuis              |           
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |           
 >(________|__|_[_________]_|________________________________|           
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`           
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === 


---------------------------

Newsgroups: comp.os.vxworks
Subject: USB in VxWorks
Date: Tue, 19 Sep 2000 15:00:20 +0200
From: "Morne Hartman" <mhartman@grintek.com>
Message-ID: <39c76272$0$235@hades.is.co.za>

Hi all,

I am using VxWorks 5.4 and Tornado2. I have a single computer board that
supports USB. I would like to access a HDD via the USB port. How do I go
about accessing devices via this port?

Many thanks
Morne Hartman
mhartman@grintek.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: re: bootting a target
Date: Tue, 19 Sep 2000 13:38:24 +0100
From: "timallen" <timallen@ntlworld.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q7os1$icm$1@overload.lbl.gov>

>chipset: RTL 8139B
>Ethernet interface: PCI 10/100 Mbps Ethernet IEEE 802.3 U protocol
>compatible.
>
>Does anybody knows which of the following defines I have to use in the
>config.h file ????

Unfortunately, it's none of them. The RTL8139 is not supported by the
standard release.  However, you should be able to obtain the unsupported END
driver from your VxWorks rep.

Regards,
Tim.
- --------------------
Tim Allen Ltd
Real Time Embedded Software Consultancy



---------------------------

Newsgroups: comp.os.vxworks
Subject: UDP socket bind fail before configuring IP address for network interface.
Date: Tue, 19 Sep 2000 13:08:17 GMT
From: gujc@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q7ofg$dfg$1@nnrp1.deja.com>

Hi, everyone:
    I'm developing IPOA driver on VxWorks.
    I want to get local IP address through BOOTP.
    I use bootpMsgSend to send BOOTP request. The IPOA driver received
the response, but bootpMsgSend didn't get it.

    Then I try to send the BOOTP request using UDP socket, but I fail
to bind the socket without configuring the IP address of interface.
After configuring the interface with an IP address, the bind operation
succeeded.

    Any help and suggestion will be appreciated.



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: bootting a target
Date: Tue, 19 Sep 2000 09:26:13 -0400
From: "Mike Kordik" <kordikmj@betalasermike.com>
Message-ID: <JOJx5.7$zG2.209@client>
References: <8q7aq1$cpm$1@overload.lbl.gov>

The RTL 8139 driver is not released. I am trying to get WRS or my board
supplier to complete the driver as my board also has this chip. You may be
able to get an early release (unsupported) version from WRS. You probably
need to contact your local office to get it.

- -Mike

<f.pertin@staubli.com> wrote in message
news:8q7aq1$cpm$1@overload.lbl.gov...
> Hello VXWORKS and TORNADO gurus,
>
> I work with T2, I got a new target board (CPU pentium). The supplier of
> this board does not provided a BSP for VX. I succeed to boot this board
> with the floppy provided with T2. Now I am trying to use the ethernet
> connexion, the only informaion I have on the ethernet chip on this board
> is:
> chipset: RTL 8139B
> Ethernet interface: PCI 10/100 Mbps Ethernet IEEE 802.3 U protocol
> compatible.
>
> Does anybody knows which of the following defines I have to use in the
> config.h file ????
> ....
> #define   INCLUDE_END         /* Use Enhanced Network Drivers */
>
> #undef    INCLUDE_ULTRA       /* include SMC Elite16 Ultra interface */
> #define   INCLUDE_ENE         /* include Eagle/Novell NE2000 interface */
> #undef    INCLUDE_ELT         /* include 3COM EtherLink III interface */
> #undef    INCLUDE_ESMC        /* include SMC 91c9x Ethernet interface */
> #undef    INCLUDE_FEI         /* include Intel Ether Express PRO100B PCI
*/
> #undef    INCLUDE_SLIP        /* include serial line interface */
> #define SLIP_TTY    1    /* serial line IP channel COM2 */
> #undef    INCLUDE_ELC         /* include SMC Elite16 interface */
> #undef    INCLUDE_EEX         /* include INTEL EtherExpress interface */
> #undef    INCLUDE_EEX32       /* include INTEL EtherExpress flash 32 */
> #undef    INCLUDE_EX          /* include Excelan Ethernet interface */
> #undef    INCLUDE_ENP         /* include CMC Ethernet interface*/
> #undef    INCLUDE_SM_NET      /* include backplane net interface */
> #undef    INCLUDE_SM_SEQ_ADDR /* shared memory network auto address setup
*/
> #undef    INCLUDE_EL_3C90X_END    /* 3com fast etherLink XL PCI */
> #undef    INCLUDE_LN_97X_END      /* AMD 79C972 END DRIVER */
> ....
>
> or does anybody know where to find (www......) correspondance between vx
> drivers and chipset ????
>
> Thanks in advance
>
> Francois
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: UDP Socket Receive
Date: Tue, 19 Sep 2000 14:45:56 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39C76E14.35219BBA@ashbysoft.cix.co.uk>
References: <39C10705.77D4E80A@hunterlink.net.au> <39C73CE2.EFEF2075@hunterlink.net.au>

I would guess that there is no UDP port/socket that matches the incoming
packet header, resulting in a 'cache lookup failure' and/or 'hash lookup
failure'.

Is the UDP receive socket bound to the right port?

Chris Chock wrote:
> 
> I have since discovered the udpstatShow routine.  Output of the routine is
> as follows:
> 
> -> udpstatShow
> UDP:
>  3631 total packets
>  1136 input packets
>  2495 output packets
>  0 incomplete header
>  0 bad data length field
>  0 bad checksum
>  18 broadcasts received with no ports
>  0 full socket
>  1118 pcb cache lookups failed
>  994 pcb hash lookups failed
> 
> What do "pcb cache lookups failed" and "pcb hash lookups failed" mean ?
> 
> Chris Chock wrote:
> 
> > I have been sending data from a Radstone PPC4A card to a PC via
> > ethernet, using UDP.  When I try to receive using either "recvfrom" or
> > "select" I never seem to get any UDP packets.  I know that the PC is
> > transmitting 80 bytes of data at a 10 Hz rate, but my application never
> > gets them.  Are there any known issues with receiving UDP packets ?
> >
> > Thanks.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: [Fwd: Bootup Times ... how long????]
Date: Tue, 19 Sep 2000 10:25:02 +0100
From: Graham Baxter <gbaxter@NOSPAM.bcs.org.uk>
Organization: Graham Baxter (Software) Limited
Message-ID: <39C730EE.8CCA963A@NOSPAM.bcs.org.uk>
References: <39C0FB81.594411DD@cs.tcd.ie>

VxWorks spends a lot of its boot time copying ROM to RAM and filling the rest
of RAM with zeros. If you have lots of RAM, this can take seconds.

If you want it to boot faster, limit the size of RAM that needs to be filled
with zeros.

See bootInit.c.



Regards,


Graham Baxter
Freelance Software Engineer
gbaxter@NOSPAMbcs.org.uk




Derek Cassidy wrote:

> Derek Cassidy wrote:
>
> > Can anyone tell me how long it takes some of the RTOS's to boot up, like
> >
> > Hard Hat Linux and QNX and vxworks??
> >
> > does anyone know of any sites on the web comparing bootup times on
> > different RTOS??
> >
> > Derek


---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems concerning with file operations
Date: 19 Sep 00 08:16:28 MDT
From: Gaurav Kakkar <gaurav-kakkar@usa.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q7vt0$kqj$1@overload.lbl.gov>

Hi Vxworkers,

I am just running vxsim on solaris platform and dealing with file -related
operations. But I am facing some problems which are as follows:

1.  How to find the hard disk free space. Does vxworks support any routine in
its libraries like df/dfspace in unix. If some logic that how to find  it is
there, then please inform me.

2.  Assuming two tasks are accessing the same file. First is writing and
another is reading. Does vxworks support any routine so as to get the status
of the file whether is is opened or not. Unix has fuser command or linux has
lfos command. Does vxworks support any such library routine for that. If the
solution concerns with creating semaphore, then creating semaphore for one
file is OK, but for multiple files, using multiple semaphores is an improper
choice. 
   So please give me some solution with this concurrency problem.

Any suggestions are highly appreciated.

Waiting eagerly for desired solution,

Best Regards
gaurav.


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

---------------------------

Newsgroups: comp.os.vxworks
Subject: Booting 68k via PPC
Date: Tue, 19 Sep 2000 18:17:29 +0200
From: =?iso-8859-1?Q?Torbj=F6rn?= Frostemark <torfr@lin.foa.se>
Organization: FOA
Message-ID: <39C79199.FC29F18B@lin.foa.se>

This is a multi-part message in MIME format.
- --------------58F67DB349FD23AD20C529D9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

I have no problem booting two PowerPC boards (MVME2700) where one is
master and connected via ethernet to get its kernel, while the other one
gets its kernel via a backplane network using the first as gateway.

But I will also boot boards with a 68k (MVME177), but this board stops
at "Loading..." and nothing more happens. Apparently it finds the anchor
but can't get any data thru. Is this impossible?

Regards,

Torbjorn

- --------------58F67DB349FD23AD20C529D9
Content-Type: text/x-vcard; charset=us-ascii;
 name="torfr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Torbjrn Frostemark
Content-Disposition: attachment;
 filename="torfr.vcf"

begin:vcard 
n:Frostemark;Torbjrn
tel;cell:+46-(0)70-249 76 27
tel;fax:+46-(0)13-37 80 09
tel;work:+46-(0)13-37 80 14
x-mozilla-html:TRUE
org:FOA;Electronic Warfare Systems
adr:;;Box 1165;SE-581 11  Linkping;;;SWEDEN
version:2.1
email;internet:torfr@lin.foa.se
title:MSc
fn:Torbjrn Frostemark
end:vcard

- --------------58F67DB349FD23AD20C529D9--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Newbie question:downloading object modules to several remote target 
 servers?
Date: Tue, 19 Sep 2000 12:43:31 -0400
From: Girish Pahlya <girish@lucent.com>
Organization: Lucent Technologies
Message-ID: <39C797B3.B5F7BF91@lucent.com>

Here is a newbie question:

If I were to download copies of the same application to several targets, can I
do it through a single script? Assuming that there are N target servers, I can
always open N windSh to download individually. Is there a way to automate this
process?

Thanks in advance
- -- 
Girish Pahlya
http://www.mv.lucent.com/~girish
978 960 6774

---------------------------

Newsgroups: comp.os.vxworks
Subject: Using GCC 2.95.2 with Tornado 1.0?
Date: Tue, 19 Sep 2000 10:12:52 -0700
From: "Ryan Tanner" <ryant@audioprecision.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ssf7mr8updhg04@corp.supernews.com>

Can this be done? I need the improved STL support, but I don't have the
updated compiler from WindRivers. I tried compiling my code, but when I load
it through gdb, I get the following error:

LOADER_UNKNOWN_OBJ_MODULE_FORMAT

the processor is an i486. The object size also increased enormously from
500K to 4.5M. Obviously the linker is including a lot of extra libraries. I
have yet to look into it.

Thanks!



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: synchronizing local and host sym tables
Date: Tue, 19 Sep 2000 16:49:12 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8q85dv$u71$1@nnrp1.deja.com>
References: <nHfw5.70$3u6.20039@news20.bellglobal.com> <39C6B20E.E3751728@rti.com>

I have only been able to get symbol table synchonization working with
the RPC back-end.  I seem to remember reading somewhere in the manuals
that this was the only way it works, but I won't swear to that.

Does anyone know how to synchronize the symbol tables (manually or
otherwise) via the serial back-end?

In article <39C6B20E.E3751728@rti.com>,
  Lori Fraleigh <lori@rti.com> wrote:
> Dragan -
>
> It is possible that symbol table synchronization is not
> working properly due to a a bug in Tornado.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: synchronizing local and host sym tables
Date: Tue, 19 Sep 2000 16:49:28 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8q85ef$u7d$1@nnrp1.deja.com>
References: <nHfw5.70$3u6.20039@news20.bellglobal.com> <39C6B20E.E3751728@rti.com>

I have only been able to get symbol table synchonization working with
the RPC back-end.  I seem to remember reading somewhere in the manuals
that this was the only way it works, but I won't swear to that.

Does anyone know how to synchronize the symbol tables (manually or
otherwise) via the serial back-end?

In article <39C6B20E.E3751728@rti.com>,
  Lori Fraleigh <lori@rti.com> wrote:
> Dragan -
>
> It is possible that symbol table synchronization is not
> working properly due to a a bug in Tornado.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxSim networking
Date: Tue, 19 Sep 2000 16:45:55 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <6XKx5.98$tB3.3579@nreader1.kpnqwest.net>

Hi,
I have problems with vxSim (full version) under NT. I configured an
interface (ULIP) at my host with 90.0.0.254 and build the kernel with
network support. After spawning the simulator I can`t ping any IP-address
from the shell (neither 90.0.0.254 nor 90.0.0.1). I already checked my boot
parameters with bootChange, but these seems to be okay.
From the host-dos box I can ping my ULIP network interface (90.0.0.254) but
not the 90.0.0.1.
Any ideas what I do wrong?

regards
- --
Markus Mitterer
Software-Development, STK
mailto: markus_mitterer@sbu1.storkgroup.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Please add me to VxWorks User Group Mailing List
Date: Tue, 19 Sep 2000 14:20:21 -0400
From: Bernard_Zhao@Ademco.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q8dv1$je$1@overload.lbl.gov>

Dear Sir/Madam,

Could you please add me to the mailing list. My personal information is as
follows:

Email: bernard_zhao@ademco.com
Tel:     (613)591-9777x218
Addr:  Ademco Video Group
          210-308 Palladium
          Kanata, Ontario, K2V 1A1

Thank you very much!

Bernard ZHAO



---------------------------

Newsgroups: comp.os.vxworks
Subject: Multiple vxworks copies one per slot.
Date: 19 Sep 2000 20:07:39 GMT
From: subodh@best.com (Subodh Nijsure)
Organization: a user of Best Internet Communications, Inc.  www.best.com
Message-ID: <8q8h2b$1nnb$1@nntp1.ba.best.com>

With lot of companies building multi-slot units based on VxWorks are
there any products/APIs that are designed specifically to "facilitate" 
communication between different vxWorks system over RPC or shared memory? 

BTW, anybody knows of good layer 3 chipset with which one can build GB backplane
based on layer 3 packets? 

/Subodh

---------------------------

Newsgroups: comp.os.vxworks
Subject: Processor synchronization
Date: Tue, 19 Sep 2000 15:00:38 -0700
From: "Eric McDaniel" <ericm@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ssfoajec30kd7c@corp.supernews.com>


I have a PC system running Windows NT as my host system, with an MPC860
running VxWorks on a coprocessor card. I can map the card's memory into the
host memory space, no problem there.

However, I'm not sure how to synchronize memory accesses between the host
and target. VxWorks does have mechanisms for synchronizing across multiple
processors, but they assume that both processors are of the same type and
that both are running the same OS. Neither is true in my case.

Is there some way I can use POSIX semaphores or message queues? Or shared
memory semaphores? Do I need to write my own synchronization routines? I can
do that, but I'd prefer to use something that is already debugged and
optimized.

Any suggestions?

Thanks.

Eric McDaniel
ericm@vertical.com






---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems concerning with file operations
Date: 19 Sep 2000 16:17:57 GMT
From: litwin@izzy.jpl.nasa.gov (Todd Litwin)
Organization: jpl.nasa.gov
Message-ID: <8q83jl$svc$1@nntp1.jpl.nasa.gov>
References: <8q7vt0$kqj$1@overload.lbl.gov>

Gaurav Kakkar  <gaurav-kakkar@usa.net> wrote:

>1.  How to find the hard disk free space.

Here's how I do it for my local RAM disk:

// Determine free space on the RAM disk
unsigned long ram_nfree()
{
	int fd;
	if ((fd = open("ram/", O_RDONLY, 0)) < 0)
		return 0;

	unsigned long nfree;
	if (ioctl(fd, FIONFREE, (int)&nfree) < 0)
		nfree = 0;

	close(fd);

	return nfree;
}

- -- 
		Todd Litwin
		Jet Propulsion Laboratory
		(818) 354-5028
		Todd.E.Litwin@jpl.nasa.gov

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxWorks faq is available????
Date: Tue, 19 Sep 2000 18:59:49 -0400
From: Shivashankara Desigowda <dshiva@lucent.com>
Organization: Lucent Technologies
Message-ID: <39C7EFE5.D703C517@lucent.com>

Hi ,

I am new to vxWorks. could somebody point me to VxWorks faq.
thanks in advance..

Shiva

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: fcntl
Date: Tue, 19 Sep 2000 15:00:06 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39C77166.F56DCDD1@ashbysoft.cix.co.uk>
References: <oaIx5.55$tB3.2756@nreader1.kpnqwest.net>

Any particular fcntl() call? Some can be replicated with ioctl(), others
need more work :)

Phil.

Tri VU KHAC wrote:
> 
> Hi folks,
> 
> I'm looking for an equivalent command of fcntl() in unix since it doesn't
> exist in vxWorks.
> 
> Thank you for your helps.
> 
> Tri.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: [Fwd: Bootup Times ... how long????]
Date: Tue, 19 Sep 2000 17:26:05 +0300
From: Ofer Goren <ogoren@nortelnetworks.com>
Organization: Bay Networks, Inc.
Message-ID: <39C7777C.EA64EB29@nortelnetworks.com>
References: <39C0FB81.594411DD@cs.tcd.ie> <39C730EE.8CCA963A@NOSPAM.bcs.org.uk>

to the extreme, you can omit the zeroing part. Just don't count on the memory to
be filled with zeros after malloc.
we have 256MB on card, and it saved us ~7 secs in boot time.


Graham Baxter wrote:

> VxWorks spends a lot of its boot time copying ROM to RAM and filling the rest
> of RAM with zeros. If you have lots of RAM, this can take seconds.
>
> If you want it to boot faster, limit the size of RAM that needs to be filled
> with zeros.
>
> See bootInit.c.
>
> Regards,
>
> Graham Baxter
> Freelance Software Engineer
> gbaxter@NOSPAMbcs.org.uk
>
> Derek Cassidy wrote:
>
> > Derek Cassidy wrote:
> >
> > > Can anyone tell me how long it takes some of the RTOS's to boot up, like
> > >
> > > Hard Hat Linux and QNX and vxworks??
> > >
> > > does anyone know of any sites on the web comparing bootup times on
> > > different RTOS??
> > >
> > > Derek

- --
Embedded SW Team Leader
Email       : ogoren@nortelnetworks.com
Phone number: +9723-6456023
Fax number  : +9723-6479579
ESN         : 826-6023
http://www.nortelnetworks.com
- ----------------------------------------------------
If you lend someone $20, and never see that person again,
it was probably worth the investment.



---------------------------

Newsgroups: comp.os.vxworks
Subject: What is the reason of this error ?
Date: Wed, 20 Sep 2000 09:51:17 +0900
From: "ڹ̷" <mrpark@sol.etri.re.kr>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q931v$9am$1@overload.lbl.gov>

I am using the Tornado2 with C++ source code.
I made the library archive about 10 individual directorys and linked to
VxWorks at the LIBS field.
But many errors were appeared on linking process after making partial Image.

Do you know what is the mean of this error  at the linking process ?

F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmInterworkTable.o
): In function  `global destructors keyed to toString__Fi.2$str.274':
sr10FrAtmInterworkTable.o(.text+0xb08): multiple definition of `global
destructors keyed to toString__Fi.2$str.274'
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(SR10_AtmInterface.o)(.tex
t+0xad30): first defined here
Warning: size of symbol `global destructors keyed to toString__Fi.2$str.274'
changed from  108 to 44 in sr10FrAtmInterworkTable.o
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmInterworkTable.o
): In function  `global constructors keyed to toString__Fi.2$str.274':
sr10FrAtmInterworkTable.o(.text+0xf24): multiple definition of `global
constructors keyed  to toString__Fi.2$str.274'
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(SR10_AtmInterface.o)(.tex
t+0xad9c): first defined here
Warning: size of symbol `global constructors keyed to
toString__Fi.2$str.274' changed from  124 to 44 in sr10FrAtmInterworkTable.o
F:\Tornado\target\proj\MCMU\system\mrpark\system.a(sr10FrAtmMappingTable.o):
In function ` global destructors keyed to toString__Fi.2$str.274':
sr10FrAtmMappingTable.o(.text+0x4d0): multiple definition of `global
destructors keyed to toString__Fi.2$str.274'




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Multiple vxworks copies one per slot.
Date: Wed, 20 Sep 2000 01:42:46 GMT
From: "DanO" <danogorchock@NOSPAMcarolina.rr.com>
Organization: RoadRunner - Carolina
Message-ID: <qCUx5.183$Sl4.174240@typhoon.southeast.rr.com>
References: <8q8h2b$1nnb$1@nntp1.ba.best.com>

Wind River sells a nice product called VxMP (MultiProcessor).  Works great
across a VME backplane, not sure if it would help in your application.

"Subodh Nijsure" <subodh@best.com> wrote in message
news:8q8h2b$1nnb$1@nntp1.ba.best.com...
> With lot of companies building multi-slot units based on VxWorks are
> there any products/APIs that are designed specifically to "facilitate"
> communication between different vxWorks system over RPC or shared memory?
>
> BTW, anybody knows of good layer 3 chipset with which one can build GB
backplane
> based on layer 3 packets?
>
> /Subodh



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: synchronizing local and host sym tables
Date: Wed, 20 Sep 2000 03:12:45 GMT
From: "Dragan Ostojic" <ostojic@sympatico.ca>
Organization: Sympatico
Message-ID: <NWVx5.274192$1h3.5858761@news20.bellglobal.com>
References: <nHfw5.70$3u6.20039@news20.bellglobal.com> <39C6B20E.E3751728@rti.com>

Hi Lori,

thanks a lot. Your suggestion fixed the problem. I am using Tornado2 and I
have have had Registry
configured as local and that's why it didn't work,.

Regards,
Dragan.

"Lori Fraleigh" <lori@rti.com> wrote in message
news:39C6B20E.E3751728@rti.com...
> Dragan -
>
> It is possible that symbol table synchronization is not
> working properly due to a a bug in Tornado.
>
> I'm assuming you have a Windows host running Tornado.
>
> If you are running Tornado 1.0.1, go to your Start menu and run
> 'Registry & License'.  Enter the hostname of the machine
> running the Tornado registry in the first box.  Click Apply.
> It's probably set to localhost which causes symbol table
> synchronization not to work properly.  Restart the registry
> on your Windows machine and then restart Tornado and your
> target server.
>
> If you are running Tornado 2.0, bring up the Tornado IDE,
> Select Tools->Options.  Scroll over to the right most tab,
> Tornado Registry.  Select remote registry and enter the name
> of the machine running the registry.  If you select local
> registry, it will not work.
>
> Basically, "localhost" gets stored in the Windows registry
> for the name of the machine running the Tornado registry.
> The WTX tools on the host resolve localhost to the ip address
> 127.0.0.1 and pass this down to the target.  The target then
> tries to communicate with 127.0.0.1 to enable the symbol
> table synchronization but ends up talking to itself and
> not the Windows host.  Neat "feature".
>
> If your Windows machines has multiple ethernet interfaces and
> the target is located on a non-primary interface, this still
> won't be enough for you.  The machine name will get resolved
> to an ip address that the target doesn't know about.  You will
> need to execute a routeNetAdd on the target before connecting
> the target server in order to get symbol table synchronization
> to work or enter the IP address of the non-primary interface
> that the target knows about for WIND_REGISTRY.
>
> Regards,
> Lori
>
> --
> Lori Fraleigh                                Real-Time Innovations
> Senior Software Engineer                     ScopeTools Manager
> Phone: 408-734-4200       Fax: 408-734-5009  http://www.rti.com
> Please send/cc all support related email to support@rti.com
>
>
> Dragan Ostojic wrote:
> >
> > Hi,
> >
> > I can't get synchronizing target and host symbol table to work. I boot
off
> > the flash on the target and then I start target
> > server from the host. When I start target server it doesn't successfully
> > synchronize the tables. If somebody has done this
> > before I would be very grateful for help.
> >
> > Regards,
> > Dragan.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Documentation for Tornado 2 Configlettes
Date: Tue, 19 Sep 2000 23:12:41 -0400
From: "Mike Anderson" <mike_anderson@att.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8q9a2v$bj3$1@overload.lbl.gov>

VxWorks Greetings!

  Can anyone out there in netland point me to the RTFM for
Tornado 2 configlettes?   I have a BSP that runs on the
board when compiled using the Makefile in the BSP directory,
but doesn't work if I derive a bootable project from the
BSP (some of the source files aren't included into the 
project and the compile fails).  So, I need to add several
files to the build.  I could do it with new rules in the
Build spec, but I was hoping to make a configlette that
did it automagically.

TIA,

Mike Anderson
mailto:mike@theptrgroup.com
The PTR Group, Inc.
www.theptrgroup.com


---------------------------

Newsgroups: comp.os.vxworks
Subject: atm adapter
Date: Wed, 20 Sep 2000 02:27:10 GMT
From: sekim6252@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q979a$754$1@nnrp1.deja.com>

Hello!

I'm finding a ATM adapter in the vxWorks(RTOS).

I found a Interphase 6575.

Is there other soulution?

Of course, It must support the vxWorks Drivers.

Any your help would be my big pleasure.

Thanks in advances.

sekim


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: WindSh problem
Date: Wed, 20 Sep 2000 14:30:56 +0900
From: "̻" <sanglee@etri.re.kr>
Organization: Electronics and Telecommunications Research Institute (ETRI)
Message-ID: <8q9i4q$khq$1@news.etri.re.kr>


Hi,
I'm using Torando 2.0 in X-emulation environment.
In connecting to a target server and executing WindSh, the shell disappears
immediately.
How can I resolve it?

Min




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Documentation for Tornado 2 Configlettes
Date: Wed, 20 Sep 2000 05:59:08 GMT
From: Computer Engineer <engineer4computer@netscape.net>
Organization: Somewhere in the Earth
Message-ID: <39C7E141.6D5C16C@netscape.net>
References: <8q9a2v$bj3$1@overload.lbl.gov>

Refer to the BSP Developer Guide about the Component Description
Language and the cdf file.

Mike Anderson wrote:
> 
> VxWorks Greetings!
> 
>   Can anyone out there in netland point me to the RTFM for
> Tornado 2 configlettes?   I have a BSP that runs on the
> board when compiled using the Makefile in the BSP directory,
> but doesn't work if I derive a bootable project from the
> BSP (some of the source files aren't included into the
> project and the compile fails).  So, I need to add several
> files to the build.  I could do it with new rules in the
> Build spec, but I was hoping to make a configlette that
> did it automagically.
> 
> TIA,
> 
> Mike Anderson
> mailto:mike@theptrgroup.com
> The PTR Group, Inc.
> www.theptrgroup.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks faq is available????
Date: Wed, 20 Sep 2000 05:59:52 GMT
From: Computer Engineer <engineer4computer@netscape.net>
Organization: Somewhere in the Earth
Message-ID: <39C7E17A.2ACBC307@netscape.net>
References: <39C7EFE5.D703C517@lucent.com>

Wind River's WindSurf web site @ www.windriver.com

Shivashankara Desigowda wrote:
> 
> Hi ,
> 
> I am new to vxWorks. could somebody point me to VxWorks faq.
> thanks in advance..
> 
> Shiva

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxSim-Lite vs. VxSim
Date: Wed, 20 Sep 2000 06:02:24 GMT
From: Computer Engineer <engineer4computer@netscape.net>
Organization: Somewhere in the Earth
Message-ID: <39C7E214.FBE22F2A@netscape.net>
References: <39C2B4E7.C504233B@west.raytheon.com>

Refer to the paragraph before section 1.5 of the Tornado 2.0
User's Guide.

"Michael S. Simpson" wrote:
> 
> What's the difference (other than the name and implication) between
> VxSim-Lite and the full-up release?  What functionality is reduced /
> limited?
> 
> Thanks in advance...
> 
> Mike Simpson
> Sr Software Engineer
> Raytheon Missile Systems

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: atm adapter
Date: Wed, 20 Sep 2000 02:43:52 -0400
From: Ken Bass <kbass@dsrnet.com>
Organization: Verio
Message-ID: <39C85CA8.AAF58DFE@dsrnet.com>
References: <8q979a$754$1@nnrp1.deja.com>

Try www.radstone.com

The model # is PMC-ATMF

Also, cetia.com has one.

sekim6252@my-deja.com wrote:
> 
> Hello!
> 
> I'm finding a ATM adapter in the vxWorks(RTOS).
> 
> I found a Interphase 6575.
> 
> Is there other soulution?
> 
> Of course, It must support the vxWorks Drivers.
> 
> Any your help would be my big pleasure.
> 
> Thanks in advances.
> 
> sekim
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: USB in VxWorks
Date: Wed, 20 Sep 2000 08:52:55 +0200
From: Emmanuel <Emmanuel.Herbreteau@sepro-robotique.com>
Organization: SEPRO Robotique
Message-ID: <39C85EC7.6055830D@sepro-robotique.com>
References: <39c76272$0$235@hades.is.co.za>

Morne Hartman wrote:
> I am using VxWorks 5.4 and Tornado2. I have a single computer board that
> supports USB. I would like to access a HDD via the USB port. How do I go
> about accessing devices via this port?

Hi,

There's a product called "USB for VxWorks". You can also try
to create your own USB driver for hard-disk, mouse, keyboard, etc...

Take a look at :
http://www.linux-usb.org/
It's not VxWorks, but there's a lot of free source code to help you...
(if you plans to create a custom driver, of course).

Regards
Emmanuel

---------------------------

Newsgroups: comp.os.vxworks
Subject: ipAttach
Date: Wed, 20 Sep 2000 10:21:29 +0200
From: "Yoram Shnapp" <yorams@terayon.com>
Organization: Unspecified Organization
Message-ID: <8q9od4$ktk$1@news.ibm.net.il>

Can anyone help me to understand why  ipAttach function fails?
errno has value 22 (Invalid argument ).

Details.
I tried to define a new interface.
 - Defined the End driver and it's functionality (xxend_load() , driver
functions etc...).
- -  Defined the protocol upper services, and call the muxBind.

- - I even call the muxDevExists function  and it returns OK.
- - but when I call the ipAttach it returns with an error.
Did I forget anything ?




---------------------------

Newsgroups: comp.os.vxworks
Subject: Using Tornado 2 Makefiles
Date: Wed, 20 Sep 2000 09:13:41 +0100
From: "awol" <news@-remove-iwsoft.freeserve.co.uk>
Organization: Breathe www.breathe.com
Message-ID: <km_x5.1$2i4.37@news-1.opaltelecom.net>

Hi,

Can anyone tell me what environment/command line I need to use to build an
application under NT using a tornado generated makefile? I've tried setting
these:

WIND_BASE
WIND_HOST_TYPE
WIND_REGISTRY
WIND_UID
BUILD_SPEC

But I get

make: *** No rule to make target `linkedObjs.o', needed by `exe'.  Stop.

?



---------------------------

Newsgroups: comp.os.vxworks
Subject: binding a socket for multicast use.
Date: Wed, 20 Sep 2000 08:48:11 GMT
From: taltaltal@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8q9tk7$1p$1@nnrp1.deja.com>

Hello.
I have a problem regarding binding a socket for
multicast use.
When I bind a socket using a specific IP address
and join it to a multicast group, the multicast
packets does not reach the socket  - even the
loop back packets (both the bind and the
ADD_MEMBERSHIP operations succeed ).
If I take the same code and change the bind to
INADDR_ANY it works properly(even if I have only
one interface  meaning the bind in both cases is
to the same IP).
Multicast in the two options (with and without
specific IP in the bind command) work properly on
windows.
TAL.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Doubt
Date: Wed, 20 Sep 2000 09:33:49 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <1w%x5.227746$i5.3096980@news1.frmt1.sfba.home.com>
References: <39C6E85A.4EB5C30@lucent.com>

Well, that's not really an advantage of Tornado, vxWorks has done this for at 
least 10 years without the assistance of any host software.

The loader, both the target loader and the dubious Tornado loader (it works, I 
just don't like that unreliable PC crap), fixes up unresolved symbols at load 
time.

An example? Take the following, I'll never live this down if I get this wrong 
:-)

#include <vxWorks.h> /* Every file should always include this first */
#include <stdio.h>      /* Header file to define printf */
int hello ( void )           /* No mains in vxWorks thankyou */
{
    printf("Hello world\n"); /* original huh? */
}


save it in a file called hello.c and build hello.o

Now check the size, small isn't it.

Now use nm to see the symbols.

You'll find there is an unresolved printf.

When it is loaded, by either loader, the appropriate software will determine 
where printf resides in that target and will fill in the blanks for you. If 
you make a 68k version you'll find you can run it on any of a vast number of 
different 68k targets with different address maps because the loader hooks up 
the calls at load time.

That's all there is to it. What it actually does is reads the name and type of 
the symbol then calls symFindByNameAndType then bungs the address in where 
it's told to.

Lucent huh? Plenty of people there using vxWorks, I'm sure any of them could 
have told you this.

HTH

- -paul



In article <39C6E85A.4EB5C30@lucent.com>, myhandle@lucent.com wrote:
>Hi all,
>
>I am new to VxWorks::::
>
>Can anyone explain the meaning of ::::
>
>A fundamental advantage of the Tornado environment is that the application
>modules do not need to be linked with the run-time system libraries or even
> with
>each other. Instead, Tornado can load the relocatable object modules directly,
>using the symbol tables in each object module to resolve external symbol
>references dynamically. "In Tornado, this symbol table resolution is done by
> the
>target server (which executes on the host)."
>
>Please suggest an example so that i can undestand this concept
> practically......
>
>Thanx in advance,
>ravi.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How can I get VxWorkses' hardware (drivers) support list
Date: Wed, 20 Sep 2000 09:35:51 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <Xx%x5.227759$i5.3096980@news1.frmt1.sfba.home.com>
References: <39c48c25$1@news.barak.net.il>

Easy, ask your sales dweeb.

paul


In article <39c48c25$1@news.barak.net.il>, "Doron Shamia" 
<doronshamia@hotmail.com> wrote:
>Does anybody know how can I get a full list of all hardware supported by
>VxWorks (NICs, FLASH, etc.).
>
>    TIA, Doron.
>
>

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 05:01:38 2000
From: karthikselvan <karthik@acceleratednetworks.soft.net>
Date: Wed Sep 20 05:01:40 PDT 2000
Subject: Re: Dynamically changing IP addresses

This is a multi-part message in MIME format.
--------------5CD825422CDF5BDC45FC192A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi all,

1) I am a new comer to VxWorks and tornado.

2) I loaded udpClient.o and udpServer.o to the target. I connected to the target through LAN.

3) I spawned the udpserver. When I say udpClient "192.168.10.203" , the output is  going to the console. There I cann't
give my input.

4) Is there anyway to redirect the input to the Tornado shell and give my input to the tornado shell?.

Thanks in advance
karthikselvan



--------------5CD825422CDF5BDC45FC192A
Content-Type: text/x-vcard; charset=us-ascii;
 name="karthik.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for karthikselvan
Content-Disposition: attachment;
 filename="karthik.vcf"

begin:vcard 
n:karthikselvan;sachithanandam
tel;cell:9845068398
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:karthik@acceleratednetworks.soft.net
fn:karthikselvan
end:vcard

--------------5CD825422CDF5BDC45FC192A--



From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 05:41:08 2000
From: Uygar DOYURAN <UDoyuran@hc.aselsan.com.tr>
Date: Wed Sep 20 05:41:10 PDT 2000
Subject: VxWorks Scheduling Problem on PPC

Hello all;

We are using Tornado 2.0, VxWorks 5.4 on PowerPC 860.

We sometimes experience a scheduling problem. The most prior task in our
system pends on a semaphore which is released by an ISR upon occurrence of
some event.

Occasionally we observe that the task does not become ready after the
semaphore is released! Consequently, after the completion of the ISR, the
highest priority task is not scheduled but instead a lower priority task
runs. The highest priority task only becomes ready in the next scheduling
event and is scheduled at that time. 

We have found out that there is a patch related to our problem, namely:
	"SPR# 24759 TITLE: powerPC scheduler sometime schedules lower
priority tasks over higher priority tasks."
We have installed this patch, but it didn't solve the problem. 

We have proved this case with WindView and with a custom task hook function.

We have been researching for a solution for this problem. We have been in
contact with WRS support during the last 4 months, but could not get any
help. 

If you have faced with a similar situation, or ideas about this problem we
would be grateful to hear from you.

Best Regards.

Uygar DOYURAN
Electrical & Electronics Engineer, MSc.
ASELSAN Electronics Industry, Inc


From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 08:18:10 2000
From: "amass" <amass@dera.gov.uk>
Date: Wed Sep 20 08:18:12 PDT 2000
Subject: SCSI Commands

This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C0231E.814EF3C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All

    We have a SCSI disk on which we must park the heads prior to a =
period of shock and vibration. We use the scsiStartStopUnit() function =
to issue a START_STOP_UNIT command to the device which should park the =
heads. However, verifying that the heads are now actaully parked is =
proving a little tricky. We have been advised to use the TEST_UNIT_READY =
command to verify that the unit is no longer ready, and hence the heads =
are parked. How does one obtain the STATUS data returned in response to =
a SCSI command (in this case the TEST_UNIT_READY command)? Does the =
VxWorks implementation of the TEST_UNIT_READY command return this =
information or is it necessary to extract sense data once the =
TEST_UNIT_READY command has been sent?

We have tried issuing the TEST_UNIT_READY command with the disk in what =
is supposed to be both the started and stopped states, but ne definitive =
behaviour has been observed.

Any help appreciated.

Regards


Andy Atkinson
Software Engineer
DERA Bincleaves
Newtons Road
Weymouth
Dorset
DT4 8UR
UK

VxWorks

------=_NextPart_000_000B_01C0231E.814EF3C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi All</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; We have a SCSI disk on which we =
must park=20
the heads prior to a period of shock and vibration. We use the=20
scsiStartStopUnit() function to issue a START_STOP_UNIT command to the =
device=20
which should park the heads. However,&nbsp;verifying that the heads are =
now=20
actaully&nbsp;parked is proving a little tricky. We have been advised to =
use the=20
TEST_UNIT_READY command to verify that the unit is no longer ready, and =
hence=20
the heads are&nbsp;parked. How does one obtain the STATUS data returned =
in=20
response to a SCSI command (in this case the TEST_UNIT_READY command)? =
Does the=20
VxWorks implementation of the TEST_UNIT_READY command return this =
information or=20
is it necessary to extract sense data once the TEST_UNIT_READY command =
has been=20
sent?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>We have tried issuing the TEST_UNIT_READY command =
with the=20
disk in what is supposed to be both the started and stopped states, but =
ne=20
definitive behaviour has been observed.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any help appreciated.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Andy Atkinson</FONT></DIV>
<DIV><FONT size=3D2>Software Engineer</FONT></DIV>
<DIV><FONT size=3D2>DERA Bincleaves</FONT></DIV>
<DIV><FONT size=3D2>Newtons Road</FONT></DIV>
<DIV><FONT size=3D2>Weymouth</FONT></DIV>
<DIV><FONT size=3D2>Dorset</FONT></DIV>
<DIV><FONT size=3D2>DT4 8UR</FONT></DIV>
<DIV><FONT size=3D2>UK</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>VxWorks</FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01C0231E.814EF3C0--



From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 11:21:38 2000
From: "Chang, Mark" <Mark_Chang@pairgain.com>
Date: Wed Sep 20 11:21:40 PDT 2000
Subject: sens or non-sens

Hi,
	We have certain builds that are created with the
Tornado sens install and other builds with the non-sens install.
Is there a better way to build the different versions without
having two Tornado installations.  What I do now is rename
the Tornado_sens to Tornado when I need to build sens.

Thanks,
Mark

oh, I'm using Tornado 1.0


From vxwexplo-errs@csg.lbl.gov  Wed Sep 20 20:20:40 2000
From: Fred Roeber <froeber@bbn.com>
Date: Wed Sep 20 20:20:43 PDT 2000
Subject: Re: VxWorks Scheduling Problem on PPC

On Wed, 20 Sep 2000, Uygar DOYURAN <UDoyuran@hc.aselsan.com.tr> wrote:

> We are using Tornado 2.0, VxWorks 5.4 on PowerPC 860.
> 
> We sometimes experience a scheduling problem. The most prior task in our
> system pends on a semaphore which is released by an ISR upon occurrence of
> some event.
> 
> Occasionally we observe that the task does not become ready after the
> semaphore is released! Consequently, after the completion of the ISR, the
> highest priority task is not scheduled but instead a lower priority task
> runs. The highest priority task only becomes ready in the next scheduling
> event and is scheduled at that time. 
> 
> We have found out that there is a patch related to our problem, namely:
> 	"SPR# 24759 TITLE: powerPC scheduler sometime schedules lower
> priority tasks over higher priority tasks."
> We have installed this patch, but it didn't solve the problem. 

At the risk of being obvious, I assume you are using priority queuing for
the semaphore and not FIFO queuing? Also, is there any chance that the
lower priority task that doesn't get preempted is, in fact, a task that
is holding a priority inheritance enabled mutex semaphore that has caused
its priority to be boosted temporarily? I'm not sure if that shows up
in WindView but I don't think it does in an obvious fashion. Then again,
it could be some other bug like the one you installed the patch for. I
don't know of any but history has shown that they might exist.

Seems you will have to somehow instrument the system to detect the problem
case and then dump out status information. This will be pretty hard without
kernel source code though. Good luck.   Fred

   |      Fred J Roeber,  BBN Systems & Technologies      |
   |    4 John Clarke Road   Middletown, RI  02842-5202   |
   |          froeber@bbn.com     401-848-3548            |
   |    Division Scientist, High Performance Computing    |




From vxwexplo-errs@csg.lbl.gov  Thu Sep 21 02:38:58 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Thu Sep 21 02:39:01 PDT 2000
Subject: re: "dc0 - no carrier"

>> When booting VxWorks I get the message "interrupt: dc0 - no carrier"
>> very frequently.

> Wind River is aware of this problem. It is caused if you are connected
> to a ethernet switch that supports Full Duplex. Ethernet Hubs are
> typically Half Duplex.

> Wind River send me a new dec*.o file which essentially removed the no
> carrier print.

> There is an SPR on Windsurf already about this problem.

Does anyone know if WRS have fixed this properly?

The SPR doesn't say much, but indicates that they think error is "normally 
harmless' (mostly harmless?).

The 'no carrier' error is reported when the ethernet chipset doesn't get a 
receive signal (it is the rx carrier that is missing) during its own transmits.  
This is a test of the rx and tx pairs of the AUI cable to the transceiver (the 
SQE test checks the collision pair).  A coax transceiver will always receive its 
own transmittions...

On twisted pair the transceiver (AUI or MII) reports a collision if there is 
receive data (on the TP cable) during transmit, and returns the tx data as rx to 
stop the chipset reporting 'no carrier'.  The chipset will ignore the rx data 
during transmit.

For full duplex the tx and rx sides are completely separate.  However 4 pieces 
of hardware have to agree to use full duplex.  The two transceivers can (and 
will) auto-negotiate full duplex if permitted.  The etherner controller has to 
interrogate the transceiver to determine what has been negotiated.  This is hard 
and is left to the device driver.

Unfortunately there is no easy way (for the device driver) to determine what the 
transceivers have negotiated.  Especially since it can change at any time.

The easy 'solution' is to change the transceivers 'link advertise register' and 
disable the full duplex modes.  Then you know full duplex will never be 
negotiated.  (Don't EVER fix a port to full duplex - it will only end in tears.)

The effect of having the transceiver running full duplex but the ethernet 
chipset half duplex is that receive packets will be discarded - typically during 
heavy traffic.  This can be hard to detect - but causes the network to run 'like 
a sick pig' at times.

Note that you can change from 10M to 100M without the driver/chipset having to 
do anything at all.  It just works.  Determining the current speed is, of 
course, almost impossible from the standard MII registers.

	David


----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Thu Sep 21 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Thu Sep 21 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Thu Sep 21 04:03:04 PDT 2000

        Subject: Timestamp driver and Pentium TSC reg
        Subject: re: Dynamically changing IP addresses
        Subject: VxWorks Scheduling Problem on PPC
        Subject: c++ demangling
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: pthreads for vxWorks
        Subject: SCSI Commands
        Subject: compilation output size differences between tornado 1 and 2
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: Problems writing with dosFs 2.0
        Subject: Re: VxSim networking
        Subject: Re: Using Tornado 2 Makefiles
        Subject: Re: pthreads for vxWorks
        Subject: 2 Proc cards on 1 backplane
        Subject: sens or non-sens
        Subject: MUX layer
        Subject: VxFusion
        Subject: Re: pthreads for vxWorks
        Subject: linux development environment
        Subject: VxWorks FTP Server
        Subject: Re: linux development environment
        Subject: Re: VxWorks FTP Server
        Subject: Where the BSP can be found?
        Subject: Re: Using Tornado 2 Makefiles
        Subject: Changing the System Frequency
        Subject: re: VxWorks Scheduling Problem on PPC
        Subject: Re: What does PCI I/O space mean?
        Subject: Re: VxWorks FTP Server
        Subject: Why is my patch so large?
        Subject: re: "dc0 - no carrier"
        Subject: Q: the result after use ldppc to link object modules.

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Timestamp driver and Pentium TSC reg
Date: Wed, 20 Sep 2000 12:07:24 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39C89A6C.BB3A5EA1@agilent.com>

I'm using VxWorks 5.4+T2CP2 on a Pentium II/III target and I'm trying to work
out why the timestamp counter resets every system tick.

Ever since the Pentium Pro, there's been a TSC (Timestamp Counter) register
which increments at the CPU clock rate and is guaranteed not to overflow within
10 years - it's a 64-bit counter - and when you build VxWorks for a PentiumPro
it uses the TSC.

I read the VxWorks Programmer's Guide 5.4 (Page 446) and the WindView User's
Guide Appendix G. I read the comments in the source code for the timer driver
(src/drv/timer/i8253Timer.c), but nowhere can I find the reason for this line in
sysClkEnable():

sysTimestampRoutine = (FUNCPTR)pentiumTscReset;     [1]

This function pointer is invoked in sysClkInt():

if (sysTimestampRoutine != NULL)     [2]
 (* sysTimestampRoutine) ();

This means that the TSC is reset *every tick*. The register itself *does*
increase monotonically, but only within one system tick.

Why is this?

Of course you wouldn't normally want to busy-wait for more than a tick, but it's
quite feasible for a system tick to occur while in that loop.

Is it required by WindView instrumentation, perhaps because the timestamp value
is only read as 32 bits whereas the TSC is 64 bits so the 32-bit value wraps? I
put a modified version of i8253Timer.c into our VxWorks image with the line at
[1] commented out, which leaves sysTimestampRoutine NULL so that the TSC
free-runs as intended, then briefly tried WindView on it without any apparent
problems.

I also checked the timestamp driver in ppcDecTimer.c and ambaTimer.c. Neither
resets the timestamp count after every tick, but then the same counter/timer is
used for both system tick and timestamp so I guess that's what effectively
happens anyway. Pentium PCs have PIT0 for the system clock, PIT1/RTC for the aux
clock and the TSC reg for the timestamp, so there's no *hardware* constraint
which requires the timestamp value to be reset.

What I'd like to know is whether the timestamp-reset-on-each-tick feature really
is a VxWorks or WindView requirement - that is, does my current "fix" break some
rule or dependency elsewhere - or can I ignore it?

Any clues?

TIA
James



---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Dynamically changing IP addresses
Date: Thu, 21 Sep 2000 05:31:33 +0530
From: karthikselvan <karthik@acceleratednetworks.soft.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qa9ne$c2$1@overload.lbl.gov>

This is a multi-part message in MIME format.
- --------------5CD825422CDF5BDC45FC192A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi all,

1) I am a new comer to VxWorks and tornado.

2) I loaded udpClient.o and udpServer.o to the target. I connected to the target through LAN.

3) I spawned the udpserver. When I say udpClient "192.168.10.203" , the output is  going to the console. There I cann't
give my input.

4) Is there anyway to redirect the input to the Tornado shell and give my input to the tornado shell?.

Thanks in advance
karthikselvan



- --------------5CD825422CDF5BDC45FC192A
Content-Type: text/x-vcard; charset=us-ascii;
 name="karthik.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for karthikselvan
Content-Disposition: attachment;
 filename="karthik.vcf"

begin:vcard 
n:karthikselvan;sachithanandam
tel;cell:9845068398
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:karthik@acceleratednetworks.soft.net
fn:karthikselvan
end:vcard

- --------------5CD825422CDF5BDC45FC192A--


---------------------------

Newsgroups: comp.os.vxworks
Subject: VxWorks Scheduling Problem on PPC
Date: Wed, 20 Sep 2000 15:38:36 +0300
From: Uygar DOYURAN <UDoyuran@hc.aselsan.com.tr>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qad81$97b$1@overload.lbl.gov>

Hello all;

We are using Tornado 2.0, VxWorks 5.4 on PowerPC 860.

We sometimes experience a scheduling problem. The most prior task in our
system pends on a semaphore which is released by an ISR upon occurrence of
some event.

Occasionally we observe that the task does not become ready after the
semaphore is released! Consequently, after the completion of the ISR, the
highest priority task is not scheduled but instead a lower priority task
runs. The highest priority task only becomes ready in the next scheduling
event and is scheduled at that time. 

We have found out that there is a patch related to our problem, namely:
	"SPR# 24759 TITLE: powerPC scheduler sometime schedules lower
priority tasks over higher priority tasks."
We have installed this patch, but it didn't solve the problem. 

We have proved this case with WindView and with a custom task hook function.

We have been researching for a solution for this problem. We have been in
contact with WRS support during the last 4 months, but could not get any
help. 

If you have faced with a similar situation, or ideas about this problem we
would be grateful to hear from you.

Best Regards.

Uygar DOYURAN
Electrical & Electronics Engineer, MSc.
ASELSAN Electronics Industry, Inc

---------------------------

Newsgroups: comp.os.vxworks
Subject: c++ demangling
Date: Wed, 20 Sep 2000 14:33:21 GMT
From: jojodead@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qahrh$n8d$1@nnrp1.deja.com>

Hello,
I've recently moved my software to VxWorks 5.4 and tornado 2.0 .
The problem I have is that when using the c - interpeter in the shell
through the serial connection,
and using symbols the are originated from c++ , the shell doesn't
recoginize them. If I add to the symbol "__Fv" for example , it works.

This Was working fine with Tornado 1.0.1 and VxWorks 5.3.1 .
I also tested this in the WindSh (the shell in the tornado) and there
it works fine.

Is there a solution for this problem?


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:19:18 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D575.99F87ABD@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:19:24 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D57C.8D11A60A@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:20:28 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D5BC.4642B4EA@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:20:33 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D5C1.52E42F27@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:21:07 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D5E3.D0F554C0@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:21:17 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D5ED.D86B5D17@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:28:48 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D7B0.59666BD8@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:29:13 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D7C9.2BD185DB@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:29:17 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D7CD.DAC842E@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 08:29:20 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8D7D0.FC2933ED@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: pthreads for vxWorks
Date: 20 Sep 2000 11:44:58 -0500
From: Greg Menke <menkesjg@xyz.erols.com>
Message-ID: <854s3b812t.fsf@quahog.gsfc.nasa.gov>
Sender: gregm@quahog.gsfc.nasa.gov


Are there any GPL or public domain wrappers that adapt pthreads to
vxWorks tasks?  

The application doesn't need absolute compatibility as the software
doesn't have stringent scheduling requirements.  A free alternative is
needed as we're <hopefully> abandoning vxWorks altogether very
shortly.  Pthreads compatibility is needed only to establish a
performance baseline of our "posix-ized" code on the old
OS/architecture.

Thanks,

Gregm

---------------------------

Newsgroups: comp.os.vxworks
Subject: SCSI Commands
Date: Wed, 20 Sep 2000 16:19:09 +0100
From: "amass" <amass@dera.gov.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qanph$h0o$1@overload.lbl.gov>

This is a multi-part message in MIME format.

- ------=_NextPart_000_000B_01C0231E.814EF3C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All

    We have a SCSI disk on which we must park the heads prior to a =
period of shock and vibration. We use the scsiStartStopUnit() function =
to issue a START_STOP_UNIT command to the device which should park the =
heads. However, verifying that the heads are now actaully parked is =
proving a little tricky. We have been advised to use the TEST_UNIT_READY =
command to verify that the unit is no longer ready, and hence the heads =
are parked. How does one obtain the STATUS data returned in response to =
a SCSI command (in this case the TEST_UNIT_READY command)? Does the =
VxWorks implementation of the TEST_UNIT_READY command return this =
information or is it necessary to extract sense data once the =
TEST_UNIT_READY command has been sent?

We have tried issuing the TEST_UNIT_READY command with the disk in what =
is supposed to be both the started and stopped states, but ne definitive =
behaviour has been observed.

Any help appreciated.

Regards


Andy Atkinson
Software Engineer
DERA Bincleaves
Newtons Road
Weymouth
Dorset
DT4 8UR
UK

VxWorks

- ------=_NextPart_000_000B_01C0231E.814EF3C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi All</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; We have a SCSI disk on which we =
must park=20
the heads prior to a period of shock and vibration. We use the=20
scsiStartStopUnit() function to issue a START_STOP_UNIT command to the =
device=20
which should park the heads. However,&nbsp;verifying that the heads are =
now=20
actaully&nbsp;parked is proving a little tricky. We have been advised to =
use the=20
TEST_UNIT_READY command to verify that the unit is no longer ready, and =
hence=20
the heads are&nbsp;parked. How does one obtain the STATUS data returned =
in=20
response to a SCSI command (in this case the TEST_UNIT_READY command)? =
Does the=20
VxWorks implementation of the TEST_UNIT_READY command return this =
information or=20
is it necessary to extract sense data once the TEST_UNIT_READY command =
has been=20
sent?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>We have tried issuing the TEST_UNIT_READY command =
with the=20
disk in what is supposed to be both the started and stopped states, but =
ne=20
definitive behaviour has been observed.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any help appreciated.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Andy Atkinson</FONT></DIV>
<DIV><FONT size=3D2>Software Engineer</FONT></DIV>
<DIV><FONT size=3D2>DERA Bincleaves</FONT></DIV>
<DIV><FONT size=3D2>Newtons Road</FONT></DIV>
<DIV><FONT size=3D2>Weymouth</FONT></DIV>
<DIV><FONT size=3D2>Dorset</FONT></DIV>
<DIV><FONT size=3D2>DT4 8UR</FONT></DIV>
<DIV><FONT size=3D2>UK</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>VxWorks</FONT></DIV></BODY></HTML>

- ------=_NextPart_000_000B_01C0231E.814EF3C0--


---------------------------

Newsgroups: comp.os.vxworks
Subject: compilation output size differences between tornado 1 and 2
Date: Wed, 20 Sep 2000 16:07:21 GMT
From: jojodead@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qanb9$u33$1@nnrp1.deja.com>

Hello,
I've recently compiled my programs (to VxWorks image for PPC860)
using tornado 2. I've noticed that there is a difference in the size of
the output objects and the image file. the new files are a few  Mb's
larger than the ones compiled using tornado 1.
the new file is above the limit of my hardware.

did a flag for the compiler changed or something like that?

needless to say that I used the same makefiles and sources.

PS - I downloaded the patch for the PPC compiler, and the files
compiled using it.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 09:29:14 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8E5DA.E6BCEEF9@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems writing with dosFs 2.0
Date: Wed, 20 Sep 2000 09:26:21 -0700
From: Michael Imai <mikei@osl.com>
Message-ID: <39C8E52D.D17C9211@osl.com>
References: <pderqsoqhsitbod8umgit8v0ghnja7mc4u@4ax.com> <39C26082.C4E48CF1@osl.com> <39C4CFD5.CDEB7798@bitband.com> <8q6ksp$633$1@nnrp1.deja.com>

Paul,

We are running Tornado 2/VxWorks 5.4 & mvme2604 bsp v1.2/0.

mike i.

paulvroberts@my-deja.com wrote:

> Mark/Mike,
>
> Which version of Tornado/VxWorks are you using and which BSP and
> versions?
>
> We also had quite severe problems with writing to SCSI when using
> Tornado 1.1/VxWorks 5.3.1 and whatever BSP it was then. When we upgraded
> to Tornado 2 with VxWorks 5.4 and a newer MVME2700 BSP - version 1.2/0,
> those problems went away.
>
> I remember isolating the problem down to the last two bytes of a file
> being set to 0. We experimented with quatities of data written etc, and
> found that the problem was reproducable when the amount that you are
> writing was close to the cluster size.
>
> I researched the problem a bit and found that there were indeed various
> complaints about the SCSI driver, so I think it must have got an
> overhaul at some point.
>
> If you are tied into using an older Tornado/VxWorks/BSP, then there may
> be a specific patch that WRS could give you to apply.
>
> Please let me know if you have found a problem that is still in VxWorks
> 5.4, I would be very interested to verify that behaviour in our
> environment. Or at least it will give me something else to keep me up at
> night....
>
> Paul Roberts.
>

- --
Michael Imai, P.Eng.
Senior Software Engineer
Offshore Systems Ltd.            (604)904-4651
107-930 1st Street          Fax: (604)987-2555
North Vancouver, BC                    V7P 3N4

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxSim networking
Date: Wed, 20 Sep 2000 09:34:01 -0700
From: Sandip Patel <spatel@gigabitwireless.com>
Organization: Globix Corp.
Message-ID: <39C8E6F9.3E4BF9C8@gigabitwireless.com>
References: <6XKx5.98$tB3.3579@nreader1.kpnqwest.net>



Markus,
Did you enable ip forwarding on your NT box?
Also check the routes out using route PRINT on NT and routeShow on VxSim
to make sure that the correct routes are set-up (this should have been
done automatically).


Markus MItterer wrote:
> 
> Hi,
> I have problems with vxSim (full version) under NT. I configured an
> interface (ULIP) at my host with 90.0.0.254 and build the kernel with
> network support. After spawning the simulator I can`t ping any IP-address
> from the shell (neither 90.0.0.254 nor 90.0.0.1). I already checked my boot
> parameters with bootChange, but these seems to be okay.
> From the host-dos box I can ping my ULIP network interface (90.0.0.254) but
> not the 90.0.0.1.
> Any ideas what I do wrong?
> 
> regards
> --
> Markus Mitterer
> Software-Development, STK
> mailto: markus_mitterer@sbu1.storkgroup.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Using Tornado 2 Makefiles
Date: Wed, 20 Sep 2000 17:23:20 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <co6y5.229879$i5.3108758@news1.frmt1.sfba.home.com>
References: <km_x5.1$2i4.37@news-1.opaltelecom.net>

How about showing us the command you are using too?

paul

In article <km_x5.1$2i4.37@news-1.opaltelecom.net>, "awol" 
<news@-remove-iwsoft.freeserve.co.uk> wrote:
>Hi,
>
>Can anyone tell me what environment/command line I need to use to build an
>application under NT using a tornado generated makefile? I've tried setting
>these:
>
>WIND_BASE
>WIND_HOST_TYPE
>WIND_REGISTRY
>WIND_UID
>BUILD_SPEC
>
>But I get
>
>make: *** No rule to make target `linkedObjs.o', needed by `exe'.  Stop.
>
>?
>
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: pthreads for vxWorks
Date: Wed, 20 Sep 2000 13:06:12 -0500
From: Steven Deans <steven.deans@fnc.fujitsu.com>
Organization: Fujitsu Companies of North America
Message-ID: <39C8FC94.ECC992A8@fnc.fujitsu.com>
References: <854s3b812t.fsf@quahog.gsfc.nasa.gov>

Greg Menke wrote:

> Are there any GPL or public domain wrappers that adapt pthreads to
> vxWorks tasks?
>
> The application doesn't need absolute compatibility as the software
> doesn't have stringent scheduling requirements.  A free alternative is
> needed as we're <hopefully> abandoning vxWorks altogether very
> shortly.  Pthreads compatibility is needed only to establish a
> performance baseline of our "posix-ized" code on the old
> OS/architecture.
>
> Thanks,
>
> Gregm

1) No, I no of none. Sorry.

2) The wrappers will slightly effect your performance.

3) What did you switch to?

Steven



---------------------------

Newsgroups: comp.os.vxworks
Subject: 2 Proc cards on 1 backplane
Date: Wed, 20 Sep 2000 15:05:20 -0400
From: "Mike Kordik" <kordikmj@betalasermike.com>
Message-ID: <GS7y5.54$bx3.1032@client>

I have an application that is running on MS Windows and is connected to an
external black box running realtime control software. We are in the process
of developing a new black box using VxWorks as the OS. The Windows based
system is a passive backplane with a proc card running Windows. It would be
convenient for packaging and power to put the realtime control software on
another processor board on the same backplane as the Windows processor
board. The two boards do not need to communicate over the bus. I just need
power. Is there a way in VxWorks (or is it even possible on standard
hardware) to disable the bus interface so there is no contention between the
two proc cards?

Thanks,
Mike



---------------------------

Newsgroups: comp.os.vxworks
Subject: sens or non-sens
Date: Wed, 20 Sep 2000 11:20:17 -0700
From: "Chang, Mark" <Mark_Chang@pairgain.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qb2b0$nk6$1@overload.lbl.gov>

Hi,
	We have certain builds that are created with the
Tornado sens install and other builds with the non-sens install.
Is there a better way to build the different versions without
having two Tornado installations.  What I do now is rename
the Tornado_sens to Tornado when I need to build sens.

Thanks,
Mark

oh, I'm using Tornado 1.0

---------------------------

Newsgroups: comp.os.vxworks
Subject: MUX layer
Date: Wed, 20 Sep 2000 19:37:44 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qb3m6$dk6$1@nnrp1.deja.com>

hi folks,

I have a question regarding some of the elements
used in netBufLib...(...tornado/taget/h)
here are the structs
typedef struct mHdr
    {
    struct mBlk *	mNext;		/* next
buffer in chain */
    struct mBlk *	mNextPkt;	/* next
chain in queue/record */
    char *		mData;		/*
location of data */
    int			mLen;		/* amount
of data in this mBlk */
    UCHAR		mType;		/* type
of data in this mBlk */
    UCHAR		mFlags;		/* flags;
see below */
    USHORT		reserved;
    } M_BLK_HDR;

And here is the link layer header structure!!

typedef struct llHdrInfo
    {
    int		destAddrOffset;		/*
destination addr offset in mBlk */
    int		destSize; 		/*
destination address size */
    int		srcAddrOffset;		/* source
address offset in mBlk */
    int		srcSize;		/* source
address size */
    int		ctrlAddrOffset;		/*
control info offset in mBlk */
    int		ctrlSize;		/*
control info size */
    int		pktType;		/* type
of the packet */
    int		dataOffset;		/* data
offset in the mBlk */
    } LL_HDR_INFO;

I am currently attaching to the ethernet END
drivers supplied for MPC8260!!(motfcc0)
VxWorks-5.4, Tornado II

1] I wanted to know the difference
between "pktType" element and the "mType"
element?? When i tried printing mType i got some
junk values..

2] I haven't understood the significance of
"ctrlAddrOffset" in case of DIX II frames
(ethernet frames having a type field , no LLC
headers)





Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: VxFusion
Date: Wed, 20 Sep 2000 20:48:27 GMT
From: "Joe Zhao" <jzhao@akara.com>
Organization: Magma Communications Ltd.
Message-ID: <vo9y5.5714$gi1.112802@news.magma.ca>

I am wondering if anybody have a sample source file which uses distNameAdd()
call.

Thanks.

Joe Zhao




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: pthreads for vxWorks
Date: Wed, 20 Sep 2000 14:56:56 -0800
From: "Jim Robinson" <robinson@ipsg.mot.com>
Organization: Motorola CIG
Message-ID: <8qbbr8$kk110@nntp.cig.mot.com>
References: <854s3b812t.fsf@quahog.gsfc.nasa.gov> <39C8FC94.ECC992A8@fnc.fujitsu.com>

In article <39C8FC94.ECC992A8@fnc.fujitsu.com>, Steven Deans
<steven.deans@fnc.fujitsu.com> wrote:
> Greg Menke wrote:
> 
>> Are there any GPL or public domain wrappers that adapt pthreads to
>> vxWorks tasks?
>>
>> The application doesn't need absolute compatibility as the software
>> doesn't have stringent scheduling requirements.  A free alternative is
>> needed as we're <hopefully> abandoning vxWorks altogether very shortly.
>>  Pthreads compatibility is needed only to establish a performance
>> baseline of our "posix-ized" code on the old OS/architecture.
>>
>> Thanks,
>>
>> Gregm
> 
> 1) No, I no of none. Sorry.
> 
> 2) The wrappers will slightly effect your performance.
> 
> 3) What did you switch to?

4) And why did you switch?

Jim Robinson


---------------------------

Newsgroups: comp.os.vxworks
Subject: linux development environment
Date: Wed, 20 Sep 2000 14:45:52 -0800
From: "Jim Robinson" <robinson@ipsg.mot.com>
Organization: Motorola CIG
Message-ID: <8qbb6h$kk19@nntp.cig.mot.com>


Is there a linux hosted dev environment for vxworks? I looked at wrs.com
and did a search, but came up with nothing. If this doesn't exist, isn't
this a fairly major omission?

Thanks

Jim Robinson


---------------------------

Newsgroups: comp.os.vxworks
Subject: VxWorks FTP Server
Date: Wed, 20 Sep 2000 22:51:52 GMT
From: qtm60173 <qtm60173@yahoo.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qbf20$s5e$1@nnrp1.deja.com>

We are setting up VxWorks on an MCP750 cPCI board. We are using
the compact flash with DosFS as our boot device (/ata0/).
Currently, when we login to the board via FTP, we need to issue
a  "cd /ata0" in order to see any of the files on the compact
flash. How can I make /ata0 the default directory?

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Wed, 20 Sep 2000 17:42:17 -0500
From: Steven Deans <steven.deans@fnc.fujitsu.com>
Organization: Fujitsu Companies of North America
Message-ID: <39C93D49.6C6A9349@fnc.fujitsu.com>
References: <8qbb6h$kk19@nntp.cig.mot.com>

Jim Robinson wrote:

> Is there a linux hosted dev environment for vxworks? I looked at wrs.com
> and did a search, but came up with nothing. If this doesn't exist, isn't
> this a fairly major omission?
>
> Thanks
>
> Jim Robinson

Which other MAJOR RTOS venders have a full dev environment hosted on linux
across most major dev hosts (SUN, PC, HP...)? Has it been available for
over 6 months?

Steven



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks FTP Server
Date: Thu, 21 Sep 2000 01:35:20 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qbokn$7a2$1@nnrp1.deja.com>
References: <8qbf20$s5e$1@nnrp1.deja.com>

Hi,

Just a hunch, but you could probably add a call to ioDefPathSet() to the
end of the init sequence, or to the start of your application. That
should solve your problem.

HTH,

John...

In article <8qbf20$s5e$1@nnrp1.deja.com>,
  qtm60173 <qtm60173@yahoo.com> wrote:
> We are setting up VxWorks on an MCP750 cPCI board. We are using
> the compact flash with DosFS as our boot device (/ata0/).
> Currently, when we login to the board via FTP, we need to issue
> a  "cd /ata0" in order to see any of the files on the compact
> flash. How can I make /ata0 the default directory?
>
> Thanks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Where the BSP can be found?
Date: Thu, 21 Sep 2000 11:10:07 +0800
From: "Tony Kwok" <tony9kwok@hongkong.com>
Organization: IMS Netvigator
Message-ID: <8qbtvq$c6t1@imsp212.netvigator.com>

Hi,

        I am using the Vxworks as the RTOS.  However, I don't know where I
can find the latest BSP for my target board.  My board is Motorola
MPC8260ADS-P.  Do u have any idea?  Thanks.



Regards,

Tony Kwok




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Using Tornado 2 Makefiles
Date: Thu, 21 Sep 2000 03:26:46 GMT
From: "Dragan Ostojic" <ostojic@sympatico.ca>
Organization: Sympatico
Message-ID: <Wdfy5.3028$vZ.205345@news20.bellglobal.com>
References: <km_x5.1$2i4.37@news-1.opaltelecom.net>

Hi,

you're probably referring to building downloadable application from the DOS
command line using Tornado2 generated Makefile. If this is the case, go to
Tornado\target\h\make and open defs.vxApp. Delete or put under the comment
what is there. Then it should work fine. The reason is that the default rule
is <project_name>.out not linkedObjs.o and it has not been updated in
defs.vxApp. Look at the comment in rules.vxApp:
"01h,10mar99,ren Changing linkedObjs.o to <project name>.out"

Regards,
Dragan

"awol" <news@-remove-iwsoft.freeserve.co.uk> wrote in message
news:km_x5.1$2i4.37@news-1.opaltelecom.net...
> Hi,
>
> Can anyone tell me what environment/command line I need to use to build an
> application under NT using a tornado generated makefile? I've tried
setting
> these:
>
> WIND_BASE
> WIND_HOST_TYPE
> WIND_REGISTRY
> WIND_UID
> BUILD_SPEC
>
> But I get
>
> make: *** No rule to make target `linkedObjs.o', needed by `exe'.  Stop.
>
> ?
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Changing the System Frequency
Date: Thu, 21 Sep 2000 03:36:49 GMT
From: pthomas314@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qbvof$f9t$1@nnrp1.deja.com>

I am running a PPC860 (built from ADS860 bsp) and
have an problem at boot that leads to the
solution of booting at 25MHZ and after some of
the code has run, setting the system to run at
50MHZ.

To do this I modified sysHwInit to initialize the
system with a clock of SYS_CPU_FREQ / 2.  Then I
created a function that runs most of sysHwInit
again to set the clock to SYS_CPU_FREQ.

Most components continue to function and the
clock rate doubles, but I lose SMC1.

I am looking for a way to completely stop/unload
all the components of SMC1 so that I can re-
establish the connection.

I would appreciate any ideas, I have tried too
many things to list here, but don't have a good
sense of the direction I need to go.

If you would like to see the functions I am
calling, email me and I will send them.  Thanks
in advance for any ideas.

- -Patrick Thomas
 patrick@weco.com


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: VxWorks Scheduling Problem on PPC
Date: Wed, 20 Sep 2000 23:13:55 -0400 (EDT)
From: Fred Roeber <froeber@bbn.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qc1vg$ae5$1@overload.lbl.gov>

On Wed, 20 Sep 2000, Uygar DOYURAN <UDoyuran@hc.aselsan.com.tr> wrote:

> We are using Tornado 2.0, VxWorks 5.4 on PowerPC 860.
> 
> We sometimes experience a scheduling problem. The most prior task in our
> system pends on a semaphore which is released by an ISR upon occurrence of
> some event.
> 
> Occasionally we observe that the task does not become ready after the
> semaphore is released! Consequently, after the completion of the ISR, the
> highest priority task is not scheduled but instead a lower priority task
> runs. The highest priority task only becomes ready in the next scheduling
> event and is scheduled at that time. 
> 
> We have found out that there is a patch related to our problem, namely:
> 	"SPR# 24759 TITLE: powerPC scheduler sometime schedules lower
> priority tasks over higher priority tasks."
> We have installed this patch, but it didn't solve the problem. 

At the risk of being obvious, I assume you are using priority queuing for
the semaphore and not FIFO queuing? Also, is there any chance that the
lower priority task that doesn't get preempted is, in fact, a task that
is holding a priority inheritance enabled mutex semaphore that has caused
its priority to be boosted temporarily? I'm not sure if that shows up
in WindView but I don't think it does in an obvious fashion. Then again,
it could be some other bug like the one you installed the patch for. I
don't know of any but history has shown that they might exist.

Seems you will have to somehow instrument the system to detect the problem
case and then dump out status information. This will be pretty hard without
kernel source code though. Good luck.   Fred

   |      Fred J Roeber,  BBN Systems & Technologies      |
   |    4 John Clarke Road   Middletown, RI  02842-5202   |
   |          froeber@bbn.com     401-848-3548            |
   |    Division Scientist, High Performance Computing    |



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: What does PCI I/O space mean?
Date: Thu, 21 Sep 2000 06:44:03 GMT
From: "Martin Usher" <martinusher@earthlink.net>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <T6iy5.9305$Vu5.480570@newsread2.prod.itd.earthlink.net>
References: <8q4fd1$sip$1@overload.lbl.gov>
Reply-To: "Martin Usher" <martinusher@earthlink.net>

>    I know that PCI defines three space: memory address space, I/O address
> space and configuration space. But I don't understand exactly what do
these
> sapces mean? Can anybody explains?
>
The PCI bus has three signals which are used to indicate the 'type' of a
transfer. This allows accesses to be mapped to multiple spaces. For a
Motorola type host the memory space is configured into windows that map into
the appropriate parts of PCI space by the bridge.
>
>   Now, I am configuring a PCI board under vxWorks/MPC860. The PCI board
has
> a flash image and this image configures its PCI bridge's BAR1 as I/O space
> address. But in MPC860, there is no I/O space, so how could I access this
> I/O space from vxWorks/MPC860?
>
The bridge that you're likely to be using is a 'QSpan' from Tundra
(www.tundra.com). Although your view of it should be through functions
provided with the BSP its worth reading the bridge's data sheet and
supporting applications notes. Its also worth getting to know PCI a bit -
you don't need to swallow one of those humungous books but just check out a
Web page such
as:-http://www.europe.redhat.com/documentation/HOWTO/PCI-HOWTO.php3



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks FTP Server
Date: 21 Sep 2000 06:47:01 GMT
From: borkhuis@lucent.com (Johan Borkhuis)
Organization: Lucent Technologies
Message-ID: <8FB654D3Bborkhuislucentcom@135.7.153.102>
References: <8qbf20$s5e$1@nnrp1.deja.com> <8qbokn$7a2$1@nnrp1.deja.com>

john_94501@my-deja.com wrote in <8qbokn$7a2$1@nnrp1.deja.com>:

>Hi,
>
>Just a hunch, but you could probably add a call to ioDefPathSet() to the
>end of the init sequence, or to the start of your application. That
>should solve your problem.

Or add a cd("/ata0"); to your usrAppInit.


Groeten,                                                                 
        Johan                                                            
                                                                         
- --                                                                       
     o o o o o o o . . .   ___________________________________           
    o      _____           ||    Johan Borkhuis              |           
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |           
 >(________|__|_[_________]_|________________________________|           
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`           
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Why is my patch so large?
Date: Thu, 21 Sep 2000 09:59:52 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39C9BFF8.67CE5616@vitatron.com>

Hi all,

I downloaded a VxWorks patch to correct a problem with the
fmod-function on Intel targets. But the .tar-file I downloaded
is as large as 15 MB! Why is that? What kind of unnecessary
files do I get with it? I expected one or two small files (.c or .lib
or so), but I got 80 (even including two .wav-files!).
Any one got any idea?

Gijs van Oort


---------------------------

Newsgroups: comp.os.vxworks
Subject: re: "dc0 - no carrier"
Date: Thu, 21 Sep 2000 10:39:47 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009210939.KAA16143@dsl-2.tadpole.co.uk>

>> When booting VxWorks I get the message "interrupt: dc0 - no carrier"
>> very frequently.

> Wind River is aware of this problem. It is caused if you are connected
> to a ethernet switch that supports Full Duplex. Ethernet Hubs are
> typically Half Duplex.

> Wind River send me a new dec*.o file which essentially removed the no
> carrier print.

> There is an SPR on Windsurf already about this problem.

Does anyone know if WRS have fixed this properly?

The SPR doesn't say much, but indicates that they think error is "normally 
harmless' (mostly harmless?).

The 'no carrier' error is reported when the ethernet chipset doesn't get a 
receive signal (it is the rx carrier that is missing) during its own transmits.  
This is a test of the rx and tx pairs of the AUI cable to the transceiver (the 
SQE test checks the collision pair).  A coax transceiver will always receive its 
own transmittions...

On twisted pair the transceiver (AUI or MII) reports a collision if there is 
receive data (on the TP cable) during transmit, and returns the tx data as rx to 
stop the chipset reporting 'no carrier'.  The chipset will ignore the rx data 
during transmit.

For full duplex the tx and rx sides are completely separate.  However 4 pieces 
of hardware have to agree to use full duplex.  The two transceivers can (and 
will) auto-negotiate full duplex if permitted.  The etherner controller has to 
interrogate the transceiver to determine what has been negotiated.  This is hard 
and is left to the device driver.

Unfortunately there is no easy way (for the device driver) to determine what the 
transceivers have negotiated.  Especially since it can change at any time.

The easy 'solution' is to change the transceivers 'link advertise register' and 
disable the full duplex modes.  Then you know full duplex will never be 
negotiated.  (Don't EVER fix a port to full duplex - it will only end in tears.)

The effect of having the transceiver running full duplex but the ethernet 
chipset half duplex is that receive packets will be discarded - typically during 
heavy traffic.  This can be hard to detect - but causes the network to run 'like 
a sick pig' at times.

Note that you can change from 10M to 100M without the driver/chipset having to 
do anything at all.  It just works.  Determining the current speed is, of 
course, almost impossible from the standard MII registers.

	David


- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: Q: the result after use ldppc to link object modules.
Date: Thu, 21 Sep 2000 02:04:25 -0400
From: "Okehee Goh" <ogoh@cise.ufl.edu>
Organization: UF Department of Computer & Information Science & Engineering
Message-ID: <8qc8ft$7kc$1@thunder.cise.ufl.edu>

Hello,

I'd like to know how to link several objects to make one object module.

I'm now trying to link several object module to one object module.
I made test.o which are suppose to print "test test1" after calling test1()
   and test1.o which are supposed to print "test1".
After separately loaded those modules to the target machine, they both did
their expected action.( print our to console)
However, the object that linked both objects(..last.o from following
Makefile) didn't print out anything.

So, I wonder if it's just right result or I use wrong linking parameters
when linked both objects.


My target is DY4 SVME171 - powerpc603e.
- -----------------------------------------
1. Makefile:
ccppc -BD:/tornado/host/x86-win32/lib/gcc-lib/ -mstrict-align -ansi -nostdin
c -O2 -fvolati
le -fno-builtin -fno-for-scope  -Wall -I/h   -I. -ID:/tornado\target\config\
all -ID:/torna
do\target/h -ID:/tornado\target/src/config -ID:/tornado\target/src/drv -DCPU
=PPC603      -
c test.c

ccppc -BD:/tornado/host/x86-win32/lib/gcc-lib/ -mstrict-align -ansi -nostdin
c -O2 -fvolati
le -fno-builtin -fno-for-scope  -Wall -I/h   -I. -ID:/tornado\target\config\
all -ID:/torna
do\target/h -ID:/tornado\target/src/config -ID:/tornado\target/src/drv -DCPU
=PPC603
 -c test1.c


ldppc -X -N -r  -o last.o test.o
test1.o -LD:/tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2
.7.2-960126 $(WIND_BASE)/target/lib/libPPC603gnuvx.a -lgcc


2. test.c
#include <vxWorks.h>
#include <taskLib.h>
test()
{
 printf("test1");
 test1();
        return 0;
}

3. test1.c
#include <vxWorks.h>
#include <taskLib.h>
int test1()
{
 printf("test2");
        return 0;

}


- --
 ********************************************************************
 Okehee Goh        ogoh@cise.ufl.edu   http://www.cise.ufl.edu/~ogoh
 RealTime System Lab.  (T) 1-352-392-6875
 CISE Dept.  University Of Florida






---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Thu Sep 21 09:28:14 2000
From: Bernard_Zhao@Ademco.com
Date: Thu Sep 21 09:28:16 PDT 2000
Subject: Convert pe-i386 to a.out-i386

Hi! Everyone;

I am trying apply MMX technology to VxWorks. In order to compile assembler
with
MMX SIMD instructions, I have to use latest verions GNU assembler compliler
and 
the object file format is pe-i386, which is not recognized by the Tornado
linker(ld). 
And we could not re-compile all the library and objects with new compiler.
The only 
way is to convert the pe-i386 format into a.out-i386. But using objdump and
objcopy 
can't do this job. The reason is that old objdump386.exe doesn't recognize
the new 
object file in every possible formats provided by the new objcopy. I just
wonder if you 
could please give me some help.!

Thank you very very much!

Bernard




From vxwexplo-errs@csg.lbl.gov  Thu Sep 21 22:48:40 2000
From: Gaurav Kakkar <gaurav-kakkar@usa.net>
Date: Thu Sep 21 22:48:42 PDT 2000
Subject: Problems with concurrency and free hard disk space.

Hi Vxworkers,

I am just running vxsim on solaris platform and dealing with file -related
operations. But I am facing some problems which are as follows:

1.  How to find the hard disk free space. Does vxworks support any routine in
its libraries like df/dfspace in unix. If some logic that how to find  it is
there, then please inform me.

2.  Assuming two tasks are accessing the same file. First is writing and
another is reading. Does vxworks support any routine so as to get the status
of the file whether is is opened or not. Unix has fuser command or linux has
lfos command. Does vxworks support any such library routine for that. If the
solution concerns with creating semaphore, then creating semaphore for one
file is OK, but for multiple files, using multiple semaphores is an improper
choice. 
   So please give me some solution with this concurrency problem.

Any suggestions are highly appreciated.

Waiting eagerly for desired solution,

Best Regards
gaurav.



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


From vxwexplo-errs@csg.lbl.gov  Fri Sep 22 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Fri Sep 22 04:03:12 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Fri Sep 22 04:03:05 PDT 2000

        Subject: Help! Creating a VxWorks system in ROM
        Subject: Booting VxWorks using a serial connection: HELP!!!
        Subject: Re: 2 Proc cards on 1 backplane
        Subject: Re: pthreads for vxWorks
        Subject: booting compressed vxworks images
        Subject: Re: Multiple vxworks copies one per slot.
        Subject: Re: 2 Proc cards on 1 backplane
        Subject: Re: Processor synchronization
        Subject: Re: 2 Proc cards on 1 backplane
        Subject: Device names!
        Subject: Convert pe-i386 to a.out-i386
        Subject: Re: Device names!
        Subject: GDB 5.0 for VxWorks 5.4
        Subject: Re: Using Tornado 2 Makefiles
        Subject: Re: linux development environment
        Subject: for TCP/IP stack
        Subject: Re: linux development environment
        Subject: Tornado2 on SPARC Solaris 8
        Subject: vxWorks 6.0
        Subject: Re: linux development environment
        Subject: Re: Device names!
        Subject: re-running a method that is loaded.
        Subject: Re: VxWorks FTP Server
        Subject: Re: linux development environment
        Subject: Re: re-running a method that is loaded.
        Subject: Re: Tornado2 on SPARC Solaris 8
        Subject: Emulated GUI for VxSim?
        Subject: Re: Tornado2 on SPARC Solaris 8
        Subject: Re: linux development environment
        Subject: Re: Tornado2 on SPARC Solaris 8
        Subject: Bring up a user task at bootup
        Subject: Re: Emulated GUI for VxSim?
        Subject: Problems with concurrency and free hard disk space.
        Subject: Re: linux development environment
        Subject: re: "dc0 - no carrier"
        Subject: Re: Bring up a user task at bootup
        Subject: Re: Bring up a user task at bootup
        Subject: printing source files from tornado
        Subject: usrFdConfig() and file descriptor
        Subject: What it means?
        Subject: Re: vxWorks 6.0
        Subject: Re: Device names!

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Help! Creating a VxWorks system in ROM
Date: Thu, 21 Sep 2000 21:06:44 +0800
From: "kvd2" <kvd2@kimo.com>
Organization: DCI HiNet
Message-ID: <8qd1kp$mcb@netnews.hinet.net>

Hi,

Any one have the experience in creating a vxworks system in ROM +
 WDB? I followed the step in 11.6.2 of  Tornado User's guide.  but it
doesn't work.

The gole is to boot vxwork sytem from rom, and debugging over
serial line(rs-232).

What I've tried are:
Meathod A:
           1. replace bootconfig.c with usrConfig.c,
           2. build boot_uncmp.hex.
           3. burne it.
          the result is that:
          Target agent can be connected with Target server,
          but the shell can not be opened and an error message, "Target
          server is too busy...." then, target server is killed.

The second one ,
           1. replace bootconfig.c with usrConfig.c
           2. build vxWorks.res_rom_nosym.hex.
           3. burn it
         the result is more worse, no date comes out from the serial port,
         and target agent can never be connected with target server.

Can anyone help me?





---------------------------

Newsgroups: comp.os.vxworks
Subject: Booting VxWorks using a serial connection: HELP!!!
Date: Thu, 21 Sep 2000 12:07:49 -0400
From: "Said Belhadj" <said_nospam@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <8qd2c8$93v$2@slb6.atl.mindspring.net>

Hi, all
I have a working VxWorks boot rom working with a Ethernet connection
between the target and the host.
I have been trying to make a VxWorks boot rom with a serial connection
because my prototype will need only a serial connection in bringing up the
whole system.
I looked in usr_root () function and also
In \mytarget\config.h. I see a #define DEFAULT_BOOT_LINE that defines
a "lanpci(0,0):vxWorks h= .... e= ....   "
I was told that I can replace the lanpci(0,0) with the plain
"tsfs(0,0) filename <options>"
I also enabled some other COM and WDM # defines to enable both serial ports.
I tried this in config.h and burned a Flash but when the system boots up I
see on
COM1 that there is an boot line error on "tsfs(0,0) .....".
Has anyone done this before on Tornado 2.1 , please give me some input



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 2 Proc cards on 1 backplane
Date: Thu, 21 Sep 2000 14:41 +0100 (BST)
From: rew@cp.cix.co.uk (Richard Wenham)
Organization: CIX - Compulink Information eXchange
Message-ID: <memo.20000921144157.502A@cpecran.compulink.co.uk>
References: <GS7y5.54$bx3.1032@client>
Reply-To: rew@cp.cix.co.uk

Use a split backplane instead.  They are commonly available for 
industrial PCs.

Richard Wenham
Cranfield Precision

In article <GS7y5.54$bx3.1032@client>, kordikmj@betalasermike.com (Mike 
Kordik) wrote:

> I have an application that is running on MS Windows and is connected to 
> an
> external black box running realtime control software. We are in the 
> process
> of developing a new black box using VxWorks as the OS. The Windows based
> system is a passive backplane with a proc card running Windows. It 
> would be
> convenient for packaging and power to put the realtime control software 
> on
> another processor board on the same backplane as the Windows processor
> board. The two boards do not need to communicate over the bus. I just 
> need
> power. Is there a way in VxWorks (or is it even possible on standard
> hardware) to disable the bus interface so there is no contention 
> between the
> two proc cards?
> 
> Thanks,
> Mike

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: pthreads for vxWorks
Date: 21 Sep 2000 10:29:31 -0500
From: Greg Menke <menkesjg@xyz.erols.com>
Message-ID: <85n1h1yd9g.fsf@quahog.gsfc.nasa.gov>
References: <854s3b812t.fsf@quahog.gsfc.nasa.gov> <39C8FC94.ECC992A8@fnc.fujitsu.com> <8qbbr8$kk110@nntp.cig.mot.com>
Sender: gregm@quahog.gsfc.nasa.gov


The hardware used in previous projects was rather slow and didn't have
virtual memory and other goodies; we seem to be moving to faster
PowerPC based hardware, so a move to POSIX is attractive as we gain
portability between different OS's.  Using vxWorks leaves us stuck in
vxWorks- same thing as writing software that uses the Windows API.

Our realtime requirements are not stringent, the OS only needs to be
"more or less" realtime, given faster architecture.  Having a open,
free (or low cost) toolchain w/ full source, unencumbered by
neverending license hassles is extremely helpful.

At the moment we're contrasting embedded Linux, Lynx and RTEMS.  Each
has its own set of technical, religious and political tradeoffs- but
all are considerably easier to deal with.  At the moment RTEMS is the
leading candidate & it is possible it can be run on the old hardware
which previously only vxWorks supported- comparing performance there
would be very interesting...

I've seen some vxWorks code that has pthreads calls, seemingly without
a 3rd party pthread lib- though it could be another version, our
systems use Tornado 1.

The performance tradeoff of a wrapper lib shouldn't be too onerous,
stubs calling down to the vxWorks api should be enough.  We create
thread pools, so any performance hit is in the setup phase which isn't
critical.

But thanks for your help- it looks like a little wrapper code is what
is needed.

Gregm

> > 
> >> Are there any GPL or public domain wrappers that adapt pthreads to
> >> vxWorks tasks?
> >>
> >> The application doesn't need absolute compatibility as the software
> >> doesn't have stringent scheduling requirements.  A free alternative is
> >> needed as we're <hopefully> abandoning vxWorks altogether very shortly.
> >>  Pthreads compatibility is needed only to establish a performance
> >> baseline of our "posix-ized" code on the old OS/architecture.
> >>
> >> Thanks,
> >>
> >> Gregm
> > 
> > 1) No, I no of none. Sorry.
> > 
> > 2) The wrappers will slightly effect your performance.
> > 
> > 3) What did you switch to?
> 
> 4) And why did you switch?
> 
> Jim Robinson

---------------------------

Newsgroups: comp.os.vxworks
Subject: booting compressed vxworks images
Date: Thu, 21 Sep 2000 14:25:46 GMT
From: bwaisnor@gothamnetworks.com
Organization: Deja.com - Before you buy.
Message-ID: <8qd5oe$qcl$1@nnrp1.deja.com>

Hello,

Has anyone had experience with compressing a VxWorks kernel file and
booting with VxWorks boot image (bootrom)????  I've got a start
compressing the kernel to make everything fit on disk.....

Thanks,

Bob W.



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Multiple vxworks copies one per slot.
Date: Thu, 21 Sep 2000 16:34:10 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39CA2A72.DAFB66A@ashbysoft.cix.co.uk>
References: <8q8h2b$1nnb$1@nntp1.ba.best.com>

The standard VxWorks package supports a shared memory network between any
number
of processor cards across VME or CPCI. Drivers are supplied which allow this
network to operate as an IP network, or you can mess with the shared memory
directly..

Phil.

Subodh Nijsure wrote:
> 
> With lot of companies building multi-slot units based on VxWorks are
> there any products/APIs that are designed specifically to "facilitate"
> communication between different vxWorks system over RPC or shared memory?
> 
> BTW, anybody knows of good layer 3 chipset with which one can build GB backplane
> based on layer 3 packets?
> 
> /Subodh

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 2 Proc cards on 1 backplane
Date: Thu, 21 Sep 2000 10:39:42 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39CA2BBE.29EBBC22@swri.edu>
References: <GS7y5.54$bx3.1032@client>

This is a multi-part message in MIME format.
- --------------62F1B7304D0C2238EE23FFA9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Mike Kordik wrote:

> Is there a way in VxWorks (or is it even possible on standard
> hardware) to disable the bus interface so there is no contention between the
> two proc cards?

In the VxWorks kernel you can disable the VME Axx Master and Slave windows by
editing the macros in config.h.
<quote>
A VME master or slave port is disabled by specifying its size as 0.
</quote>

Look for VME_A32_MSTR_SIZE,  SLV_SIZE, A24, A16 etc...

HTH

- --------------62F1B7304D0C2238EE23FFA9
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------62F1B7304D0C2238EE23FFA9--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Processor synchronization
Date: Thu, 21 Sep 2000 16:39:58 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39CA2BCE.A169238A@ashbysoft.cix.co.uk>
References: <ssfoajec30kd7c@corp.supernews.com>

The normal shared memory drivers rely on an atomic read-modify-write bus
cycle (which is normally available on VME or PCI) to manage an access control
semaphore.. To avoid having to poll this semaphore, the drivers also support
'mailbox' interrupts (I've only really played with VME systems for this bit)
to notify the VxWorks CPU that memory has been modified.

Check out the detailed descriptions of the shared memory networking in the
programmers guide(s).

You should be able to make this stuff work between different CPU types....

Best of luck :)

Phil.

Eric McDaniel wrote:
> 
> I have a PC system running Windows NT as my host system, with an MPC860
> running VxWorks on a coprocessor card. I can map the card's memory into the
> host memory space, no problem there.
> 
> However, I'm not sure how to synchronize memory accesses between the host
> and target. VxWorks does have mechanisms for synchronizing across multiple
> processors, but they assume that both processors are of the same type and
> that both are running the same OS. Neither is true in my case.
> 
> Is there some way I can use POSIX semaphores or message queues? Or shared
> memory semaphores? Do I need to write my own synchronization routines? I can
> do that, but I'd prefer to use something that is already debugged and
> optimized.
> 
> Any suggestions?
> 
> Thanks.
> 
> Eric McDaniel
> ericm@vertical.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: 2 Proc cards on 1 backplane
Date: Thu, 21 Sep 2000 16:47:50 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39CA2DA6.81E1738B@ashbysoft.cix.co.uk>
References: <GS7y5.54$bx3.1032@client>

Anything is possible - it's only software :)

Seriously - you will probably have to mess around with the ROM code, in
particular the romInit.s module, where BSP-specific hardware setups occur.

In your case disabling the bus interface should be relatively simple (just
find the appropriate _enabling_ code and comment it out!)

Phil.

Mike Kordik wrote:
> 
> I have an application that is running on MS Windows and is connected to an
> external black box running realtime control software. We are in the process
> of developing a new black box using VxWorks as the OS. The Windows based
> system is a passive backplane with a proc card running Windows. It would be
> convenient for packaging and power to put the realtime control software on
> another processor board on the same backplane as the Windows processor
> board. The two boards do not need to communicate over the bus. I just need
> power. Is there a way in VxWorks (or is it even possible on standard
> hardware) to disable the bus interface so there is no contention between the
> two proc cards?
> 
> Thanks,
> Mike

---------------------------

Newsgroups: comp.os.vxworks
Subject: Device names!
Date: Thu, 21 Sep 2000 17:49:12 -0500
From: "Keith McHugh" <joriveek@yahoo.com>
Organization: Esat Net Customer
Message-ID: <39ca3b1a.0@seat.s3two.ie>
Reply-To: "Keith McHugh" <joriveek@yahoo.com>

Hi,
I'm looking for the device names we specify while we open a device....say I
want to use a device and open it with "fd = open("/dev/ttyf1",O_RDWR)". I'm
looking for the names of the devices in VxWorks. Where can I get these?



---------------------------

Newsgroups: comp.os.vxworks
Subject: Convert pe-i386 to a.out-i386
Date: Thu, 21 Sep 2000 12:27:29 -0400
From: Bernard_Zhao@Ademco.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qdflv$20f$1@overload.lbl.gov>

Hi! Everyone;

I am trying apply MMX technology to VxWorks. In order to compile assembler
with
MMX SIMD instructions, I have to use latest verions GNU assembler compliler
and 
the object file format is pe-i386, which is not recognized by the Tornado
linker(ld). 
And we could not re-compile all the library and objects with new compiler.
The only 
way is to convert the pe-i386 format into a.out-i386. But using objdump and
objcopy 
can't do this job. The reason is that old objdump386.exe doesn't recognize
the new 
object file in every possible formats provided by the new objcopy. I just
wonder if you 
could please give me some help.!

Thank you very very much!

Bernard



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device names!
Date: Thu, 21 Sep 2000 10:49:33 -0700
From: "Michael R. Kesti" <mkesti@gv.net>
Organization: MK Associates
Message-ID: <39CA4A2D.6931A23C@gv.net>
References: <39ca3b1a.0@seat.s3two.ie>
Reply-To: mkesti@gv.net

Keith McHugh wrote:

>I'm looking for the device names we specify while we open a device....say I
>want to use a device and open it with "fd = open("/dev/ttyf1",O_RDWR)". I'm
>looking for the names of the devices in VxWorks. Where can I get these?

The shell commands "devs" lists all devices know to a target.

- -- 
========================================================================
          Michael Kesti            |  "And like, one and one don't make
                                   |   two, one and one make one."
          mkesti@gv.net            |          - The Who, Bargain

---------------------------

Newsgroups: comp.os.vxworks
Subject: GDB 5.0 for VxWorks 5.4
Date: Thu, 21 Sep 2000 19:08:08 GMT
From: "Jerome Souquieres" <jerome.souquieres@free.fr>
Organization: Guest of ProXad - France
Message-ID: <s0ty5.1967$FJ1.2695193@nnrp5.proxad.net>

Hello VxWorkers,

  I recently built GCC 2.95.2 for powerpc-wrs-vxworks and i386-wrs-vxworks
but it seems that the debugger (based on GDB) that comes with Tornado II is
not usable as is with this compiler.

  So, I would like to build GDB 5.0 (and Insight) for VxWorks.  I had a look
at its sources and documentation and it seems that the only way the standard
GBD (i.e not the one WindRiver modified) may talk to the target is through
the RDB protocol. However, if my understanding is correct, RDB has
disappeared in VxWorks 5.4 and the debugger must use WDB/WTX to communicate
with the target...

  Do you have any information about the availability of a WDB/WTX remote for
GDB ? Maybe should I contact Wind River technical support ?





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Using Tornado 2 Makefiles
Date: Thu, 21 Sep 2000 20:12:17 +0100
From: "awol" <news@-remove-iwsoft.freeserve.co.uk>
Organization: Breathe www.breathe.com
Message-ID: <J5ty5.120$lu4.4266@news-1.opaltelecom.net>
References: <km_x5.1$2i4.37@news-1.opaltelecom.net> <Wdfy5.3028$vZ.205345@news20.bellglobal.com>

Hi Dragan,

Thanks - that did it - after running Tornado\host\x86-win32\bin\torVars.bat
to set up the environment and commenting out as you say, a make works
perfectly.

thanks again.



Dragan Ostojic <ostojic@sympatico.ca> wrote in message
news:Wdfy5.3028$vZ.205345@news20.bellglobal.com...
> Hi,
>
> you're probably referring to building downloadable application from the
DOS
> command line using Tornado2 generated Makefile. If this is the case, go to
> Tornado\target\h\make and open defs.vxApp. Delete or put under the comment
> what is there. Then it should work fine. The reason is that the default
rule
> is <project_name>.out not linkedObjs.o and it has not been updated in
> defs.vxApp. Look at the comment in rules.vxApp:
> "01h,10mar99,ren Changing linkedObjs.o to <project name>.out"
>
> Regards,
> Dragan
>
> "awol" <news@-remove-iwsoft.freeserve.co.uk> wrote in message
> news:km_x5.1$2i4.37@news-1.opaltelecom.net...
> > Hi,
> >
> > Can anyone tell me what environment/command line I need to use to build
an
> > application under NT using a tornado generated makefile? I've tried
> setting
> > these:
> >
> > WIND_BASE
> > WIND_HOST_TYPE
> > WIND_REGISTRY
> > WIND_UID
> > BUILD_SPEC
> >
> > But I get
> >
> > make: *** No rule to make target `linkedObjs.o', needed by `exe'.  Stop.
> >
> > ?
> >
> >
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Thu, 21 Sep 2000 11:53:15 -0800
From: "Jim Robinson" <robinson@ipsg.mot.com>
Organization: Motorola CIG
Message-ID: <8qdles$p1h2@nntp.cig.mot.com>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com>

In article <39C93D49.6C6A9349@fnc.fujitsu.com>, Steven Deans
<steven.deans@fnc.fujitsu.com> wrote:
> Jim Robinson wrote:
> 
>> Is there a linux hosted dev environment for vxworks? I looked at
>> wrs.com and did a search, but came up with nothing. If this doesn't
>> exist, isn't this a fairly major omission?
>>
>> Thanks
>>
>> Jim Robinson
> 
> Which other MAJOR RTOS venders have a full dev environment hosted on
> linux across most major dev hosts (SUN, PC, HP...)? Has it been
> available for over 6 months?

I have no idea. However, given the relative cheapness of a x86 box running
linux compared to, say, a Sun box (running solaris), I would think that a
linux dev environment would make a great deal of sense from an economics
point of view. 

Compared to a microsoft dev environment, the $$ argument may not be as
compelling. However, I suspect that there are more than a few programmers
(like myself) who are more comfortable in a unix-like environment than a
MS environment.

In other words, if the other major RTOS vendors don't have this, then I
would question why this is the case. I only asked specifically about
vxworks because it is the  current RTOS of focus.

Jim Robinson


---------------------------

Newsgroups: comp.os.vxworks
Subject: for TCP/IP stack
Date: Thu, 21 Sep 2000 15:08:45 -0400
From: "Li, Huamin [KAN:0V12:EXCH]" <lijohn@nortelnetworks.com>
Organization: Nortel Networks
Message-ID: <39CA5CBD.AA8A3026@nortelnetworks.com>

I am looking for sample TCP/IP stack software of VxWorks for my project.
If anyone know that, please tell me. Thanks a lot.

- --
Huamin Li
Systems Design Engineer, Nortel Networks
Address: D block, 2 Brewer Hunt Way, Kanata, ON, Canada, K2K 2B5
Tel: (613) 765-0315
Fax: (613) 765-5512
E-mail: lijohn@nortelnetworks.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: 21 Sep 2000 15:45:26 -0500
From: Greg Menke <menkesjg@xyz.erols.com>
Message-ID: <85zol14gpl.fsf@quahog.gsfc.nasa.gov>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com> <8qdles$p1h2@nntp.cig.mot.com>
Sender: gregm@quahog.gsfc.nasa.gov


> > 
> > Which other MAJOR RTOS venders have a full dev environment hosted on
> > linux across most major dev hosts (SUN, PC, HP...)? Has it been
> > available for over 6 months?
> 

RTEMS is hostable on most anything that will do POSIX, including Doze
via Cygwin.  If you build the cross compilers, any host can then
target any of the various architectures RTEMS supports.  The Linux and
Sparc hosts are most approachable for those without their
building-gcc-cross-compiler black belts, as the compilers can be
downloaded direct from OAR as binaries.  If the target is the host,
then anything that runs a proper gcc can target itself.  Our hosts are
Linux and the target is powerpc.

An RTEMS installation gives you a make oriented commandline
environment, use whatever local tools suit.

Its has been around for quite a few years- I recall seeing it in
1994/95 if I recall...

http://www.rtems.com/

Gregm


---------------------------

Newsgroups: comp.os.vxworks
Subject: Tornado2 on SPARC Solaris 8
Date: 21 Sep 2000 19:53:02 GMT
From: dima@coffee.phys.unm.edu (Dmitri A. Sergatskov)
Organization: University of New Mexico, Albuquerque
Message-ID: <slrn8skoss.d4q.dima@coffee.phys.unm.edu>

Hello!

Any known problems with running Tornado 2 on Solaris 8?
It seems to be working fine here on Sparc Station 10, but
will not work on Ultra10/Creator-III system. 
The install went OK. The 'launch &' pops up the start-up
windows OK, but clicking on the "Project" button does
not produce any visible result - it leaves the UITclSh
process running which I have to kill manually.

Similar results occur if I just start 'tornado' from the
command line. It shows 2-line WindRiver copyright and
then hangs there. Ctrl-C from here will leave a UITclSh 
running as well.

I tried both 24 and 8 bit display mode with similar results. 

Anyone has any insights? WindRiver's tech support
response was "We do not support VxWorks on Solaris 8,
 downgrade to 7". 

Sincerely,

Dmitri.

---------------------------

Newsgroups: comp.os.vxworks
Subject: vxWorks 6.0
Date: Thu, 21 Sep 2000 14:35:28 -0500
From: Bo Yu <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39CA6300.7C073B45@email.mot.com>


- --------------4C4373AFA99295C6EF46DCCA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

Did anyone ever make the beta vxWorks 6.0 with advanced features like
protection domain work on the real target. We appreciate that you can
give some feedback about the robustness of this product.

Thanks.

- --
Bo Yu
Motorola, NSS
(Ph) 1-817-245-6725



- --------------4C4373AFA99295C6EF46DCCA
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<p>Did anyone ever make the beta vxWorks 6.0 with advanced features like
<br>protection domain work on the real target. We appreciate that you can
<br>give some feedback about the robustness of this product.
<p>Thanks.
<pre>--&nbsp;
Bo Yu
Motorola, NSS
(Ph) 1-817-245-6725</pre>
&nbsp;</html>

- --------------4C4373AFA99295C6EF46DCCA--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Thu, 21 Sep 2000 20:14:02 GMT
From: andreyk@home.com (Andray Kaganovsky)
Organization: @Home
Message-ID: <8FB6AC21Aandreykhomecom@24.2.9.61>
References: <8qbb6h$kk19@nntp.cig.mot.com>

New WindRiver's product - VxWorks AE/T-3 - will be hosted on RH Linux. 
At least that's what WindRiver's website is saying. 

      regards, Andray

robinson@ipsg.mot.com (Jim Robinson) wrote in <8qbb6h$kk19@nntp.cig.mot.com>:

>
>Is there a linux hosted dev environment for vxworks? I looked at wrs.com
>and did a search, but came up with nothing. If this doesn't exist, isn't
>this a fairly major omission?
>
>Thanks
>
>Jim Robinson
>


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device names!
Date: Thu, 21 Sep 2000 20:24:31 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qdqp4$lgf$1@nnrp1.deja.com>
References: <39ca3b1a.0@seat.s3two.ie>

Hi,

Unlike Un*x type operating systems, VxWorks doesn't impose any
restrictions on what names are given to devices.  It is up to the device
driver writer and/or the end user what names are used. Here's an example
of what I have (shown from the target shell using devs)

drv name
  0 /null
  1 /tyCo/0
  1 /tyCo/1
  3 /ts
  4 /lcd
  6 host:
  8 /vio
  7 /mnt

The "/ts" and "/lcd" devices are device drivers I added, the others are
all "standard" VxWorks devices.

Hope that makes things a little clearer.

John...


In article <39ca3b1a.0@seat.s3two.ie>,
  "Keith McHugh" <joriveek@yahoo.com> wrote:
> Hi,
> I'm looking for the device names we specify while we open a
device....say I
> want to use a device and open it with "fd =
open("/dev/ttyf1",O_RDWR)". I'm
> looking for the names of the devices in VxWorks. Where can I get
these?
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: re-running a method that is loaded.
Date: Thu, 21 Sep 2000 15:06:47 -0500
From: "herqlez" <atul_ankola@yahoo.com>
Organization: Motorola CIG
Message-ID: <8qdpon$p1h3@nntp.cig.mot.com>


Hi,
    Say I load my object file : object.o.  Using lkAddr, i can find the
address locations of the methods in that file.  Is there a way to execute a
particular method by using the address?  I do NOT want to call the method by
its name, rather by its location.  Is this possible?  I've looked all over
but have not been able to find it.

Thanks.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxWorks FTP Server
Date: Thu, 21 Sep 2000 21:10:46 GMT
From: qtm60173 <qtm60173@yahoo.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qdtg1$p6m$1@nnrp1.deja.com>
References: <8qbf20$s5e$1@nnrp1.deja.com> <8qbokn$7a2$1@nnrp1.deja.com> <8FB654D3Bborkhuislucentcom@135.7.153.102>

Great, Thanks for your help.

In article <8FB654D3Bborkhuislucentcom@135.7.153.102>,
  borkhuis@lucent.com (Johan Borkhuis) wrote:
> john_94501@my-deja.com wrote in <8qbokn$7a2$1@nnrp1.deja.com>:
>
> >Hi,
> >
> >Just a hunch, but you could probably add a call to ioDefPathSet() to
the
> >end of the init sequence, or to the start of your application. That
> >should solve your problem.
>
> Or add a cd("/ata0"); to your usrAppInit.
>
>
Groeten,

>
Johan
>

> --

>      o o o o o o o . . .
___________________________________
>     o      _____           ||    Johan Borkhuis
|
>   .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl
|
>  >(________|__|_[_________]
_|________________________________|
>  _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!
o`
> === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html
===
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Thu, 21 Sep 2000 14:31:32 -0700
From: "Louis Meadows" <meadows1@ix.netcom.com>
Organization: SBC Internet Services
Message-ID: <y3vy5.144$2h.64019@news.pacbell.net>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com>

Lineo, Monta Visa, LinuxWorks just to name a few

Louis Meadows ( rat125@email.sps.mot.com )
Metrowerks, A Motorola Company
Western Region Major Account Sales
10121 Miller Ave, Suite 202 Cupertino, CA 95014
(831) 459 7673 direct (831) 459 9316 fax

We develop, market and support CodeWarrior development solutions for
desktop, embedded platforms and game consoles. Specifically, we ship tools
for PlayStation2, Dolphin, Dreamcast, Palm, Macintosh, Windows, and a
variety of embedded microprocessors.

In September of 1999 Metrowerks, founded in 1985, became an independently
operating subsidiary of Motorola's Semiconductor Products Sector in 1999. As
the world's #1 producer of embedded processors, Motorola's Semiconductor
Products Sector offers multiple DigitalDNA(tm) technologies which enable its
customers to create "smart" products and new business opportunities in the
networking and computing, wireless communications, transportation, and
imaging and entertainment markets.

CodeWarrior's cross-platform tools support assembly, C, C++, and Java
programming languages.  CodeWarrior is used by more than 200,000 developers
in 80 countries to create platforms and applications for both desktop and
embedded systems from a single, unique Integrated Development Environment.

Visit www.metrowerks.com/embedded for more information on CodeWarrior for
embedded!

============================================================================
==========
Inside Sales - Lee Exum : lexum@metrowerks.com (512) 997-4793
FAE -        Jeff Barth : Jbarth@metrowerks.com (408) 343-3744 x202
"Speed is fine but accuracy is final" - Wyatt Earp


"Steven Deans" <steven.deans@fnc.fujitsu.com> wrote in message
news:39C93D49.6C6A9349@fnc.fujitsu.com...
> Jim Robinson wrote:
>
> > Is there a linux hosted dev environment for vxworks? I looked at wrs.com
> > and did a search, but came up with nothing. If this doesn't exist, isn't
> > this a fairly major omission?
> >
> > Thanks
> >
> > Jim Robinson
>
> Which other MAJOR RTOS venders have a full dev environment hosted on linux
> across most major dev hosts (SUN, PC, HP...)? Has it been available for
> over 6 months?
>
> Steven
>
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: re-running a method that is loaded.
Date: Thu, 21 Sep 2000 15:22:08 -0700
From: Rajesh Tripathi <rtripathi@com21.com>
Organization: Globix Corp.
Message-ID: <39CA8A10.578B7B07@com21.com>
References: <8qdpon$p1h3@nntp.cig.mot.com>

herqlez wrote:

> Hi,
>     Say I load my object file : object.o.  Using lkAddr, i can find the
> address locations of the methods in that file.  Is there a way to execute a
> particular method by using the address?  I do NOT want to call the method by
> its name, rather by its location.  Is this possible?  I've looked all over
> but have not been able to find it.
>
> Thanks.

It is possible. Say address of function is 0x123456.  Just use (0x123456)() to
execute it.

Rajesh


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Tornado2 on SPARC Solaris 8
Date: Thu, 21 Sep 2000 15:36:24 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39CA8D68.7EE996D9@rti.com>
References: <slrn8skoss.d4q.dima@coffee.phys.unm.edu>


I've had a lot of success running Tornado 2 on Solaris 8.
One thing I've had to occassionaly do to use the project
facility and WindView (the two tools that make use of
MainWin) is to remove the mw directory that stores information
about the machine on which you are running Tornado.

Just do a rm -r ~/.wind/mw.

I've had to do this occassionally when switching between
Solaris 7 and Solaris 8.  It will have to go through and
enumerate the fonts again.

lori


"Dmitri A. Sergatskov" wrote:
> 
> Hello!
> 
> Any known problems with running Tornado 2 on Solaris 8?
> It seems to be working fine here on Sparc Station 10, but
> will not work on Ultra10/Creator-III system.
> The install went OK. The 'launch &' pops up the start-up
> windows OK, but clicking on the "Project" button does
> not produce any visible result - it leaves the UITclSh
> process running which I have to kill manually.
> 
> Similar results occur if I just start 'tornado' from the
> command line. It shows 2-line WindRiver copyright and
> then hangs there. Ctrl-C from here will leave a UITclSh
> running as well.
> 
> I tried both 24 and 8 bit display mode with similar results.
> 
> Anyone has any insights? WindRiver's tech support
> response was "We do not support VxWorks on Solaris 8,
>  downgrade to 7".
> 
> Sincerely,
> 
> Dmitri.

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Emulated GUI for VxSim?
Date: Thu, 21 Sep 2000 22:59:25 GMT
From: kelvinmorton@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qe3s0$116$1@nnrp1.deja.com>

Hi folks,

I am evaluating VxWorks for the port of an
existing project which uses a 160x160 mono pixel
display.  While ultimately a LCD display driver
will need to be written for our new hardware, is
there a way to emulate such a driver under the NT
version of VxSim?  Can calls be made to the
underlying win32api to create a window and draw
to it?  Is there an easy way todo this which I
have overlooked?  Thanks,

Kelvin


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Tornado2 on SPARC Solaris 8
Date: Thu, 21 Sep 2000 17:24:00 -0600
From: "Dmitri A. Sergatskov" <dima@coffee.phys.unm.edu>
Organization: University of New Mexico, Albuquerque
Message-ID: <Pine.SOL.4.21.0009211716560.904-100000@mesquite.phys.unm.edu>
References: <slrn8skoss.d4q.dima@coffee.phys.unm.edu> <39CA8D68.7EE996D9@rti.com>

On Thu, 21 Sep 2000, Lori Fraleigh wrote:

> I've had a lot of success running Tornado 2 on Solaris 8.
> One thing I've had to occassionaly do to use the project
> facility and WindView (the two tools that make use of
> MainWin) is to remove the mw directory that stores information
> about the machine on which you are running Tornado.
> 
> Just do a rm -r ~/.wind/mw.
> 
> I've had to do this occassionally when switching between
> Solaris 7 and Solaris 8.  It will have to go through and
> enumerate the fonts again.
> 

I tried it and it did not work. I even nuked entire ~/.wind 
directory.
It did not even get to the stage of generating fonts.
What type of hardware do you use? As I said, it works fine
on SparcStation, but would not on Ultra / Creator 3D.
'truss -a tornado' stops at:

....
mmap(0x00000000, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xFD580000
close(6)                                        = 0
unlink("/tmp/.X11-sme12")                       = 0
write(4, "9402\002\0  \0\0", 8)                 = 8
lwp_sema_wait(0x000255D0)       (sleeping...)
signotifywait()                 (sleeping...)
lwp_cond_wait(0xFE2755B0, 0xFE2755C0, 0xFE205BF0) (sleeping...)
lwp_cond_wait(0x10004508, 0x100044F0, 0x00000000) (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
 
I do not know what to make of it...

> lori
> 
> 
Sincerely,

Dmitri.





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Thu, 21 Sep 2000 17:52:50 -0500
From: Steven Deans <steven.deans@fnc.fujitsu.com>
Organization: Fujitsu Companies of North America
Message-ID: <39CA9142.53F772B3@fnc.fujitsu.com>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com> <y3vy5.144$2h.64019@news.pacbell.net>

Louis Meadows wrote:

> Lineo, Monta Visa, LinuxWorks just to name a few

Do these provide an IDE? Are they hard real time? Have they had a full featured
binary version available for a significant number of hosts and targets for more
than a year? Do they have the sales to be considered major?

Does CodeWarrior work on a SUN?...with Solaris?

Steven

>
>
> Louis Meadows ( rat125@email.sps.mot.com )
> Metrowerks, A Motorola Company
> Western Region Major Account Sales
> 10121 Miller Ave, Suite 202 Cupertino, CA 95014
> (831) 459 7673 direct (831) 459 9316 fax
>
> We develop, market and support CodeWarrior development solutions for
> desktop, embedded platforms and game consoles. Specifically, we ship tools
> for PlayStation2, Dolphin, Dreamcast, Palm, Macintosh, Windows, and a
> variety of embedded microprocessors.
>
> In September of 1999 Metrowerks, founded in 1985, became an independently
> operating subsidiary of Motorola's Semiconductor Products Sector in 1999. As
> the world's #1 producer of embedded processors, Motorola's Semiconductor
> Products Sector offers multiple DigitalDNA(tm) technologies which enable its
> customers to create "smart" products and new business opportunities in the
> networking and computing, wireless communications, transportation, and
> imaging and entertainment markets.
>
> CodeWarrior's cross-platform tools support assembly, C, C++, and Java
> programming languages.  CodeWarrior is used by more than 200,000 developers
> in 80 countries to create platforms and applications for both desktop and
> embedded systems from a single, unique Integrated Development Environment.
>
> Visit www.metrowerks.com/embedded for more information on CodeWarrior for
> embedded!
>
> ============================================================================
> ==========
> Inside Sales - Lee Exum : lexum@metrowerks.com (512) 997-4793
> FAE -        Jeff Barth : Jbarth@metrowerks.com (408) 343-3744 x202
> "Speed is fine but accuracy is final" - Wyatt Earp
>
> "Steven Deans" <steven.deans@fnc.fujitsu.com> wrote in message
> news:39C93D49.6C6A9349@fnc.fujitsu.com...
> > Jim Robinson wrote:
> >
> > > Is there a linux hosted dev environment for vxworks? I looked at wrs.com
> > > and did a search, but came up with nothing. If this doesn't exist, isn't
> > > this a fairly major omission?
> > >
> > > Thanks
> > >
> > > Jim Robinson
> >
> > Which other MAJOR RTOS venders have a full dev environment hosted on linux
> > across most major dev hosts (SUN, PC, HP...)? Has it been available for
> > over 6 months?
> >
> > Steven
> >
> >
> >


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Tornado2 on SPARC Solaris 8
Date: Thu, 21 Sep 2000 17:39:47 -0700
From: Lori Fraleigh <lori@rti.com>
Organization: Real-Time Innovations
Message-ID: <39CAAA53.645CBC45@rti.com>
References: <slrn8skoss.d4q.dima@coffee.phys.unm.edu> <39CA8D68.7EE996D9@rti.com> <Pine.SOL.4.21.0009211716560.904-100000@mesquite.phys.unm.edu>


We've got and Ultra 5 and an Ultra 80 Enterprise.
 
Not sure why it wouldn't like your hardware.

Good luck!

lori


"Dmitri A. Sergatskov" wrote:
> 
> On Thu, 21 Sep 2000, Lori Fraleigh wrote:
> 
> > I've had a lot of success running Tornado 2 on Solaris 8.
> > One thing I've had to occassionaly do to use the project
> > facility and WindView (the two tools that make use of
> > MainWin) is to remove the mw directory that stores information
> > about the machine on which you are running Tornado.
> >
> > Just do a rm -r ~/.wind/mw.
> >
> > I've had to do this occassionally when switching between
> > Solaris 7 and Solaris 8.  It will have to go through and
> > enumerate the fonts again.
> >
> 
> I tried it and it did not work. I even nuked entire ~/.wind
> directory.
> It did not even get to the stage of generating fonts.
> What type of hardware do you use? As I said, it works fine
> on SparcStation, but would not on Ultra / Creator 3D.
> 'truss -a tornado' stops at:
> 
> ....
> mmap(0x00000000, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xFD580000
> close(6)                                        = 0
> unlink("/tmp/.X11-sme12")                       = 0
> write(4, "9402\002\0  \0\0", 8)                 = 8
> lwp_sema_wait(0x000255D0)       (sleeping...)
> signotifywait()                 (sleeping...)
> lwp_cond_wait(0xFE2755B0, 0xFE2755C0, 0xFE205BF0) (sleeping...)
> lwp_cond_wait(0x10004508, 0x100044F0, 0x00000000) (sleeping...)
> door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
> 
> I do not know what to make of it...
> 
> > lori
> >
> >
> Sincerely,
> 
> Dmitri.

- -- 
Lori Fraleigh                                Real-Time Innovations
Senior Software Engineer                     ScopeTools Manager
Phone: 408-734-4200 x121  Fax: 408-734-5009  http://www.rti.com
Please send/cc all support related email to support@rti.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Bring up a user task at bootup
Date: Fri, 22 Sep 2000 02:33:03 GMT
From: Navin Kumar Agrawal <navinkumar@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qegcu$f9j$1@nnrp1.deja.com>
References: <39C7EFE5.D703C517@lucent.com>

Hi All,

How is it possible to bring up my application task at the init
time? this would avoid starting launch...then create a target
and then spawn the task from windshell...I want the task to get
started soon after the vxWorks loading completes.

Any help in this regard will be appreciated,

Thanks,

Navin


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Emulated GUI for VxSim?
Date: Fri, 22 Sep 2000 07:32:58 +0200
From: "Martin Raabe" <Martin.Raabe@WindRiver.com>
Organization: T-Online
Message-ID: <8qeqvk$m52$11$1@news.t-online.com>
References: <8qe3s0$116$1@nnrp1.deja.com>

Hello Kelvin,
ask WindRiver for WindML/Zinc
this works on the Simulator.

Ciao

- --
Martin Raabe


<kelvinmorton@my-deja.com> schrieb in im Newsbeitrag:
8qe3s0$116$1@nnrp1.deja.com...
> Hi folks,
>
> I am evaluating VxWorks for the port of an
> existing project which uses a 160x160 mono pixel
> display.  While ultimately a LCD display driver
> will need to be written for our new hardware, is
> there a way to emulate such a driver under the NT
> version of VxSim?  Can calls be made to the
> underlying win32api to create a window and draw
> to it?  Is there an easy way todo this which I
> have overlooked?  Thanks,
>
> Kelvin
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems with concurrency and free hard disk space.
Date: 21 Sep 00 23:48:37 MDT
From: Gaurav Kakkar <gaurav-kakkar@usa.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qetcf$29s$1@overload.lbl.gov>

Hi Vxworkers,

I am just running vxsim on solaris platform and dealing with file -related
operations. But I am facing some problems which are as follows:

1.  How to find the hard disk free space. Does vxworks support any routine in
its libraries like df/dfspace in unix. If some logic that how to find  it is
there, then please inform me.

2.  Assuming two tasks are accessing the same file. First is writing and
another is reading. Does vxworks support any routine so as to get the status
of the file whether is is opened or not. Unix has fuser command or linux has
lfos command. Does vxworks support any such library routine for that. If the
solution concerns with creating semaphore, then creating semaphore for one
file is OK, but for multiple files, using multiple semaphores is an improper
choice. 
   So please give me some solution with this concurrency problem.

Any suggestions are highly appreciated.

Waiting eagerly for desired solution,

Best Regards
gaurav.



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Fri, 22 Sep 2000 06:57:04 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <4pDy5.237004$i5.3191691@news1.frmt1.sfba.home.com>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com>

Actually the vxWorks/Linux development environment has been available for some 
time and last I heard it was hosted by Sparta. I'm afraid I don't have the 
URL. I've talked to three different Wind River people who have tried to get 
Tornado going on Linux, unfortunately they can't get Mainwin so they can't get 
it to work. 

Tornado 3.0 works on RedHat Linux 6.2, that is not a vxWorks development 
environment as it's for a new o/s, hopefully they will throw some people into 
porting vxWorks 5.4 into that environment. Mostly I don't use Tornado anyway.

paul

In article <39C93D49.6C6A9349@fnc.fujitsu.com>, Steven Deans 
<steven.deans@fnc.fujitsu.com> wrote:
>Jim Robinson wrote:
>
>> Is there a linux hosted dev environment for vxworks? I looked at wrs.com
>> and did a search, but came up with nothing. If this doesn't exist, isn't
>> this a fairly major omission?
>>
>> Thanks
>>
>> Jim Robinson
>
>Which other MAJOR RTOS venders have a full dev environment hosted on linux
>across most major dev hosts (SUN, PC, HP...)? Has it been available for
>over 6 months?
>
>Steven
>
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: "dc0 - no carrier"
Date: Fri, 22 Sep 2000 06:59:15 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <7rDy5.237020$i5.3191691@news1.frmt1.sfba.home.com>
References: <200009210939.KAA16143@dsl-2.tadpole.co.uk>

There is a proper fix in Wind River's ownership, I had it in my hot sweaty 
little hands in a previous existance. I don't know if it made it into the 
released versions.

paul 

In article <200009210939.KAA16143@dsl-2.tadpole.co.uk>, David Laight 
<dsl@tadpole.co.uk> wrote:
>>> When booting VxWorks I get the message "interrupt: dc0 - no carrier"
>>> very frequently.
>
>> Wind River is aware of this problem. It is caused if you are connected
>> to a ethernet switch that supports Full Duplex. Ethernet Hubs are
>> typically Half Duplex.
>
>> Wind River send me a new dec*.o file which essentially removed the no
>> carrier print.
>
>> There is an SPR on Windsurf already about this problem.
>
>Does anyone know if WRS have fixed this properly?
>
>The SPR doesn't say much, but indicates that they think error is "normally 
>harmless' (mostly harmless?).
>
>The 'no carrier' error is reported when the ethernet chipset doesn't get a 
>receive signal (it is the rx carrier that is missing) during its own transmits.
>  
>This is a test of the rx and tx pairs of the AUI cable to the transceiver (the 
>SQE test checks the collision pair).  A coax transceiver will always receive
> its 
>own transmittions...
>
>On twisted pair the transceiver (AUI or MII) reports a collision if there is 
>receive data (on the TP cable) during transmit, and returns the tx data as rx
> to 
>stop the chipset reporting 'no carrier'.  The chipset will ignore the rx data 
>during transmit.
>
>For full duplex the tx and rx sides are completely separate.  However 4 pieces 
>of hardware have to agree to use full duplex.  The two transceivers can (and 
>will) auto-negotiate full duplex if permitted.  The etherner controller has to 
>interrogate the transceiver to determine what has been negotiated.  This is
> hard 
>and is left to the device driver.
>
>Unfortunately there is no easy way (for the device driver) to determine what
> the 
>transceivers have negotiated.  Especially since it can change at any time.
>
>The easy 'solution' is to change the transceivers 'link advertise register' and
> 
>disable the full duplex modes.  Then you know full duplex will never be 
>negotiated.  (Don't EVER fix a port to full duplex - it will only end in
> tears.)
>
>The effect of having the transceiver running full duplex but the ethernet 
>chipset half duplex is that receive packets will be discarded - typically
> during 
>heavy traffic.  This can be hard to detect - but causes the network to run
> 'like 
>a sick pig' at times.
>
>Note that you can change from 10M to 100M without the driver/chipset having to 
>do anything at all.  It just works.  Determining the current speed is, of 
>course, almost impossible from the standard MII registers.
>
>        David
>
>
>----------------------------------------------------------------
>David Laight                          email: dsl@tadpole.co.uk
>Tadpole Technology plc                phone: +44 1223 428 232
>Cambridge, UK                         fax:   +44 1223 428 201
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Bring up a user task at bootup
Date: Fri, 22 Sep 2000 08:50:09 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39CB0F31.B4ABE6B4@ashbysoft.cix.co.uk>
References: <39C7EFE5.D703C517@lucent.com> <8qegcu$f9j$1@nnrp1.deja.com>

Look in config.h - there is a macro you can set which defines the
entry point for a user task to be created at bootup.

Phil.

Navin Kumar Agrawal wrote:
> 
> Hi All,
> 
> How is it possible to bring up my application task at the init
> time? this would avoid starting launch...then create a target
> and then spawn the task from windshell...I want the task to get
> started soon after the vxWorks loading completes.
> 
> Any help in this regard will be appreciated,
> 
> Thanks,
> 
> Navin
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Bring up a user task at bootup
Date: 22 Sep 2000 07:47:15 GMT
From: borkhuis@lucent.com (Johan Borkhuis)
Organization: Lucent Technologies
Message-ID: <8FB76F396borkhuislucentcom@135.7.153.102>
References: <39C7EFE5.D703C517@lucent.com> <8qegcu$f9j$1@nnrp1.deja.com>

navinkumar@my-deja.com (Navin Kumar Agrawal) wrote in 
<8qegcu$f9j$1@nnrp1.deja.com>:

>How is it possible to bring up my application task at the init
>time? this would avoid starting launch...then create a target
>and then spawn the task from windshell...I want the task to get
>started soon after the vxWorks loading completes.

You can put your startup commands in the file usrAppInit.c

Groeten,                                                                 
        Johan                                                            
                                                                         
- --                                                                       
     o o o o o o o . . .   ___________________________________           
    o      _____           ||    Johan Borkhuis              |           
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |           
 >(________|__|_[_________]_|________________________________|           
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`           
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === 


---------------------------

Newsgroups: comp.os.vxworks
Subject: printing source files from tornado
Date: Fri, 22 Sep 2000 10:08:06 +0200
From: "Achim Zimmer" <hzimmer@dica.de>
Organization: Colt Telecom GmbH
Message-ID: <8qf418$1gc$1@crusher.de.colt.net>

hi
has anybody tried to print out a source file from in tornado2 ?

I got an output that has very large fonts, what means
    in a line I have only 40 characters
    on a page I get only 29 lines
Then the page is full.

Ony suggestions ?

Thanks



---------------------------

Newsgroups: comp.os.vxworks
Subject: usrFdConfig() and file descriptor
Date: Fri, 22 Sep 2000 10:26:39 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39CB17BF.6F97926E@vitatron.com>

Hi all,

I have initialized a disk drive with the routine usrFdConfig() (which
returns
OK or ERROR). But now I want to unmount the disk. The VxWorks 5.4
Programmer's Guide (4.2.8 Mounting Volumes) says about this:

A volume mounted with usrFdConfig() can not be operatoed on with moest
dosFs commands, including dosFsVolUnmount(). However, the dosFs ioctl()
commands, including FIOUNMOUNT, access the volume through the fd, so
they can be used with usrFdConfig().

So, to unmount, I should use ioctl(). But how can I get any file
descriptor? afaik the usrFdConfig does not even open a file, so it does
not give back any fd. Should I open a dummy file on the disk and then
use that fd to unmount the disk?

And should I mount the new disk with usrFdConfig() again, or will that
happen automatically?

Gijs van Oort


---------------------------

Newsgroups: comp.os.vxworks
Subject: What it means?
Date: Fri, 22 Sep 2000 17:18:05 +0800
From: "kvd2" <kvd2@kimo.com>
Organization: DCI HiNet
Message-ID: <8qfa4o$r6t@netnews.hinet.net>

"The file config/all/bootConfig.c is the configuration module for the boot
ROM, replacing the file usrConfig.c provided for the default VxWorks
development system"

What it means?



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: vxWorks 6.0
Date: Fri, 22 Sep 2000 09:40:18 GMT
From: Heiko Elger (ARBURG) <heiko_elger@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qf9e0$apo$1@nnrp1.deja.com>
References: <39CA6300.7C073B45@email.mot.com>

Hi Bo,

can you please tell me how to take part in the Beta6 programm?

Best regards

   Heiko Elger


In article <39CA6300.7C073B45@email.mot.com>,
  Bo Yu <boyu1@email.mot.com> wrote:
>
> --------------4C4373AFA99295C6EF46DCCA
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hello,
>
> Did anyone ever make the beta vxWorks 6.0 with advanced features like
> protection domain work on the real target. We appreciate that you can
> give some feedback about the robustness of this product.
>
> Thanks.
>
> --
> Bo Yu
> Motorola, NSS
> (Ph) 1-817-245-6725
>
> --------------4C4373AFA99295C6EF46DCCA
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hello,
> <p>Did anyone ever make the beta vxWorks 6.0 with advanced features
like
> <br>protection domain work on the real target. We appreciate that you
can
> <br>give some feedback about the robustness of this product.
> <p>Thanks.
> <pre>--&nbsp;
> Bo Yu
> Motorola, NSS
> (Ph) 1-817-245-6725</pre>
> &nbsp;</html>
>
> --------------4C4373AFA99295C6EF46DCCA--
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device names!
Date: Fri, 22 Sep 2000 11:59:25 -0500
From: "Keith McHugh" <joriveek@yahoo.com>
Organization: Esat Net Customer
Message-ID: <39cb3a9b.0@seat.s3two.ie>
References: <39ca3b1a.0@seat.s3two.ie> <8qdqp4$lgf$1@nnrp1.deja.com>
Reply-To: "Keith McHugh" <joriveek@yahoo.com>

Yep...I've also found some of the devices names from the target shell. As
far as I understand:

  0 /null                  : Nothing/Standard Input/Output/Error???
  1 /tyCo/0             : Is it standard input directed to the console over
the serial???
  1 /tyCo/1             :           same as above for output???
  4 host:                : This is okay, I've understood that the host is
connected over the network
  5 /vio                 : What is this???

Where can get the information about it?

> Unlike Un*x type operating systems, VxWorks doesn't impose any
> restrictions on what names are given to devices.  It is up to the device
> driver writer and/or the end user what names are used.

Here is a confusion....Devices means only the devices connected to the
target and host (Only serial) or what exactly it is showing. I presume it is
showing all the serial devices configured at the time of development of BSP.
Is that true?

>>"fd = open("/dev/ttyf1",O_RDWR)".

Now please look into my question again....if I want to open a device on the
target say DSP, then how can I specify the name in the above statement?
Basically I want to register DSP with the I/O of vxworks. Where can I get
the DSP device name

Thanks in advance





---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sat Sep 23 04:03:07 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sat Sep 23 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sat Sep 23 04:03:04 PDT 2000

        Subject: Re: GDB 5.0 for VxWorks 5.4
        Subject: Re: vxWorks 6.0
        Subject: Text in Tornado GDB window
        Subject: Re: What it means?
        Subject: Re: Bring up a user task at bootup
        Subject: HeapTrace/Check
        Subject: MUX layer structs
        Subject: Missing RAM
        Subject: memShow and stack and heap
        Subject: tyLib question
        Subject: simulator "vxworks -r" question
        Subject: download without tornado from Solaris
        Subject: Compiling 64 bit int for PPC
        Subject: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: SNMP and MIB2
        Subject: Re: Tornado2 on SPARC Solaris 8
        Subject: Re: download without tornado from Solaris
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: GDB 5.0 for VxWorks 5.4
Date: 22 Sep 2000 11:13:51 GMT
From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
Organization: UNINETT news service
Message-ID: <8qfetf$no7$1@snipp.uninett.no>
References: <s0ty5.1967$FJ1.2695193@nnrp5.proxad.net>
Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>

Jerome Souquieres <jerome.souquieres@free.fr> wrote:
: Hello VxWorkers,

:   I recently built GCC 2.95.2 for powerpc-wrs-vxworks and i386-wrs-vxworks
: but it seems that the debugger (based on GDB) that comes with Tornado II is
: not usable as is with this compiler.

The PowerPC target is supposed to use the DWARF debug information 
format. Our gcc v2.95.2 produses STABS debug format per default.
Since you obviousely have a working CrossWind configuration
you might try the "-gdwarf" gcc flag for me. See if that works
with GCC v.2.95.2. 

:   So, I would like to build GDB 5.0 (and Insight) for VxWorks.  I had a look
: at its sources and documentation and it seems that the only way the standard
: GBD (i.e not the one WindRiver modified) may talk to the target is through
: the RDB protocol. However, if my understanding is correct, RDB has
: disappeared in VxWorks 5.4 and the debugger must use WDB/WTX to communicate
: with the target...

Ok, I do not know how GDB works internally. But GDB is GNU licensed,
which means that all derivative work is required to be open source too.
I am thus lead to believe that the target server - but not the target
agent - is open source. Sure you can't find WTX somewhere in there?

:   Do you have any information about the availability of a WDB/WTX remote for
: GDB ? Maybe should I contact Wind River technical support ?

Good luck. For all Windriver cares, GCC is still their slightly 
revamped v.2.7.2. And since the open source community do not have
the slightest interest in maintaining a commercial target like VxWorks,
v2.7.2 it is. Actually I am impressed that you made it through with
the v.2.95.2 crosscompiler. I did not. But someone else at my company
did so I have it too.

But by now Tornado v3.0 is announced, featuring GCC v.2.96.
It is Java based and _finally_ works on Linux. 

- -- 
  ******************************************************
  Never ever underestimate the power of human stupidity.
  -Robert Anson Heinlein

		GeirFRS@invalid.and.so.forth
  ******************************************************

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: vxWorks 6.0
Date: 22 Sep 2000 11:21:54 GMT
From: Geir Frode Raanes <geirfrs@REPLACE.ed.ntnu.no>
Organization: UNINETT news service
Message-ID: <8qffci$no7$2@snipp.uninett.no>
References: <39CA6300.7C073B45@email.mot.com> <8qf9e0$apo$1@nnrp1.deja.com>
Sender: Geir Frode Raanes <geirfrs@invalid.ed.ntnu.no>

Heiko Elger (ARBURG) <heiko_elger@my-deja.com> wrote:
: Hi Bo,

: can you please tell me how to take part in the Beta6 programm?

The beta programm is by now closed. Windriver is preparing to ship.
And it is not VxWorks v6.0, it is called VxWorks Advanced Edititon.
It ships together with Tornado v3.0. If you ask me, this VxWorks AE
looks more and more alike to Linux. Better and safer architecture,
but also larger code and larger overhead. So why not use Linux?


- --
  ******************************************************
  Never ever underestimate the power of human stupidity.
  -Robert Anson Heinlein

		GeirFRS@invalid.and.so.forth
  ******************************************************

---------------------------

Newsgroups: comp.os.vxworks
Subject: Text in Tornado GDB window
Date: Fri, 22 Sep 2000 14:04:31 GMT
From: "Scott A. Vigil" <scott.vigil@centurasoft.com>
Organization: Centura Solutions
Message-ID: <PFJy5.330$Ok4.17224@sea-read.news.verio.net>

Hello,

I'm working in Tornado 2.0.  I would like to grab the text in the GDB window
and send it off to someone.  However, the windows "cut" command does not
work.  Also, I've not found any way to log the window output to a file.  Any
ideas?

Scott Vigil
Embedded Software Team
Centura Solutions
1111 3rd Avenue, twenty-eighth floor
Seattle, WA 98101
206-748-5325
http://www.centurasolutions.com/solutions/whatwedo.asp
http://www.centurasoft.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: What it means?
Date: Fri, 22 Sep 2000 10:12:04 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39CB92E4.6789F2C9@lmco.com>
References: <8qfa4o$r6t@netnews.hinet.net>

From bootconfig.c::::

/*
DESCRIPTION
This is the WRS-supplied configuration module for the VxWorks boot ROM.
It is a stripped-down version of usrConfig.c, having no VxWorks shell or
debugging facilities.  Its primary function is to load an object module
over the network with either RSH or FTP.  Additionally, a simple set of
single letter commands is provided for displaying and modifying memory
contents.  Use this module as a starting point for placing applications
in ROM.
*/

Does that answer your question??

Speaking only for myself,

Joe Durusau


kvd2 wrote:
> 
> "The file config/all/bootConfig.c is the configuration module for the boot
> ROM, replacing the file usrConfig.c provided for the default VxWorks
> development system"
> 
> What it means?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Bring up a user task at bootup
Date: Fri, 22 Sep 2000 10:07:33 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39CB91D5.79F8C993@lmco.com>
References: <39C7EFE5.D703C517@lucent.com> <8qegcu$f9j$1@nnrp1.deja.com>

	In Tornado I, you spawn your app as a task, as in the example in 
usrConfig.c.  There should be something similar in whichever system you
are using.  Look for a variable INCLUDE_DEMO and you should be able to
find it.

Speaking only for myself,

Joe Durusau

Navin Kumar Agrawal wrote:
> 
> Hi All,
> 
> How is it possible to bring up my application task at the init
> time? this would avoid starting launch...then create a target
> and then spawn the task from windshell...I want the task to get
> started soon after the vxWorks loading completes.
> 
> Any help in this regard will be appreciated,
> 
> Thanks,
> 
> Navin
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: HeapTrace/Check
Date: Fri, 22 Sep 2000 18:03:23 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qg6sp$eeo$1@nnrp1.deja.com>

hi folks,

Are there any free versions of HeapTrace/Check available on the web? we
haven't bought the stethoscope tool with tornado.
Thanks in advance..

Regards,
seshadri



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: MUX layer structs
Date: Fri, 22 Sep 2000 18:21:32 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qg7uh$fm3$1@nnrp1.deja.com>

hi folks,

I have a question regarding some of the elements
used in netBufLib...(...tornado/taget/h)
here are the structs
typedef struct mHdr
    {
    struct mBlk * mNext;  /* nextbuffer in chain */
    struct mBlk * mNextPkt; /* next chain in queue/record */
    char *  mData;  /*location of data */
    int  mLen;  /* amount of data in this mBlk */
    UCHAR  mType;  /* type of data in this mBlk */
    UCHAR  mFlags;  /* flags; see below */
    USHORT  reserved;
    } M_BLK_HDR;

And here is the link layer header structure!!

typedef struct llHdrInfo
    {
    int  destAddrOffset;  /*destination addr offset in mBlk */
    int  destSize;  /*destination address size */
    int  srcAddrOffset;  /* source address offset in mBlk */
    int  srcSize;  /* source address size */
    int  ctrlAddrOffset;  /*control info offset in mBlk */
    int  ctrlSize;  /*control info size */
    int  pktType;  /* type of the packet */
    int  dataOffset;  /* data offset in the mBlk */
    } LL_HDR_INFO;

I am currently attaching to the ethernet END
drivers supplied for MPC8260!!(motfcc0)
VxWorks-5.4, Tornado II

1] I wanted to know the difference
between "pktType" element and the "mType"
element?? When i tried printing mType i got some
junk values..

2] I haven't understood the significance of
"ctrlAddrOffset" in case of DIX II frames
(ethernet frames having a type field , no LLC
headers)


Thanks in advance,
seshadri



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Missing RAM
Date: Fri, 22 Sep 2000 19:05:25 GMT
From: Ted Dennison <dennison@telepath.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qgah5$j15$1@nnrp1.deja.com>

Due to a bit of a memory crunch, we are trying out a new PC board for
our vxWorks system. The old one had 256Meg, and reported it all. The new
one has 1Gig of RAM, (verified via the bios) but only reports about 2Meg
from memShow after it boots.

Is there some kind of hard or adjustable limit to the amount of RAM a
vxWorks kernel can deal with? Where would I look?

- --
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: memShow and stack and heap
Date: Fri, 22 Sep 2000 19:46:33 GMT
From: "Jim" <jgdon@undergrad.math.uwaterloo.ca>
Organization: Magma Communications Ltd.
Message-ID: <tGOy5.6512$gi1.127186@news.magma.ca>

Hello all,

Does "memShow"only show what "malloc's" or "new'd" data has been allocated
... or does it some how incorporate stack information as well?

In the simple program
main(){
    memshow
    for(...){
    memshow
    ...
    }
}

I noticed it seemed to allocate data when it entered the for loop ... I'd
assume this means that the stack grows into the heap space ?

Any how if you have any insight into this it would be very much appreciated
...

Cheers
Jim

ps I am using memShow before and after a programme to discover a memory leak
in the programme ... if you have any other techniques for this you would
like to share that would also be very much appreciated.



---------------------------

Newsgroups: comp.os.vxworks
Subject: tyLib question
Date: Fri, 22 Sep 2000 14:09:19 -0700
From: mifergie@yahoo.com
Organization: University of California, Los Angeles
Message-ID: <39CBCA7F.5924A75E@yahoo.com>

Hi, can anyone suggest a tutorial on how to use tyLib?  I'm having a
problem getting
tyWrite() to work correctly.

VxWorks version 5.2 running on a Motorola MV-167 in a VME (6U Eurocard)
crate

I've got a Radston SBCC-1 communications controller which is in some
slot in the crate.  The controller is supposed to be able to create a
tty device in the IO system of VxWorks.  This is how it goes:
ld < if_ql.o
ld < tyqldrv.o

# load the driver
tyQLDrv

# create the tty device
tyQLDevCreate "tty/a", 0, 0x88000000, 1000, 1000, 9600, 0xc804,
0x09040401
# here I get a pointer to the created tty device and call it pTyQLDv

# open the device
tyQLOpen(pTyQLDv, "tty", 0);

# write a couple of chars to it
tyWrite(pTyQLDv, txt, 2));

No errors up to this point and when I perform the tyWrite() I get
address strobes
on the VME bus, just enough to fill a 64 byte ring buffer, but I don't
get anything out of the SBCC card.


My question to this group is; Should I be doing something more before
calling tyWrite()?

Ian Ferguson
fergie@physics.ucla.edu



---------------------------

Newsgroups: comp.os.vxworks
Subject: simulator "vxworks -r" question
Date: Fri, 22 Sep 2000 21:31:49 GMT
From: "thomas marsh" <thomas@vivityinc.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <9dQy5.13850$nk3.655527@newsread03.prod.itd.earthlink.net>

hi.. I need to start the vxworks simulator with more memory... someone said
that I should use the -r command-line switch.. this works fine if I start
the simulator from the command line, but I need to start it from the IDE
using the Tools->Simulator to make it work right (ie start a target server
for the thing) and I don't know how to configure the tornado IDE to start
the VxWorks image that I have built (the simulator) with "VxWorks -r808088"
instead of  just "VxWorks"
can anyone help?  please please please?
- -thomas



---------------------------

Newsgroups: comp.os.vxworks
Subject: download without tornado from Solaris
Date: Fri, 22 Sep 2000 21:33:41 GMT
From: a7244270@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qgj7k$tsr$1@nnrp1.deja.com>



Hi,

The company I work for is trying to not use Tornado at all for
development.  We have been able to compile, but still have to use
tornado for the actual download process.

Does anyone out there know how to download to the board (from Solaris)
without using Tornado ?

Thanks,

Alfonso.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Compiling 64 bit int for PPC
Date: Fri, 22 Sep 2000 21:44:06 GMT
From: 1icejacker1@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qgjr2$uj3$1@nnrp1.deja.com>

Will the vxWorks port of gcc 2.7.2 compile a 64 bit int for the PPC
arch? If so, how is it done.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Fri, 22 Sep 2000 19:07:34 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39CBE636.63CB802C@mindspring.com>


We are currently looking for a new vendor of vme based cpu cards 
utilizing the ppc arch.  The motorola mvme2700 seems to have the 
hardware capabilities that we need.  Thus a ppc card similar to 
the 2700 (without its fatal flaw*) is probably the ideal case.

Any suggestions? I would also want to know the prevalence (installation
base) of any suggested card, and the reputation of its manufacturer's 
with regard to post sales support.

thanks,

- -al

*: being "supported" by Motorola.

---------------------------

Newsgroups: comp.os.vxworks
Subject: SNMP and MIB2
Date: Sat, 23 Sep 2000 04:38:41 GMT
From: C H <chenderson@oresis.com>
Organization: Giganews.Com - Premium News Outsourcing
Message-ID: <39CC3386.8F082E44@oresis.com>

Has anyone had experience with epilogue/Envoy SNMP agent having a
strange problem in which it will return correct values from the system
group of MIB2, but the other groups, such as interface. ip etc, will not
return values at all

Thanks


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Tornado2 on SPARC Solaris 8
Date: Fri, 22 Sep 2000 16:50:37 -0600
From: "Dmitri A. Sergatskov" <dima@coffee.phys.unm.edu>
Organization: University of New Mexico, Albuquerque
Message-ID: <Pine.LNX.4.21.0009221644580.17434-100000@coffee.phys.unm.edu>
References: <slrn8skoss.d4q.dima@coffee.phys.unm.edu> <39CA8D68.7EE996D9@rti.com> <Pine.SOL.4.21.0009211716560.904-100000@mesquite.phys.unm.edu> <39CAAA53.645CBC45@rti.com>

On Thu, 21 Sep 2000, Lori Fraleigh wrote:

> We've got and Ultra 5 and an Ultra 80 Enterprise.
>  
> Not sure why it wouldn't like your hardware.
> 

I am pretty sure at the moment that it is the problem with my
video configuration. I can run tornado OK with a remote
display on a linux box.
If you are using Creator video card, can you send me
your 'ffbconfig -propt' output?

> Good luck!
> 
> lori

Dmitri.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: download without tornado from Solaris
Date: Sat, 23 Sep 2000 08:44:24 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <I3_y5.241007$i5.3257489@news1.frmt1.sfba.home.com>
References: <8qgj7k$tsr$1@nnrp1.deja.com>

For God's sake read at least the first few pages of the manuals.

The bootrom can get the vxWorks image from a Solaris box either by FTP, RPC or 
NFS. Configure your Solaris box to permit the appropriate access, sfter boot 
the host file system will be available to you.

So let's say I use RPC, I edit the .rhosts file in my home directory to permit 
access from the target without requiring my password (you can just give it 
the password too). Next I define the boot parameters. Next make sure the 
.cshrc file doesn't print anything by making the first line:-

     if (${?prompt == 0 } || ${TERM} == 0) exit


 Then I boot the board. Then I load my objects and away we go. 

Another method I use is to NFS mount the Solaris disk I use onto the NT box I 
generally use as an X-host. Next I start the ftp server I got with Tornado and 
tell it to export the NFS mounted drive. Note that this is a much easier FTP 
server to use than the Micro$oft version. Next I boot the board and start 
loading stuff. I'm sure Solaris has an FTP server too, I just don't use it.

So why are you so mad keen not to use Tornado even though you can't work out 
how to boot the target by hand? It's just a tool. Sounds like the Tornado 
training course would be money well spent for you all.


Paul

In article <8qgj7k$tsr$1@nnrp1.deja.com>, a7244270@my-deja.com wrote:
>
>
>Hi,
>
>The company I work for is trying to not use Tornado at all for
>development.  We have been able to compile, but still have to use
>tornado for the actual download process.
>
>Does anyone out there know how to download to the board (from Solaris)
>without using Tornado ?
>
>Thanks,
>
>Alfonso.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Sat, 23 Sep 2000 08:49:30 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <u8_y5.241013$i5.3257489@news1.frmt1.sfba.home.com>
References: <39CBE636.63CB802C@mindspring.com>

Care to name the 'fatal' flaw, just for the curious.

Try www.vita.com, it's the VME Industry Trade association and has a huge list 
of cards.

Paul

In article <39CBE636.63CB802C@mindspring.com>, Al Johnston 
<sofeise@mindspring.com> wrote:
>
>We are currently looking for a new vendor of vme based cpu cards 
>utilizing the ppc arch.  The motorola mvme2700 seems to have the 
>hardware capabilities that we need.  Thus a ppc card similar to 
>the 2700 (without its fatal flaw*) is probably the ideal case.
>
>Any suggestions? I would also want to know the prevalence (installation
>base) of any suggested card, and the reputation of its manufacturer's 
>with regard to post sales support.
>
>thanks,
>
>-al
>
>*: being "supported" by Motorola.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 24 04:03:06 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sun Sep 24 04:03:08 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sun Sep 24 04:03:03 PDT 2000

        Subject: Re: download without tornado from Solaris

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: download without tornado from Solaris
Date: Sat, 23 Sep 2000 09:58:58 -0400
From: "Jeff Creem" <jcreem@atetola.mv.com>
Organization: MV Communications, Inc.
Message-ID: <8qicni$gjf$1@pyrite.mv.net>
References: <8qgj7k$tsr$1@nnrp1.deja.com>

Build the old 5.2 (and pre_) shell into the Kernel along with telnetd and or
rlogind support. Then you can just rlogin to the board and
use netLib (netDevCreate) or nfsLib to mount the host drives and use
ld < filename to load.


<a7244270@my-deja.com> wrote in message news:8qgj7k$tsr$1@nnrp1.deja.com...
>
>
> Hi,
>
> The company I work for is trying to not use Tornado at all for
> development.  We have been able to compile, but still have to use
> tornado for the actual download process.
>
> Does anyone out there know how to download to the board (from Solaris)
> without using Tornado ?
>
> Thanks,
>
> Alfonso.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Sun Sep 24 08:00:42 2000
From: "Slutsker, Rasty" <rslutsker@STX.Kollmorgen.com>
Date: Sun Sep 24 08:00:44 PDT 2000
Subject: Access fault in tNetTask, Tornado 2

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C02640.5EF4823E
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,
Does anyone recall an invalid memory access (Page fault, Invalid CPU
operation or something similar) in tNetTask at x86? It appears that CPU
stack gets corrupted in tcp_reass() called from tcp_input(). The problem
happens only (?) to SLIP interface.

I've seen a bug report for NetBSD in this area... 


Rasty

Keywords: VxWorks, Tornado

------_=_NextPart_001_01C02640.5EF4823E
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Access fault in tNetTask, Tornado 2</TITLE>
</HEAD>
<BODY>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Does anyone recall an =
invalid memory access</FONT> <FONT SIZE=3D2 FACE=3D"Arial">(Page fault, =
Invalid CPU operation or something similar) in tNetTask</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> at x86</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">?</FONT><FONT SIZE=3D2 FACE=3D"Arial"> It appears that =
CPU stack gets corrupted</FONT> <FONT SIZE=3D2 FACE=3D"Arial">in =
tcp_reass</FONT><FONT SIZE=3D2 FACE=3D"Arial">()</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">called from tcp_input()</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">.</FONT><FONT SIZE=3D2 FACE=3D"Arial"></FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">The problem h</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">a</FONT><FONT SIZE=3D2 FACE=3D"Arial">ppens</FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">only (?)</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">to</FONT><FONT SIZE=3D2 FACE=3D"Arial"> SLIP</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> interface</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">.</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">I</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">'</FONT><FONT SIZE=3D2 FACE=3D"Arial">ve</FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">s</FONT><FONT SIZE=3D2 FACE=3D"Arial">een a bug =
report for NetBSD</FONT> <FONT SIZE=3D2 FACE=3D"Arial">in this</FONT> =
<FONT SIZE=3D2 FACE=3D"Arial">are</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">a</FONT><FONT SIZE=3D2 FACE=3D"Arial">...</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> </FONT></P>
<BR>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Rasty</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Keywords</FONT><FONT =
SIZE=3D2 FACE=3D"Arial">:</FONT><FONT SIZE=3D2 FACE=3D"Arial"></FONT> =
<FONT SIZE=3D2 FACE=3D"Arial">V</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">xWorks,</FONT><FONT SIZE=3D2 FACE=3D"Arial"> =
To</FONT><FONT SIZE=3D2 FACE=3D"Arial">r</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">nado</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C02640.5EF4823E--


From vxwexplo-errs@csg.lbl.gov  Mon Sep 25 04:03:07 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Mon Sep 25 04:03:09 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Mon Sep 25 04:03:03 PDT 2000

        Subject: Re: How to read DOS Hard disk from Vxworks dosFs
        Subject: Re: binding a socket for multicast use.
        Subject: Access fault in tNetTask, Tornado 2
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: Re: VxSim networking
        Subject: Re: VxSim networking
        Subject: how to convert a virtual address into physical address?
        Subject: intconnect()
        Subject: Re: fcntl
        Subject: use wstring?
        Subject: Re: simulator "vxworks -r" question
        Subject: Re: intconnect()
        Subject: Unresolved externals while using RWWString

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to read DOS Hard disk from Vxworks dosFs
Date: Sun, 24 Sep 2000 14:56:15 +0300
From: "Ezra Koper" <ezra_k@arelnet.com>
Organization: NetVision Israel	
Message-ID: <8qkq3o$914$1@news.netvision.net.il>
References: <Sa6x5.42$097.2790@news.siol.net>

Hello

Try this:


Adding Hard Disk DOS file system.

#include "stdlib.h"
#include "dosFsLib.h"
#include "drv/hdisk/ataDrv.h"

BLK_DEV         *ata_device         ;  /* pointer to the ATA device       */
DOS_VOL_DESC *hd_volume         ;  /* the dos fs volume description */
char          *devname= "/hd";  /* name of the new       device     */


void init_ata()
{
 /* show a little bit of information */
 printf( "trying to initalize device %s\n", devname );

 /* init the ATA Device (Bus 0, Device 0 => Primary Master) */
 ata_device= ataDevCreate( 0, 0, 0, 63 );

 /* init the Dos FS on the newly created device */
 hd_volume= dosFsDevInit( devname, ata_device, NULL );

 /* display the configuration data of the newly createtd device on stdio */
 dosFsConfigShow( devname );
}


===========


zbody <darkoz@hermes.si> wrote in message
news:Sa6x5.42$097.2790@news.siol.net...
> Hello!
>
> I formatted hard disk within partition of 2 GB and installed (??) VxWorks
> dosFs and floppy drive was working OK. I can read DOS formatted floppy and
> write files on it but with hard logical drive that I created with
> ataDevCreate() and then dosFsDevCreate() nothing is happening.
> Even when I vant to format the drive (with diskFormat()) I get the message
> "Couldn't format "hardy"(my drive) "
> The thing doesn't work also if instead of "configStructH" I put NULL (for
> self configuration).
> Does somebody know why is that so?
>
> /* for hardy */
>
>  if((pBlkDevHard = (BLK_DEV*)ataDevCreate(0,0,4192320,1)) == NULL)
>  printf("ERROR: ata creation !\n");
>
>  if(dosFsConfigInit(&configStructH, 0xf8, 128, 1, 1, 256, 512, 0,
> DOS_OPT_AUTOSYNC|DOS_OPT_LOWERCASE) == ERROR)
>  printf("ERROR: hard config Init !\n");
>
>  if((pVolDescHard = dosFsDevInit("hardy", pBlkDevHard, &configStructH)) ==
> NULL)
>  printf("ERROR: hard FsDev init !\n");
>
> /* for floppy */
>
>  if((pBlkDevSoft = (BLK_DEV*)fdDevCreate(0,0,0,0)) == NULL)
>  printf("ERROR: floppy creation !\n");
>
>  if(dosFsConfigInit(&configStructS, 0xf0, 1, 1, 2, 9, 224, 0,
> DOS_OPT_AUTOSYNC|DOS_OPT_LOWERCASE) == ERROR)
>  printf("ERROR: floppy config Init !\n");
>
>  if((pVolDescSoft = dosFsDevInit("floppy", pBlkDevSoft, &configStructS))
==
> NULL)
>  printf("ERROR: floppy Fs init !\n");
>
> Thanks!
>
> Darko
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: binding a socket for multicast use.
Date: Sun, 24 Sep 2000 16:19:29 +0300
From: "Ezra Koper" <ezra_k@arelnet.com>
Organization: NetVision Israel	
Message-ID: <8qkuvl$aoc$1@news.netvision.net.il>
References: <8q9tk7$1p$1@nnrp1.deja.com>

Hello
Bellow you can find an early reply to the same problem.
I hope it will help

Ezra.
=================

Thanks a lot, Albert!

Though not solved yet..
Your comment greatly helped me.

Best regards,

"Albert Wijnja" <Albert.Wijnja@meco.nl> wrote in message
news:39A37CF2.709EC383@meco.nl...
> Sung,
>
> I use multicasting for TAO. I had some problems in the beginning. At one
> point I added a route and from then on multicasting ran smoothly. If the
> IP-address of your card is e.g. 90.0.0.50 add a route with the following
> command:
>
>     routeAdd "224.0.0.0", "90.0.0.50"
>
> The multicasting IP address range runs from 224.0.0.0 to 239.255.255.255.
> See "VxWorks Network Programmers Manual".
>
> Albert

<taltaltal@my-deja.com> wrote in message news:8q9tk7$1p$1@nnrp1.deja.com...
> Hello.
> I have a problem regarding binding a socket for
> multicast use.
> When I bind a socket using a specific IP address
> and join it to a multicast group, the multicast
> packets does not reach the socket  - even the
> loop back packets (both the bind and the
> ADD_MEMBERSHIP operations succeed ).
> If I take the same code and change the bind to
> INADDR_ANY it works properly(even if I have only
> one interface  meaning the bind in both cases is
> to the same IP).
> Multicast in the two options (with and without
> specific IP in the bind command) work properly on
> windows.
> TAL.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Access fault in tNetTask, Tornado 2
Date: Sun, 24 Sep 2000 17:59:07 +0200
From: "Slutsker, Rasty" <rslutsker@STX.Kollmorgen.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8ql5ot$aok$1@overload.lbl.gov>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C02640.5EF4823E
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,
Does anyone recall an invalid memory access (Page fault, Invalid CPU
operation or something similar) in tNetTask at x86? It appears that CPU
stack gets corrupted in tcp_reass() called from tcp_input(). The problem
happens only (?) to SLIP interface.

I've seen a bug report for NetBSD in this area... 


Rasty

Keywords: VxWorks, Tornado

- ------_=_NextPart_001_01C02640.5EF4823E
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Access fault in tNetTask, Tornado 2</TITLE>
</HEAD>
<BODY>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Does anyone recall an =
invalid memory access</FONT> <FONT SIZE=3D2 FACE=3D"Arial">(Page fault, =
Invalid CPU operation or something similar) in tNetTask</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> at x86</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">?</FONT><FONT SIZE=3D2 FACE=3D"Arial"> It appears that =
CPU stack gets corrupted</FONT> <FONT SIZE=3D2 FACE=3D"Arial">in =
tcp_reass</FONT><FONT SIZE=3D2 FACE=3D"Arial">()</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">called from tcp_input()</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">.</FONT><FONT SIZE=3D2 FACE=3D"Arial"></FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">The problem h</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">a</FONT><FONT SIZE=3D2 FACE=3D"Arial">ppens</FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">only (?)</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">to</FONT><FONT SIZE=3D2 FACE=3D"Arial"> SLIP</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> interface</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">.</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">I</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">'</FONT><FONT SIZE=3D2 FACE=3D"Arial">ve</FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">s</FONT><FONT SIZE=3D2 FACE=3D"Arial">een a bug =
report for NetBSD</FONT> <FONT SIZE=3D2 FACE=3D"Arial">in this</FONT> =
<FONT SIZE=3D2 FACE=3D"Arial">are</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">a</FONT><FONT SIZE=3D2 FACE=3D"Arial">...</FONT><FONT =
SIZE=3D2 FACE=3D"Arial"> </FONT></P>
<BR>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Rasty</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Arial">Keywords</FONT><FONT =
SIZE=3D2 FACE=3D"Arial">:</FONT><FONT SIZE=3D2 FACE=3D"Arial"></FONT> =
<FONT SIZE=3D2 FACE=3D"Arial">V</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">xWorks,</FONT><FONT SIZE=3D2 FACE=3D"Arial"> =
To</FONT><FONT SIZE=3D2 FACE=3D"Arial">r</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">nado</FONT></P>

</BODY>
</HTML>
- ------_=_NextPart_001_01C02640.5EF4823E--

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: 24 Sep 2000 09:53:32 -0700
From: bgove@cspi.com
Organization: Extra Newsguy News Service [http://extra.newsguy.com]
Message-ID: <8qlbic0h3o@edrn.newsguy.com>
References: <39CBE636.63CB802C@mindspring.com>

I've been using the Motorola mv2700 board for quite a while and I'd 
be a little curious myself as to what "fatal" flaw you're talking about.

Thanks,
- -Bob

In article <39CBE636.63CB802C@mindspring.com>, Al says...
>
>
>We are currently looking for a new vendor of vme based cpu cards 
>utilizing the ppc arch.  The motorola mvme2700 seems to have the 
>hardware capabilities that we need.  Thus a ppc card similar to 
>the 2700 (without its fatal flaw*) is probably the ideal case.
>
>Any suggestions? I would also want to know the prevalence (installation
>base) of any suggested card, and the reputation of its manufacturer's 
>with regard to post sales support.
>
>thanks,
>
>-al
>
>*: being "supported" by Motorola.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxSim networking
Date: Sun, 24 Sep 2000 16:04:47 -0500
From: "Michael A. Moore" <mike.moore@motorola.com>
Organization: Motorola
Message-ID: <39CE6C6F.E4B0C530@motorola.com>
References: <6XKx5.98$tB3.3579@nreader1.kpnqwest.net>

This is a multi-part message in MIME format.
- --------------A05995F70EC74EC7E08A33D7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Markus,

Here is the application note for setting up VxSim.  It worked for me.

Mike

********BEGIN APP-NOTE********

Goal: How to do networking with SIM NT
Goal: Setup Networking on Full VxSim (SIM NT) on Windows NT
Fact: VxSim for Windows NT
Fact: Windows NT 4.0
Fact: Tornado / 2.0
Fact: VxWorks / 5.4
Fact: simpc
Fix: This solution describes how to configure the full
  VxSim or Sim NT on WinNT, build VxWorks,
launch two VxSim targets, and ping each other.

1. Confirm the Full VxSim product is installed.
2. Install and Configure ULIP.
3. Turn on IP Forwarding on the NT
4. Modify target/config/simpc/config.h
5. Create a New Project
6. Configure the Project and Build VxWorks
7. Launch VxSim target and attach Target Server
8. Launch Second VxSim target and target server
9. Ping the VxSim targets.


Details:

1. Confirm the Full VxSim product is installed.

a. The file setup.log should have at least the
following entries:

100-9878-30 Driver Objects/Headers: simnt
100-9884-30 Tornado Full Simulator: x86-winNT
100-10026-30 Tornado Object: x86-winNT x simnt

The full VxSimulator product is a BSP and requires
the appropriate Tornado object.

b. If the full simulator is installed, the file
$WIND_BASE/target/config/simpc/fullSimInstalled.flag
exists and contains a single line:
// Presence of this file indicates that the full simulator has
been installed.

2. INSTALL AND CONFIGURE ULIP.

Please follow the instructions in the VxWorks 5.4 Programmer's
Guide, pp. 551-552
(Appendix H.5 VxSim Networking Component, "Installing ULIP on a
Windows NT Host").

Basically, this section describes how to navigate to
the Network control panel:
Settings > Control Panel > Network

Select the "Adapters" tab, and install the ULIP driver by specifying the
path to the driver,
located in your Tornado installation at
../host/x86-w2in32/bin.

IMPORTANT:

However, for IP address enter the following:

90.0.0.254

instead of the value listed in the Programmer's
Guide, which is 90.0.0.255. The 255 is incorrect
and specifies the broadcast address. Again,
255 is wrong; use 254.

If the ULIP driver has already been installed
and it is necessary to modify or to verify the
settings, do the following:

Navigate from Start > Settings > Control Panels > Network

Select the "Protocols" tab and "TCP/IP"

Select "Properties"

In "IP Address" tab, from the "Adapter" pull down menu,
select ULIP Virtual Adapter.

Select "Specify an IP address"
For IP Address, input 90.0.0.254
For Subnet Mask, input 255.255.255.0


3. TURN ON IP FORWARDING

For one vxSim target to talk to another, IP
forwarding needs to be turned on.

To turn on IP forwarding on NT:

Navigate to the Network Control Panel:
Start > Settings > Control Panels > Network

Once there, select the "Protocol" tab, select
"TCP/IP" and select "Properties".

Select "Routing"

Click on "Enable IP Forwarding"

After all these changes, you should be prompted
that it is necessary to shutdown and restart
WinNT.


4. MODIFY CONFIG.H

Locate config.h and the following lines:

/*
* The default configuration is no network. If you've
installed the
* full featured simulator (unbundled), change TRUE to
FALSE below.
*/

#if TRUE /* change this to FALSE for full VxSim */
#undef INCLUDE_NETWORK
#undef INCLUDE_NET_INIT
#undef WDB_COMM_TYPE
#define WDB_COMM_TYPE WDB_COMM_PIPE
#undef WDB_TTY_TEST
#else /* !TRUE */
#define INCLUDE_END
#endif

Change the TRUE to FALSE, per the comment above.

Do this before you build a project based on
simpc!!

5. CREATE A NEW PROJECT

Create a new project, which should be a
downloadable vxWorks boot image, based on
the bsp: simpc.

6. CONFIGURE PROJECT AND BUILD VXWORKS

Configure the new Project to include a target
shell, symbol table, show routines, net show
routines and ping.

Using the Project facility, identify the following
components and include them.

a. Find the PING client under:
network components > network protocols >
network applications > PING client

Or right-click in the Project facility's
"VxWorks" tab window, and select "Find Object..."
In the dialog box that appears, from the pull-down
menu, select "Components" and scroll through the
list to find the object: INCLUDE_PING.

b. Locate network components > network debugging

Right-click on network debugging
>From the check list. select:

UDP show routines
TCP show routines
ICMP show routines
IGMP show routines
Network show routines

c. Under development tool components, locate
show routines.

Right-click on show routines;select and include:

memory show routines
stdio show routines
symbol table show routines
task show routines

d. Also under development tool components, include the
downloaded symbol table:

> symbol table components
>symbol table initialization components
>select symbol table initialization >
>downloaded symbol table

e. Include error status table (or INCLUDE_STAT_SYM_TBL).

>symbol table components > error status table

f. Locate target shell component and include it.

>development tool components >
>target shell components > target shell

(target debugging will automatically be included.)

g. Right-click in the VxWorks tab of the Project Facility and
select "Rebuild all (vxWorks.exe).


7. LAUNCH VXSIM TARGET AND TARGET SERVER

Launch a VxSim target by clicking on VxSim icon
in tool bar.

>From the dialog box that appears, select
"Custom-built simulator".

Click on "Browse" and navigate to the directory
where the vxWorks.exe image is located, i.e.
D:\T2sim\target\proj\simPROJ\default\vxWorks.exe

A "VxWorks Simulator for Windows" window appears:

0x4b9aeb0
Attached TCP/IP interface to nt unit 0
Attaching interface lo0...done
Loading symbol table from
host:D:/T2sim/target/proj/fullSimNT2/default/vxWorks.exe.sym
...done


VxWorks

Copyright 1984-1998 Wind River Systems, Inc.

CPU: VxSim for Windows
VxWorks: 5.4
BSP version: 1.1/1
Creation date: Jul 7 1999
WDB: Ready.


Launching the target server

When the target is successfully launched, a
window automatically appears:
"VxSim Launch: Launch Target Server"

A message reads:

"A Target Server named "vxsim@heiwa" is required and
will be started."

IMPORTANT: click on CANCEL

Clicking on OK launches a target server that fails:

"tgtsvr (vxTarget@heiwa): Wed Aug 25 00:17:08 1999
Wind River Systems Target Server: NT/Win95 version
Error: Target vxsim5 unknown. Attach failed.
Error: Backend initialization routine failed.
Problem during Backend initialization
Target Server will exit"

And then an error box also appears:

Target Server failed to initialize before timeout.

(The automatically launched target server fails
because the name of the target is vxTarget,
as hostShow will indicate later. The name of the target
is hardcoded in configAll.h to vxTarget.)

INSTEAD, from Tornado menu: select Tools > Target Server

Configure the target server to use wdbrpc backend,
to attach to a target with IP address 90.0.0.1.

The target server command line should look like this:

tgtsvr.exe 90.0.0.1 -n vxTarget1 -V -B wdbrpc -R d\ -RW

Click on "Launch"


Confirm that the Target Server connected to the target
by double-clicking on the small red and white,
bulls-eye icon that appears in the lower right
hand corner of the desktop.

A window called vxTarget1@heiwa Log Console appears
and contains something like the following text:

tgtsvr (vxTarget1@heiwa): Tue Aug 24 23:13:59 1999
Wind River Systems Target Server: NT/Win95 version
Connecting to target agent... succeeded.
Attaching C++ interface... succeeded.
Attaching pecoff OMF reader for SIMNT CPU family... succeeded.

Launch windsh and run ifShow

...
Copyright 1995-1999 Wind River Systems, Inc.

C++ Constructors/Destructors Strategy is AUTOMATIC

- -> ifShow
nt (unit number 0):
Flags: (0xf1) UP POINT-TO-POINT RUNNING
Type: ETHERNET_CSMACD
Internet address: 90.0.0.1
Destination Internet address: 0.0.0.0
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 1520
0 packets received; 1 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
lo (unit number 0):
Flags: (0x8069) UP LOOPBACK RUNNING ARP MULTICAST
Type: SOFTWARE_LOOPBACK
Internet address: 127.0.0.1
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 32768
0 packets received; 0 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
value = 0 = 0x0

8. LAUNCH SECOND VXSIM TARGET

Launch a second VxSim target by clicking on
the VxSim icon, and use processor 1 (instead of 0).

Follow the same procedure as above to launch
a second target server. The IP address of the
target is 90.0.0.2 (if processor 1 was used).

VxSimNT targets can be numbered from 0-9.
IP addresses from 90.0.0.1 through 90.0.0.10

(Unlike VxSim on Solaris using ULIP which
supports up to 15 targets, full VxSimNT only
supports up to 10 targets.)


Selecting target server "VxSim2@heiwa",
start another Windsh:

...
Copyright 1995-1999 Wind River Systems, Inc.

C++ Constructors/Destructors Strategy is AUTOMATIC

- ->

hostShow identifies the VxSim target as
"vxTarget" with an IP address of 90.0.0.2.


- -> hostShow
hostname inet address aliases
- -------- ------------ -------
vxTarget 90.0.0.2
localhost 127.0.0.1
host 90.0.0.254
value = 0 = 0x0


- -> ifShow
nt (unit number 0):
Flags: (0xf1) UP POINT-TO-POINT RUNNING
Type: ETHERNET_CSMACD
Internet address: 90.0.0.2
Destination Internet address: 0.0.0.0
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 1520
4 packets received; 5 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
lo (unit number 0):
Flags: (0x8069) UP LOOPBACK RUNNING ARP MULTICAST
Type: SOFTWARE_LOOPBACK
Internet address: 127.0.0.1
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 32768
0 packets received; 0 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
value = 0 = 0x0


9. Ping the vxSim targets.

  Vxsim targets can now ping each other:

>From Windsh of target 90.0.0.2:

- -> ping "90.0.0.1",3
PING 90.0.0.1: 56 data bytes
64 bytes from 90.0.0.1: icmp_seq=0. time=48. ms
64 bytes from 90.0.0.1: icmp_seq=1. time=64. ms
64 bytes from 90.0.0.1: icmp_seq=0. time=1072. ms
- ----90.0.0.1 PING Statistics----
2 packets transmitted, 3 packets received, -50%
packet loss
round-trip (ms) min/avg/max = 48/394/1072
value = 0 = 0x0
- ->


>From WinNT DOS command prompt, ping the targets:

c:\tornado>ping 90.0.0.1

Pinging 90.0.0.1 with 32 bytes of data:

Reply from 90.0.0.1: bytes=32 time=30ms TTL=64
Reply from 90.0.0.1: bytes=32 time=10ms TTL=64
Reply from 90.0.0.1: bytes=32 time=10ms TTL=64
Reply from 90.0.0.1: bytes=32 time<10ms TTL=64

c:\tornado>ping 90.0.0.2

Pinging 90.0.0.2 with 32 bytes of data:

Reply from 90.0.0.2: bytes=32 time=30ms TTL=64
Reply from 90.0.0.2: bytes=32 time=10ms TTL=64
Reply from 90.0.0.2: bytes=32 time=10ms TTL=64
Reply from 90.0.0.2: bytes=32 time=10ms TTL=64


RESEARCH:

VxWorks Programmer's Guide, 5.4, Appendix H. VxSim
Tornado Release Notes 2.0,
Sec. 7.4 VxWorks Target Simulator, VxSim (pp. 23-25)


********END APP-NOTE********





Markus MItterer wrote:

> Hi,
> I have problems with vxSim (full version) under NT. I configured an
> interface (ULIP) at my host with 90.0.0.254 and build the kernel with
> network support. After spawning the simulator I can`t ping any IP-address
> from the shell (neither 90.0.0.254 nor 90.0.0.1). I already checked my boot
> parameters with bootChange, but these seems to be okay.
> From the host-dos box I can ping my ULIP network interface (90.0.0.254) but
> not the 90.0.0.1.
> Any ideas what I do wrong?
>
> regards
> --
> Markus Mitterer
> Software-Development, STK
> mailto: markus_mitterer@sbu1.storkgroup.com

- --------------A05995F70EC74EC7E08A33D7
Content-Type: text/x-vcard; charset=us-ascii;
 name="mike.moore.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael A. Moore
Content-Disposition: attachment;
 filename="mike.moore.vcf"

begin:vcard 
n:Moore;Michael
tel;pager:800-SKYTEL2 pin:2457271
tel;cell:817-845-4428
tel;fax:817-245-6510
tel;work:817-245-7271
x-mozilla-html:TRUE
url:http://www.ftw.mot.com/~emm008
org:Motorola
version:2.1
email;internet:mike.moore@motorola.com
title:Senior Staff Engineer
adr;quoted-printable:;;5555 North Beach Street=0D=0AMailstop: 1E;Fort Worth;TX;76137;U.S.A.
fn:Michael Moore
end:vcard

- --------------A05995F70EC74EC7E08A33D7--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: VxSim networking
Date: Mon, 25 Sep 2000 07:53:42 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <4IBz5.7$Ar4.295@nreader1.kpnqwest.net>
References: <6XKx5.98$tB3.3579@nreader1.kpnqwest.net> <39CE6C6F.E4B0C530@motorola.com>

Hello Mike,

Thank you very much for your detailed description. This is what I call help,
which should be given directly from the documentation. At the moment I`m
very busy with an other problem, but afterwards I will take enough time to
try this.
I hope I may call you again for further information ...

best regards

Markus Mitterer
Software Development
Schablonentechnik Kufstein
mailto:markus_mitterer@sbu1.storkgroup.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: how to convert a virtual address into physical address?
Date: Mon, 25 Sep 2000 08:05:58 +0100
From: "White Weng" <whitew@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8qmtgo$9dj$1@schbbs.mot.com>

Hi,

Is it necessary to convert virtual address into physical address in vxworks,
as for malloc() or memalign()?
If it be, how to accomplish?

Thanks very much!



---------------------------

Newsgroups: comp.os.vxworks
Subject: intconnect()
Date: Mon, 25 Sep 2000 10:59:25 +0100
From: Anthony Rouaux <anthony.rouaux@st2e.com>
Organization: freesbee.fr
Message-ID: <39CF21FD.BF1B1E7A@st2e.com>

I would like to connect a routine to an interrupt without using
intConnect() because it causes me a lack of time. How can i do this.
thanks


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: fcntl
Date: Mon, 25 Sep 2000 09:05:24 GMT
From: "Tri VU KHAC" <tvk@sonycom.com>
Organization: KPNQwest customer news service
Message-ID: <ozEz5.29$Ar4.1832@nreader1.kpnqwest.net>
References: <oaIx5.55$tB3.2756@nreader1.kpnqwest.net> <39C77166.F56DCDD1@ashbysoft.cix.co.uk>

Thank you for your response.
I took a look carefully in this ioctl() for an equivalent thing, but I
didn't find any...
I call   fcntl(fd, F_SETFD, F_CLOEXEC)   in unix, and looking for sth like
this in vxWorks. "man ioctl" give me very poor information.
Thanks again for your help.
Tri.


Phil Ashby <> wrote in message news:39C77166.F56DCDD1@ashbysoft.cix.co.uk...
> Any particular fcntl() call? Some can be replicated with ioctl(), others
> need more work :)
>
> Phil.
>
> Tri VU KHAC wrote:
> >
> > Hi folks,
> >
> > I'm looking for an equivalent command of fcntl() in unix since it
doesn't
> > exist in vxWorks.
> >
> > Thank you for your helps.
> >
> > Tri.



---------------------------

Newsgroups: comp.os.vxworks
Subject: use wstring?
Date: Mon, 25 Sep 2000 09:34:37 GMT
From: albert.wijnja@meco.nl
Organization: Deja.com - Before you buy.
Message-ID: <8qn67c$utj$1@nnrp1.deja.com>

Hi there,

Is anyone using the wstring type?
If so, please let me know how to do that.
I found in the include file <string> that the typedef for wstring was
commented. Is there  way to enable the wstring type?

Albert Wijnja


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: simulator "vxworks -r" question
Date: 25 Sep 2000 09:45:37 GMT
From: borkhuis@lucent.com (Johan Borkhuis)
Organization: Lucent Technologies
Message-ID: <8FBA74BFAborkhuislucentcom@135.7.153.101>
References: <9dQy5.13850$nk3.655527@newsread03.prod.itd.earthlink.net>

thomas@vivityinc.com (thomas marsh) wrote in
<9dQy5.13850$nk3.655527@newsread03.prod.itd.earthlink.net>: 

>hi.. I need to start the vxworks simulator with more memory... someone
>said that I should use the -r command-line switch.. this works fine if I
>start the simulator from the command line, but I need to start it from
>the IDE using the Tools->Simulator to make it work right (ie start a
>target server for the thing) and I don't know how to configure the
>tornado IDE to start the VxWorks image that I have built (the simulator)
>with "VxWorks -r808088" instead of  just "VxWorks"
>can anyone help?  please please please?

You could try starting the targetserver by hand also, using the command 
line parameters as shown in the Details-window in the "Launch Target 
Server" window.

Groeten,                                                                 
        Johan                                                            
                                                                         
- --                                                                       
     o o o o o o o . . .   ___________________________________           
    o      _____           ||    Johan Borkhuis              |           
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |           
 >(________|__|_[_________]_|________________________________|           
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`           
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: intconnect()
Date: 25 Sep 2000 09:46:56 GMT
From: borkhuis@lucent.com (Johan Borkhuis)
Organization: Lucent Technologies
Message-ID: <8FBA73B9Fborkhuislucentcom@135.7.153.101>
References: <39CF21FD.BF1B1E7A@st2e.com>

anthony.rouaux@st2e.com (Anthony Rouaux) wrote in 
<39CF21FD.BF1B1E7A@st2e.com>:

>I would like to connect a routine to an interrupt without using
>intConnect() because it causes me a lack of time. How can i do this.

Then you have to set the interrupt vector yourself.

Groeten,                                                                 
        Johan                                                            
                                                                         
- --                                                                       
     o o o o o o o . . .   ___________________________________           
    o      _____           ||    Johan Borkhuis              |           
  .][__n_n_|DD[  ====_____  |    johan@borksoft.xs4all.nl    |           
 >(________|__|_[_________]_|________________________________|           
 _/oo OOOOO oo`  ooo   ooo  'o!o!o                      o!o!o`           
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === 


---------------------------

Newsgroups: comp.os.vxworks
Subject: Unresolved externals while using RWWString
Date: Mon, 25 Sep 2000 10:45:36 GMT
From: albert.wijnja@meco.nl
Organization: Deja.com - Before you buy.
Message-ID: <8qnacc$36v$1@nnrp1.deja.com>

Hello,

When using the RWWString type (from the tools.h++ library) I get
unresolved externals when downloading the object file to the target.
Compile time there are no errors.
In my VxWorks runtime image I have included all Wind Foundation
Classes components. When creating an example with any other
RW-definition (e.g. RWDate) no errors are produced. It seems that the
RWWString is nog included in a library (which one?).

The example program is as follows:

#include <rw/wstring.h>

int my_main()
{
   RWWString a;

   a = L"Hi there";

   return (0);
}

The errors are:

Errors while downloading
D:/Tornado/target/proj/SimpleTests/PENTIUMgnu/my_string.o:
___9RWWString
__$_9RWWString
___as__9RWWStringPCw



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Mon Sep 25 12:56:34 2000
From: Balaji <balaji@paragon-networks.com>
Date: Mon Sep 25 12:56:37 PDT 2000
Subject: RPC in VxWorks

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0272A.8A98150A
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,
 
I am planning to use the RPC facility in VxWorks. But there is not enough
documentation even to get started. I just wonder if WindRiver still supports
RPC. Also, the documentation says that RPCGEN does not ship with VxWorks and
I could not find one in the Net. Can any of you, using RPC in VxWorks, throw
more light?
 
Thanks,
Balaji.R.
 
 

------_=_NextPart_001_01C0272A.8A98150A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C02709.0AA8D6C0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle15
	{mso-style-type:personal-compose;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
</head>

<body lang=3DEN-US style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hello,<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I am planning to use the RPC facility in VxWorks. But there is =
not
enough documentation even to get started. I just wonder if WindRiver =
still
supports RPC. Also, the documentation says that RPCGEN does not ship =
with
VxWorks and I could not find one in the Net. Can any of you, using RPC =
in
VxWorks, throw more light?<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Thanks,<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Balaji.R.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


</div>

</body>

</html>

------_=_NextPart_001_01C0272A.8A98150A--


From vxwexplo-errs@csg.lbl.gov  Tue Sep 26 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Tue Sep 26 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Tue Sep 26 04:03:05 PDT 2000

        Subject: Will object files compiled with gcc 2.8.1 link on VxWorks 5.4
        Subject: querry regarding watchdog timers
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: Re: simulator "vxworks -r" question
        Subject: Question about PCI configuration ...
        Subject: Re: Processor synchronization
        Subject: Re: querry regarding watchdog timers
        Subject: Endianess macro's
        Subject: PPC can't write to a misaligned address ?
        Subject: Re: how to convert a virtual address into physical address?
        Subject: Re: Will object files compiled with gcc 2.8.1 link on VxWorks 5.4
        Subject: How do I auto-run my application
        Subject: Re: PPC can't write to a misaligned address ?
        Subject: Re: memShow and stack and heap
        Subject: Re: Question about PCI configuration ...
        Subject: Re: How do I auto-run my application
        Subject: Re: Booting VxWorks using a serial connection: HELP!!!
        Subject: MIPS status register quirkiness???
        Subject: Can virtual function be spawned as task?
        Subject: RPC in VxWorks
        Subject: newbie: Recommended hw 4 Tornado?
        Subject: flash device driver
        Subject: Re: Can virtual function be spawned as task?
        Subject: socket() errno = 0x37
        Subject: Re: linux development environment
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: Re: how to convert a virtual address into physical address?
        Subject: Help with AMD 79C972 END DRIVER
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: Download will not run
        Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
        Subject: Re: Booting VxWorks using a serial connection: HELP!!!
        Subject: Re: newbie: Recommended hw 4 Tornado?
        Subject: Tornado 2 and Windows 2000
        Subject: Re: RPC in VxWorks
        Subject: Re: PPC can't write to a misaligned address ?
        Subject: Problem about DosFS2.0

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Will object files compiled with gcc 2.8.1 link on VxWorks 5.4
Date: Mon, 25 Sep 2000 11:09:39 GMT
From: "Corey Lashua" <corey.lashua@nokia.com>
Organization: Nokia
Message-ID: <TnGz5.10019$AM5.184464@news1.nokia.com>

Hello,
    We are currently using VxWorks 5.4 and have run across a problem in
which we now need to use
gcc version 2.8.1 instead of the normal 2.7.2 that is supplied by VxWorks.
Is there any special trick
to perform in order to run these 2.8.1 binaries on VxWorks 5.4.  I would
imagine that this is possible,
but we have not received much encouragement from any WindRiver
representatives.

                    Any help would be greatly appreciated,
                                                        Corey Lashua



---------------------------

Newsgroups: comp.os.vxworks
Subject: querry regarding watchdog timers
Date: Mon, 25 Sep 2000 18:01:01 +0530
From: "samira" <samira@bell-labs.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <8qngjf$18b@nntpb.cb.lucent.com>

Hi,
I want to know how many maximum watchdog timers can be started and running
at a time on VxWorks.
whatall data structures are used by OS internally to implement these timers
and which is responsible for the limitation?
Any help will be greatly appreciated,
regards,
samira.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Mon, 25 Sep 2000 07:51:14 -0500
From: Greg Willden <gwillden@swri.edu>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <39CF4A42.8523F760@swri.edu>
References: <39CBE636.63CB802C@mindspring.com> <8qlbic0h3o@edrn.newsguy.com>

This is a multi-part message in MIME format.
- --------------80C9B7766CF420F77D8C1C5A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Take a look at the footnote.  Apparently they don't like Motorola's support.

We are using quite a few boards from Synergy Microsystems and have had good
results.  Pretty responsive support as well.

bgove@cspi.com wrote:

> I've been using the Motorola mv2700 board for quite a while and I'd
> be a little curious myself as to what "fatal" flaw you're talking about.
>
> Thanks,
> -Bob
>
> In article <39CBE636.63CB802C@mindspring.com>, Al says...
> >
> >
> >We are currently looking for a new vendor of vme based cpu cards
> >utilizing the ppc arch.  The motorola mvme2700 seems to have the
> >hardware capabilities that we need.  Thus a ppc card similar to
> >the 2700 (without its fatal flaw*) is probably the ideal case.
> >
> >Any suggestions? I would also want to know the prevalence (installation
> >base) of any suggested card, and the reputation of its manufacturer's
> >with regard to post sales support.
> >
> >thanks,
> >
> >-al
> >
> >*: being "supported" by Motorola.

- --------------80C9B7766CF420F77D8C1C5A
Content-Type: text/x-vcard; charset=us-ascii;
 name="gwillden.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Greg Willden
Content-Disposition: attachment;
 filename="gwillden.vcf"

begin:vcard 
n:Willden;Greg
tel;fax:(210) 522-2709
tel;work:(210) 522-6241
x-mozilla-html:FALSE
org:Southwest Research Institute;www.swri.edu
version:2.1
email;internet:gwillden@swri.edu
title:Engineer
adr;quoted-printable:;;6220 Culebra Rd=0D=0A=0D=0A;San Antonio, TX 78238;;;
fn:Greg Willden
end:vcard

- --------------80C9B7766CF420F77D8C1C5A--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: simulator "vxworks -r" question
Date: Mon, 25 Sep 2000 10:02:02 -0700
From: "Steven Szabo" <Steven.Szabo@motorola.com>
Organization: Motorola CIG
Message-ID: <8qnpha$h893@nntp.cig.mot.com>
References: <9dQy5.13850$nk3.655527@newsread03.prod.itd.earthlink.net>

In case the command line is not an option, here is another way:
I think the magic line you want to change is in 01Simulator.win32.tcl:
 [::simulatorLaunch $imageName $pNo $workingDir 30000] \
and the 30000 will be your memory size.  If you don't want to brute force it
you can add code to the showImageDlg procedure (look at the dialog on the
bottom of the file) to prompt you for it.  Right now it seems as if it's
hardcoded on win32 platform and they prompt you only on UNIX.. (look in the
Launch directory for the UNIX implementation)
Let me know how this worked for you!

Steve

thomas marsh <thomas@vivityinc.com> wrote in message
news:9dQy5.13850$nk3.655527@newsread03.prod.itd.earthlink.net...
> hi.. I need to start the vxworks simulator with more memory... someone
said
> that I should use the -r command-line switch.. this works fine if I start
> the simulator from the command line, but I need to start it from the IDE
> using the Tools->Simulator to make it work right (ie start a target server
> for the thing) and I don't know how to configure the tornado IDE to start
> the VxWorks image that I have built (the simulator) with
"VxWorks -r808088"
> instead of  just "VxWorks"
> can anyone help?  please please please?
> -thomas
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Question about PCI configuration ...
Date: Mon, 25 Sep 2000 17:53:18 +0200
From: Pascal LEJEUNE <plejeune@club-internet.fr>
Organization: Club-Internet (France)
Message-ID: <39CF74EE.D5384425@club-internet.fr>
Reply-To: plejeune@club-internet.fr

Hello,

Is it true that pciAutoConfig doesn't work on a x86 target ?
If not, does anyone have a use example ?

What is the best way to configure dynamically a Compact PCI bus on a x86
target ?
Does anyone have a use example ?

Thanks very much !!!


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Processor synchronization
Date: Mon, 25 Sep 2000 09:09:29 -0700
From: "Eric McDaniel" <ericm@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ssuu008vac2v21@corp.supernews.com>
References: <ssfoajec30kd7c@corp.supernews.com> <39CA2BCE.A169238A@ashbysoft.cix.co.uk>

Phil-
Thanks for the reply.

I have read the shared memory section of the VxWorks documentation. In my
case, different CPU types is not the problem - it's different operating
systems.
The Motorola 860 is running VxWorks 5.4, the PC is running Windows NT 4.0.

Is there any way to make these two different operating systems understand
each
others' synchronization mechanisms using shared memory? Or do I need to
start
from scratch and write my own?

"Phil Ashby" <phil@ashbysoft.cix.co.uk> wrote in message
news:39CA2BCE.A169238A@ashbysoft.cix.co.uk...
> The normal shared memory drivers rely on an atomic read-modify-write bus
> cycle (which is normally available on VME or PCI) to manage an access
control
> semaphore.. To avoid having to poll this semaphore, the drivers also
support
> 'mailbox' interrupts (I've only really played with VME systems for this
bit)
> to notify the VxWorks CPU that memory has been modified.
>
> Check out the detailed descriptions of the shared memory networking in the
> programmers guide(s).
>
> You should be able to make this stuff work between different CPU types....
>
> Best of luck :)
>
> Phil.
>
> Eric McDaniel wrote:
> >
> > I have a PC system running Windows NT as my host system, with an MPC860
> > running VxWorks on a coprocessor card. I can map the card's memory into
the
> > host memory space, no problem there.
> >
> > However, I'm not sure how to synchronize memory accesses between the
host
> > and target. VxWorks does have mechanisms for synchronizing across
multiple
> > processors, but they assume that both processors are of the same type
and
> > that both are running the same OS. Neither is true in my case.
> >
> > Is there some way I can use POSIX semaphores or message queues? Or
shared
> > memory semaphores? Do I need to write my own synchronization routines? I
can
> > do that, but I'd prefer to use something that is already debugged and
> > optimized.
> >
> > Any suggestions?
> >
> > Thanks.
> >
> > Eric McDaniel
> > ericm@vertical.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: querry regarding watchdog timers
Date: Mon, 25 Sep 2000 15:55:37 GMT
From: bwedding@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qnshe$on3$1@nnrp1.deja.com>
References: <8qngjf$18b@nntpb.cb.lucent.com>

In article <8qngjf$18b@nntpb.cb.lucent.com>,
  "samira" <samira@bell-labs.com> wrote:

> I want to know how many maximum watchdog timers can be started and
> running at a time on VxWorks.

As many as you have memory for.  They all use the system timer tick for
timing.

> what all data structures are used by OS internally to implement these
> timers and which is responsible for the limitation?

Look at struct wdog in wdlibp.h.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Endianess macro's
Date: Mon, 25 Sep 2000 16:37:03 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qnuvc$rp8$1@nnrp1.deja.com>

hi folks,

Are there any equivalents to the following macros in VxWorks??
These macros are found in linux.

include/linux/byteorder/big_endian.h , #define __cpu_to_le16(x) __swab16
((x))


include/linux/byteorder/little_endian.h ,#define __cpu_to_le16(x)
((__u16)(x))

Regards,
seshadri


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: PPC can't write to a misaligned address ?
Date: Mon, 25 Sep 2000 17:50:33 +0100
From: <Jason Edwards>
Organization: Keyspan Technology
Message-ID: <39cf828c@runswick.octacon.co.uk>
Reply-To: "Jason Edwards" <jason@keyspan.co.uk-remove->

Hi,

I'm having a problem writing 4 byte values ( specifically floats ) to
misaligned addresses using a MVME-2700 card ( PPC604 ) , Tornado 2, VxWorks
5.4.  This would not normally be a big problem, except I need to write to
pre-defined addresses on an I/O card and I can't choose to have the float
values on 4 byte boundaries.

I can write integer values OK, irrespective of whether the address is 1,2 or
4 byte aligned, but I get an alignment exception whenever I try to write a
float value to an address that isn't 4 bye aligned.

I've cut and pasted some output from my console demonstrating the problem.
In
this example I created a variable in the shell  ( just to get a legitimate
address, since you don't have access to my hardware ) then I try to write a
float value to this address with various offsets.  You can see that I get an
alignment exception if I try to write to an address that isn't 4 byte
aligned.


Here's the console output;

proc0-> x=0
new symbol "x" added to symbol table.
x = 0x1a18420: value = 0 = 0x0

** Write to 4 byte aligned address - No problem**
proc0-> vp = 0x1a18420
new symbol "vp" added to symbol table.
vp = 0x1a183f0: value = 27362336 = 0x1a18420 = x
proc0-> *vp=(float)1.5
x = 0x1a18420: value = 1.5

** Write to misaligned address - Alignment exception occurs **

proc0-> vp = 0x1a18421
vp = 0x1a183f0: value = 27362337 = 0x1a18421 = x + 0x1
proc0-> *vp=(float)1.5

alignment
Exception current instruction address: 0x001ebf44
Machine Status Register: 0x0000b030
Data Access Register: 0x01a18421
Condition Register: 0x44400040
Data storage interrupt Register: 0x00002803

1c9b8c vxTaskEntry    +60 : shell ()
18da74 shell          +18c: 18daa0 ()
18dcc4 shell          +3dc: execute ()
18de48 execute        +d8 : yyparse ()
1ef10c yyparse        +1364: 1ebe3c ()
shell restarted.


Windriver claim the PowerPC memory controller and instruction set are not
intelligent enough to write long integers to misaligned addresses, and will
usually cause a fault.  However, for certain configurations, it will cause
bad data instead of a fault.

Does this mean it is *** IMPOSSIBLE *** to atomically write a float value to
a misaligned address ????

Thanks

- --

Jason Edwards

Technical Consultant
Keyspan Technology Ltd

Web : www.keyspan.co.uk
E-Mail : jason@keyspan-nospam.co.uk

Remove -nospam to reply to me personally



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to convert a virtual address into physical address?
Date: Mon, 25 Sep 2000 16:55:18 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qo01b$t6m$1@nnrp1.deja.com>
References: <8qmtgo$9dj$1@schbbs.mot.com>

Hi,

> Is it necessary to convert virtual address into physical address in
vxworks,
> as for malloc() or memalign()?

Not in most cases for VxWorks 5.x. There are some boards out there that
require it though, and for device drivers that need to set up DMA
transfers it is strongly recommended. To aid this, there are two macros
that drivers can use:

CACHE_DMA_VIRT_TO_PHYS
CACHE_DMA_PHYS_TO_VIRT

These are described in the Programmer's Guide (around the area that
talks about writing your own device drivers), and their definitions are
in cacheLib.h. You should note that converting a physical address to a
virtual address may not be very deterministic (it usually involves a
linear search of the translation tables looking for a match). For this
reason, it is best to avoid needing this translation. The virtual to
physical translation will read the MMU's tables and is thus more
predictable.

HTH,

John...


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Will object files compiled with gcc 2.8.1 link on VxWorks 5.4
Date: Mon, 25 Sep 2000 17:07:53 GMT
From: John Fusco <john_fusco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qo0oo$u0i$1@nnrp1.deja.com>
References: <TnGz5.10019$AM5.184464@news1.nokia.com>

Techically, as long as you build GCC to use EABI, it should work.

You will also need to use the WRS include files from
$WIND_BASE/target/h.  There could be compatibility issues here.

In article <TnGz5.10019$AM5.184464@news1.nokia.com>,
  "Corey Lashua" <corey.lashua@nokia.com> wrote:
> Hello,
>     We are currently using VxWorks 5.4 and have run across a problem
in
> which we now need to use
> gcc version 2.8.1 instead of the normal 2.7.2 that is supplied by
VxWorks.
> Is there any special trick
> to perform in order to run these 2.8.1 binaries on VxWorks 5.4.  I
would
> imagine that this is possible,
> but we have not received much encouragement from any WindRiver
> representatives.
>
>                     Any help would be greatly appreciated,
>                                                         Corey Lashua
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: How do I auto-run my application
Date: Mon, 25 Sep 2000 13:30:38 -0400
From: "Granum, Allen [CAR:CF81:EXCH]" <agranum@americasm01.nt.com>
Organization: Nortel Networks
Message-ID: <39CF8BBE.C6AD76C1@americasm01.nt.com>


I've got a ROM based vxWorks image which also contains an application
which I would like to have start up automagically as soon as vx is up
and running.

Can anyone guide me as to how to do this?

Thanks,

- --
Allen Granum
Nortel Networks
Wireless Internet
BSP Development Team
Email:  agranum@nortelnetworks.com
Phone:  (613)763-4324




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PPC can't write to a misaligned address ?
Date: Mon, 25 Sep 2000 18:18:58 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <39CF980F.5B035E86@earthlink.com>
References: <39cf828c@runswick.octacon.co.uk>

Different processors in the PPC family handle misaligned operands differently.
For example, the Motorola PPC603 is able to access misaligned integer operands
fine, but the IBM PPC403 crashes with a data access exception. I'm not sure if
the 603 crashes when you use floating point operands, as you mention the 604
does. A simple workaround to this problem could be to move the floating point
operand into one of the general purpose integer registers, and then store it as
an integer...

"Jason Edwards" wrote:

> Hi,
>
> I'm having a problem writing 4 byte values ( specifically floats ) to
> misaligned addresses using a MVME-2700 card ( PPC604 ) , Tornado 2, VxWorks
> 5.4.  This would not normally be a big problem, except I need to write to
> pre-defined addresses on an I/O card and I can't choose to have the float
> values on 4 byte boundaries.
>
> I can write integer values OK, irrespective of whether the address is 1,2 or
> 4 byte aligned, but I get an alignment exception whenever I try to write a
> float value to an address that isn't 4 bye aligned.
>
> I've cut and pasted some output from my console demonstrating the problem.
> In
> this example I created a variable in the shell  ( just to get a legitimate
> address, since you don't have access to my hardware ) then I try to write a
> float value to this address with various offsets.  You can see that I get an
> alignment exception if I try to write to an address that isn't 4 byte
> aligned.
>
> Here's the console output;
>
> proc0-> x=0
> new symbol "x" added to symbol table.
> x = 0x1a18420: value = 0 = 0x0
>
> ** Write to 4 byte aligned address - No problem**
> proc0-> vp = 0x1a18420
> new symbol "vp" added to symbol table.
> vp = 0x1a183f0: value = 27362336 = 0x1a18420 = x
> proc0-> *vp=(float)1.5
> x = 0x1a18420: value = 1.5
>
> ** Write to misaligned address - Alignment exception occurs **
>
> proc0-> vp = 0x1a18421
> vp = 0x1a183f0: value = 27362337 = 0x1a18421 = x + 0x1
> proc0-> *vp=(float)1.5
>
> alignment
> Exception current instruction address: 0x001ebf44
> Machine Status Register: 0x0000b030
> Data Access Register: 0x01a18421
> Condition Register: 0x44400040
> Data storage interrupt Register: 0x00002803
>
> 1c9b8c vxTaskEntry    +60 : shell ()
> 18da74 shell          +18c: 18daa0 ()
> 18dcc4 shell          +3dc: execute ()
> 18de48 execute        +d8 : yyparse ()
> 1ef10c yyparse        +1364: 1ebe3c ()
> shell restarted.
>
> Windriver claim the PowerPC memory controller and instruction set are not
> intelligent enough to write long integers to misaligned addresses, and will
> usually cause a fault.  However, for certain configurations, it will cause
> bad data instead of a fault.
>
> Does this mean it is *** IMPOSSIBLE *** to atomically write a float value to
> a misaligned address ????
>
> Thanks
>
> --
>
> Jason Edwards
>
> Technical Consultant
> Keyspan Technology Ltd
>
> Web : www.keyspan.co.uk
> E-Mail : jason@keyspan-nospam.co.uk
>
> Remove -nospam to reply to me personally


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: memShow and stack and heap
Date: Mon, 25 Sep 2000 14:28:30 -0400
From: "Everett Schnetzer" <Everett.Schnetzer@marconi.com>
Organization: Marconi
Message-ID: <8qo581$g8l$1@newsfeed.pit.comms.marconi.com>
References: <tGOy5.6512$gi1.127186@news.magma.ca>

The stack shouldn't enter into the picture. The function memShow only refers
to the heap. What you're seeing might be memShow using the heap--perhaps
indirectly through the I/O interface. In older versions of vxWorks I saw
network I/O steal memory that wouldn't be free'd until much later. I don't
know if this is true in the more current versions.

Jim <jgdon@undergrad.math.uwaterloo.ca> wrote in message
news:tGOy5.6512$gi1.127186@news.magma.ca...
> Hello all,
>
> Does "memShow"only show what "malloc's" or "new'd" data has been allocated
> ... or does it some how incorporate stack information as well?
>
> In the simple program
> main(){
>     memshow
>     for(...){
>     memshow
>     ...
>     }
> }
>
> I noticed it seemed to allocate data when it entered the for loop ... I'd
> assume this means that the stack grows into the heap space ?
>
> Any how if you have any insight into this it would be very much
appreciated
> ...
>
> Cheers
> Jim
>
> ps I am using memShow before and after a programme to discover a memory
leak
> in the programme ... if you have any other techniques for this you would
> like to share that would also be very much appreciated.
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Question about PCI configuration ...
Date: Mon, 25 Sep 2000 19:44:39 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39CF9D17.56CB55C7@agilent.com>
References: <39CF74EE.D5384425@club-internet.fr>

pciAutoConfig is not supported by WindRiver on x86 targets because it's not
needed - the PCI BIOS (part of the BIOS) dynamically configures all devices and
bridges on your target before it boots. Then you just use pciFindDevice() (or
pciFindClass()) in your driver to search through the bus hierarchy and find your
device/devices.

Make sure you've got the PCI show routines included - add #define
INCLUDE_SHOW_ROUTINES to your BSP's config.h. For example,
pciHeaderShow(bus,device,func) dumps the PCI configuration header. If you want
better PCI info though, boot DOS from a floppy with shell output to COM1: and
use Ralf Brown's PCICFG utility:
http://www.cs.cmu.edu/~ralf/pub-files/rbpci119.zip.

I haven't used this directly but here goes a very basic example, looking for the
first Intel 82557 LAN controller. See BSP Reference, sysLib [Pentium].

int   bus,device,func;
unsigned  baseAddress;

if (pciFindDevice (0x8086, 0x1229, 1, &bus, &device, &func) == OK)
{
    pciConfigInLong (bus, device, func, PCI_CFG_BASE_ADDRESS_0, &baseAddress);
    /* Store base address */
    /* etc */
}

If you have multiple devices, you can also call pciFindDevice() in a loop with
rising index numbers until it returns ERROR.

James Marshall.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How do I auto-run my application
Date: 25 Sep 2000 18:50:45 GMT
From: Johan Borkhuis <borkhuis@lucent.com>
Organization: Lucent Technologies, Nieuwegein NL
Message-ID: <8qo6q5$ert$1@news1.xs4all.nl>
References: <39CF8BBE.C6AD76C1@americasm01.nt.com>

Granum, Allen [CAR:CF81:EXCH] <agranum@americasm01.nt.com> wrote:

: I've got a ROM based vxWorks image which also contains an application
: which I would like to have start up automagically as soon as vx is up
: and running.

: Can anyone guide me as to how to do this?

Add your startup function to usrAppInit.c.

Groeten,
	Johan

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

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Booting VxWorks using a serial connection: HELP!!!
Date: Mon, 25 Sep 2000 14:52:10 -0400
From: "Granum, Allen [CAR:CF81:EXCH]" <agranum@americasm01.nt.com>
Organization: Nortel Networks
Message-ID: <39CF9EDA.3E82CDA5@americasm01.nt.com>
References: <8qd2c8$93v$2@slb6.atl.mindspring.net>


When you find out, could you let me know. I have to perform the same task on my
board.

Allen Granum
agranum@nortelnetworks.com


Said Belhadj wrote:

> Hi, all
> I have a working VxWorks boot rom working with a Ethernet connection
> between the target and the host.
> I have been trying to make a VxWorks boot rom with a serial connection
> because my prototype will need only a serial connection in bringing up the
> whole system.
> I looked in usr_root () function and also
> In \mytarget\config.h. I see a #define DEFAULT_BOOT_LINE that defines
> a "lanpci(0,0):vxWorks h= .... e= ....   "
> I was told that I can replace the lanpci(0,0) with the plain
> "tsfs(0,0) filename <options>"
> I also enabled some other COM and WDM # defines to enable both serial ports.
> I tried this in config.h and burned a Flash but when the system boots up I
> see on
> COM1 that there is an boot line error on "tsfs(0,0) .....".
> Has anyone done this before on Tornado 2.1 , please give me some input

- --
Allen Granum
Nortel Networks
Wireless Internet
BSP Development Team
Email:  agranum@nortelnetworks.com
Phone:  (613)763-4324




---------------------------

Newsgroups: comp.os.vxworks
Subject: MIPS status register quirkiness???
Date: Mon, 25 Sep 2000 20:09:38 GMT
From: "Matt Osminer" <mosminer@vivityinc.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <6iOz5.19633$nk3.942768@newsread03.prod.itd.earthlink.net>

We're using a MIPS R4000 core processor from IDT with VxWorks.  We have some
custom hardware we've tied into INT2.  Shortly before the root task is
kicked off we make a call to intSRSet( 0x1000bb01 ) to enable INT2
exceptions.

On readback of the SR we find that the bit was never set and the register
still reads 0x1000ab01.  We've gone in with our EJTAG and directly set the
SR with some very wild results.  intSRGet returns 0x1000ab01 through the
serial port, but 0x1000bb01 over the Ethernet.  If you do a task info dump
for each task in the system the status register is indeed listed differently
for the serial and net tasks contexts.

We have also hacked an SR get/set routine into the VxWorks Boot region so we
can play with the register before VxWorks gets downloaded and executed.  In
this case we see normal behavior of the register.  Once VxWorks is allowed
to load and run we see the same behavior as with the EJTAG case.

We've doublechecked to make sure only one inSRSet call exists, which is true
and the disassemly shows that the call simply reads the SR, and writes the
new value to the SR and returns as it should.

It appears that some routine somewhere in the OS startup is stomping on the
SR.  Has anybody seen this problem before and have a solution?

Thanks!




---------------------------

Newsgroups: comp.os.vxworks
Subject: Can virtual function be spawned as task?
Date: Mon, 25 Sep 2000 22:07:12 +0100
From: Kees van der Bent <kvdbent@mail.com>
Organization: Home Attick Projects
Message-ID: <39CFBE80.BE9733E2@mail.com>

What are the limitations for a task entry point in C++?



---------------------------

Newsgroups: comp.os.vxworks
Subject: RPC in VxWorks
Date: Mon, 25 Sep 2000 15:55:18 -0400
From: Balaji <balaji@paragon-networks.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qobne$glf$1@overload.lbl.gov>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C0272A.8A98150A
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,
 
I am planning to use the RPC facility in VxWorks. But there is not enough
documentation even to get started. I just wonder if WindRiver still supports
RPC. Also, the documentation says that RPCGEN does not ship with VxWorks and
I could not find one in the Net. Can any of you, using RPC in VxWorks, throw
more light?
 
Thanks,
Balaji.R.
 
 

- ------_=_NextPart_001_01C0272A.8A98150A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C02709.0AA8D6C0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle15
	{mso-style-type:personal-compose;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
- -->
</style>
</head>

<body lang=3DEN-US style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hello,<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I am planning to use the RPC facility in VxWorks. But there is =
not
enough documentation even to get started. I just wonder if WindRiver =
still
supports RPC. Also, the documentation says that RPCGEN does not ship =
with
VxWorks and I could not find one in the Net. Can any of you, using RPC =
in
VxWorks, throw more light?<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Thanks,<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Balaji.R.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=


</div>

</body>

</html>

- ------_=_NextPart_001_01C0272A.8A98150A--

---------------------------

Newsgroups: comp.os.vxworks
Subject: newbie: Recommended hw 4 Tornado?
Date: Mon, 25 Sep 2000 13:56:46 -0700
From: edi Zaid <ediaz72@hotmail.com>
Organization: Apple Computer, Inc.
Message-ID: <B5F50A1E.160%ediaz72@hotmail.com>

is there a recommended hardware setup/config (PC) for the tornado
environment?  (vendor, hw config, etc..).

thanks.


---------------------------

Newsgroups: comp.os.vxworks
Subject: flash device driver
Date: Mon, 25 Sep 2000 17:05:46 -0400
From: Sunil Joseph <suniljoseph@lucent.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <39CFBE2A.10372BC9@lucent.com>

Folks,
	Does anyone know where I could get access to source code for the drivers of
the  intel StrataFlash part 28F640J3A.? 
Thanks

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Can virtual function be spawned as task?
Date: Mon, 25 Sep 2000 23:48:28 +0100
From: molochai <molochai@vapour-trail.demon.co.uk>
Message-ID: <7619c934a%molochai@vapour-trail.demon.co.uk>
References: <39CFBE80.BE9733E2@mail.com>

In message <39CFBE80.BE9733E2@mail.com>
          Kees van der Bent <kvdbent@mail.com> wrote:

> What are the limitations for a task entry point in C++?
> 

All C++ member functions - both virtual and non-virtual (other than ones
declared static) require both a pointer to an object and code for function
call. A C++ implementation hides this detail away normally.

A VxWorks task entry point is a pointer to a function with C linkage
(therefore only has a pointer to the code, and not an object pointer). 

Despite what some have claimed here previously, a cast between a C++ class
member function pointer and a C-style function pointer with an object pointer
as the first argument (or worse.. assuming the object pointer is going to
automagically appear out of thin air) is hightly unsafe and non-portable.

So the question has to be: What are you trying to achieve by calling a
virtual function with (I assume) the aforementioned dirty cast? 

You could take the address of an individual class' implementation of a
virtual function, but in doing so the compiler doesn't generate code to use
the vtable so all of the advantages of a virtual function are lost. You could
also take the address of the function without qualification and what you get
would depend on where you did it. This is also a risky practice and doubtless
doesn't give you what you want.

So in short the answer to your question is therefore that you cannot
meaningully call a virtual function *directly* as a task entry pointer.

If you want to call a virtual function from a task entry point, this is the
correct and absolutely safe way to do so:

/* Pass MyClass::run as the function pointer in taskSpawn(), and a pointer to
the object as the first task argument (cast with an reinterpret_cast to int).
*/

static void MyClass::run(int Object)
{ 
    MyClass *pMyClass = reinterpret_cast<MyClass *>(Object);
    pMyClass->myVirtualFuncion();
}




---------------------------

Newsgroups: comp.os.vxworks
Subject: socket() errno = 0x37
Date: Tue, 26 Sep 2000 08:58:14 +0800
From: "harvey" <harvey_tang@deja.com>
Organization: The news server of Changzhou TeleCom
Message-ID: <8qorvv$26mk$1@news.cz.js.cn>

It is error to call socket(),errno=0x37.
If you know the reason,pls tell me.
Thanx.





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: linux development environment
Date: Mon, 25 Sep 2000 18:38:24 -0700
From: "Louis Meadows" <meadows1@ix.netcom.com>
Organization: SBC Internet Services
Message-ID: <V2Tz5.265$cI2.113323@news.pacbell.net>
References: <8qbb6h$kk19@nntp.cig.mot.com> <39C93D49.6C6A9349@fnc.fujitsu.com> <y3vy5.144$2h.64019@news.pacbell.net> <39CA9142.53F772B3@fnc.fujitsu.com>

Don't forget Embedded Systems Conference starting tomorrow in San Jose !!
Doors open at high noon !!
"Steven Deans" <steven.deans@fnc.fujitsu.com> wrote in message
news:39CA9142.53F772B3@fnc.fujitsu.com...
> Louis Meadows wrote:
>
> > Lineo, Monta Visa, LynuxWorks just to name a few
>
> Do these provide an IDE?

You can use Codewarrior for Hardhat Linux to drive egcc & egdb from these
companies today.  Monta Vista purchased a large number of copies for down
stream development.

> Are they hard real time?

How hard is hard ??  Check out  www.lineo.com for a writeup on how this is
done. I was impressed with what I saw at Linux world. BTW I saw a couple of
the WindRiver guys in the front row for this talk.   Needless to say Lineo
has a great way of taking care of hard real time requirements.

>Have they had a full featured
> binary version available for a significant number of hosts and targets for
more
> than a year?

Embedded development with Linux is in it's early stages, but people are
doing it in growing numbers. Usual Targets I am seeing are Coldfire and MPC
860 at this point.

Do they have the sales to be considered major?

The sales model is not clear since everything is downloable from the
websites.   It's perhaps in services that these companies make the money in
the long run as Cygnus did for so long before being bought by Redhat.  The
bottom line is that Linux is here today for a growing number of processors.

>
> Does CodeWarrior work on a SUN?...with Solaris?

I thought we were talking about linux. ;-)  For now our main linux tool
hosting is on x86 boxes running Redhat Linux.   For details on Solaris
hosted embedded development tools see www.codewarrior.com --
>
> Steven
>
> >
> >
> > Louis Meadows ( rat125@email.sps.mot.com )
> > Metrowerks, A Motorola Company
> > Western Region Major Account Sales
> > 10121 Miller Ave, Suite 202 Cupertino, CA 95014
> > (831) 459 7673 direct (831) 459 9316 fax
> >
> > We develop, market and support CodeWarrior development solutions for
> > desktop, embedded platforms and game consoles. Specifically, we ship
tools
> > for PlayStation2, Dolphin, Dreamcast, Palm, Macintosh, Windows, and a
> > variety of embedded microprocessors.
> >
> > In September of 1999 Metrowerks, founded in 1985, became an
independently
> > operating subsidiary of Motorola's Semiconductor Products Sector in
1999. As
> > the world's #1 producer of embedded processors, Motorola's Semiconductor
> > Products Sector offers multiple DigitalDNA(tm) technologies which enable
its
> > customers to create "smart" products and new business opportunities in
the
> > networking and computing, wireless communications, transportation, and
> > imaging and entertainment markets.
> >
> > CodeWarrior's cross-platform tools support assembly, C, C++, and Java
> > programming languages.  CodeWarrior is used by more than 200,000
developers
> > in 80 countries to create platforms and applications for both desktop
and
> > embedded systems from a single, unique Integrated Development
Environment.
> >
> > Visit www.metrowerks.com/embedded for more information on CodeWarrior
for
> > embedded!
> >
> >
============================================================================
> > ==========
> > Inside Sales - Lee Exum : lexum@metrowerks.com (512) 997-4793
> > FAE -        Jeff Barth : Jbarth@metrowerks.com (408) 343-3744 x202
> > "Speed is fine but accuracy is final" - Wyatt Earp
> >
> > "Steven Deans" <steven.deans@fnc.fujitsu.com> wrote in message
> > news:39C93D49.6C6A9349@fnc.fujitsu.com...
> > > Jim Robinson wrote:
> > >
> > > > Is there a linux hosted dev environment for vxworks? I looked at
wrs.com
> > > > and did a search, but came up with nothing. If this doesn't exist,
isn't
> > > > this a fairly major omission?
> > > >
> > > > Thanks
> > > >
> > > > Jim Robinson
> > >
> > > Which other MAJOR RTOS venders have a full dev environment hosted on
linux
> > > across most major dev hosts (SUN, PC, HP...)? Has it been available
for
> > > over 6 months?
> > >
> > > Steven
> > >
> > >
> > >
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Tue, 26 Sep 2000 01:56:19 GMT
From: Bill Dennen <william.dennen@motorola.com>
Organization: Motorola Computer Group
Message-ID: <39CFFFCA.4EAC5D2B@motorola.com>
References: <39CBE636.63CB802C@mindspring.com> <8qlbic0h3o@edrn.newsguy.com>

bgove@cspi.com wrote:
> 
> I've been using the Motorola mv2700 board for quite a while and I'd
> be a little curious myself as to what "fatal" flaw you're talking about.
> 
> Thanks,
> -Bob

so would I ...

> 
> In article <39CBE636.63CB802C@mindspring.com>, Al says...
> >
> >
> >We are currently looking for a new vendor of vme based cpu cards
> >utilizing the ppc arch.  The motorola mvme2700 seems to have the
> >hardware capabilities that we need.  Thus a ppc card similar to
> >the 2700 (without its fatal flaw*) is probably the ideal case.
> >
> >Any suggestions? I would also want to know the prevalence (installation
> >base) of any suggested card, and the reputation of its manufacturer's
> >with regard to post sales support.
> >
> >thanks,
> >
> >-al
> >
> >*: being "supported" by Motorola.

- -- 
>@<
Bill Dennen					|  We have met the enemy,
Motorola Computer Group, TOPAZ			|   and they is us ...
	william.dennen@motorola.com		|	-- Pogo

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to convert a virtual address into physical address?
Date: Tue, 26 Sep 2000 03:37:57 +0100
From: "White Weng" <whitew@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8qp26f$smp$1@schbbs.mot.com>
References: <8qmtgo$9dj$1@schbbs.mot.com> <8qo01b$t6m$1@nnrp1.deja.com>

As for cacheDmaMalloc(), Address conversion should be used. But as for
malloc() and memalign(),
it is necessary to handle a address conversion before used by devices?

Thanks a lot!

White Weng
john_94501@my-deja.com wrote in message <8qo01b$t6m$1@nnrp1.deja.com>...
>Hi,
>
>> Is it necessary to convert virtual address into physical address in
>vxworks,
>> as for malloc() or memalign()?
>
>Not in most cases for VxWorks 5.x. There are some boards out there that
>require it though, and for device drivers that need to set up DMA
>transfers it is strongly recommended. To aid this, there are two macros
>that drivers can use:
>
>CACHE_DMA_VIRT_TO_PHYS
>CACHE_DMA_PHYS_TO_VIRT
>
>These are described in the Programmer's Guide (around the area that
>talks about writing your own device drivers), and their definitions are
>in cacheLib.h. You should note that converting a physical address to a
>virtual address may not be very deterministic (it usually involves a
>linear search of the translation tables looking for a match). For this
>reason, it is best to avoid needing this translation. The virtual to
>physical translation will read the MMU's tables and is thus more
>predictable.
>
>HTH,
>
>John...
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Help with AMD 79C972 END DRIVER
Date: Tue, 26 Sep 2000 05:04:53 GMT
From: Glen Cornell <glenco@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qpapc$g58$1@nnrp1.deja.com>

I have tried to include the line:
#define INCLUDE_LN_97X_END      /* AMD 79C972 END DRIVER */
in my pc486/config.h, but that doesn't appear to be enough to get the
thing working.

Does anyone know how I can get this going?

thanks,
glen


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Tue, 26 Sep 2000 02:11:59 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39D03E2F.85BDA0D2@mindspring.com>
References: <39CBE636.63CB802C@mindspring.com>

I wish you guys would read... that 4 people now that did not
pay attention.... I said:

> hardware capabilities that we need.  Thus a ppc card similar to
> the 2700 (without its fatal flaw*) is probably the ideal case.

Do you see the asterisk after the word "flaw"... now look at the 
bottom of the post where footnotes go...

> -al
> 
> *: being "supported" by Motorola.

geeeeze......

Technically the card is very nice.  The support (if you
can call being given the run around for 6 months support) is
abysmal.  Thank god for this news group.... as well as a few
nice tech people at moto who gave me some "unofficial" support.

We have dropped plans to purchase ~ $300,000 of these cards in
the immediate future because of the lousy "official" support...

We are having a very serious internal debate as to whether the 
installation base is enough of a plus to offset the nonexistent 
support and just plain lousy service and treatment we have 
received.  I am in the "walk" camp and am looking at 2700 like
card with support mechanisms that are not totally dysfunctional
and with a vendor who stands behind his representations.

The above is the short version.  It is actually a lot worse then 
described.  

Now, don't you guys wish you had seen the footnote and not
ask?

Then again, I thought Moto would see the absurdity of treating
a customer (U.S. Air Force / TRW partnership) so shabbily some
4-5 months ago and fix the problem... so I obviously have 
unrealistic expectations.


  -al (why did I waste 40K on Motorola) johnston

---------------------------

Newsgroups: comp.os.vxworks
Subject: Download will not run
Date: Tue, 26 Sep 2000 08:24:19 +0200
From: Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no>
Organization: Nextra Public Access
Message-ID: <39D04112.4B8FE442@scanmar.no>

Hi,

I've got a problem with a downloadable application. My target is
pcPentium and I'm using Tornado-II.

I download my application to the target, and use the lkup function to
see that my program entry point is in the symbol table, but when I try
to call it from the shell I got "undefined symbol"

What's up??

Session:
- -> ld < splashApp.out
value = 63393772 = 0x3c74fec = splashApp.out_bss + 0x8
- -> lkup "_splash"
splash(char *)    0x03c741e4 text (splashApp.out)
value = 0 = 0x0
- ->sp _splash
undefined symbol: _splash



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: wanted: info on vme cpu vendor for mvme2700 like card.
Date: Tue, 26 Sep 2000 02:22:32 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39D040A8.B22C0520@mindspring.com>
References: <39CBE636.63CB802C@mindspring.com> <8qlbic0h3o@edrn.newsguy.com> <39CFFFCA.4EAC5D2B@motorola.com>


> so would I ...

I posted a reply to your inquire in the group... 
but I can not resist your tag  line....


> Bill Dennen                                     |  We have met the enemy,
> Motorola Computer Group, TOPAZ                  |   and they is us ...
>         william.dennen@motorola.com             |       -- Pogo

Pogo.... Now THAT is very appropriate... I guess it would be rude to
ask if that was motorola support channel's mission statement... -g-

See, I was nice... I posted that privet. Guess I could have been nicer
and kept my mouth shut.  sorry.

I feel better now.

I think I am as @$#'d about this as I am because I really like the 
card.  But I can hardly go to my two star and tell him I can 
support his mission `cause I have tech support (exclusively) 
from an internet news group.  That would get me fired... Might 
even get me shot!

- -al

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Booting VxWorks using a serial connection: HELP!!!
Date: Tue, 26 Sep 2000 06:51:11 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <zHXz5.249614$i5.3403801@news1.frmt1.sfba.home.com>
References: <8qd2c8$93v$2@slb6.atl.mindspring.net> <39CF9EDA.3E82CDA5@americasm01.nt.com>

Try using com2 for the data link and com1 for the shell.

paul

In article <39CF9EDA.3E82CDA5@americasm01.nt.com>, "Granum, Allen 
[CAR:CF81:EXCH]" <agranum@americasm01.nt.com> wrote:
>
>When you find out, could you let me know. I have to perform the same task on my
>board.
>
>Allen Granum
>agranum@nortelnetworks.com
>
>
>Said Belhadj wrote:
>
>> Hi, all
>> I have a working VxWorks boot rom working with a Ethernet connection
>> between the target and the host.
>> I have been trying to make a VxWorks boot rom with a serial connection
>> because my prototype will need only a serial connection in bringing up the
>> whole system.
>> I looked in usr_root () function and also
>> In \mytarget\config.h. I see a #define DEFAULT_BOOT_LINE that defines
>> a "lanpci(0,0):vxWorks h= .... e= ....   "
>> I was told that I can replace the lanpci(0,0) with the plain
>> "tsfs(0,0) filename <options>"
>> I also enabled some other COM and WDM # defines to enable both serial ports.
>> I tried this in config.h and burned a Flash but when the system boots up I
>> see on
>> COM1 that there is an boot line error on "tsfs(0,0) .....".
>> Has anyone done this before on Tornado 2.1 , please give me some input
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: newbie: Recommended hw 4 Tornado?
Date: Tue, 26 Sep 2000 06:58:19 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <fOXz5.249633$i5.3403801@news1.frmt1.sfba.home.com>
References: <B5F50A1E.160%ediaz72@hotmail.com>

Any recomendation will be out of date by now. I use a Dell 500MHz PIII with 
128Mb RAM and 20Gb disk. No problems so far, other than NT using a vast chunk 
of RAM... for what? I used a PII 266 before that, still worked OK. Entry level 
machines are fine these days so long as they have plenty of RAM, 96 works but 
64 doesn't. A good monitor seems more important than anything else (17" is 
bare minimum).

paul

In article <B5F50A1E.160%ediaz72@hotmail.com>, edi Zaid <ediaz72@hotmail.com> 
wrote:
>is there a recommended hardware setup/config (PC) for the tornado
>environment?  (vendor, hw config, etc..).
>
>thanks.
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Tornado 2 and Windows 2000
Date: Tue, 26 Sep 2000 07:35:31 GMT
From: alex__t@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qpjk2$qe6$1@nnrp1.deja.com>

Hello All.

I am newbie in the Tornado/VxWorks and have a problem
with Tornado under Win2000 - it does not work properly!
(for example TCL doen dot work, e.t.c.)

Does anybody know how to fix it?
Or should I return to WinNT 4?

Thanks in advance.

Alexey





Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: RPC in VxWorks
Date: Tue, 26 Sep 2000 07:40:38 GMT
From: egluska@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qpjtk$qo7$1@nnrp1.deja.com>
References: <8qobne$glf$1@overload.lbl.gov>

Look under target\unsupported\rpc4.0. There are sources there of RPC
server, client and rpcgen. It needs some hacking to use it under
vxWorks. The rpcgen also generates non-ansi code, so you may have
to modify compilation flags or modify rpcgen itself.

Eran Gluska

In article <8qobne$glf$1@overload.lbl.gov>,
  Balaji <balaji@paragon-networks.com> wrote:
> This message is in MIME format. Since your mail reader does not
understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C0272A.8A98150A
> Content-Type: text/plain;
> 	charset="iso-8859-1"
>
> Hello,
>
> I am planning to use the RPC facility in VxWorks. But there is not
enough
> documentation even to get started. I just wonder if WindRiver still
supports
> RPC. Also, the documentation says that RPCGEN does not ship with
VxWorks and
> I could not find one in the Net. Can any of you, using RPC in
VxWorks, throw
> more light?
>
> Thanks,
> Balaji.R.
>
> ------_=_NextPart_001_01C0272A.8A98150A
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns=3D"http://www.w3.org/TR/REC-html40">
>
> <head>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
>
> <meta name=3DProgId content=3DWord.Document>
> <meta name=3DGenerator content=3D"Microsoft Word 9">
> <meta name=3DOriginator content=3D"Microsoft Word 9">
> <link rel=3DFile-List href=3D"cid:filelist.xml@01C02709.0AA8D6C0">
> <!--[if gte mso 9]><xml>
>  <o:OfficeDocumentSettings>
>   <o:DoNotRelyOnCSS/>
>  </o:OfficeDocumentSettings>
> </xml><![endif]--><!--[if gte mso 9]><xml>
>  <w:WordDocument>
>   <w:View>Normal</w:View>
>   <w:Zoom>0</w:Zoom>
>   <w:DocumentKind>DocumentEmail</w:DocumentKind>
>   <w:EnvelopeVis/>
>  </w:WordDocument>
> </xml><![endif]-->
> <style>
> <!--
>  /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> 	{mso-style-parent:"";
> 	margin:0in;
> 	margin-bottom:.0001pt;
> 	mso-pagination:widow-orphan;
> 	font-size:12.0pt;
> 	font-family:"Times New Roman";
> 	mso-fareast-font-family:"Times New Roman";}
> p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
> 	{margin:0in;
> 	margin-bottom:.0001pt;
> 	mso-pagination:widow-orphan;
> 	font-size:12.0pt;
> 	font-family:"Times New Roman";
> 	mso-fareast-font-family:"Times New Roman";}
> span.EmailStyle15
> 	{mso-style-type:personal-compose;
> 	mso-ansi-font-size:10.0pt;
> 	mso-ascii-font-family:Arial;
> 	mso-hansi-font-family:Arial;
> 	mso-bidi-font-family:Arial;
> 	color:black;}
> @page Section1
> 	{size:8.5in 11.0in;
> 	margin:1.0in 1.25in 1.0in 1.25in;
> 	mso-header-margin:.5in;
> 	mso-footer-margin:.5in;
> 	mso-paper-source:0;}
> div.Section1
> 	{page:Section1;}
> -->
> </style>
> </head>
>
> <body lang=3DEN-US style=3D'tab-interval:.5in'>
>
> <div class=3DSection1>
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'>Hello,<o:p></o:p></span></font></span></p>
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'><![if =
> !supportEmptyParas]>&nbsp;<![endif]
><o:p></o:p></span></font></span></p>=
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'>I am planning to use the RPC facility in VxWorks. But there is
=
> not
> enough documentation even to get started. I just wonder if WindRiver =
> still
> supports RPC. Also, the documentation says that RPCGEN does not ship =
> with
> VxWorks and I could not find one in the Net. Can any of you, using
RPC =
> in
> VxWorks, throw more light?<o:p></o:p></span></font></span></p>
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'><![if =
> !supportEmptyParas]>&nbsp;<![endif]
><o:p></o:p></span></font></span></p>=
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'>Thanks,<o:p></o:p></span></font></span></p>
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'>Balaji.R.<o:p></o:p></span></font></span></p>
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'><![if =
> !supportEmptyParas]>&nbsp;<![endif]
><o:p></o:p></span></font></span></p>=
>
> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
> color=3Dblack
> face=3DArial><span =
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
> Arial'><![if =
> !supportEmptyParas]>&nbsp;<![endif]
><o:p></o:p></span></font></span></p>=
>
> </div>
>
> </body>
>
> </html>
>
> ------_=_NextPart_001_01C0272A.8A98150A--
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PPC can't write to a misaligned address ?
Date: Tue, 26 Sep 2000 09:01:23 +0100
From: <Jason Edwards>
Organization: Keyspan Technology
Message-ID: <39d058c7$1@runswick.octacon.co.uk>
References: <39cf828c@runswick.octacon.co.uk> <39CF980F.5B035E86@earthlink.com>
Reply-To: "Jason Edwards" <jason@keyspan.co.uk-remove->

Thanks Marcello,

I originally intended to resolve the problem exactly as you recommend - By
writing the float value as a long integer.  I know this solution works, but
unfortunately WindRiver say that this is a bug and shouldn't actually work
at all  !  According to them it is not possible to * RELIABLY* write either
a float or long integer value to a misaligned address.

Jason

Marcelo & Keyly Mourier wrote in message
<39CF980F.5B035E86@earthlink.com>...
>Different processors in the PPC family handle misaligned operands
differently.
>For example, the Motorola PPC603 is able to access misaligned integer
operands
>fine, but the IBM PPC403 crashes with a data access exception. I'm not sure
if
>the 603 crashes when you use floating point operands, as you mention the
604
>does. A simple workaround to this problem could be to move the floating
point
>operand into one of the general purpose integer registers, and then store
it as
>an integer...
>
>"Jason Edwards" wrote:


<snip>

>> I can write integer values OK, irrespective of whether the address is 1,2
or
>> 4 byte aligned, but I get an alignment exception whenever I try to write
a
>> float value to an address that isn't 4 bye aligned.


<snipped>





---------------------------

Newsgroups: comp.os.vxworks
Subject: Problem about DosFS2.0
Date: Tue, 26 Sep 2000 09:15:47 GMT
From: ellin_lin@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qppfp$jl$1@nnrp1.deja.com>

I updated my TornadoII's dosFS to DosFS2.0, and I wrote a simple
example as below:
void partInit(void)
{

    const char * devNames[] = { "/sd0a", "/sd0b" };
    int dcacheSize = 0x30000 ;
    void * cbio, * cbio1, *blkDevId ;

	blkDevId = ataDevCreate(0,0,0,0);
    /* create disk cache */
    if( (cbio = dcacheDevCreate(blkDevId, NULL, dcacheSize, "/sd0"))
    == NULL )
    return ERROR ;

    /* create partition manager with FDISK style decoder, up to 4 parts
*/
    cbio1 = dpartDevCreate( cbio, 2, usrFdiskPartRead );
    /* create each partition as file system with a particular name */
    dosFsDevCreate( devNames[0], dpartPartGet(cbio1,0), 0, 0 );
    dosFsDevCreate( devNames[1], dpartPartGet(cbio1,1), 0, 0 );
}

The program was complied successfully, but while downloaded, I got some
fail message as:
dpartDevCreate, dpartPartGet undefined.
Did I forget to include anything in the system image?

ellin



Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Tue Sep 26 13:13:48 2000
From: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
Date: Tue Sep 26 13:13:51 PDT 2000
Subject: User privileges

Is there anything like super user login / super user priviliges in a VxWorks
system. 

I am writing a card driver for which I am also providing a character device
interface to the user. It has an ioctl function which also has commands to
change card driver propertries, but these commands should require super user
permissions, is there anyway to check permissions of the user in the driver
code ?

Regards
T.C.Omprakaash


From vxwexplo-errs@csg.lbl.gov  Wed Sep 27 04:03:10 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Wed Sep 27 04:03:12 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Wed Sep 27 04:03:05 PDT 2000

        Subject: Re: Download will not run
        Subject: udp/ip interpretor
        Subject: Re: Device names!
        Subject: Thanks
        Subject: LDAP Client
        Subject: FUNCPTR,UINT8.....
        Subject: tNetTask/Crosswind
        Subject: looking for Motorola PowerPC board
        Subject: User privileges
        Subject: Why This Error
        Subject: Re: FUNCPTR,UINT8.....
        Subject: undefined symbols
        Subject: Socket not reading it's send-q
        Subject: make self defined errno?
        Subject: Re: looking for Motorola PowerPC board
        Subject: Re: flash device driver
        Subject: Re: User privileges
        Subject: Re: RPC in VxWorks
        Subject: Re: undefined symbols
        Subject: PPC interrupt vectors!
        Subject: PC corruption
        Subject: Re: Download will not run
        Subject: Re: User privileges
        Subject: Re: TFFS problem
        Subject: Re: PPC can't write to a misaligned address ?
        Subject: Link error - vxTas ?
        Subject: Re: Download will not run
        Subject: Re: FUNCPTR,UINT8.....
        Subject: Re: undefined symbols
        Subject: question about clock_gettime() function
        Subject: How to delete entries from the MMU table
        Subject: Problem with Spy
        Subject: Re: Processor synchronization

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Download will not run
Date: Tue, 26 Sep 2000 12:43:27 GMT
From: lvwhitebir@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qq5lb$dls$1@nnrp1.deja.com>
References: <39D04112.4B8FE442@scanmar.no>

In article <39D04112.4B8FE442@scanmar.no>,
  Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no> wrote:
> Hi,
>
> I've got a problem with a downloadable application. My target is
> pcPentium and I'm using Tornado-II.
>
> I download my application to the target, and use the lkup function to
> see that my program entry point is in the symbol table, but when I try
> to call it from the shell I got "undefined symbol"
>
> What's up??
>
> Session:
> -> ld < splashApp.out
> value = 63393772 = 0x3c74fec = splashApp.out_bss + 0x8
> -> lkup "_splash"
> splash(char *)    0x03c741e4 text (splashApp.out)
> value = 0 = 0x0
> ->sp _splash
> undefined symbol: _splash
>
>

The shell is probably supplying the underscore for you in
front of your routine name.  That would make it __splash which
doesn't exist in the symbol table.  Just do 'sp splash'.

HTH,
   Larry


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: udp/ip interpretor
Date: 26 Sep 2000 15:18:42 +0200
From: skrow@rediffmail.com ("shameek  roy")
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <20000926125246.4560.qmail@mailweb15.rediffmail.com>

hello everyone,
             iam just learning the basics...
              what exactly is the UDP/IP interpreter?? how do we exclude the whole n/w stack and use only the interpreter?? what do we need to do to get the wdbpktdrv up and running?? what are all the parts that we have to fill in in the wdbpktdrvtemplate??
              How does this UDP/IP interpreter work??
              please do provide me with the answers or direct me to appropriate sources.
              thanx in advance,
                                   
                                   -shameek

_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html




- --
Posted from IDENT:qmailr@[203.199.83.23] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Device names!
Date: Tue, 26 Sep 2000 11:41:06 -0500
From: "M. Kotiaho" <mark.kotiaho.nospam@nospam.lmco.com>
Organization: LMMFC - D
Message-ID: <39D0D1A2.24756C6C@nospam.lmco.com>
References: <39ca3b1a.0@seat.s3two.ie> <8qdqp4$lgf$1@nnrp1.deja.com> <39cb3a9b.0@seat.s3two.ie>



Keith McHugh wrote:

> Yep...I've also found some of the devices names from the target shell. As
> far as I understand:
>
>   0 /null                  : Nothing/Standard Input/Output/Error???
>   1 /tyCo/0             : Is it standard input directed to the console over
> the serial???
>   1 /tyCo/1             :           same as above for output???
>   4 host:                : This is okay, I've understood that the host is
> connected over the network
>   5 /vio                 : What is this???
>

/null is the bit bucket ... equivalent to /dev/null on Unix.
/vio is Virtual I/O ... you can redirect Standard I/O to Virtual I/O, to display
it in the Tornado Console window, for example.


>
> Where can get the information about it?
>
> > Unlike Un*x type operating systems, VxWorks doesn't impose any
> > restrictions on what names are given to devices.  It is up to the device
> > driver writer and/or the end user what names are used.
>

Also unlike Unix, in VxWorks device drivers can be installed and removed
dynamically.

>
> Here is a confusion....Devices means only the devices connected to the
> target and host (Only serial) or what exactly it is showing. I presume it is
> showing all the serial devices configured at the time of development of BSP.
> Is that true?

>
>
> >>"fd = open("/dev/ttyf1",O_RDWR)".
>
> Now please look into my question again....if I want to open a device on the
> target say DSP, then how can I specify the name in the above statement?
> Basically I want to register DSP with the I/O of vxworks. Where can I get
> the DSP device name
>
> Thanks in advance

Do you have a device driver for the device?  Its initialization routine will
typically
be called something like devDrv ("dev" will be something specific for your
situation),
and then you create a device that uses this driver by calling
devDrvCreate("/dev/ttyf1",...).  After you have done both of these, then you can
use
"open" as you specify above.

I highly recommend the chapter on I/O in the VxWorks Programmer's Guide.

Regards,
Mark





---------------------------

Newsgroups: comp.os.vxworks
Subject: Thanks
Date: Tue, 26 Sep 2000 13:39:46 -0400
From: "Martin Mayer" <mmayer@nortelnetworks.com>
Organization: Nortel
Message-ID: <8qqn13$sbc$1@bmerhc5e.ca.nortel.com>

Thanks to everyone for your replies :o)




---------------------------

Newsgroups: comp.os.vxworks
Subject: LDAP Client
Date: Tue, 26 Sep 2000 17:35:57 GMT
From: toddchristensen@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qqmpt$54v$1@nnrp1.deja.com>

Is anyone working on a VxWorks port of LDAP? I am trying to port it,
but I am finding that many changes need to be made.

Has anyone else done this before?

Is any one currently working on it? If so, maybe we could work together.

Thanks
Todd


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: FUNCPTR,UINT8.....
Date: Tue, 26 Sep 2000 16:49:50 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qqk3b$3on$1@nnrp1.deja.com>

hi folks,

Can anybody direct me to the header files where i can find
FUNCPTR, UINT8, UINT16 etc.....
Thanks in advance

Regards,
sesh


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: tNetTask/Crosswind
Date: Tue, 26 Sep 2000 17:30:56 GMT
From: seshadri_kumar@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qqmgh$4ve$1@nnrp1.deja.com>

hi folks,

Is there any way of attaching crosswind to tNetTask?
I wanted to step through some of the MUX routines i've written. This
routines execute in the context of tNetTask.

Thanks in advance.
sesh


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: looking for Motorola PowerPC board
Date: Tue, 26 Sep 2000 19:48:13 GMT
From: chrisanc1967@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qquhq$b0b$1@nnrp1.deja.com>

We are looking for distributers of Motorola PowerPC boards. Can any one
supply us with a list of vendors for these boards?

Thanks

Christopher


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: User privileges
Date: Tue, 26 Sep 2000 16:13:13 -0400
From: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qr03d$sfb$1@overload.lbl.gov>

Is there anything like super user login / super user priviliges in a VxWorks
system. 

I am writing a card driver for which I am also providing a character device
interface to the user. It has an ioctl function which also has commands to
change card driver propertries, but these commands should require super user
permissions, is there anyway to check permissions of the user in the driver
code ?

Regards
T.C.Omprakaash

---------------------------

Newsgroups: comp.os.vxworks
Subject: Why This Error
Date: 26 Sep 2000 22:55:02 +0200
From: pahluwalia@hyperchip.com (Preet Ahluwalia)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Message-ID: <91E486361D4CD311B3140060089A8825685FE7@hermes.hyperchip.com>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C027FC.16863570
Content-Type: text/plain;
	charset="iso-8859-1"

Hi:

I'm trying to create a new (bootable) project. I select a certain BSP in
c:\tornado\target\config\ and I get a project creation error.It seems that
it fails to locate the prjPrams.h file. I'm not quite familiar with vxWorks
yet. 

Thanks

- ------_=_NextPart_001_01C027FC.16863570
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Why This Error</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm trying to create a new (bootable) =
project. I select a certain BSP in c:\tornado\target\config\ and I get =
a project creation error.It seems that it fails to locate the =
prjPrams.h file. I'm not quite familiar with vxWorks yet. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
</P>

</BODY>
</HTML>
- ------_=_NextPart_001_01C027FC.16863570--

- --
Posted from cowansville.acbm.qc.ca [207.96.170.2] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: FUNCPTR,UINT8.....
Date: Tue, 26 Sep 2000 21:05:43 GMT
From: lee.deraud@boeing.com (Lee DeRaud)
Organization: None to speak of
Message-ID: <39d10f7a.20581494@news.boeing.com>
References: <8qqk3b$3on$1@nnrp1.deja.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

On Tue, 26 Sep 2000 16:49:50 GMT, seshadri_kumar@my-deja.com wrote:

>hi folks,
>
>Can anybody direct me to the header files where i can find
>FUNCPTR, UINT8, UINT16 etc.....
>Thanks in advance

/usr/wind/target/h/types/vxTypesOld.h

---------------------------

Newsgroups: comp.os.vxworks
Subject: undefined symbols
Date: Tue, 26 Sep 2000 21:32:52 GMT
From: chrisanc1967@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qr4m4$gk7$1@nnrp1.deja.com>

I've written a very small application to test a card on my vme system. I
do not have any object modules that I need to link and the few header
files that I use are placed in the same directory. When I make my
application with the default makefile I get a good build( at least
that's what the build output window tells me). now, when I download my
application onto my target I get 'undefined symbols' message, the
symbols that the OS claims to be undefined are defined in the header
files in the same directory. Can anyone tell me what I'm missing?

Thanks

Christopher


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Socket not reading it's send-q
Date: Wed, 27 Sep 2000 00:32:29 GMT
From: alonag@winnet-corp.com
Organization: Deja.com - Before you buy.
Message-ID: <8qrf6u$os8$1@nnrp1.deja.com>

I have problem where a socket is not reading a data from it's queue.
The inetstatShow() shows that's connection is established, but also
shows that number of bytes in Send-Q is growing, because I trying to
write data, but socket is not reading it. The socket is binded to fast
ethernet driver (motfec) and it's an end driver. CPU - 860T.

Should I used different functions to establish and bind the socket with
an end driver? Like muxBind() instead of bind()?
What can be the reason that socket is not reading it's data? I checked
if I have a free pool of buffers and I do.

Appreciate any help


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: make self defined errno?
Date: 27 Sep 2000 09:41:27 -0700
From: "sunny" <sunlifei@sbell.com.cn>
Organization: The news server of Changzhou TeleCom
Message-ID: <01bfb6d7$0f9a5660$8cc210ac@sunny>

Hi,

I want to set my errno for my program. According the book,I use makeStatTbl
to build new statTbl.c, but I found the errno in errno.h(for POSIX) dismiss
because status codes haven't been prefixed with "S_" in errno.h. 

So does anybody know how to resolve this problem?

Thanks very much!


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: looking for Motorola PowerPC board
Date: Wed, 27 Sep 2000 01:35:08 GMT
From: Bill Dennen <william.dennen@motorola.com>
Organization: Motorola Computer Group
Message-ID: <39D14C50.60C2BFD6@motorola.com>
References: <8qquhq$b0b$1@nnrp1.deja.com>

chrisanc1967@my-deja.com wrote:
> 
> We are looking for distributers of Motorola PowerPC boards. Can any one
> supply us with a list of vendors for these boards?
> 
> Thanks
> 
> Christopher
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Authorized distributors in the US are Arrow & Avnet.  You can get
contact points by going to "Where To Buy" (the BUY button on the title
bar) and clicking on MCG Industrial Distributors at wwww.mcg.mot.com

Regards
- -- 
>@<
Bill Dennen					|  We have met the enemy,
Motorola Computer Group, TOPAZ			|   and they is us ...
	william.dennen@motorola.com		|	-- Pogo

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: flash device driver
Date: Wed, 27 Sep 2000 01:58:38 GMT
From: mpiuze@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qrk8b$sui$1@nnrp1.deja.com>
References: <39CFBE2A.10372BC9@lucent.com>

In article <39CFBE2A.10372BC9@lucent.com>,
  Sunil Joseph <suniljoseph@lucent.com> wrote:
> Folks,
> 	Does anyone know where I could get access to source code for
the drivers of
> the  intel StrataFlash part 28F640J3A.?
> Thanks
>

I assume you're trying to get TFFS working with the part...Intel flash
should conform to the CFI/SCS command interface.  VxWorks SHOULD
already have a built in MTD to support this interface, and they
do....and don't.  There IS a file named cfiscs.c which contains the MTD
for these kinds of devices, BUT, its for 8-bit devices only, as you
probably found out.  I'm using the 28F640J5 part, and was able, with a
little time, to hack and whack cfiscs.c to work for our specific flash
configuration.  Your installation of Tornado should have a cfiscs.c
file located in <WIND_BASE>/target/src/drv/tffs.  With a little elbow
grease, you can get TFFS to use this MTD with your part(s).  If you're
not going for TFFS, and merely want to know the sequence of how to
write to the flash, query it for info, etc.., this file is still great
for figuring out how to go about doing this, and should be extendible
for your 16 bit device.  I won't pretend to tell you this is easy, but
it is do-able.

I hope this helps.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: User privileges
Date: Tue, 26 Sep 2000 21:14:19 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39D157FB.ABA28C3A@aps.anl.gov>
References: <8qr03d$sfb$1@overload.lbl.gov>

"Omprakaash, T.C." wrote:
> 
> Is there anything like super user login / super user priviliges in a VxWorks
> system.

No, there are no protection mechanisms built in, any software that's
running can do anything it likes because it's already running in
priviledged mode.

If you really need this, you might want to look at the recently announced
vxWorks AE (Tornado 3.0) which is supposed to allow you to put some
protection into the system.

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: RPC in VxWorks
Date: Tue, 26 Sep 2000 22:57:09 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39D16205.23FB094B@mindspring.com>
References: <8qobne$glf$1@overload.lbl.gov> <8qpjtk$qo7$1@nnrp1.deja.com>


Not only is it "supported", it is my understanding that many of vxworks
features are layered on top of it.  I have had excellent luck just using
normal rpc code (get the kangaroo book from ORA if you don't have it).
The only thing special is that you have to call a "init" routine for
rpc in each TASK that is going to use RPC.  You will have to look up
the routine name ... something like rpcInit() or rpcTaskInit() or
some such.  Everything else has just worked for me (except for 
clnt_broadcaset() which isn't supported for some reason).

- -al

ps : please don't post in mime.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: undefined symbols
Date: Tue, 26 Sep 2000 23:04:59 -0400
From: Al Johnston <sofeise@mindspring.com>
Organization: MindSpring Enterprises
Message-ID: <39D163DB.BEF6484C@mindspring.com>
References: <8qr4m4$gk7$1@nnrp1.deja.com>

Normally you dont declare variables in header files, although it
is perfectly okay to do so.  Things that come to mind are that
they are "declared" as extern or static in the header file which
would not declare them at all... try running nmXXX (nmppc for example)
against your object and see if they are really not there.  If they
arnt then you probably arnt really declaring them in the header
file, but "prototyping" them kind.

If your already know all that, I apologize for saying the obvious.
then we would have to see more details... any pattern to which
things are resolved any which ones aren't?  

This almost has to be something obvious... 

- -al

chrisanc1967@my-deja.com wrote:
> 
> I've written a very small application to test a card on my vme system. I
> do not have any object modules that I need to link and the few header
> files that I use are placed in the same directory. When I make my
> application with the default makefile I get a good build( at least
> that's what the build output window tells me). now, when I download my
> application onto my target I get 'undefined symbols' message, the
> symbols that the OS claims to be undefined are defined in the header
> files in the same directory. Can anyone tell me what I'm missing?
> 
> Thanks
> 
> Christopher
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: PPC interrupt vectors!
Date: Wed, 27 Sep 2000 04:47:37 +0100
From: "White Weng" <whitew@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8qrqkr$3nf$1@schbbs.mot.com>

In PPC, there is only one interrupt vector. As for other external
interrupts, how to handle them by interrupt routine? Is intConnect() ok for
these interrupts or other functions?

Thanks a lot!

White Weng



---------------------------

Newsgroups: comp.os.vxworks
Subject: PC corruption
Date: Wed, 27 Sep 2000 04:19:26 GMT
From: wazkero@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qrsgb$34m$1@nnrp1.deja.com>



Would someone have an idea on what could cause my PC to suddenly jump to
such a stellar value in execution?  99% of the time, the process seems
to execute fine, but once in a while my process crashes with the
following info:
- --------------------------------------------------------------------
program counter: 0x91808888
machine status: 0x4000b030
173cdc vxTaskEntry +60 : process_main ([])
8afa90 process_main +30 : mapping_delay (0)
8aeb1c mapping_delay +9c : set_delay ([])
8ba4f0 set_delay +168: set_timer (b303f8)
8ba200 set_timer +9c : sigqueue ([])
154d14 sigqueue +220: 155188 ([])
1552c0 sigqueue +7cc: windPendQGet ([])

Exception number 1792: Task: 0x6ffd888 (tExcTask)

illegal instruction program
program counter: 0x1a00cc
machine status: 0x8b030
173cdc vxTaskEntry +60 : excTask ([])
14a034 excTask +b4 : sigPendKill ([])
155638 sigPendKill +118: 155188 ([])
1552c0 sigqueue +7cc: windPendQGet ([])
- --------------------------------------------------------------------

Is this a common problem when working with signal queues?  Any classic
cause for PC corruption like that?  Not too familar with this... If you
can point out some good info on the net!

Your input will be appreciated!


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Download will not run
Date: Wed, 27 Sep 2000 07:59:14 +0200
From: Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no>
Organization: Nextra Public Access
Message-ID: <39D18CB2.25BA336F@scanmar.no>
References: <39D04112.4B8FE442@scanmar.no> <8qq5lb$dls$1@nnrp1.deja.com>

The problem is solved, it's rather strange but the shell does a
mangle/demangle so that lkup("splash") will find the function
splash(char *)

but when it comes to accessing (calling or spawning a process) the method
you have to use the mangled name _splash__FPc.

The problem is caused by this non symmetrical user interface, which
according to WRS is the way it should be !! (I wish that when you found
something like this the vendor says yes this is really silly, we will fix it
soon).


lvwhitebir@my-deja.com wrote:

> In article <39D04112.4B8FE442@scanmar.no>,
>   Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no> wrote:
> > Hi,
> >
> > I've got a problem with a downloadable application. My target is
> > pcPentium and I'm using Tornado-II.
> >
> > I download my application to the target, and use the lkup function to
> > see that my program entry point is in the symbol table, but when I try
> > to call it from the shell I got "undefined symbol"
> >
> > What's up??
> >
> > Session:
> > -> ld < splashApp.out
> > value = 63393772 = 0x3c74fec = splashApp.out_bss + 0x8
> > -> lkup "_splash"
> > splash(char *)    0x03c741e4 text (splashApp.out)
> > value = 0 = 0x0
> > ->sp _splash
> > undefined symbol: _splash
> >
> >
>
> The shell is probably supplying the underscore for you in
> front of your routine name.  That would make it __splash which
> doesn't exist in the symbol table.  Just do 'sp splash'.
>
> HTH,
>    Larry
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: User privileges
Date: Wed, 27 Sep 2000 07:19:30 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <6chA5.252797$i5.3475653@news1.frmt1.sfba.home.com>
References: <8qr03d$sfb$1@overload.lbl.gov> <39D157FB.ABA28C3A@aps.anl.gov>

Not necessary, just run an application instead of the shell and build in your 
own password protection, there is no realistic way for a normal user to break 
into a vxWorks system. Perhaps with a logic analyzer...

paul

In article <39D157FB.ABA28C3A@aps.anl.gov>, Andrew Johnson <anj@aps.anl.gov> 
wrote:
>"Omprakaash, T.C." wrote:
>> 
>> Is there anything like super user login / super user priviliges in a VxWorks
>> system.
>
>No, there are no protection mechanisms built in, any software that's
>running can do anything it likes because it's already running in
>priviledged mode.
>
>If you really need this, you might want to look at the recently announced
>vxWorks AE (Tornado 3.0) which is supposed to allow you to put some
>protection into the system.
>
>- Andrew

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: TFFS problem
Date: Wed, 27 Sep 2000 07:08:14 GMT
From: Harvey Tang <harvey_tang@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qs6cu$9ta$1@nnrp1.deja.com>
References: <8psbes$p3h$1@nnrp1.deja.com>

I concern this problem too.

In article <8psbes$p3h$1@nnrp1.deja.com>,
  yanghch@my-deja.com wrote:
> I want to mount True FFS on my flash device which is MT28F400B1wg.And
> my BSP is MCP750,but its TFFS doesn't support the flash device.The
code
> it provides is for 16bit flash device,but the MT28F400B1Wg is 32bit,so
> it doesn't work.If you can give me some advice,I will be very glad.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PPC can't write to a misaligned address ?
Date: Tue, 26 Sep 2000 06:52:09 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39D0AA09.9F3C5348@lmco.com>
References: <39cf828c@runswick.octacon.co.uk> <39CF980F.5B035E86@earthlink.com> <39d058c7$1@runswick.octacon.co.uk>

	When the compiler is set up to handle misaligned addresses, it breaks
up the data into characters(bytes) and writes them that way.  Since this
encounters
a horriffic performance penalty, I suggest that you use a function to do
the misaligned
write when you need to do so, rather than using the compiler flag. 
Since most of the 
more modern processors are not capable of directly handling misaligned
addresses, you
might talk to the I/O board vendor and see if there is a way to
re-arrange addressing
on it.

Speaking only for myself,

Joe Durusau


"Jason Edwards" wrote:
> 
> Thanks Marcello,
> 
> I originally intended to resolve the problem exactly as you recommend - By
> writing the float value as a long integer.  I know this solution works, but
> unfortunately WindRiver say that this is a bug and shouldn't actually work
> at all  !  According to them it is not possible to * RELIABLY* write either
> a float or long integer value to a misaligned address.
> 
> Jason
> 
> Marcelo & Keyly Mourier wrote in message
> <39CF980F.5B035E86@earthlink.com>...
> >Different processors in the PPC family handle misaligned operands
> differently.
> >For example, the Motorola PPC603 is able to access misaligned integer
> operands
> >fine, but the IBM PPC403 crashes with a data access exception. I'm not sure
> if
> >the 603 crashes when you use floating point operands, as you mention the
> 604
> >does. A simple workaround to this problem could be to move the floating
> point
> >operand into one of the general purpose integer registers, and then store
> it as
> >an integer...
> >
> >"Jason Edwards" wrote:
> 
> <snip>
> 
> >> I can write integer values OK, irrespective of whether the address is 1,2
> or
> >> 4 byte aligned, but I get an alignment exception whenever I try to write
> a
> >> float value to an address that isn't 4 bye aligned.
> 
> <snipped>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Link error - vxTas ?
Date: Wed, 27 Sep 2000 09:26:26 GMT
From: bmurr@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qsefu$gi3$1@nnrp1.deja.com>



I am getting a link failure due to undefined vxTas (), the output is as
follows :-

ldarm -X -N -e _sysInit -Ttext 0x00001000  \
	dataSegPad.o partialImage.o ctdt.o symTbl.o -o vxWorks
partialImage.o: In function `sysBusTas':
G:\target\proj\MyProject\default\G:\target\src\drv\vme\nullVme.c:191:
undefined reference to `vxTas'
partialImage.o: In function `sysSerialHwInit2':
G:\target\proj\MyProject\default\G:\target\config\pid7t\sysSerial.c:140:
undefined reference to `intConnect'
G:\target\proj\MyProject\default\G:\target\config\pid7t\sysSerial.c:143:
undefined reference to `intEnable'
partialImage.o: In function `sysSerialReset':
G:\target\proj\MyProject\default\G:\target\config\pid7t\sysSerial.c:191:
undefined reference to `intDisable'
partialImage.o: In function `sysClkDisable':

... more link errors

In which library is vxTas () defined? And all the following:-

undefined reference to `vxTas'
undefined reference to `intConnect'
undefined reference to `intEnable'
undefined reference to `intDisable'
undefined reference to `intDisable'
undefined reference to `intEnable'
undefined reference to `intDisable'
undefined reference to `intEnable'
undefined reference to `sysIntLvlVecChkRtn'


Thanks in advance.

Brian


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Download will not run
Date: Wed, 27 Sep 2000 11:50:38 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39D1C2ED.D36798B1@vitatron.com>
References: <39D04112.4B8FE442@scanmar.no> <8qq5lb$dls$1@nnrp1.deja.com> <39D18CB2.25BA336F@scanmar.no>

I had exactly the same problem yesterday (a few hours after I read your
message),
and I really thought that the Millennium Bug had struck at last...
I could solve the problem by renaming my source file from test.cpp to
test.c. Apparently Tornado compiles C++ files different from normal
C files...

Gijs van Oort

Ole Asbjorn Fadum wrote:

> The problem is solved, it's rather strange but the shell does a
> mangle/demangle so that lkup("splash") will find the function
> splash(char *)
>
> but when it comes to accessing (calling or spawning a process) the method
> you have to use the mangled name _splash__FPc.
>
> The problem is caused by this non symmetrical user interface, which
> according to WRS is the way it should be !! (I wish that when you found
> something like this the vendor says yes this is really silly, we will fix it
> soon).
>
> lvwhitebir@my-deja.com wrote:
>
> > In article <39D04112.4B8FE442@scanmar.no>,
> >   Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no> wrote:
> > > Hi,
> > >
> > > I've got a problem with a downloadable application. My target is
> > > pcPentium and I'm using Tornado-II.
> > >
> > > I download my application to the target, and use the lkup function to
> > > see that my program entry point is in the symbol table, but when I try
> > > to call it from the shell I got "undefined symbol"
> > >
> > > What's up??
> > >
> > > Session:
> > > -> ld < splashApp.out
> > > value = 63393772 = 0x3c74fec = splashApp.out_bss + 0x8
> > > -> lkup "_splash"
> > > splash(char *)    0x03c741e4 text (splashApp.out)
> > > value = 0 = 0x0
> > > ->sp _splash
> > > undefined symbol: _splash
> > >
> > >
> >
> > The shell is probably supplying the underscore for you in
> > front of your routine name.  That would make it __splash which
> > doesn't exist in the symbol table.  Just do 'sp splash'.
> >
> > HTH,
> >    Larry
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: FUNCPTR,UINT8.....
Date: Wed, 27 Sep 2000 11:53:43 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39D1C3A7.86A87402@vitatron.com>
References: <8qqk3b$3on$1@nnrp1.deja.com> <39d10f7a.20581494@news.boeing.com>

> >Can anybody direct me to the header files where i can find
> >FUNCPTR, UINT8, UINT16 etc.....
> >Thanks in advance
>
> /usr/wind/target/h/types/vxTypesOld.h

Does that mean FUNCPTR, UINT8 etc are 'old'
types? If so, what are the 'new' equivalents for them,
and why are they still used?

Gijs van Oort


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: undefined symbols
Date: Wed, 27 Sep 2000 12:05:53 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39D1C680.C4F9B153@vitatron.com>
References: <8qr4m4$gk7$1@nnrp1.deja.com> <39D163DB.BEF6484C@mindspring.com>

Sounds like the functions that _can_ be built in into VxWorks arent...
You can configure VxWorks so that only the necessary components
are installed. For example, we don't have any VME cards, so we
don't use the VME routines. It would be a spend of everything if
we would still include those routines into our VxWorks build.
Afaik, the VME-routines are initially not included in the VxWorks
build, so you have to activate the define that includes it.
Go to the VxWorks-tab of the Workspace window,
in your own VxWorks build (if you don't have one, make
one by using New Project|Create a bootable vxWorks Image),
include "hardware|buses|VME configuration". Maybe it helps.

Here also, I hope this solves your problem. If you already
knew and tried this, then sorry for wasting your time by
making you read things you already knew...

Good luck with it,

Gijs van Oort

Al Johnston wrote:

> Normally you dont declare variables in header files, although it
> is perfectly okay to do so.  Things that come to mind are that
> they are "declared" as extern or static in the header file which
> would not declare them at all... try running nmXXX (nmppc for example)
> against your object and see if they are really not there.  If they
> arnt then you probably arnt really declaring them in the header
> file, but "prototyping" them kind.
>
> If your already know all that, I apologize for saying the obvious.
> then we would have to see more details... any pattern to which
> things are resolved any which ones aren't?
>
> This almost has to be something obvious...
>
> -al
>
> chrisanc1967@my-deja.com wrote:
> >
> > I've written a very small application to test a card on my vme system. I
> > do not have any object modules that I need to link and the few header
> > files that I use are placed in the same directory. When I make my
> > application with the default makefile I get a good build( at least
> > that's what the build output window tells me). now, when I download my
> > application onto my target I get 'undefined symbols' message, the
> > symbols that the OS claims to be undefined are defined in the header
> > files in the same directory. Can anyone tell me what I'm missing?
> >
> > Thanks
> >
> > Christopher
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.


---------------------------

Newsgroups: comp.os.vxworks
Subject: question about clock_gettime() function
Date: Wed, 27 Sep 2000 18:07:55 +0800
From: "Li Xin" <lixin@sc.mcel.mot.com>
Organization: Motorola
Message-ID: <8qsg4e$it2$1@schbbs.mot.com>

VxWorks provides an API clock_gettime( ) to get current time. It stores the
current time in a timespec structure which has have a resolution of
nanoseconds. Is it possible that the resolution is more precise than one
clock tick?




---------------------------

Newsgroups: comp.os.vxworks
Subject: How to delete entries from the MMU table
Date: Wed, 27 Sep 2000 12:13:17 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39D1C83D.3F9D3687@vitatron.com>

Hi all,

I added an entry to the mmu-table with
sysMmuMapAdd() (in the Pentium sysLib library),
and now I want to delete the entry again.
But unfortunately, sysMmuMapDelete() does not
exist... Is there any possibility to delete an entry
from the MMU table? And what would be the
concequences if I don't delete it?

Thanks for your help,

Gijs


---------------------------

Newsgroups: comp.os.vxworks
Subject: Problem with Spy
Date: Wed, 27 Sep 2000 12:06:02 +0200
From: Pascal Coince <coincepa@ensieta.fr>
Organization: Ensieta BREST
Message-ID: <39D1C68A.92DDCE95@ensieta.fr>

Hello,

I work on a VMP1 board (3U PowerPC board from PEP) with Tornado
2/VxWorks5.4 .
The problem is that the spy report doesn't work: the spy window from the
browser reports 0% for all the processus (even IDLE and TOTAL) and the
spy function is not known from VxWorks when launching it from the shell.

I recompiled the BSP with spy and timex support but it didn't change
anything.

Has anyone an idea about this problem ?

Pascal.


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Processor synchronization
Date: Wed, 27 Sep 2000 11:35:18 +0100
From: Phil Ashby <phil@ashbysoft.cix.co.uk>
Organization: Internet Designers Limited - a BT company
Message-ID: <39D1CD66.1A2BE00D@ashbysoft.cix.co.uk>
References: <ssfoajec30kd7c@corp.supernews.com> <39CA2BCE.A169238A@ashbysoft.cix.co.uk> <ssuu008vac2v21@corp.supernews.com>

Umm. I would probably have a go at writing a driver for NT that uses the same
concepts / mechanisms as the VxWorks system (which is at least documented!):
if you want networking support on top, it's gonna have to be an NDIS driver
too - yuk :( If you only want access to the RAM on the board, you can define
your own driver API (using DeviceIoControl() calls.

Definitely need to read the NT DDK beforehand though!

Phil.

Eric McDaniel wrote:
> 
> Phil-
> Thanks for the reply.
> 
> I have read the shared memory section of the VxWorks documentation. In my
> case, different CPU types is not the problem - it's different operating
> systems.
> The Motorola 860 is running VxWorks 5.4, the PC is running Windows NT 4.0.
> 
> Is there any way to make these two different operating systems understand
> each
> others' synchronization mechanisms using shared memory? Or do I need to
> start
> from scratch and write my own?
> 
> "Phil Ashby" <phil@ashbysoft.cix.co.uk> wrote in message
> news:39CA2BCE.A169238A@ashbysoft.cix.co.uk...
> > The normal shared memory drivers rely on an atomic read-modify-write bus
> > cycle (which is normally available on VME or PCI) to manage an access
> control
> > semaphore.. To avoid having to poll this semaphore, the drivers also
> support
> > 'mailbox' interrupts (I've only really played with VME systems for this
> bit)
> > to notify the VxWorks CPU that memory has been modified.
> >
> > Check out the detailed descriptions of the shared memory networking in the
> > programmers guide(s).
> >
> > You should be able to make this stuff work between different CPU types....
> >
> > Best of luck :)
> >
> > Phil.
> >
> > Eric McDaniel wrote:
> > >
> > > I have a PC system running Windows NT as my host system, with an MPC860
> > > running VxWorks on a coprocessor card. I can map the card's memory into
> the
> > > host memory space, no problem there.
> > >
> > > However, I'm not sure how to synchronize memory accesses between the
> host
> > > and target. VxWorks does have mechanisms for synchronizing across
> multiple
> > > processors, but they assume that both processors are of the same type
> and
> > > that both are running the same OS. Neither is true in my case.
> > >
> > > Is there some way I can use POSIX semaphores or message queues? Or
> shared
> > > memory semaphores? Do I need to write my own synchronization routines? I
> can
> > > do that, but I'd prefer to use something that is already debugged and
> > > optimized.
> > >
> > > Any suggestions?
> > >
> > > Thanks.
> > >
> > > Eric McDaniel
> > > ericm@vertical.com

---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Wed Sep 27 09:23:07 2000
From: f.pertin@staubli.com
Date: Wed Sep 27 09:23:09 PDT 2000
Subject: Windview on T2

Hello TORNADO and VXWORKS guru,

I tried to use the "export to excel button" in windview analysis. The
perfom (analysis) seems to worked correctly but when I click on export I
get "error during export". What can I do to see this cpu usage  analysis
?????

I'am working with Tornado 2 on winNT4 host

Thanks .......

Francois



From vxwexplo-errs@csg.lbl.gov  Wed Sep 27 13:35:36 2000
From: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
Date: Wed Sep 27 13:35:39 PDT 2000
Subject: Memory Allocation in VxWorks

Hi,
This is a doubt regarding memory allocation in VxWorks.

When the network layer passes an IP packet to the driver, it passes it as a
mbuf. Will the memory in each of the mbuf segments be contiguous ? To be
more clear, is it possible for a single mbuf segment to span across multiple
physical pages.

TIA
T.C.Omprakaash


From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 03:10:26 2000
From: David Laight <dsl@tadpole.co.uk>
Date: Thu Sep 28 03:10:29 PDT 2000
Subject: Re: Memory Allocation in VxWorks

This all depends on how the virtual-physical mapping is done, and how the mbufs 
are split from a big chunk of virtual memory.

Most (all?) vxWorks BSPs allocate contiguous physical memory to virtual address 
blocks - after all that is what is requested when the mmu is set up (from 
sysLib.c as I recall).

Since vxWorks doesn't do any dynamic memory mapping (yet) this initial mapping 
will stay and your mbuf data blocks will remain contiguous.

certainly for the BSP I have sysVirtToPhys and sysPhysToVirt are based on 
knowledge of how the mmu was (requested to be) setup.  Not from walking/scanning 
the page tables (as suggested previously).

For generic network drivers there can actually be a performance from NOT 
transmitting from user supplied buffers!  You may find that copying (and 
assembling the fragments of) the user buffer into a buffer of known propertias 
and alignment is more efficient that sorting out a list of physical 
address/length pairs.  This is particularly true if you don't know where the 
data has come from as it may have a significant number of fragments - which may 
cause underruns (1400+ 1 byte fragments).

On Unix systems streams messages can be in non-contiguous physical memory. 
Remember to check EVERY page boundary...

Also remember that you cannot guarantee to read beyond the end of the supplied 
buffer - it may be the end of a page and the next page not be mapped.  (This 
happens in a 3Com ODI driver 'ported' (object translation) from Netware to 
unixware 2...)

	David

> Subject: Memory Allocation in VxWorks
> Submitted-by: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
> 
> Hi,
> This is a doubt regarding memory allocation in VxWorks.
> 
> When the network layer passes an IP packet to the driver, it passes it as a
> mbuf. Will the memory in each of the mbuf segments be contiguous ? To be
> more clear, is it possible for a single mbuf segment to span across multiple
> physical pages.
> 
> TIA
> T.C.Omprakaash



----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201



From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 04:03:09 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Thu Sep 28 04:03:12 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Thu Sep 28 04:03:05 PDT 2000

        Subject: ROM Resident&ROM Based??
        Subject: Re: PC corruption
        Subject: how to handle PC CMOS clock
        Subject: Overloading new and delete
        Subject: ftpXfer
        Subject: Problems with MBUFS (netBufLib) in driver
        Subject: Re: PC corruption
        Subject: stack trace--What do those numbers mean?
        Subject: Re: FUNCPTR,UINT8.....
        Subject: Homeworkers required  3920
        Subject: Windview on T2
        Subject: help with ttyDrv vs. tyLib
        Subject: Project CDF file format documentation?
        Subject: Re: PPC interrupt vectors!
        Subject: Re: PPP-CHAP
        Subject: Re: Problem with Spy
        Subject: Open IP
        Subject: Question regarding RPC in VxWorks
        Subject: Memory Allocation in VxWorks
        Subject: Re: question about clock_gettime() function
        Subject: Re: c++ demangling
        Subject: Re: sens or non-sens
        Subject: Re: Telecom 'Start-up' Equity Opportunities / RTOS
        Subject: which PPC for high end routers?
        Subject: MPC860 Rev B Patch: SPR 26522
        Subject: Routing question
        Subject: Help!VxWorks System in ROM
        Subject: Re: ROM Resident&ROM Based??
        Subject: Re: undefined symbols
        Subject: Re: tNetTask/Crosswind
        Subject: Re: undefined symbols
        Subject: Re: how to convert a virtual address into physical address?
        Subject: Re: Download will not run
        Subject: Re: Question regarding RPC in VxWorks
        Subject: re: Memory Allocation in VxWorks
        Subject: Re: Project CDF file format documentation?

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: ROM Resident&ROM Based??
Date: 27 Sep 2000 11:54:46 GMT
From: "Bibo" <topbibo@pchome.com.tw>
Organization: SEEDNet News Service
Message-ID: <8qsn66$7mt$1@news.seed.net.tw>

Hi all:
I'm new to vxWorks!
Does any body can tell me the following....

What deifference between
"ROM Resident Image" and "ROM Based Image"??
"ROM based ROM Model" and "RAM based ROM Model"??






---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PC corruption
Date: Wed, 27 Sep 2000 11:46:24 GMT
From: lvwhitebir@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qsmmg$m7c$1@nnrp1.deja.com>
References: <8qrsgb$34m$1@nnrp1.deja.com>

In article <8qrsgb$34m$1@nnrp1.deja.com>,
  wazkero@my-deja.com wrote:
>
>
> Would someone have an idea on what could cause my PC to suddenly jump
to
> such a stellar value in execution?  99% of the time, the process seems
> to execute fine, but once in a while my process crashes with the
> following info:
> --------------------------------------------------------------------
> program counter: 0x91808888
> machine status: 0x4000b030
> 173cdc vxTaskEntry +60 : process_main ([])
> 8afa90 process_main +30 : mapping_delay (0)
> 8aeb1c mapping_delay +9c : set_delay ([])
> 8ba4f0 set_delay +168: set_timer (b303f8)
> 8ba200 set_timer +9c : sigqueue ([])
> 154d14 sigqueue +220: 155188 ([])
> 1552c0 sigqueue +7cc: windPendQGet ([])
>
> Exception number 1792: Task: 0x6ffd888 (tExcTask)
>
> illegal instruction program
> program counter: 0x1a00cc
> machine status: 0x8b030
> 173cdc vxTaskEntry +60 : excTask ([])
> 14a034 excTask +b4 : sigPendKill ([])
> 155638 sigPendKill +118: 155188 ([])
> 1552c0 sigqueue +7cc: windPendQGet ([])
> --------------------------------------------------------------------
>
> Is this a common problem when working with signal queues?  Any classic
> cause for PC corruption like that?  Not too familar with this... If
you
> can point out some good info on the net!
>
> Your input will be appreciated!
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sounds like a stack-corruption problem to me.  The return address
from a function is placed on the stack.  If you overwrite it, you'll
end up jumping to somewhere strange.  Sounds like you're going to
have to look for array boundary or pointer problems.  Good luck...

HTH,
   Larry


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: how to handle PC CMOS clock
Date: Wed, 27 Sep 2000 14:17:00 +0300
From: "Ezra Koper" <ezra_k@arelnet.com>
Organization: NetVision Israel	
Message-ID: <8qskto$66n$1@news.netvision.net.il>

Hello.

I found a usefule example on how to work with the PC CMOS clock under
VxWorks, and how to update VxWorks time & date.
I hope it can be useful to others  http://www.pcprofile.com/timepiece.HTM



---------------------------

Newsgroups: comp.os.vxworks
Subject: Overloading new and delete
Date: Wed, 27 Sep 2000 13:40:01 +0100
From: Pat Neave <patneave@lucent.com>
Organization: Lucent Technologies
Message-ID: <39D1EAA1.914CB3B3@lucent.com>


Hi,

I am using VxWorks 5.2 on Mips processor and trying to override operator new and
delete. However, when linking I get errors about multiple definitions of
builtin_new and builtin_delete. Has anyone any ideas, or know of any source of
information for overloading these operators??


Thanks

Pat

- ----------------------------------------------------------------------
- -    Patrick Neave 
- -    Lucent Technologies 
- -    Chippenham, UK             |    mailto:patneave@lucent.com      -

---------------------------

Newsgroups: comp.os.vxworks
Subject: ftpXfer
Date: Wed, 27 Sep 2000 08:43:13 -0600
From: Aaron Stone <aaron_stone@am.exch.hp.com>
Organization: Hewlett-Packard Fort Collins Site
Message-ID: <39D20781.D693C772@am.exch.hp.com>

Does anyone know how to turn off standard output when using this
function.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems with MBUFS (netBufLib) in driver
Date: Wed, 27 Sep 2000 15:12:21 GMT
From: kumar_vinit@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qt2oe$j6$1@nnrp1.deja.com>

Hi All,

I'm new to VxWorks and need some urgent help...

In the ethernet driver on VxWorks, we are doing some manipulations to
the MBUF/mBlk structures holding the packets being passed to the
Input/Output routine in tNetTask context.

The kind of packet manipulations that we do to  the the mBlk structure
are deleting a few bytes from the mBlk and updating the required mLen
and len  fields.   But this is giving some problems with the driver
under some circumstances. My specific questions are

Are we allowed to manipulate mBlks passed from higher layers ?

Who should free the mBlks passed from the higher layer to the ethernet
driver ?

bye,

Vinit Kumar.




Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PC corruption
Date: Wed, 27 Sep 2000 07:03:50 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39D1FE46.888D723A@lmco.com>
References: <8qrsgb$34m$1@nnrp1.deja.com>

	My best guess is that you are not always checking return values from
system functions, or that you are passing a bad pointer to some
function, or that
your stack has become corrupt for some reason.

Speaking only for myself,

Joe Durusau


wazkero@my-deja.com wrote:
> 
> Would someone have an idea on what could cause my PC to suddenly jump to
> such a stellar value in execution?  99% of the time, the process seems
> to execute fine, but once in a while my process crashes with the
> following info:
> --------------------------------------------------------------------
> program counter: 0x91808888
> machine status: 0x4000b030
> 173cdc vxTaskEntry +60 : process_main ([])
> 8afa90 process_main +30 : mapping_delay (0)
> 8aeb1c mapping_delay +9c : set_delay ([])
> 8ba4f0 set_delay +168: set_timer (b303f8)
> 8ba200 set_timer +9c : sigqueue ([])
> 154d14 sigqueue +220: 155188 ([])
> 1552c0 sigqueue +7cc: windPendQGet ([])
> 
> Exception number 1792: Task: 0x6ffd888 (tExcTask)
> 
> illegal instruction program
> program counter: 0x1a00cc
> machine status: 0x8b030
> 173cdc vxTaskEntry +60 : excTask ([])
> 14a034 excTask +b4 : sigPendKill ([])
> 155638 sigPendKill +118: 155188 ([])
> 1552c0 sigqueue +7cc: windPendQGet ([])
> --------------------------------------------------------------------
> 
> Is this a common problem when working with signal queues?  Any classic
> cause for PC corruption like that?  Not too familar with this... If you
> can point out some good info on the net!
> 
> Your input will be appreciated!
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: stack trace--What do those numbers mean?
Date: Wed, 27 Sep 2000 11:55:24 -0400
From: "Pankaj Datta" <pdatta@systranfederal.com>
Message-ID: <THoA5.2163$VV.2811@newsfeed.slurp.net>

Hi,
     I am using vxWorks 5.4,  C++ on a pentium target.   One of my tasks
page-faulted with the following output:

Exception number 14: Task: 0x3b63c20 (OpStnAud1)
Page Fault
Program Counter: 0x00504c67
Status Register: 0x00010a03
Error Code     : 0x00000002
4eff61   _entry__6THREADi+2d : _run__13OP_STN_AUDIO1 ([3bd1824, 0, 0,
1732a0, 3bd1830])
564595   _run__13OP_STN_AUDIO1+59 : _run__5AVCOB ([3bd1824, 3bd1824,
eeeeeeee, eeeeeeee, eeeeeeee])
472a42   _run__5AVCOB   +402: _accept__5PVCOBP11DATA_PACKET (3b5db40,
3be2838)
467850   _accept__5PVCOBP11DATA_PACKET+18 :
_processInput__15SIMPLE_INJECTERP11DATA_PACKET ([3b5db40, 3be2838, 3b63ae4,
472a44, 3b5db40])
504af7   _processInput__15SIMPLE_INJECTERP11DATA_PACKET+6f : 504bb9
([3b5db40, 3be2834, 3bd1824, 0, 3b637d4])

The demangled prototypes of the functions involved are:

void THREAD::run();
void OP_STN_AUD1::run();
RSTAT PVCOB::accept(DATA_PACKET *dPtr);
RSTAT SIMPLE_INJECTER(DATA_PACKET *dPtr);


1)  What do the numbers between the brackets, i.e. [], mean?  I have read
the description of tt() but could not find anything which describes this. As
you can see none of my functions take more than one argument.

2)  Is it correct to assume that in "472a42   _run__5AVCOB   +402:
_accept__5PVCOBP11DATA_PACKET (3b5db40, 3be2838)" above, 3b5db40 is the
value of 'this' and 3be2838 the value of 'dPtr'?


Thanks





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: FUNCPTR,UINT8.....
Date: Wed, 27 Sep 2000 16:26:53 GMT
From: lee.deraud@boeing.com (Lee DeRaud)
Organization: None to speak of
Message-ID: <39d21e2a.3254449@news.boeing.com>
References: <8qqk3b$3on$1@nnrp1.deja.com> <39d10f7a.20581494@news.boeing.com> <39D1C3A7.86A87402@vitatron.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

On Wed, 27 Sep 2000 11:53:43 +0200, Gijs van Oort
<Gijs.van.oort@vitatron.com> wrote:

>> >Can anybody direct me to the header files where i can find
>> >FUNCPTR, UINT8, UINT16 etc.....
>> >Thanks in advance
>>
>> /usr/wind/target/h/types/vxTypesOld.h
>
>Does that mean FUNCPTR, UINT8 etc are 'old'
>types? If so, what are the 'new' equivalents for them,
>and why are they still used?

I wouldn't read too much into the "Old" part of the name: the file
vxTypesOld.h is included unconditionally from vxWorks.h. I kinda doubt
the FUNCPTR type is going away any time soon...

Lee

---------------------------

Newsgroups: comp.os.ms-windows.networking.win95,comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.admin.networking,comp.os.ms-windows.programmer.networks,comp.os.os2.networking.misc,comp.os.os2.networking.server,comp.os.os2.networking.tcp-ip,comp.os.os2.networking.www,comp.os.vxworks,comp.sys.acorn.networking
Subject: Homeworkers required  3920
Date: Wed, 27 Sep 2000 16:43:10 GMT
From: nectov@aol.com
Organization: ntlworld News Service
Message-ID: <yspA5.975$VZ.17463@news6-win.server.ntlworld.com>

If you want to earn upto $10 for every e-mail you read send me an e-mail

with      $10 e-mail    in the subject line to

lisa.finn@ntlworld.com

No Cash Outlay, youll be up and running in minutes. No Shit ! 
le


---------------------------

Newsgroups: comp.os.vxworks
Subject: Windview on T2
Date: Wed, 27 Sep 2000 18:22:06 +0200
From: f.pertin@staubli.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qt9tt$hqu$1@overload.lbl.gov>

Hello TORNADO and VXWORKS guru,

I tried to use the "export to excel button" in windview analysis. The
perfom (analysis) seems to worked correctly but when I click on export I
get "error during export". What can I do to see this cpu usage  analysis
?????

I'am working with Tornado 2 on winNT4 host

Thanks .......

Francois


---------------------------

Newsgroups: comp.os.vxworks
Subject: help with ttyDrv vs. tyLib
Date: Wed, 27 Sep 2000 10:17:56 -0700
From: "Craig Mautner" <craig@doctordesign.com>
Message-ID: <DUpA5.1$e25.70@news.connectnet.com>

I am having trouble using my serial port even though VxWorks isn't. I think
I am confused about the difference between ttyDrv and tyLib.

Here's what I know: usrRoot() calls ttyDrv and then uses ttyDevCreate() to
generate "/tyCo/0" and "/tyCo/1". The WDB_DEV_NAME macro is defined as
"/tyCo/1" and the target agent works fine. In usrRoot() consoleName is set
to "/tyCo/0" which is open()ed as consoleFd. I get a pretty splash screen
out of serial port 0 when I boot up.

1. I would like to use serial port 0.
    a. In my first attempt I set CONSOLE_TTY to -1 expecting that usrRoot()
would skip the open() of consoleFd. Then when I tried to open() it with my
own file descriptor and write() to it nothing happened. I tried assigning
the file descriptor to STD_OUT and using printf() to it but still get
nothing.
    b. I set CONSOLE_TTY back to 0 and get the splash screen. I then called
close(consoleFd); before open() it for my write(). It still didn't work. I'm
getting good fileDescriptors back (e.g 5 or 6). When I check where my
write() got to the stack trace says:
myTask()->write()->iosWrite()->tyWrite()->semTake()->semBTake() and there it
sits.

I assume that ttyDevCreate() has called tyDevInit() and iosDevAdd(). How
come the VxWorks splash screen works, but I can't write to it?

2. (minor) When I switch CONSOLE_BAUD_RATE from 9600 to 38400 I get no
splash screen. WDB works fine at 38400 and the two serial ports are supposed
to be identical.

thanks,
Craig



---------------------------

Newsgroups: comp.os.vxworks
Subject: Project CDF file format documentation?
Date: Wed, 27 Sep 2000 13:22:12 -0500
From: Edsel Harrell <eah@raytheon.com>
Organization: Raytheon Company
Message-ID: <39D23AD4.753EFD54@raytheon.com>

This is a multi-part message in MIME format.
- --------------BCEF104CDC0B079A50A672E8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It didn't seem to be in any of the online docs for T2...

Is the format described in the BSP Dev Kit???

- --
Edsel A. Harrell, Jr              (voice) (972) 575-6468   (email)
eah@raytheon.com
Sr Principal Systems Eng/honors   (pager) (972) 558-4204 (numeric
numbers only)
Raytheon Systems Company          (snail) 6600 Chase Oaks Blvd, MS 8454,
Plano, Tx 75023
- ------------------------------------------------------------------------------------

"Proofread Carefully to See if You Any Words Out"

DISCLAIMER: I speak only for myself, not my employer.
   EXCEPTION: If any of my ideas are worth more than $0.02, then they
are
              property of my employer.


- --------------BCEF104CDC0B079A50A672E8
Content-Type: text/x-vcard; charset=us-ascii;
 name="eah.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Edsel Harrell
Content-Disposition: attachment;
 filename="eah.vcf"

begin:vcard 
n:A. Harrell, Jr;Edsel
tel;pager:972-597-8874
tel;home:817-430-3903
tel;work:972-575-6468
x-mozilla-html:FALSE
org:Raytheon Systems Company;Advanced Airborne EO
version:2.1
email;internet:eah@raytheon.com
title:Sr Principal Systems Engineer/w Honors
adr;quoted-printable:;;6600 Chase Oaks Blvd, MS 8454 (shipping)=0D=0Aor=0D=0AP.O.Box 660246, MS 8454 (mailing);Plano;TX;75066;
x-mozilla-cpt:;-23744
fn:Edsel
end:vcard

- --------------BCEF104CDC0B079A50A672E8--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PPC interrupt vectors!
Date: Wed, 27 Sep 2000 13:25:06 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39D23B82.E3B585E1@aps.anl.gov>
References: <8qrqkr$3nf$1@schbbs.mot.com>

White Weng wrote:
> 
> In PPC, there is only one interrupt vector. As for other external
> interrupts, how to handle them by interrupt routine? Is intConnect() ok for
> these interrupts or other functions?

The hardware has circuitry that funnels all enabled hardware interrupts
into the single interrupt pin, then the Exception Service Routine called
by that single vector (in the case of vxWorks this is in the BSP) queries
the hardware to find out what caused the interrupt and runs the
appropriate routine as registered with intConnect() or the equivalent.  If
you're running on a VME-based system you should find that intConnect()
works properly, but check your BSP documentation - some BSPs don't allow
you to use odd interrupt vector numbers for example.  If this is a PCI
system I think things may be a little different, check the documentation.

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: PPP-CHAP
Date: Wed, 27 Sep 2000 11:51:23 -0700
From: "Greg FitzJohn" <gregf@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <st4g9457j0as46@corp.supernews.com>
References: <8q7fd8$39k$2@nnrp1.deja.com>

WinNt 4.0 does not support CHAP MD5, the only way to connect with NT is to
use MS-CHAP (80).  I'm not sure if VxWorks support this or not, I know that
some routers (Cisco) do.
Hope this helps!

Greg FitzJohn
Vertical Networks
gregf@vertical.com

<cnraman@my-deja.com> wrote in message news:8q7fd8$39k$2@nnrp1.deja.com...
> Hello all,
> I am developing an Vxworks ( Tornado II) application which uses PPP and
> PAP or CHAP for authentication. I have tested the connection setup by
> connecting to a PC running WinNt4.0.
> I was able to test PAP with vxWorks as target and client. But with
> vxWorks as client and authentication method as CHAP, NT tries to force
> CHAP 80. VxWorks negotates with Chap 05 and finally the both agree for
> PAP and PPP link is established.  Is this negotiation correct?I read in
> some some material that the negotiation is supposed to fail. But for me
> PPP link is established.
> With vxWorks as server and authentication method as CHAP, i actually
> got a LCP ConfAck for Chap 05 and got a message "CHAP authentication
> success". Does this mean that NT 4.0 agreed for CHAP 05 algorithm?
>
> Is there any other method for testing CHAP authentication of my
> application?
>
> Any help is welcome. Thanks in advance
>
> regards
> Ramakrishnan
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problem with Spy
Date: Wed, 27 Sep 2000 12:00:58 -0700
From: "Greg FitzJohn" <gregf@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <st4gr08crhb30@corp.supernews.com>
References: <39D1C68A.92DDCE95@ensieta.fr>

We also had a problem with Spy with T2.  Come to find out that there is a
patch to fix the problem.  You should visit the WINSURF website.  If you are
still having problems send me an email with your phone # and maybe I can
walk you some of the changes we had to do to get it working.

Greg FitzJohn
Vertical Networks
gregf@vertical.com

"Pascal Coince" <coincepa@ensieta.fr> wrote in message
news:39D1C68A.92DDCE95@ensieta.fr...
> Hello,
>
> I work on a VMP1 board (3U PowerPC board from PEP) with Tornado
> 2/VxWorks5.4 .
> The problem is that the spy report doesn't work: the spy window from the
> browser reports 0% for all the processus (even IDLE and TOTAL) and the
> spy function is not known from VxWorks when launching it from the shell.
>
> I recompiled the BSP with spy and timex support but it didn't change
> anything.
>
> Has anyone an idea about this problem ?
>
> Pascal.
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Open IP
Date: Wed, 27 Sep 2000 12:03:30 -0700
From: "Greg FitzJohn" <gregf@vertical.com>
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <st4gvn8hnsaf76@corp.supernews.com>

Is anyone familar with Nortels's Open IP stack.  I heard that somewhere this
is available for VxWorks.

Thanks,
Greg FitzJohn
Vertical Networks
gregf@vertical.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: Question regarding RPC in VxWorks
Date: Wed, 27 Sep 2000 16:59:54 -0400
From: Sujani Viswanathan <sujani@nwmail.wh.lucent.com>
Organization: Lucent Technologies
Message-ID: <39D25FCA.68E9B6D5@nwmail.wh.lucent.com>

Hi,
I want to know if I can implement multi-threading under RPC in VxWorks.This is
the scenario.RPC follows a client server communication mechanism.Assume that the
server is a single task under VxWorks.I want to make the multi threaded so that
it can accept multiple requests from clients.Under solaris,this is implemented
this is implemented by forking a child process whenever there is a new request
from a client.The child process services the request and returns the result back
to the client while the parent server process returns to listen for new
requests.I know that in VxWorks,there is no concept of child and parent
processes.Is it possible to do something similar in VxWorks like spawning a
separate task for every new request? Has anyone tried this out? Any information
will be greatly appreciated.

Thanks,
Sujani

---------------------------

Newsgroups: comp.os.vxworks
Subject: Memory Allocation in VxWorks
Date: Wed, 27 Sep 2000 16:34:52 -0400
From: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qtnvt$sd9$1@overload.lbl.gov>

Hi,
This is a doubt regarding memory allocation in VxWorks.

When the network layer passes an IP packet to the driver, it passes it as a
mbuf. Will the memory in each of the mbuf segments be contiguous ? To be
more clear, is it possible for a single mbuf segment to span across multiple
physical pages.

TIA
T.C.Omprakaash

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: question about clock_gettime() function
Date: Wed, 27 Sep 2000 17:50:43 -0400
From: Joe Durusau <durusau@bellsouth.net>
Message-ID: <39D26BB3.A33AD658@bellsouth.net>
References: <8qsg4e$it2$1@schbbs.mot.com>

	The granularity is that of one clock tick.  The resolution
is nanoseconds.  In other words, the smallest difference you 
will ever see is (1000000)*(1/tickrate).  

Speaking only for myself,

Joe Durusau


Li Xin wrote:
> 
> VxWorks provides an API clock_gettime( ) to get current time. It stores the
> current time in a timespec structure which has have a resolution of
> nanoseconds. Is it possible that the resolution is more precise than one
> clock tick?

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: c++ demangling
Date: Wed, 27 Sep 2000 22:12:37 +0100
From: Peter Hunnisett <hunnise@europem01.nt.com>
Organization: Nortel Networks
Message-ID: <39D262C5.434C36D0@europem01.nt.com>
References: <8qahrh$n8d$1@nnrp1.deja.com>

jojodead@my-deja.com wrote:
> 
> Hello,
> I've recently moved my software to VxWorks 5.4 and tornado 2.0 .
> The problem I have is that when using the c - interpeter in the shell
> through the serial connection,
> and using symbols the are originated from c++ , the shell doesn't
> recoginize them. If I add to the symbol "__Fv" for example , it works.

<snip>

Sounds like you're not using C linkage on your function. Throw an
extern "C" in and you should be rolling...

- -- 
Ciao,
Peter Hunnisett
hunnise@nortelnetworks.com

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: sens or non-sens
Date: Wed, 27 Sep 2000 16:49:05 -0700
From: "Michael S. Simpson" <mssimpson@west.raytheon.com>
Organization: Raytheon Company
Message-ID: <39D28771.DA489881@west.raytheon.com>
References: <8qb2b0$nk6$1@overload.lbl.gov>

This is a multi-part message in MIME format.
- --------------3F3D1319ADF254D273B3F82C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

When I was at Lockheed Martin, we had to have 2 separate installs
(VxWorks 5.3.1 / Tornado); one for SENS and one without.  You might be
able to put something in config.h or configall.h (a macro) to check if
SENS was installed.

Mike Simpson
Speaking only for myself...

"Chang, Mark" wrote:
> 
> Hi,
>         We have certain builds that are created with the
> Tornado sens install and other builds with the non-sens install.
> Is there a better way to build the different versions without
> having two Tornado installations.  What I do now is rename
> the Tornado_sens to Tornado when I need to build sens.
> 
> Thanks,
> Mark
> 
> oh, I'm using Tornado 1.0
- --------------3F3D1319ADF254D273B3F82C
Content-Type: text/x-vcard; charset=us-ascii;
 name="mssimpson.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael S. Simpson
Content-Disposition: attachment;
 filename="mssimpson.vcf"

begin:vcard 
n:Simpson;Michael
tel;pager:520-489-7933
tel;home:520-622-5039
tel;work:520-794-5381
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:mssimpson@west.raytheon.com
fn:Michael Simpson
end:vcard

- --------------3F3D1319ADF254D273B3F82C--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Telecom 'Start-up' Equity Opportunities / RTOS
Date: Wed, 27 Sep 2000 16:56:06 -0700
From: "Michael S. Simpson" <mssimpson@west.raytheon.com>
Organization: Raytheon Company
Message-ID: <39D28916.BE18987F@west.raytheon.com>
References: <39c0e2ab.4722246@news.flash.net> <2d102afe49%molochai@vapour-trail.demon.co.uk>

This is a multi-part message in MIME format.
- --------------D219179716028B5F4BD30DEB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

972 area code is in the Dallas-Ft. Worth (Texas) area.  I just left
there!

Mike

molochai wrote:
> 
> In message <39c0e2ab.4722246@news.flash.net>
>           careers@trisearch.com wrote:
> 
> Might be handy to indicate *where* the jobs are - especially which country.
> Similarly with currencies are being quoted for salaries: US$, canadian$, $HK,
> AUS$ someother$?
> 
> > This message is to advise users of VxWorks or other
> > RTOS that we are currently looking for Software
> > engineers with 3+ years experience in Real time
> > embedded software design and development for
> > Telecom or Datacom applications.
> >
> > Our clients are fully venture capital funded Telecom
> > start-up companies as well as established Telecom
> > companies.
> >
> > Top salaries to $120K (DOE) plus incentive bonuses
> > with generous stock options and full benefits and
> > relocation packages are offered for this experience.
> > These opportunities are truly exceptional 'career enhancing'
> > positions.
> >
> > TRI has played a key part in staffing some of the most
> > successful start-up and established telecom companies
> > in the country.
> > If you have an interest in surveying these opportunities:
> > Please respond in strictest confidence to:
> > TRI
> > 972/424-6076(fax)
> > careers@trisearch.com
> > www.trisearch.com
- --------------D219179716028B5F4BD30DEB
Content-Type: text/x-vcard; charset=us-ascii;
 name="mssimpson.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael S. Simpson
Content-Disposition: attachment;
 filename="mssimpson.vcf"

begin:vcard 
n:Simpson;Michael
tel;pager:520-489-7933
tel;home:520-622-5039
tel;work:520-794-5381
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:mssimpson@west.raytheon.com
fn:Michael Simpson
end:vcard

- --------------D219179716028B5F4BD30DEB--


---------------------------

Newsgroups: comp.os.vxworks,comp.arch.embedded
Subject: which PPC for high end routers?
Date: Thu, 28 Sep 2000 01:49:26 GMT
From: eabrg@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8qu834$1e7$1@nnrp1.deja.com>

Can somone provide feedback on which
processors are typically used in high end
router boxes that have to operate at OC-48
speeds. I'm looking for Power PC architecture.

Thanks

Eabrg


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: MPC860 Rev B Patch: SPR 26522
Date: Thu, 28 Sep 2000 01:52:56 GMT
From: Patrick Thomas <patrick@weco.com>
Organization: Deja.com - Before you buy.
Message-ID: <8qu89m$1ha$1@nnrp1.deja.com>

Does any one know what happened to SPR 26522.  I found
a reference to it in SPR26510 in WindSurf, but could
not find 22 itself.  It is supposed to handle an MMU
problem with the 860's rev B.  Thanks for any info.


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Routing question
Date: Wed, 27 Sep 2000 15:59:09 -0700
From: "Jeremy Pye" <cjp@endusis.com>
Organization: Customer of Energis Squared
Message-ID: <mt1tq8.7ev.ln@gate.endusis.com>

This is  a general network question.

Our platform has two ethernet interfaces, one interface A:
192.168.0.254/255.255.255.0 is connected to a local network
The second interface B: 90.0.0.1/255.255.255.0 is connected to the internet
via through a router.

What entries should be in my routing table ?


Help much appreciated

Jeremy




---------------------------

Newsgroups: comp.os.vxworks
Subject: Help!VxWorks System in ROM
Date: Thu, 28 Sep 2000 10:16:21 +0800
From: "kvd2" <kvd2@kimo.com>
Organization: DCI HiNet
Message-ID: <8qua6a$k5p@netnews.hinet.net>


Dear Sir,

In "11.6.2 Creating a VxWorks System in ROM" pf UM of tornado, It says:
"To put VxWorks or a VxWorks-based application into ROM, you must enter
the object files on the loader command line to in an order that lists the
module romInit.o  before sysALib.o. Also specify the entry point option -e
_romInit.  The  romInit(  ) routine initializes the stack pointer to point
directly below the text segment.  It then calls bootInit(?, which clears
memory and copies the vxWorks text and data segments to the proper location
in RAM.  Control is then passed to usrInit(?.

A good example of a ROM-based VxWorks application is the VxWorks boot ROM
program itself.  The file c:\tornado\target\config\all\bootConfig.c is the
configuration module for the boot ROM, replacing the file usrConfig.c
provided for the default VxWorks development system.  The makefiles in the
target-specific directories contain directives for building the boot ROMs,
including conversion to a file format suitable for downloading to a PROM
programmer. Thus, you can generate the ROM image with the following make
command:"

 I have some question about that:
 1. "you must enter the object files on the loader command line"
    What is loader command line? where it is?
 2. "specify the entry point option -e _romInit"
     How to do that?
 3."replacing the file usrConfig.c provided for the default VxWorks
     development system"
 Should I repalce bootConfig with usrConfig.c? if I want development
system.
 4. What switch in winConfig must be turned on/off if I want to debug over
serial line?
 5. I've creat svxWorks.res_rom_nosym_res_low and burn it to flash memory,
but the target  has no responding to target server!
  However, the target can link target server if using
vxworks.sr_rom.hex! winShell can be
  opened, obj can be loaded to target.... but a error message "
WTX_ERR_AGENT_GOPHER...."
  is returned.

 6. Meanwhile, some tasks are created after the booting over EtherNet, but
I can find it   if booting over serial line. why?
   Tasks are created after booting booting over ethernet:
   tLogTask   logTask        5eccd0   0   PEND          63a48   5ecc08
0     0
  tExcTask   excTask        5ef648   0  PEND          63a48   5ef580       0
0
 tWdbTask   0x581e8        5c4870   3 READY         642ec   5c4788       0
0
 tNetTask   netTask        5e7a30  50 PEND          642ec   5e7978       0
0

 7. What I supposed to do if I wanna boot vxworks from flash and debugging
over serial line?

 Hope hear from you soon!




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: ROM Resident&ROM Based??
Date: Thu, 28 Sep 2000 05:12:20 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <UqAA5.256969$i5.3539016@news1.frmt1.sfba.home.com>
References: <8qsn66$7mt$1@news.seed.net.tw>

ROM resident runs from ROM, ROM based is crossloaded to RAM and run from 
there.

paul

In article <8qsn66$7mt$1@news.seed.net.tw>, "Bibo" <topbibo@pchome.com.tw> 
wrote:
>Hi all:
>I'm new to vxWorks!
>Does any body can tell me the following....
>
>What deifference between
>"ROM Resident Image" and "ROM Based Image"??
>"ROM based ROM Model" and "RAM based ROM Model"??
>
>
>
>
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: undefined symbols
Date: Thu, 28 Sep 2000 05:42:17 GMT
From: "Patrick@Roadrunner" <pfitzpa1@san.rr.com>
Organization: Time Warner Cable of San Diego, CA
Message-ID: <ZSAA5.770$Y5.27030@typhoon.san.rr.com>
References: <8qr4m4$gk7$1@nnrp1.deja.com>

Very hard to give specific answer with so little information, but here is an
example of one possible cause...
say your header file declares function XXReceive() and you use this
XXReceive in many places, however when you actually define XXReceive(), you
have a typo and you now have a routine called XXRecieve (notice spelling
mistake).
With a downloadable build vxworks will resolve all the symbols it can and
those it cannot it will assume are dynamically linked(resolved) at load
time.  So you have XXRecieve() function which nobody calls, and (in the eyes
of the downloadable object) one external symbol XXReceive() which it will
attempt to resolve when you load the module.

if you attached header file/c file and the actual undefined symbols I could
give a more difinitive answer.

Hope this helps...

patrick

<chrisanc1967@my-deja.com> wrote in message
news:8qr4m4$gk7$1@nnrp1.deja.com...
> I've written a very small application to test a card on my vme system. I
> do not have any object modules that I need to link and the few header
> files that I use are placed in the same directory. When I make my
> application with the default makefile I get a good build( at least
> that's what the build output window tells me). now, when I download my
> application onto my target I get 'undefined symbols' message, the
> symbols that the OS claims to be undefined are defined in the header
> files in the same directory. Can anyone tell me what I'm missing?
>
> Thanks
>
> Christopher
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: tNetTask/Crosswind
Date: Thu, 28 Sep 2000 05:43:41 GMT
From: "Patrick@Roadrunner" <pfitzpa1@san.rr.com>
Organization: Time Warner Cable of San Diego, CA
Message-ID: <hUAA5.771$Y5.26975@typhoon.san.rr.com>
References: <8qqmgh$4ve$1@nnrp1.deja.com>

You would have to use crosswind/target server through a serial line to do
that, but yes it can be done....


patrick
<seshadri_kumar@my-deja.com> wrote in message
news:8qqmgh$4ve$1@nnrp1.deja.com...
> hi folks,
>
> Is there any way of attaching crosswind to tNetTask?
> I wanted to step through some of the MUX routines i've written. This
> routines execute in the context of tNetTask.
>
> Thanks in advance.
> sesh
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: undefined symbols
Date: Thu, 28 Sep 2000 09:09:09 +0200
From: Gijs van Oort <Gijs.van.oort@vitatron.com>
Organization: Vitatron Medical B.V.
Message-ID: <39D2EE94.ACEEDC3B@vitatron.com>
References: <8qr4m4$gk7$1@nnrp1.deja.com> <ZSAA5.770$Y5.27030@typhoon.san.rr.com>

The thing you describe here (mistyping a function name) would give a compiler
error, I think. Even though it is possible to link dynamically, the compiler
must know how to call the function (e.g. what kind of parameters are
needed). So each dynamically linked function you use, must be
prototyped before use. If you don't prototype it (and you don't here),
the compiler does not know how to call the function, and will give an
error on this.

Gijs van Oort

"Patrick@Roadrunner" wrote:

> Very hard to give specific answer with so little information, but here is an
> example of one possible cause...
> say your header file declares function XXReceive() and you use this
> XXReceive in many places, however when you actually define XXReceive(), you
> have a typo and you now have a routine called XXRecieve (notice spelling
> mistake).
> With a downloadable build vxworks will resolve all the symbols it can and
> those it cannot it will assume are dynamically linked(resolved) at load
> time.  So you have XXRecieve() function which nobody calls, and (in the eyes
> of the downloadable object) one external symbol XXReceive() which it will
> attempt to resolve when you load the module.
>
> if you attached header file/c file and the actual undefined symbols I could
> give a more difinitive answer.
>
> Hope this helps...
>
> patrick


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: how to convert a virtual address into physical address?
Date: Thu, 28 Sep 2000 07:24:55 GMT
From: john_94501@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8quro4$gct$1@nnrp1.deja.com>
References: <8qmtgo$9dj$1@schbbs.mot.com> <8qo01b$t6m$1@nnrp1.deja.com> <8qp26f$smp$1@schbbs.mot.com>

Hello,

> As for cacheDmaMalloc(), Address conversion should be used. But as for
> malloc() and memalign(),
> it is necessary to handle a address conversion before used by devices?

Potentially it is; it depends on whether there is any chance the
physical address will not be the same as the virtual address. In most
cases, the reason for providing an address to a device though is for
DMA...

HTH,

John...

> Thanks a lot!
>
> White Weng
> john_94501@my-deja.com wrote in message
<8qo01b$t6m$1@nnrp1.deja.com>...
> >Hi,
> >
> >> Is it necessary to convert virtual address into physical address in
> >vxworks,
> >> as for malloc() or memalign()?
> >
> >Not in most cases for VxWorks 5.x. There are some boards out there
that
> >require it though, and for device drivers that need to set up DMA
> >transfers it is strongly recommended. To aid this, there are two
macros
> >that drivers can use:
> >
> >CACHE_DMA_VIRT_TO_PHYS
> >CACHE_DMA_PHYS_TO_VIRT
> >
> >These are described in the Programmer's Guide (around the area that
> >talks about writing your own device drivers), and their definitions
are
> >in cacheLib.h. You should note that converting a physical address to
a
> >virtual address may not be very deterministic (it usually involves a
> >linear search of the translation tables looking for a match). For
this
> >reason, it is best to avoid needing this translation. The virtual to
> >physical translation will read the MMU's tables and is thus more
> >predictable.
> >
> >HTH,
> >
> >John...
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Download will not run
Date: Wed, 27 Sep 2000 11:51:29 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39D241B1.C9EFFAE3@lmco.com>
References: <39D04112.4B8FE442@scanmar.no> <8qq5lb$dls$1@nnrp1.deja.com> <39D18CB2.25BA336F@scanmar.no> <39D1C2ED.D36798B1@vitatron.com>

	Just as an aside, gcc will always treat c++ files differenty.  There is
a
way to call C functions from c++ files, if that is what you need.  It's
something
like declaring it extern "C" functionname  .  

Speaking only for myself,

Joe Durusau

Gijs van Oort wrote:
> 
> I had exactly the same problem yesterday (a few hours after I read your
> message),
> and I really thought that the Millennium Bug had struck at last...
> I could solve the problem by renaming my source file from test.cpp to
> test.c. Apparently Tornado compiles C++ files different from normal
> C files...
> 
> Gijs van Oort
> 
> Ole Asbjorn Fadum wrote:
> 
> > The problem is solved, it's rather strange but the shell does a
> > mangle/demangle so that lkup("splash") will find the function
> > splash(char *)
> >
> > but when it comes to accessing (calling or spawning a process) the method
> > you have to use the mangled name _splash__FPc.
> >
> > The problem is caused by this non symmetrical user interface, which
> > according to WRS is the way it should be !! (I wish that when you found
> > something like this the vendor says yes this is really silly, we will fix it
> > soon).
> >
> > lvwhitebir@my-deja.com wrote:
> >
> > > In article <39D04112.4B8FE442@scanmar.no>,
> > >   Ole Asbjorn Fadum <ole.asbjorn.fadum@scanmar.no> wrote:
> > > > Hi,
> > > >
> > > > I've got a problem with a downloadable application. My target is
> > > > pcPentium and I'm using Tornado-II.
> > > >
> > > > I download my application to the target, and use the lkup function to
> > > > see that my program entry point is in the symbol table, but when I try
> > > > to call it from the shell I got "undefined symbol"
> > > >
> > > > What's up??
> > > >
> > > > Session:
> > > > -> ld < splashApp.out
> > > > value = 63393772 = 0x3c74fec = splashApp.out_bss + 0x8
> > > > -> lkup "_splash"
> > > > splash(char *)    0x03c741e4 text (splashApp.out)
> > > > value = 0 = 0x0
> > > > ->sp _splash
> > > > undefined symbol: _splash
> > > >
> > > >
> > >
> > > The shell is probably supplying the underscore for you in
> > > front of your routine name.  That would make it __splash which
> > > doesn't exist in the symbol table.  Just do 'sp splash'.
> > >
> > > HTH,
> > >    Larry
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Question regarding RPC in VxWorks
Date: Thu, 28 Sep 2000 11:05:49 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39D317FD.66867CD2@agilent.com>
References: <39D25FCA.68E9B6D5@nwmail.wh.lucent.com>

In "UNIX Network Programming, Volume 1, Second Edition: Networking APIs: Sockets and
XTI" by the late, great W Richard Stevens, Chapter 27 covers Client-Server Design
Alternatives and various server models and although it doesn't talk about VxWorks
specifically the whole book is a real mine of information.

This problem has been solved already by web server programmers - try looking at the
Apache source or design docs. The simplistic fork-and-process-request model is very
inefficient and died out many years ago. You probably need some kind of pool of
tasks to handle requests passed to them via IPC. Remember that RTOS manufacturers
live and die on their speeds of context switch, interrupt latency, message passing
etc, so these are highly optimised, but task creation time isn't high on that list
and takes much longer.

Hope this helps.

James.



---------------------------

Newsgroups: comp.os.vxworks
Subject: re: Memory Allocation in VxWorks
Date: Thu, 28 Sep 2000 11:10:47 +0100 (BST)
From: David Laight <dsl@tadpole.co.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <200009281010.LAA01180@dsl-2.tadpole.co.uk>

This all depends on how the virtual-physical mapping is done, and how the mbufs 
are split from a big chunk of virtual memory.

Most (all?) vxWorks BSPs allocate contiguous physical memory to virtual address 
blocks - after all that is what is requested when the mmu is set up (from 
sysLib.c as I recall).

Since vxWorks doesn't do any dynamic memory mapping (yet) this initial mapping 
will stay and your mbuf data blocks will remain contiguous.

certainly for the BSP I have sysVirtToPhys and sysPhysToVirt are based on 
knowledge of how the mmu was (requested to be) setup.  Not from walking/scanning 
the page tables (as suggested previously).

For generic network drivers there can actually be a performance from NOT 
transmitting from user supplied buffers!  You may find that copying (and 
assembling the fragments of) the user buffer into a buffer of known propertias 
and alignment is more efficient that sorting out a list of physical 
address/length pairs.  This is particularly true if you don't know where the 
data has come from as it may have a significant number of fragments - which may 
cause underruns (1400+ 1 byte fragments).

On Unix systems streams messages can be in non-contiguous physical memory. 
Remember to check EVERY page boundary...

Also remember that you cannot guarantee to read beyond the end of the supplied 
buffer - it may be the end of a page and the next page not be mapped.  (This 
happens in a 3Com ODI driver 'ported' (object translation) from Netware to 
unixware 2...)

	David

> Subject: Memory Allocation in VxWorks
> Submitted-by: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
> 
> Hi,
> This is a doubt regarding memory allocation in VxWorks.
> 
> When the network layer passes an IP packet to the driver, it passes it as a
> mbuf. Will the memory in each of the mbuf segments be contiguous ? To be
> more clear, is it possible for a single mbuf segment to span across multiple
> physical pages.
> 
> TIA
> T.C.Omprakaash



- ----------------------------------------------------------------
David Laight                          email: dsl@tadpole.co.uk
Tadpole Technology plc                phone: +44 1223 428 232
Cambridge, UK                         fax:   +44 1223 428 201


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Project CDF file format documentation?
Date: Thu, 28 Sep 2000 11:41:41 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39D32065.FDD50A2E@agilent.com>
References: <39D23AD4.753EFD54@raytheon.com>

I got a couple of useful tech notes from WindRiver support that covered what I needed to
know. A brief one about how to add you own routine into usrInit() in prjConfig.c, and a
longer one about creating a .cdf file.

James Marshall.



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 08:44:24 2000
From: Chris Hann <chrishann@home.net>
Date: Thu Sep 28 08:44:27 PDT 2000
Subject: Re: User privileges

No. vxWorks is an embedded operating system, that sort of facility would only be provided by a time sharing multi user operating system, for the majority of things vxWorks is used for there is either no user or the user is not aware that an opeating system is in use and you certainly wouldn't want them looking for symbols and calling functions.

The easiest way to achieve what you want is to add your own shell, you just use a task that sits on the tty and parses lines entered by the user. Adding password protection is just a case of adding an enable command for the higher level functins.

I've done this sort of thing before and it isn't difficult.

Chris

the vxWorks Users Group Exploder wrote:
> 
> Submitted-by vxwexplo-errs@csg.lbl.gov  Tue Sep 26 13:13:48 2000
> Submitted-by: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
> 
> Is there anything like super user login / super user priviliges in a VxWorks
> system.
> 
> I am writing a card driver for which I am also providing a character device
> interface to the user. It has an ioctl function which also has commands to
> change card driver propertries, but these commands should require super user
> permissions, is there anyway to check permissions of the user in the driver
> code ?
> 
> Regards
> T.C.Omprakaash
>


From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 11:58:14 2000
From: felix.s.mueller@ch.abb.com
Date: Thu Sep 28 11:58:16 PDT 2000
Subject: Problems with Dos File System in VxWorks



Hello

We are using the Dos File System of Vxworks to write data  into an on-board
FLASH. In case a power-down of our target happens while writing data to the
FLASH, it may happen that the whole file-system gets corrupted. Even worse, it
happens sometimes that after the following power-up Tornado reboots while trying
to access the corrupted file system.

Do you kow of any remedy?

Thank's for your help.

Sincerely, F. Mller




From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 12:06:18 2000
From: felix.s.mueller@ch.abb.com
Date: Thu Sep 28 12:06:21 PDT 2000
Subject: Are there valiables that don't get initialized after power-up?



Hello

We are using the GNU C++ compiler in conjunction with VxWorks. To implement a
detection of reboots, I would like to write a well known  pattern (e.g. 32 bit)
to a memory location. The thing is, I would like to check the same memory
location after the next reboot and check for the previously set 'well known
pattern'. This requires that the memory location does NOT get initialized after
starting VxWorks.

Do you know a way to do it?

Thank's, Felix




From vxwexplo-errs@csg.lbl.gov  Thu Sep 28 17:30:55 2000
From: Janusz Kolodziejczyk <JanuszK@sbs.com>
Date: Thu Sep 28 17:30:57 PDT 2000
Subject: Booting from SCSI drive


I am trying to boot X86 system with VxWorks 5.3.1 from SCSI hard drive.
During the boot I get the following messages:

Attaching to scsi device ... done
Loading 0x98358 (tBoot): memPartAlloc: block too big - 99840 in partition
0x596d0

Cannot open "/sd0/x86scsi" 
errno=0x110001

Before I booted VxWorks from the network and copied
the system image (file "x86scsi") to SCSI drive.
Please let me know if you know what these messages mean.

Also, how to define DEFAULT_BOOT_LINE
in config.h to boot from SCSI drive.

__________________________________________
Janusz Kolodziejczyk / SBS Technologies, Modular I/O
8371C Central Ave. / Newark, CA 94560
Phone: 510-742-2500 / Fax: -2501 / EMail: JanuszK@sbs.com




From vxwexplo-errs@csg.lbl.gov  Fri Sep 29 01:13:04 2000
From: Atkinson Andrew <AATKINSON1@dera.gov.uk>
Date: Fri Sep 29 01:13:33 PDT 2000
Subject: Intro to PCI - 

Hi All

	I am a new boy to the world of PCI on PPC and require a good
book to make things clearer - any suggestions?

Regards


Andy Atkinson

VxWorks


-- 
The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution, 
or any action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.


From vxwexplo-errs@csg.lbl.gov  Fri Sep 29 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Fri Sep 29 04:03:11 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Fri Sep 29 04:03:04 PDT 2000

        Subject: Re: c++ demangling
        Subject: Re: socket() errno = 0x37
        Subject: switch between different BSPs
        Subject: How to align functions to 8-byte boundaries ?
        Subject: DHCP client CONFIG ?
        Subject: re: User privileges
        Subject: Re: Help with AMD 79C972 END DRIVER
        Subject: Re: which PPC for high end routers?
        Subject: Re: Routing question
        Subject: Problems with Dos File System in VxWorks
        Subject: Are there valiables that don't get initialized after power-up?
        Subject: Re: switch between different BSPs
        Subject: "EA DATA. SF"
        Subject: pSOS to VxWorks
        Subject: Re: Green Hills Software
        Subject: Re: gcc 2.95.2
        Subject: Re: Are there valiables that don't get initialized after power-up?
        Subject: Booting from SCSI drive
        Subject: Re: Are there valiables that don't get initialized after power-up?
        Subject: Timeout check from serial device driver
        Subject: Re: "EA DATA. SF"
        Subject: mux Interface - endPacketDataGet()
        Subject: R: Question about PCI configuration ...
        Subject: Intro to PCI -
        Subject: Re: Problems with Dos File System in VxWorks
        Subject: Re: Intro to PCI -
        Subject: Re: "EA DATA. SF"

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: c++ demangling
Date: Thu, 28 Sep 2000 10:19:39 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Message-ID: <AUFA5.368$p4.64591@newsr1.u-net.net>
References: <8qahrh$n8d$1@nnrp1.deja.com>

jojodead@my-deja.com wrote in message <8qahrh$n8d$1@nnrp1.deja.com>...
>Hello,
>I've recently moved my software to VxWorks 5.4 and tornado 2.0 .
>The problem I have is that when using the c - interpeter in the shell
>through the serial connection,
>and using symbols the are originated from c++ , the shell doesn't
>recoginize them. If I add to the symbol "__Fv" for example , it works.
>
>This Was working fine with Tornado 1.0.1 and VxWorks 5.3.1 .
>I also tested this in the WindSh (the shell in the tornado) and there
>it works fine.
>
>Is there a solution for this problem?
>

  The simplest solution is to type as much of the function name as you
know, and then use the Ctrl-D (name completion) key to get the shell
to add the required signature on the end. This can be a bit tricky if you
have overloaded functions, as they will only differ in the signature. But
signatures soon start to make sense - __Fv means function taking void
args, for example;   __Fii is a function taking two ints, __FPUc is a
function taking a pointer to an unsigned char. The rule is this: take the
function name, add '__F' to the end, then add the mangled descriptions
for all the parameters. Modifiers (volatile, pointer, unsigned) are
indicated
with a capital letter ('V', 'P', 'U'); the basic types are represented by
single lower case letters ('v' = void, 'i' = int, 'c' = char); and the way
that
classes and structs are represented is quite beyond my understanding!

  If you want to try experimenting, there's a utility in the Tornado tool
chain called 'c++filt<arch>', where <arch> will be the architecture (ppc
for powerpc, etc). If you run this program you can try entering C++
mangled names and it will convert them to prototypes for you. You'll
soon get a feel for it after playing around a bit

        hth,
          DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: socket() errno = 0x37
Date: Thu, 28 Sep 2000 10:20:08 +0100
From: "Dave Korn" <no.spam@my.mailbox.invalid>
Message-ID: <BUFA5.369$p4.64591@newsr1.u-net.net>
References: <8qorvv$26mk$1@news.cz.js.cn>

harvey wrote in message <8qorvv$26mk$1@news.cz.js.cn>...
>It is error to call socket(),errno=0x37.
>If you know the reason,pls tell me.
>Thanx.

  From %WIND_BASE%\target\h\errno.h, where you can also find other error
codes...

>#define ENOBUFS  55  /* No buffer space available */

  Please remember to RTFM before asking such trivial questions, this is
really absolute beginner stuff and maybe you should think about taking a
course in C programming if you've never heard of errno.h

       hth,
          DaveK
- --
They laughed at Galileo.  They laughed at Copernicus.  They laughed at
Columbus. But remember, they also laughed at Bozo the Clown.



---------------------------

Newsgroups: comp.os.vxworks
Subject: switch between different BSPs
Date: Thu, 28 Sep 2000 17:05:18 +0200
From: "Markus MItterer" <markus.mitterer@sbu1.storkgroup.com>
Organization: KPNQwest customer news service
Message-ID: <63JA5.60$GY4.4783@nreader1.kpnqwest.net>

Hi VxWorkers,
I have a lot of project-files (about 50) which I have created for a specific
BSP (mv2303). I use the standard makefiles within Tornado with some special
adjustments for compiling (own rules and  macros for debug &
release-version, ...). Once I created a base-projectfile with all these
settings and then every new project I derived from this one. Everything
works fine.
But now I have new BSPs (mv2400 and simNT) and I don`t want to edit each of
this 50 project-files. I am not able to derive an existing project from an
other one (I would create a new base-projectfile) only from a toolchain. I
need an option for switching between debug & release and all of the BSPs.

Does anybody know how to do?

best regards,

- ---
Markus Mitterer
Software-Development, STK
mailto: markus_mitterer@sbu1.storkgroup.com




---------------------------

Newsgroups: comp.os.vxworks
Subject: How to align functions to 8-byte boundaries ?
Date: Thu, 28 Sep 2000 17:19:13 +0200
From: Ivan Yavar <Ivan.Yavar@elfxa.com>
Organization: Siemens AG,(Hofmannstr)  Munich-Germany-Europe.
Message-ID: <39D36171.ED4CCDDB@elfxa.com>


Hello,

I have some software running in a VxWorks environment on a PowerPC 603e
processor.

I am noticing that the performance of our code varies quite
significantly between each build as functions are added and removed,
even though none of the actual code which gets to execute has changed. I
am guessing that the problem is due to wasted space in the instuction
cache caused by code not being aligned to 8 byte boundaries.

I wanted to verify this by forcing selected fast functions to addresses
which are divisible by 8 bytes. I tried to achieve this by writing a
linker (ldppc) command file. I have tried many combinations of linker
commands, but when examining the final map file, all functions are
always aligned to 4 byte divisable addresses.

My linker command file (at present) looks as follows:-

SECTIONS
{
.text :
  {
    etext = .;
    *(.text)

    . = ALIGN(8);
    FastFunction1 = .;

    . = ALIGN(8);
    FastFunction2 = .;

    . = ALIGN(8);
    FastFunction3 = .;

    . = ALIGN(8);
    FastFunction4 = .;
  }

  .data :
  {
    edata = .;
    *(.data)
  }

  .bss :
  {
    *(.bss)
  }

  end = .;
}

I have wasted many hours working on this. If anyone can help me, I would
be very greatful.

Best Regards,

Ivan




---------------------------

Newsgroups: comp.os.vxworks
Subject: DHCP client CONFIG ?
Date: Thu, 28 Sep 2000 11:16:23 -0400
From: Sunil Joseph <suniljoseph@lucent.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <39D360C7.C6996E1A@lucent.com>

Folks,
	Does anybody know how to configure a DHCP client on vxworks? I set all the
necessary includes and have code in place as mentioned in the SENS manual. I
would like to know what is the type of the variable pLeaseCookie?

pLeaseCookie=dhcpInit(pIf,TRUE);
                if(pLeaseCookie == NULL)
                return (ERROR);
Sunil

---------------------------

Newsgroups: comp.os.vxworks
Subject: re: User privileges
Date: Thu, 28 Sep 2000 08:44:15 -0700
From: Chris Hann <chrishann@home.net>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8qvqpb$acv$1@overload.lbl.gov>

No. vxWorks is an embedded operating system, that sort of facility would only be provided by a time sharing multi user operating system, for the majority of things vxWorks is used for there is either no user or the user is not aware that an opeating system is in use and you certainly wouldn't want them looking for symbols and calling functions.

The easiest way to achieve what you want is to add your own shell, you just use a task that sits on the tty and parses lines entered by the user. Adding password protection is just a case of adding an enable command for the higher level functins.

I've done this sort of thing before and it isn't difficult.

Chris

the vxWorks Users Group Exploder wrote:
> 
> Submitted-by vxwexplo-errs@csg.lbl.gov  Tue Sep 26 13:13:48 2000
> Submitted-by: "Omprakaash, T.C." <T.C.Omprakaash@marconi.com>
> 
> Is there anything like super user login / super user priviliges in a VxWorks
> system.
> 
> I am writing a card driver for which I am also providing a character device
> interface to the user. It has an ioctl function which also has commands to
> change card driver propertries, but these commands should require super user
> permissions, is there anyway to check permissions of the user in the driver
> code ?
> 
> Regards
> T.C.Omprakaash
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Help with AMD 79C972 END DRIVER
Date: Thu, 28 Sep 2000 14:36:34 -0400
From: Sunil Joseph <suniljoseph@lucent.com>
Organization: Lucent Technologies, Columbus, Ohio
Message-ID: <39D38FB2.B4EAA202@lucent.com>
References: <8qpapc$g58$1@nnrp1.deja.com>

Glen,
	Does your configAll.h have INCLUDE_END defined ?.
	Does your struct END_TBL have INCLUDE_LN_97X_END ?
	If you have the above two statements try  muxShow.
	If the device shows up attach it with ipattach(...).
Gook Luck.
Sunil

Glen Cornell wrote:
> 
> I have tried to include the line:
> #define INCLUDE_LN_97X_END      /* AMD 79C972 END DRIVER */
> in my pc486/config.h, but that doesn't appear to be enough to get the
> thing working.
> 
> Does anyone know how I can get this going?
> 
> thanks,
> glen
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

---------------------------

Newsgroups: comp.os.vxworks,comp.arch.embedded
Subject: Re: which PPC for high end routers?
Date: Thu, 28 Sep 2000 13:35:17 -0500
From: Bo Yu {BOYU1} <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39D38F65.1A41B0E7@email.mot.com>
References: <8qu834$1e7$1@nnrp1.deja.com>


- --------------B0FDD3C109BE2190FDC276F9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

eabrg@my-deja.com wrote:

> Can somone provide feedback on which
> processors are typically used in high end
> router boxes that have to operate at OC-48
> speeds. I'm looking for Power PC architecture.
>
> Thanks
>
> Eabrg
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

PowerPC 8260.

Or,  7400 if you do not need integrated communication devices.

Even better, use 7400 as core and disable the 603e on 8260 at
the same time. You got G4 core and 8260 communication
controllers.

- --
Bo

- --------------B0FDD3C109BE2190FDC276F9
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
eabrg@my-deja.com wrote:
<blockquote TYPE=CITE>Can somone provide feedback on which
<br>processors are typically used in high end
<br>router boxes that have to operate at OC-48
<br>speeds. I'm looking for Power PC architecture.
<p>Thanks
<p>Eabrg
<p>Sent via Deja.com <a href="http://www.deja.com/">http://www.deja.com/</a>
<br>Before you buy.</blockquote>
PowerPC 8260.
<p>Or,&nbsp; 7400 if you do not need integrated communication devices.
<p>Even better, use 7400 as core and disable the 603e on 8260 at
<br>the same time. You got G4 core and 8260 communication
<br>controllers.
<pre>--&nbsp;
Bo</pre>
</html>

- --------------B0FDD3C109BE2190FDC276F9--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Routing question
Date: Thu, 28 Sep 2000 13:37:33 -0500
From: Bo Yu {BOYU1} <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39D38FED.9F6E016B@email.mot.com>
References: <mt1tq8.7ev.ln@gate.endusis.com>


- --------------7546E5F2E698B9D6BCA4DDC7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jeremy Pye wrote:

> This is  a general network question.
>
> Our platform has two ethernet interfaces, one interface A:
> 192.168.0.254/255.255.255.0 is connected to a local network
> The second interface B: 90.0.0.1/255.255.255.0 is connected to the internet
> via through a router.
>
> What entries should be in my routing table ?
>
> Help much appreciated
>
> Jeremy

For default destination, send to 90.0.0.1 . You can do:

routeAdd("0", "90.0.0.1");

- --
Bo



- --------------7546E5F2E698B9D6BCA4DDC7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Jeremy Pye wrote:
<blockquote TYPE=CITE>This is&nbsp; a general network question.
<p>Our platform has two ethernet interfaces, one interface A:
<br>192.168.0.254/255.255.255.0 is connected to a local network
<br>The second interface B: 90.0.0.1/255.255.255.0 is connected to the
internet
<br>via through a router.
<p>What entries should be in my routing table ?
<p>Help much appreciated
<p>Jeremy</blockquote>
For default destination, send to 90.0.0.1 . You can do:
<p>routeAdd("0", "90.0.0.1");
<pre>--&nbsp;
Bo</pre>
&nbsp;</html>

- --------------7546E5F2E698B9D6BCA4DDC7--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Problems with Dos File System in VxWorks
Date: Thu, 28 Sep 2000 20:58:09 +0200
From: felix.s.mueller@ch.abb.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r05as$e3u$1@overload.lbl.gov>



Hello

We are using the Dos File System of Vxworks to write data  into an on-board
FLASH. In case a power-down of our target happens while writing data to the
FLASH, it may happen that the whole file-system gets corrupted. Even worse, it
happens sometimes that after the following power-up Tornado reboots while trying
to access the corrupted file system.

Do you kow of any remedy?

Thank's for your help.

Sincerely, F. Mller



---------------------------

Newsgroups: comp.os.vxworks
Subject: Are there valiables that don't get initialized after power-up?
Date: Thu, 28 Sep 2000 21:06:19 +0200
From: felix.s.mueller@ch.abb.com
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r05as$e3v$1@overload.lbl.gov>



Hello

We are using the GNU C++ compiler in conjunction with VxWorks. To implement a
detection of reboots, I would like to write a well known  pattern (e.g. 32 bit)
to a memory location. The thing is, I would like to check the same memory
location after the next reboot and check for the previously set 'well known
pattern'. This requires that the memory location does NOT get initialized after
starting VxWorks.

Do you know a way to do it?

Thank's, Felix



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: switch between different BSPs
Date: Thu, 28 Sep 2000 13:45:12 -0500
From: Bo Yu {BOYU1} <boyu1@email.mot.com>
Organization: Motorola CIG
Message-ID: <39D391B8.E4CD7B89@email.mot.com>
References: <63JA5.60$GY4.4783@nreader1.kpnqwest.net>


- --------------A87F7F6699C3CBF93EB48180
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Markus MItterer wrote:

> Hi VxWorkers,
> I have a lot of project-files (about 50) which I have created for a specific
> BSP (mv2303). I use the standard makefiles within Tornado with some special
> adjustments for compiling (own rules and  macros for debug &
> release-version, ...). Once I created a base-projectfile with all these
> settings and then every new project I derived from this one. Everything
> works fine.
> But now I have new BSPs (mv2400 and simNT) and I don`t want to edit each of
> this 50 project-files. I am not able to derive an existing project from an
> other one (I would create a new base-projectfile) only from a toolchain. I
> need an option for switching between debug & release and all of the BSPs.
>
> Does anybody know how to do?
>
> best regards,
>
> ---
> Markus Mitterer
> Software-Development, STK
> mailto: markus_mitterer@sbu1.storkgroup.com

Create a new project pointing to the new BSP directory.  Also create debug and
release targets in the same project. If you have clearcase source control, you
have
more options. Anyway, 50 files are NOT a lot at all. We have > 1000 files.

- --
Bo



- --------------A87F7F6699C3CBF93EB48180
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Markus MItterer wrote:
<blockquote TYPE=CITE>Hi VxWorkers,
<br>I have a lot of project-files (about 50) which I have created for a
specific
<br>BSP (mv2303). I use the standard makefiles within Tornado with some
special
<br>adjustments for compiling (own rules and&nbsp; macros for debug &amp;
<br>release-version, ...). Once I created a base-projectfile with all these
<br>settings and then every new project I derived from this one. Everything
<br>works fine.
<br>But now I have new BSPs (mv2400 and simNT) and I don`t want to edit
each of
<br>this 50 project-files. I am not able to derive an existing project
from an
<br>other one (I would create a new base-projectfile) only from a toolchain.
I
<br>need an option for switching between debug &amp; release and all of
the BSPs.
<p>Does anybody know how to do?
<p>best regards,
<p>---
<br>Markus Mitterer
<br>Software-Development, STK
<br>mailto: markus_mitterer@sbu1.storkgroup.com</blockquote>
Create a new project pointing to the new BSP directory.&nbsp; Also create
debug and
<br>release targets in the same project. If you have clearcase source control,
you have
<br>more options. Anyway, 50 files are NOT&nbsp;a lot at all. We have >
1000 files.
<pre>--&nbsp;
Bo</pre>
&nbsp;</html>

- --------------A87F7F6699C3CBF93EB48180--


---------------------------

Newsgroups: comp.os.vxworks
Subject: "EA DATA. SF"
Date: Thu, 28 Sep 2000 14:08:41 -0600
From: Les Hammer <les_hammer@agilent.com>
Organization: Agilent Technologies
Message-ID: <39D3A549.4FE64E0A@agilent.com>

Hi,

A mysterious file, "EA DATA. SF" appearred on my PC after
I installed Tornado/VxWorks.  It appears to be a hidden,
non-accessable system file, which casues my daily backup
routine to complain.  So far the guys at Wind River appear to be
baffled by this and don't think it's one of their files.  (It might be
an
interaction between the Tornado install and "Connected Netork
Backup" for all I know.)  Has anyone else seen this file?

Thanks,

Les Hammer


---------------------------

Newsgroups: comp.os.vxworks
Subject: pSOS to VxWorks
Date: Thu, 28 Sep 2000 22:14:25 GMT
From: bill2000k@yahoo.com
Organization: Deja.com - Before you buy.
Message-ID: <8r0frp$rke$1@nnrp1.deja.com>

I have been given a pSOS to VxWorks transition kit ( a set of .c files
and .h file). The whole thing is better called as p2vlib. Has any one
had any kind of experiences on this package. My main concern is on the
options and flags that are used in pSOS for which there may not be an
equivalent in VxWorks.
Thanks
- -bill


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Green Hills Software
Date: Thu, 28 Sep 2000 16:00:22 -0700
From: "Michael S. Simpson" <mssimpson@west.raytheon.com>
Organization: Raytheon Company
Message-ID: <39D3CD86.92F9524D@west.raytheon.com>
References: <8ogv5q$rpv$1@nnrp1.deja.com> <39b0638f$2$zpzbeena$mr2ice@news.visi.net> <CU3t5.124591$eS6.1263211@news1.rdc1.md.home.com>

This is a multi-part message in MIME format.
- --------------93C125787F14D0272CF25A53
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

When I was at Lockheed Martin Missiles & Fire Controls in Dallas, we had
some initial problems with the Green Hills AdaMulti (v1.8.9), but I
think a lot of the problems related to our legacy code (developed under
APEX and VADS).  We did have some problems trying to use the debugger
working with tasks on a target running VxWorks (v5.3.1).

Another alternative is GnatWorks ... GNAT for VxWorks (at the time, the
only target was the PowerPC).  We obtained an evaluation copy and were
successful in compiling our code under GnatWorks.  We were unable to
make the change to any compiler other that GH (with $150K invested in
tools).  GH did improve their system with MULTI2000, but I do not know
what the results are, having left there 4 months ago.

Speaking only for myself...

Mike Simpson

M Campbell wrote:
> 
> We also used Greenhills with vxWorks on a large program w/powerPCs. We found
> that Greenhills support for for thier Fortran compiler is starting to be
> non-existant. Their fortran debugger is practically useless beyond about a
> ~50K source line limit. When porting ancient fortran code be aware that
> Greenhills assumes that INTEGER*1 varibles are signed, where older machines
> (read Gould) make no such distinction.
> 
> On the Ada side, we had very few problems with developing there. After a
> certian point, the debugger also became useless. Also found that Greenhills
> method for implementing multitasking a bit awkward.
> 
> Would love to see a competior come into the picture on the Fortran side, but
> don't realistically don't see the enough demand for a company to make the
> effort to reach the maturity level of the Greenhills product & be
> competitive. As far as I can tell, GNU compilers / debuggers (fortran, ada)
> won't work for vxWorks. If anyone has actually used them in a vxWorks
> environment, i'd love to hear about it, as GNU tools "should" integrate
> seamlessly into the vxWorks way of doing things.
> 
> Like Peter, I dislike their Multi environment & we used it only sparingly in
> the beginning to access the debugger. Once to debugger got unweildly
> (extremely long compile / link times, then pay the time penalty all over
> when starting the the debugger), we stopped using that too, resorting the
> calls to C routines to print statements & stop processing so we could dump
> memory. About the only part of the product we are currently using is their
> fortran compiler (we use the vxWorks "ldppc" linker to link our code).
> 
> From a Greenhills perspective, the upgrade to Tornado II from Tornado I was
> no problem (esp. since we were only using the compiler). Believe those using
> the "other" Greeenhills tools will also have little problem.
> 
> "Peter McMorran" <mcmorran@visi.net> wrote in message
> news:39b0638f$2$zpzbeena$mr2ice@news.visi.net...
> > In <8ogv5q$rpv$1@nnrp1.deja.com>, on 08/29/00
> >    at 06:25 PM, gpbeck@my-deja.com said:
> >
> > >Is anyone using the Green Hills software to develop/debug their
> > >VxWorks applications?
> >
> > We're using AdaMulti to port several Ada/Fortran/C Unix programs
> > to embedded PowerPC. Naturally, we have to make some adaptations
> > for VxWorks, but none related to the compiler system.
> >
> > We were tripped by one thing related to Fortran list-directed
> > I/O. Most Unix compilers allow strings in a list-directed input
> > file to be enclosed in double quotes, and we were in the habit of
> > using these. AdaMulti sticks to the letter of the Fortran
> > standard and requires single quotes. Since we have routines that
> > painstakingly write these quotes, we had to do a little work to
> > get this working.
> >
> > >If so, what is your opinion of the their software?  Is it
> > >reliable/stabile?  How is their support?
> >
> > We found a bug in the Ada runtime which they fixed in a few
> > weeks. They are now looking at a bug in the Fortran runtime which
> > produces a memory leak. Support seems good, but these fundamental
> > and easily reproduced bugs are surprising in a mature product.
> > Aside from these two bugs, our programs run correctly, and they
> > are over 100 K lines of code. So the compiler does seem to be
> > reliable.
> >
> > The debugger is pretty neat, letting you grab multiple tasks at
> > once. I personally dislike the AdaMulti GUI, using it only to
> > access the debugger, or to find out the code for an option. We
> > run the build program directly from make, creating the build
> > files by cloning from existing ones. With a master makefile in
> > the top directory and makefiles in each subdirectory, we can
> > update everything with a single make command. The builder keeps
> > track of all source dependencies, recompiling all affected
> > programs when a C header, or Fortran include file, or Ada package
> > spec is changed.
> >
> > Cheers,
> > Peter
> >
> > --
> > -----------------------------------------------------------
> > mcmorran@visi.net (Peter McMorran)
> > -----------------------------------------------------------
> >
- --------------93C125787F14D0272CF25A53
Content-Type: text/x-vcard; charset=us-ascii;
 name="mssimpson.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael S. Simpson
Content-Disposition: attachment;
 filename="mssimpson.vcf"

begin:vcard 
n:Simpson;Michael
tel;pager:520-489-7933
tel;home:520-622-5039
tel;work:520-794-5381
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:mssimpson@west.raytheon.com
fn:Michael Simpson
end:vcard

- --------------93C125787F14D0272CF25A53--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc 2.95.2
Date: Thu, 28 Sep 2000 16:06:28 -0700
From: "Michael S. Simpson" <mssimpson@west.raytheon.com>
Organization: Raytheon Company
Message-ID: <39D3CEF4.857D9A6E@west.raytheon.com>
References: <srd4krc8ljn25@corp.supernews.com>

This is a multi-part message in MIME format.
- --------------207128E872A22F830DB0E6B2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tornado I is set up to work with v2.72, so you're taking a chance with
the make working correctly and building a good kernel.

Speaking for myself only...

Mike Simpson

Ryan Tanner wrote:
> 
> Can I use the standard gcc release to with Tornado I? Do I really need to
> get the WindRiver's released compiler?
> 
> Thanks
- --------------207128E872A22F830DB0E6B2
Content-Type: text/x-vcard; charset=us-ascii;
 name="mssimpson.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Michael S. Simpson
Content-Disposition: attachment;
 filename="mssimpson.vcf"

begin:vcard 
n:Simpson;Michael
tel;pager:520-489-7933
tel;home:520-622-5039
tel;work:520-794-5381
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:mssimpson@west.raytheon.com
fn:Michael Simpson
end:vcard

- --------------207128E872A22F830DB0E6B2--


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Are there valiables that don't get initialized after power-up?
Date: Thu, 28 Sep 2000 21:04:32 -0400
From: Joe Durusau <durusau@bellsouth.net>
Message-ID: <39D3EAA0.9DF45C25@bellsouth.net>
References: <8r05as$e3v$1@overload.lbl.gov>

	I doubt that it's worth the trouble to do that in
memory on the CPU board.  If you have any external boards
with writeable locations, you could use one of them, as they
are unlikely to be disurbed by a reboot.

Speaking only for myself,

Joe Durusau


felix.s.mueller@ch.abb.com wrote:
> 
> Hello
> 
> We are using the GNU C++ compiler in conjunction with VxWorks. To implement a
> detection of reboots, I would like to write a well known  pattern (e.g. 32 bit)
> to a memory location. The thing is, I would like to check the same memory
> location after the next reboot and check for the previously set 'well known
> pattern'. This requires that the memory location does NOT get initialized after
> starting VxWorks.
> 
> Do you know a way to do it?
> 
> Thank's, Felix

---------------------------

Newsgroups: comp.os.vxworks
Subject: Booting from SCSI drive
Date: Thu, 28 Sep 2000 17:30:25 -0700
From: Janusz Kolodziejczyk <JanuszK@sbs.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r0qdt$t88$1@overload.lbl.gov>


I am trying to boot X86 system with VxWorks 5.3.1 from SCSI hard drive.
During the boot I get the following messages:

Attaching to scsi device ... done
Loading 0x98358 (tBoot): memPartAlloc: block too big - 99840 in partition
0x596d0

Cannot open "/sd0/x86scsi" 
errno=0x110001

Before I booted VxWorks from the network and copied
the system image (file "x86scsi") to SCSI drive.
Please let me know if you know what these messages mean.

Also, how to define DEFAULT_BOOT_LINE
in config.h to boot from SCSI drive.

__________________________________________
Janusz Kolodziejczyk / SBS Technologies, Modular I/O
8371C Central Ave. / Newark, CA 94560
Phone: 510-742-2500 / Fax: -2501 / EMail: JanuszK@sbs.com



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Are there valiables that don't get initialized after power-up?
Date: Thu, 28 Sep 2000 19:06:12 -0700
From: "Michael R. Kesti" <mkesti@gv.net>
Organization: MK Associates
Message-ID: <39D3F914.1A04F5AE@gv.net>
References: <8r05as$e3v$1@overload.lbl.gov>
Reply-To: mkesti@gv.net

felix.s.mueller@ch.abb.com wrote:

>We are using the GNU C++ compiler in conjunction with VxWorks. To implement a
>detection of reboots, I would like to write a well known  pattern (e.g. 32 bit)
>to a memory location. The thing is, I would like to check the same memory
>location after the next reboot and check for the previously set 'well known
>pattern'. This requires that the memory location does NOT get initialized after
>starting VxWorks.
>
>Do you know a way to do it?

You can reserve a section of RAM that the OS does not initialize using the
macro USR_RESERVED_MEM.  Reserve it by setting the macro in the project
configuration and store your pattern there.  It might be good to include
a checksum or CRC, too.  This greatly reduces the chance that your pattern
occurs spontaneously.

- -- 
========================================================================
          Michael Kesti            |  "And like, one and one don't make
                                   |   two, one and one make one."
          mkesti@gv.net            |          - The Who, Bargain

---------------------------

Newsgroups: comp.os.vxworks
Subject: Timeout check from serial device driver
Date: Fri, 29 Sep 2000 12:23:47 +0900
From: "JiHye, Sohn" <jhsohn308@yahoo.co.kr>
Organization: Korea Telecom
Message-ID: <8r10vj$462$1@news1.kornet.net>

Hi,
The main cpu on my target board communucate with the sub-processor
using RS-232C port, and I use the read() function to readl the serial device
driver.

But it is very difficult to check the no response from the device using
read() function.
( It make system to endless loop state when there's no response from the sub
processor )
I used to select() primivite to check the timeout from the drivce driver,
but the primitive
returns too late though I set the timeout value with 100usec for select()
function.

How can I check the no response during the read() function.
My seiral interface chip is amd82530.
If you know the timeout event generation method in vxWorks, please help me.

thanks.



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "EA DATA. SF"
Date: Fri, 29 Sep 2000 04:40:41 GMT
From: pwhicker@home.com (Paul Whicker)
Organization: @Home Network
Message-ID: <d3VA5.261656$i5.3609170@news1.frmt1.sfba.home.com>
References: <39D3A549.4FE64E0A@agilent.com>

I cehcked a bunch of machines, some have it and some don't. I can't find it on 
any of my 3 machines but other people do have it... I'd love to know what the 
heck this is.

paul

In article <39D3A549.4FE64E0A@agilent.com>, Les Hammer 
<les_hammer@agilent.com> wrote:
>Hi,
>
>A mysterious file, "EA DATA. SF" appearred on my PC after
>I installed Tornado/VxWorks.  It appears to be a hidden,
>non-accessable system file, which casues my daily backup
>routine to complain.  So far the guys at Wind River appear to be
>baffled by this and don't think it's one of their files.  (It might be
>an
>interaction between the Tornado install and "Connected Netork
>Backup" for all I know.)  Has anyone else seen this file?
>
>Thanks,
>
>Les Hammer
>

---------------------------

Newsgroups: comp.os.vxworks
Subject: mux Interface - endPacketDataGet()
Date: Thu, 28 Sep 2000 21:55:27 -0700
From: Narayanan Meiyyappan <nmeiyyap@cisco.com>
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <39D420BF.243C3D72@cisco.com>

Hi,

I have a couple of questions about the usage of endPacketGet() routine
used in the mux interface.

Does the protocol stack call this function twice when it receives a
frame from the END (Enhance Network Driver).
Cos I can see two calls being made to this fuction.

Also the manual says ....this routine must provide a duplicate mBlk that
contains the packet data in the original but skips the header
information...... how do I pass back information to the caller about the
duplicate mBlk.

the function prototype is

STATUS endPacketDataGet
        (
            M_BLK_ID mBlk,
            LL_HDR_INFO *pLinkHdrInfo
        )

    and also does anyone know what 'pktType' in the LL_HDR_INFO
structure means.

Thanks in advance.
- -Narayanan.M



---------------------------

Newsgroups: comp.os.vxworks
Subject: R: Question about PCI configuration ...
Date: Fri, 29 Sep 2000 09:16:27 +0100
From: "Merlino" <K6@lycosmail.com>
Organization: TIN
Message-ID: <8r1flu$old$1@nslave3.tin.it>
References: <39CF74EE.D5384425@club-internet.fr> <39CF9D17.56CB55C7@agilent.com>
Reply-To: "Merlino" <K6@lycosmail.com>

Not all devices are well configured by standard BIOS ( PCI1131 Texas Instr ,
PCMCIA adapter ):  if this is the case you must reconfigure all the system
by some sort of autoconfig ( see Linux ) or use some sort of trick depending
of the current hw.

Merlino

James Marshall <james_marshall@agilent.com> wrote in message
39CF9D17.56CB55C7@agilent.com...
> pciAutoConfig is not supported by WindRiver on x86 targets because it's
not
> needed - the PCI BIOS (part of the BIOS) dynamically configures all
devices and
> bridges on your target before it boots. Then you just use pciFindDevice()
(or
> pciFindClass()) in your driver to search through the bus hierarchy and
find your
> device/devices.
>
> Make sure you've got the PCI show routines included - add #define
> INCLUDE_SHOW_ROUTINES to your BSP's config.h. For example,
> pciHeaderShow(bus,device,func) dumps the PCI configuration header. If you
want
> better PCI info though, boot DOS from a floppy with shell output to COM1:
and
> use Ralf Brown's PCICFG utility:
> http://www.cs.cmu.edu/~ralf/pub-files/rbpci119.zip.
>
> I haven't used this directly but here goes a very basic example, looking
for the
> first Intel 82557 LAN controller. See BSP Reference, sysLib [Pentium].
>
> int   bus,device,func;
> unsigned  baseAddress;
>
> if (pciFindDevice (0x8086, 0x1229, 1, &bus, &device, &func) == OK)
> {
>     pciConfigInLong (bus, device, func, PCI_CFG_BASE_ADDRESS_0,
&baseAddress);
>     /* Store base address */
>     /* etc */
> }
>
> If you have multiple devices, you can also call pciFindDevice() in a loop
with
> rising index numbers until it returns ERROR.
>
> James Marshall.
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Intro to PCI -
Date: Fri, 29 Sep 2000 09:08:51 +0100
From: Atkinson Andrew <AATKINSON1@dera.gov.uk>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r1j1e$ecl$1@overload.lbl.gov>

Hi All

	I am a new boy to the world of PCI on PPC and require a good
book to make things clearer - any suggestions?

Regards


Andy Atkinson

VxWorks


- -- 
The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution, 
or any action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Problems with Dos File System in VxWorks
Date: Fri, 29 Sep 2000 10:43:17 +0200
From: "Thomas Rosen" <trocon@telia.com>
Message-ID: <39d455d7@news1e1.seinf.abb.se>
References: <8r05as$e3u$1@overload.lbl.gov>

>Do you kow of any remedy?
It's well known that the DOSFS will randomly crash when power is cycled
during disk access. Dont try to fix it with the unsupported chkdsk utility
for vxWorks, it simply wont fix all the problems. I have experienced the
same problems, but if you contact your local WR sales representive and sak
for DOSFS2.0 you will see your problem fly away in no time.
It is a newly developed DOSFS version that fixes all that kind of problems,
and introduces many new useful features.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Intro to PCI -
Date: Fri, 29 Sep 2000 10:43:28 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39D46440.5029D95C@agilent.com>
References: <8r1j1e$ecl$1@overload.lbl.gov>

PCI System Architecture by Tom Shanley et al is now in its fourth edition
covering PCI Rev 2.1 and things added for Rev 2.2.

One tip: DON'T have more than two PCI-PCI bridges between your CPU and any device
- - for slave devices it's not worth the hassle, and for bus mastering devices it
just won't work.

James Marshall.




---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "EA DATA. SF"
Date: Fri, 29 Sep 2000 10:47:15 +0100
From: James Marshall <james_marshall@agilent.com>
Organization: Agilent Technologies UK Ltd
Message-ID: <39D46523.982D362@agilent.com>
References: <39D3A549.4FE64E0A@agilent.com>

This is Enhanced Attribute data from an OS/2 system. Somewhere along the line
someone has put the files past an OS/2 machine.

James Marshall.



---------------------------

End of New-News digest
**********************


From vxwexplo-errs@csg.lbl.gov  Fri Sep 29 08:19:14 2000
From: Jim Way <Jway@datum.com>
Date: Fri Sep 29 08:19:16 PDT 2000
Subject: RE: Re: socket() errno = 0x37

Dave,

I'm concerned about a comment made responding to a question regarding error
numbers:

> Please remember to RTFM before asking such trivial questions, this
> is really absolute beginner stuff and maybe you should think about
> taking acourse in C programming if you've never heard of errno.h

I'd like to assure you that my first 19 years of professional programming
gave me no exposure to errno.h since I was working in RTOS-less
environments. Coming from that environment, I see that VxWorks is a complex
and sophisticated system. It's easy to say RTFM. My question is often, which
FM? I've got four Ms out on my bookshelf; the other 17 (not counting the
SNMP set) are nearby. Perhaps my documentation set is missing the master
index.

When I have a beginner question, I could use WindSurf. My experience with
that has been mixed. Some searches get me useful information. Searches for
error messages tend to give no results. Certainly, there are improvements
that could be made by WRS to make the manuals and the on-line searches work
better for the easy questions.

I found the Intro to Tornado II class to be extremely helpful, and I
recommend it to anyone learning VxWorks. I think it would be much more
appropriate than a course in C programming.

The user group has been invaluable too. I am grateful that my newbie
questions were answered and that I was given encouragement and suggestions
to help me along. I'm pleased that on occasion I can finally help answer a
question. I've found that I can sometimes sense when a person is a newbie,
asking beginner questions. If I have an email address for them, I like to
respond one-on-one instead of through the group. That gives me the freedom
to be -v and explain a little more detail, maybe even offer some strategies
that I've used to answer similar questions that I've faced.

Jim
-----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
-----------------------------------------


From vxwexplo-errs@csg.lbl.gov  Fri Sep 29 09:13:41 2000
From: "Okehee Goh" <ogoh@cise.ufl.edu>
Date: Fri Sep 29 09:13:43 PDT 2000
Subject: vxWorks on svme171 supports 64bit integer?

hello,

My target : DY4 SVME171
vxWorks   : 5.3.1
Tornado   : 1.1

I'd like to know if this system( or compiler) can support 64bit integer.
Can I use the following definition for 64bit support?

typedef long long long64;
typedef unsigned long long long64;

However, linking error showed like 
"Undefined symbols:
__ashldi3
__divdi3
__lshrdi3
__ashrdi3
__moddi3
"


Thank you so much.
 ********************************************************************
 Okehee Goh        ogoh@cise.ufl.edu   http://www.cise.ufl.edu/~ogoh
 RealTime System Lab.  (T) 1-352-392-6875
 CISE Dept.  University Of Florida




From vxwexplo-errs@csg.lbl.gov  Fri Sep 29 09:40:44 2000
From: Joe Carissimi <jcarissi@bbn.com>
Date: Fri Sep 29 09:40:46 PDT 2000
Subject: Cetia PPC and ATM 

We are using a Cetia PPC 750 (VMPC6A) and their ATM
PMC (CPMC-ATM) and are having gobs of trouble
getting this thing configured using Tornado II.

Just wondering if Has anyone been successful in getting
IP to work with this HW (or any horror stories with respect
to trying to get it to work).

                                 Joe Carissimi
                                 BBN Technologies
                                 Middletown, RI 02842
                                 (401) 848-3525




From vxwexplo-errs@csg.lbl.gov  Sat Sep 30 04:03:08 2000
From: Vxworks Exploder <vx_explo@csg.lbl.gov>
Date: Sat Sep 30 04:03:10 PDT 2000
Subject: comp.os.vxworks newsdigest

Comp.Os.Vxworks Daily Digest    Sat Sep 30 04:03:05 PDT 2000

        Subject: Re: How to align functions to 8-byte boundaries ?
        Subject: Re: Overloading new and delete
        Subject: Re: undefined symbols
        Subject: Re: Booting from SCSI drive
        Subject: RE: re: socket() errno = 0x37
        Subject: vxWorks on svme171 supports 64bit integer?
        Subject: Cetia PPC and ATM
        Subject: Re: gcc 2.95.2
        Subject: Re: "EA DATA. SF"
        Subject: simulator display window question
        Subject: Re: pSOS to VxWorks
        Subject: Re: "EA DATA. SF"
        Subject: Homeworkers required  9121
        Subject: Socket creation failed after 34...
        Subject: vxworks and VMWare
        Subject: Re: Are there valiables that don't get initialized after power-up?
        Subject: Any example code for NPT(network protocol toolkit) and Mobile IP
        Subject: Re: Socket creation failed after 34...
        Subject: Re: socket() errno = 0x37
        Subject: Re: Ring Buffer Overflow? Correction
        Subject: Example Code for RS-422 and RS-485 Driver

-------------------------------------------------------

Newsgroups: comp.os.vxworks
Subject: Re: How to align functions to 8-byte boundaries ?
Date: Fri, 29 Sep 2000 07:22:55 -0700
From: Joe Durusau <joseph.a.durusau@lmco.com>
Organization: Lockheed Martin Corporation
Message-ID: <39D4A5BF.ED90D097@lmco.com>
References: <39D36171.ED4CCDDB@elfxa.com>

	Have you tried editing the assembler .align command?  That should let
you do whatever you want, at the pain of having to compile with -S, then
edit
the assembler files, then assemble and link.

Speaking only for myself,

Joe Durusau


Ivan Yavar wrote:
> 
> Hello,
> 
> I have some software running in a VxWorks environment on a PowerPC 603e
> processor.
> 
> I am noticing that the performance of our code varies quite
> significantly between each build as functions are added and removed,
> even though none of the actual code which gets to execute has changed. I
> am guessing that the problem is due to wasted space in the instuction
> cache caused by code not being aligned to 8 byte boundaries.
> 
> I wanted to verify this by forcing selected fast functions to addresses
> which are divisible by 8 bytes. I tried to achieve this by writing a
> linker (ldppc) command file. I have tried many combinations of linker
> commands, but when examining the final map file, all functions are
> always aligned to 4 byte divisable addresses.
> 
> My linker command file (at present) looks as follows:-
> 
> SECTIONS
> {
> .text :
>   {
>     etext = .;
>     *(.text)
> 
>     . = ALIGN(8);
>     FastFunction1 = .;
> 
>     . = ALIGN(8);
>     FastFunction2 = .;
> 
>     . = ALIGN(8);
>     FastFunction3 = .;
> 
>     . = ALIGN(8);
>     FastFunction4 = .;
>   }
> 
>   .data :
>   {
>     edata = .;
>     *(.data)
>   }
> 
>   .bss :
>   {
>     *(.bss)
>   }
> 
>   end = .;
> }
> 
> I have wasted many hours working on this. If anyone can help me, I would
> be very greatful.
> 
> Best Regards,
> 
> Ivan

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Overloading new and delete
Date: Fri, 29 Sep 2000 14:03:03 +0200
From: "Thomas Rosen" <trocon@telia.com>
Message-ID: <39d484aa@news1e1.seinf.abb.se>
References: <39D1EAA1.914CB3B3@lucent.com>


>I am using VxWorks 5.2 on Mips processor and trying to override operator
new and
>delete. However, when linking I get errors about multiple definitions of
>builtin_new and builtin_delete. Has anyone any ideas, or know of any source
of
>information for overloading these operators??


I dont know about the MIPS platform, but PPC and i386 works like this.
Check where the symbol for builtin_new and builtin_delete resides, see
example:

1. run nm386 on libPENTIUMgnuvx.a
    nm386 libPENTIUMgnuvx.a > dump.txt
    look for builtin_new etc etc..

2. backup bsp archive
    copy libPENTIUMgnuvx.a libPENTIUMgnuvx_nobuiltin.a

3. copy and remove object file entries for new with:
    ar386 x libPENTIUMgnuvx_nobuiltin.a opnew.o
    ar386 d libPENTIUMgnuvx_nobuiltin.a opnew.o
    objcopy386 --strip-symbol=__builtin_new   opnew.o tmp1.o

4. add modified object file to archive
    ar386 q libPENTIUMgnuvx_nobuiltin.a tmp1.o

5. repeat 3-4 for builtin_delete, builtin_vec_delete, builtin_vec_new.....

6. now you just have to link your application with the modified archive.

This would make a difference - good luck!





---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: undefined symbols
Date: Fri, 29 Sep 2000 13:24:31 GMT
From: lee.deraud@boeing.com (Lee DeRaud)
Organization: None to speak of
Message-ID: <39d4962c.1847466@news.boeing.com>
References: <8qr4m4$gk7$1@nnrp1.deja.com> <ZSAA5.770$Y5.27030@typhoon.san.rr.com> <39D2EE94.ACEEDC3B@vitatron.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)

Not necessarily: if the spelling error is in the actual 'XXRecieve"
function, the source file containing it will compile fine - the
prototype isn't needed unless "XXRecieve" is called from within that
file prior to that function's declaration. The prototype (in an
include file) "XXReceive" is spelled correctly, so as long as calls to
it use *that* spelling, the compiler is happy...*even* if the call
occurs in the file containing "XXRecieve".

 The runtime linker doesn't care about prototypes, only the functions
actually called and defined.

Lee


On Thu, 28 Sep 2000 09:09:09 +0200, Gijs van Oort
<Gijs.van.oort@vitatron.com> wrote:

>The thing you describe here (mistyping a function name) would give a compiler
>error, I think. Even though it is possible to link dynamically, the compiler
>must know how to call the function (e.g. what kind of parameters are
>needed). So each dynamically linked function you use, must be
>prototyped before use. If you don't prototype it (and you don't here),
>the compiler does not know how to call the function, and will give an
>error on this.
>
>Gijs van Oort
>
>"Patrick@Roadrunner" wrote:
>
>> Very hard to give specific answer with so little information, but here is an
>> example of one possible cause...
>> say your header file declares function XXReceive() and you use this
>> XXReceive in many places, however when you actually define XXReceive(), you
>> have a typo and you now have a routine called XXRecieve (notice spelling
>> mistake).
>> With a downloadable build vxworks will resolve all the symbols it can and
>> those it cannot it will assume are dynamically linked(resolved) at load
>> time.  So you have XXRecieve() function which nobody calls, and (in the eyes
>> of the downloadable object) one external symbol XXReceive() which it will
>> attempt to resolve when you load the module.
>>
>> if you attached header file/c file and the actual undefined symbols I could
>> give a more difinitive answer.
>>
>> Hope this helps...
>>
>> patrick
>


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Booting from SCSI drive
Date: Fri, 29 Sep 2000 08:57:35 -0500
From: Edsel Harrell <eah@raytheon.com>
Organization: Raytheon Company
Message-ID: <39D49FCF.C581DD23@raytheon.com>
References: <8r0qdt$t88$1@overload.lbl.gov>

This is a multi-part message in MIME format.
- --------------4445E18E829DEED6E9343A5D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

These are just guesses, so no flames please...



Janusz Kolodziejczyk wrote:

> I am trying to boot X86 system with VxWorks 5.3.1 from SCSI hard drive.
> During the boot I get the following messages:
>
> Attaching to scsi device ... done
> Loading 0x98358 (tBoot): memPartAlloc: block too big - 99840 in partition
> 0x596d0
>
> Cannot open "/sd0/x86scsi"
> errno=0x110001
>
> Before I booted VxWorks from the network and copied
> the system image (file "x86scsi") to SCSI drive.
> Please let me know if you know what these messages mean.
>

Looks like either the partition tables (master boot sector) or
dos? boot sector in partition or
directory entry have a bad value.

Suggest booting from network and then try dumping
the key sectors from disk.  If that checksout okay, then
try to read the x86scsi kernel using FTP or NFS or
something ... on another machine to pull it off the drive.


>
> Also, how to define DEFAULT_BOOT_LINE
> in config.h to boot from SCSI drive.
>

question 2... the bootline varies depending on board flavors and
network (or no network) ...
(I haven't seen where this default boot
line actually gets used since our boot parameters are
stored in flash on all of our board flavors.)

On one of our systems, you have to enter the
network driver in the "other" field if you want to
automatically "attach" ... if booting from rom/scsi or
non-network device.
example (bootChange/interactive format)
...
other: dc
...
where dc is our DEC Ethernet driver...


> __________________________________________
> Janusz Kolodziejczyk / SBS Technologies, Modular I/O
> 8371C Central Ave. / Newark, CA 94560
> Phone: 510-742-2500 / Fax: -2501 / EMail: JanuszK@sbs.com

- --
Edsel A. Harrell, Jr              (voice) (972) 575-6468   (email)
eah@raytheon.com
Sr Principal Systems Eng/honors   (pager) (972) 558-4204 (numeric numbers
only)
Raytheon Systems Company          (snail) 6600 Chase Oaks Blvd, MS 8454,
Plano, Tx 75023
- ------------------------------------------------------------------------------------

"Proofread Carefully to See if You Any Words Out"

DISCLAIMER: I speak only for myself, not my employer.
   EXCEPTION: If any of my ideas are worth more than $0.02, then they are
              property of my employer.


- --------------4445E18E829DEED6E9343A5D
Content-Type: text/x-vcard; charset=us-ascii;
 name="eah.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Edsel Harrell
Content-Disposition: attachment;
 filename="eah.vcf"

begin:vcard 
n:A. Harrell, Jr;Edsel
tel;pager:972-597-8874
tel;home:817-430-3903
tel;work:972-575-6468
x-mozilla-html:FALSE
org:Raytheon Systems Company;Advanced Airborne EO
version:2.1
email;internet:eah@raytheon.com
title:Sr Principal Systems Engineer/w Honors
adr;quoted-printable:;;6600 Chase Oaks Blvd, MS 8454 (shipping)=0D=0Aor=0D=0AP.O.Box 660246, MS 8454 (mailing);Plano;TX;75066;
x-mozilla-cpt:;-23744
fn:Edsel
end:vcard

- --------------4445E18E829DEED6E9343A5D--


---------------------------

Newsgroups: comp.os.vxworks
Subject: RE: re: socket() errno = 0x37
Date: Fri, 29 Sep 2000 08:15:59 -0700
From: Jim Way <Jway@datum.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r2f5c$19t$1@overload.lbl.gov>

Dave,

I'm concerned about a comment made responding to a question regarding error
numbers:

> Please remember to RTFM before asking such trivial questions, this
> is really absolute beginner stuff and maybe you should think about
> taking acourse in C programming if you've never heard of errno.h

I'd like to assure you that my first 19 years of professional programming
gave me no exposure to errno.h since I was working in RTOS-less
environments. Coming from that environment, I see that VxWorks is a complex
and sophisticated system. It's easy to say RTFM. My question is often, which
FM? I've got four Ms out on my bookshelf; the other 17 (not counting the
SNMP set) are nearby. Perhaps my documentation set is missing the master
index.

When I have a beginner question, I could use WindSurf. My experience with
that has been mixed. Some searches get me useful information. Searches for
error messages tend to give no results. Certainly, there are improvements
that could be made by WRS to make the manuals and the on-line searches work
better for the easy questions.

I found the Intro to Tornado II class to be extremely helpful, and I
recommend it to anyone learning VxWorks. I think it would be much more
appropriate than a course in C programming.

The user group has been invaluable too. I am grateful that my newbie
questions were answered and that I was given encouragement and suggestions
to help me along. I'm pleased that on occasion I can finally help answer a
question. I've found that I can sometimes sense when a person is a newbie,
asking beginner questions. If I have an email address for them, I like to
respond one-on-one instead of through the group. That gives me the freedom
to be -v and explain a little more detail, maybe even offer some strategies
that I've used to answer similar questions that I've faced.

Jim
- -----------------------------------------
Jim Way, Software Engineer
Datum Austin (Austron Inc.)
voice: 512.721.4170
fax  : 512.990.9712
email: jwayATdatumDOTcom (no spam please)
- -----------------------------------------

---------------------------

Newsgroups: comp.os.vxworks
Subject: vxWorks on svme171 supports 64bit integer?
Date: Fri, 29 Sep 2000 12:12:14 -0400
From: "Okehee Goh" <ogoh@cise.ufl.edu>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r2f5d$19u$1@overload.lbl.gov>

hello,

My target : DY4 SVME171
vxWorks   : 5.3.1
Tornado   : 1.1

I'd like to know if this system( or compiler) can support 64bit integer.
Can I use the following definition for 64bit support?

typedef long long long64;
typedef unsigned long long long64;

However, linking error showed like 
"Undefined symbols:
__ashldi3
__divdi3
__lshrdi3
__ashrdi3
__moddi3
"


Thank you so much.
 ********************************************************************
 Okehee Goh        ogoh@cise.ufl.edu   http://www.cise.ufl.edu/~ogoh
 RealTime System Lab.  (T) 1-352-392-6875
 CISE Dept.  University Of Florida



---------------------------

Newsgroups: comp.os.vxworks
Subject: Cetia PPC and ATM
Date: Fri, 29 Sep 2000 12:22:34 -0400
From: Joe Carissimi <jcarissi@bbn.com>
Organization: Lawrence Berkeley National Laboratory
Message-ID: <8r2ils$3ub$1@overload.lbl.gov>

We are using a Cetia PPC 750 (VMPC6A) and their ATM
PMC (CPMC-ATM) and are having gobs of trouble
getting this thing configured using Tornado II.

Just wondering if Has anyone been successful in getting
IP to work with this HW (or any horror stories with respect
to trying to get it to work).

                                 Joe Carissimi
                                 BBN Technologies
                                 Middletown, RI 02842
                                 (401) 848-3525



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: gcc 2.95.2
Date: 29 Sep 2000 11:26:45 GMT
From: tmb@Xisotek.co.uk (Trevor Barton)
Organization: Isotek Electronics Ltd., Leeds, UK.
Message-ID: <slrn8t8v61.1be.tmb@sheep.isotek.co.uk>
References: <srd4krc8ljn25@corp.supernews.com> <39D3CEF4.857D9A6E@west.raytheon.com>
Reply-To: tmb@Xisotek.co.uk

On Thu, 28 Sep 2000 16:06:28 -0700, Michael S. Simpson wrote:
>Tornado I is set up to work with v2.72, so you're taking a chance with
>the make working correctly and building a good kernel.
>
>Speaking for myself only...
>
>Mike Simpson
>
>Ryan Tanner wrote:
>> 
>> Can I use the standard gcc release to with Tornado I? Do I really need to
>> get the WindRiver's released compiler?
>> 

Indeed, for the Intel BSPs that come with Tornado 1 you have to
fiddle with the boot assembler code.  There are for some unfathomable
reason hardcoded jump offsets in there which jump code over the
initial descriptor tables.  The later gnu assemblers produced
slightly different machine code for the same input assembler and 
so the offsets were wrong.  I replaced the jump offsets with jumps 
to labels and all worked fine.  I am currently using a vxworks cross 
on linux using v2.8.1.  We've been using that for over a year now 
with no problems at all.  The (modified) BSPs are backward compatible
with the v2.7.2 toolchain.  It would always be a good idea if you
have some doubts about an apparent bug being compiler related to
retain the old tool chain as a reference.

Trev


- -- 
Trevor Barton
Isotek Electronics Ltd, Claro House, Servia Road, Leeds, LS7 1NL, UK
Tel: +44 (113) 234 3202, Fax +44 (113) 234 2918
Remove X from tmb@Xisotek.co.uk before replying.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "EA DATA. SF"
Date: 29 Sep 2000 11:17:20 GMT
From: tmb@Xisotek.co.uk (Trevor Barton)
Organization: Isotek Electronics Ltd., Leeds, UK.
Message-ID: <slrn8t8ukc.1be.tmb@sheep.isotek.co.uk>
References: <39D3A549.4FE64E0A@agilent.com>
Reply-To: tmb@Xisotek.co.uk

On Thu, 28 Sep 2000 14:08:41 -0600, Les Hammer wrote:
>Hi,
>
>A mysterious file, "EA DATA. SF" appearred on my PC after
>I installed Tornado/VxWorks.  It appears to be a hidden,
>non-accessable system file, which casues my daily backup
>routine to complain.  So far the guys at Wind River appear to be
>baffled by this and don't think it's one of their files.  (It might be
>an
>interaction between the Tornado install and "Connected Netork
>Backup" for all I know.)  Has anyone else seen this file?

This file is a file used by OS/2 to hold extended file attribute
information on OS/2's FAT filesystems (and it also appears on
networked filesystems).  It's really just a notional file
that holds together all the extended attribute information blocks
in a manner that the FAT filesystem's happy with (so my colleague
tells me).

Either you have a FAT disk and have accessed it with OS/2, or
someone has accessed your non-HPFS drive (and probably written
something to it, I think, for the file to have been created) 
through the network from an OS/2 machine.

You can probably delete it.  I've always deleted them from network
drives, but you will lose extended attribute information for
files on your disk with OS/2.  Do you care??  Is your backup
server an OS/2 network server?

HTH
Trev
 
- -- 
Trevor Barton
Isotek Electronics Ltd, Claro House, Servia Road, Leeds, LS7 1NL, UK
Tel: +44 (113) 234 3202, Fax +44 (113) 234 2918
Remove X from tmb@Xisotek.co.uk before replying.

---------------------------

Newsgroups: comp.os.vxworks
Subject: simulator display window question
Date: Fri, 29 Sep 2000 19:15:56 GMT
From: "thomas marsh" <thomas@vivityinc.com>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Message-ID: <MT5B5.1961$4Q5.78742@newsread1.prod.itd.earthlink.net>

hello...
I am having a problem which requires that I display a whole bunch of data...
I could write it to a file, but I would rather just look at it in the
simulator main display window...
is there a way to start the simulator with a larger display window buffer?
I can see about 1000 lines or so.. I need more.. any ideas?
thanks in advance!
- -thomas



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: pSOS to VxWorks
Date: Fri, 29 Sep 2000 20:04:50 GMT
From: gpbeck@my-deja.com
Organization: Deja.com - Before you buy.
Message-ID: <8r2sks$ef0$1@nnrp1.deja.com>
References: <8r0frp$rke$1@nnrp1.deja.com>

I used the "pSOS to VxWorks transition kit" as the baseline for our
existing code base.  If you look more at the code for the transition
kit, you'll see the flags get converted.

I thought it was a decent base to start.  But beware, there are bugs in
their source.  I don't think that anyone in WRS actually compiled the
code and ran it for any length of time.

In article <8r0frp$rke$1@nnrp1.deja.com>,
  bill2000k@yahoo.com wrote:
> I have been given a pSOS to VxWorks transition kit ( a set of .c files
> and .h file). The whole thing is better called as p2vlib. Has any one
> had any kind of experiences on this package. My main concern is on the
> options and flags that are used in pSOS for which there may not be an
> equivalent in VxWorks.
> Thanks
> -bill
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: "EA DATA. SF"
Date: Fri, 29 Sep 2000 14:26:26 -0600
From: Les Hammer <les_hammer@agilent.com>
Organization: Agilent Technologies
Message-ID: <39D4FAF2.E27516F2@agilent.com>
References: <39D3A549.4FE64E0A@agilent.com> <slrn8t8ukc.1be.tmb@sheep.isotek.co.uk>



Trevor Barton wrote:

> Either you have a FAT disk and have accessed it with OS/2,

Well, it is a FAT disk.  Hard telling about the OS/2 part with all
the different network connections around here.

> You can probably delete it.  I've always deleted them from network
> drives, but you will lose extended attribute information for
> files on your disk with OS/2.  Do you care??

It's not a big deal, except for having to click the ignore button
every morning.

> Is your backup server an OS/2 network server?

Well, it didn't create one of those "EA DATA. SF" files
for any of the other drives that it backs up, so probably not.

Thanks for the info.

Les



---------------------------

Newsgroups: comp.os.ms-windows.networking.win95,comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.admin.networking,comp.os.ms-windows.programmer.networks,comp.os.os2.networking.misc,comp.os.os2.networking.server,comp.os.os2.networking.tcp-ip,comp.os.os2.networking.www,comp.os.vxworks,comp.sys.acorn.networking
Subject: Homeworkers required  9121
Date: Fri, 29 Sep 2000 21:11:07 GMT
From: lwvzmm@aol.com
Organization: ntlworld News Service
Message-ID: <Lz7B5.1633$uq5.29561@news6-win.server.ntlworld.com>

Click this link, fill out your details, tell them the minimal amount you
wish to earn per e-mail

some are $10 some are $1, you get more work if your not too greedy.

go to 

http://www.inboxcash.com/$10/referral.asp?id=285117

srxopfzt


---------------------------

Newsgroups: comp.os.vxworks
Subject: Socket creation failed after 34...
Date: Fri, 29 Sep 2000 22:03:22 GMT
From: Navin Kumar Agrawal <navinkumar@my-deja.com>
Organization: Deja.com - Before you buy.
Message-ID: <8r33j5$kpf$1@nnrp1.deja.com>

Hi All,

When I am trying to open more than 34 sockets, its giving me the
following errno:

S_iosLib_TOO_MANY_OPEN_FILES

Any pointers to solve this.

Thanks in advance,

Cheers,
Navin


Sent via Deja.com http://www.deja.com/
Before you buy.

---------------------------

Newsgroups: comp.os.vxworks
Subject: vxworks and VMWare
Date: Fri, 29 Sep 2000 15:29:18 -0800
From: "Jim Robinson" <robinson@ipsg.mot.com>
Organization: Motorola CIG
Message-ID: <8r353u$p149@nntp.cig.mot.com>

Has anyone tried installing and running vxworks (x86) under VMWare, either
Linux hosted or Windoze hosted?

Thanks

Jim Robinson


---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Are there valiables that don't get initialized after power-up?
Date: Fri, 29 Sep 2000 17:16:46 -0700
From: "Michael R. Kesti" <mkesti@gv.net>
Organization: MK Associates
Message-ID: <39D530EE.7547FE6B@gv.net>
References: <8r05as$e3v$1@overload.lbl.gov> <39D3F914.1A04F5AE@gv.net>
Reply-To: mkesti@gv.net

I wrote:

>You can reserve a section of RAM that the OS does not initialize using the
>macro USR_RESERVED_MEM.

Please forgive me.  I have twice offered this advice while misspelling the
macro name.  It's USER_RESERVED_MEM.

- -- 
========================================================================
          Michael Kesti            |  "And like, one and one don't make
                                   |   two, one and one make one."
          mkesti@gv.net            |          - The Who, Bargain

---------------------------

Newsgroups: comp.os.vxworks
Subject: Any example code for NPT(network protocol toolkit) and Mobile IP
Date: Sat, 30 Sep 2000 11:16:31 +0900
From: "" <heeyeoly@etri.re.kr>
Organization: Electronics and Telecommunications Research Institute (ETRI)
Message-ID: <8r3id7$71u$1@news.etri.re.kr>

Hi folks.

I am going to develop mobile IP in vxworks.
Unfortunately, some driver for tunneling is needed. For this driver I am
trying to
use NPT. Some example codes are very helpful for NPT' neophyte.

BTW, is there any package supporting RFC 2003(IP in IP; tunneling)
Furthermore, is there any comment for implement Mobile IP in vxworks?

Thanks in advance...
My email: heeyeoly@etri.re.kr



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Socket creation failed after 34...
Date: Fri, 29 Sep 2000 21:17:24 -0500
From: Andrew Johnson <anj@aps.anl.gov>
Organization: APS, Argonne National Laboratory
Message-ID: <39D54D34.5A070893@aps.anl.gov>
References: <8r33j5$kpf$1@nnrp1.deja.com>

Navin Kumar Agrawal wrote:
> 
> When I am trying to open more than 34 sockets, its giving me the
> following errno:
> 
> S_iosLib_TOO_MANY_OPEN_FILES
> 
> Any pointers to solve this.

The max number of open files is a configuration option for the vxWorks
image, set in target/config/configAll.h or presumably some Tornado
equivalent method if you use the IDE and project facility.  I think it
defaults to 50, but you can increase it to anything you like provided
you've got enough RAM.

- - Andrew
- -- 
Every great idea appears crazy to start with.

---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: socket() errno = 0x37
Date: Sat, 30 Sep 2000 03:03:22 GMT
From: "DuckE" <nospam_steved94@home.com>
Organization: @Home Network
Message-ID: <_JcB5.127487$Ur3.1631875@news1.sttls1.wa.home.com>
References: <8qorvv$26mk$1@news.cz.js.cn> <BUFA5.369$p4.64591@newsr1.u-net.net>
Reply-To: "DuckE" <nospam_steved94@home.com>

Since when was source code considered a part of FM?

I just spent hours looking through the FM's, and searching WRS online
support
and found no definition of S_errno_ENOBUFS, or ENOBUFS.

SteveD

"Dave Korn" <no.spam@my.mailbox.invalid> wrote in message
news:BUFA5.369$p4.64591@newsr1.u-net.net...
> harvey wrote in message <8qorvv$26mk$1@news.cz.js.cn>...
> >It is error to call socket(),errno=0x37.
> >If you know the reason,pls tell me.
> >Thanx.
>
>   From %WIND_BASE%\target\h\errno.h, where you can also find other error
> codes...
>
> >#define ENOBUFS  55  /* No buffer space available */
>
>   Please remember to RTFM before asking such trivial questions, this is
> really absolute beginner stuff and maybe you should think about taking a
> course in C programming if you've never heard of errno.h
>
>        hth,
>           DaveK
> --
> They laughed at Galileo.  They laughed at Copernicus.  They laughed at
> Columbus. But remember, they also laughed at Bozo the Clown.
>
>



---------------------------

Newsgroups: comp.os.vxworks
Subject: Re: Ring Buffer Overflow? Correction
Date: Sat, 30 Sep 2000 05:28:02 GMT
From: Marcelo & Keyly Mourier <jukema@earthlink.com>
Organization: AJAX Productions
Message-ID: <39D579E5.ECFA3121@earthlink.com>
References: <39BFD978.9B790E13@mw.boeing.com>
Reply-To: jukema@earthlink.net

I've seem this message during burst of heavy network activity (e.g. during a
broadcast storm)

Joe Andrews wrote:

> Oops, I mistakenly gave the wrong error before. What really comes out is
> this:
>
> interrupt:  panic:  netJobAdd:  ring buffer overflow
>
> The cycle then repeats with the following:
>
> LogTask:  xxx messages lost
> interrupt:  panic:  netJobAdd:  ring buffer overflow
>
> Where xxx is a number anywhere from 200-1500


---------------------------

Newsgroups: comp.os.vxworks
Subject: Example Code for RS-422 and RS-485 Driver
Date: Fri, 29 Sep 2000 22:39:19 +0000
From: Angel Okrah <ayokrah@uswest.net>
Message-ID: <39D51A15.A1D40332@uswest.net>

Hello:

Does anyone know where I can find example code for RS-422 and RS-485
drivers?

Regards,
Angel Okrah


---------------------------

End of New-News digest
**********************