Port of Doug Lea's allocator to vxWorks [1 of 4]


    Sponsored Links


  • 1. how can i debug vxworks elf format image with Codewarriror
    how can i debug vxworks elf format image with Codewarriror
  • 2. vxworks 5.5 on pentium 4
    hi, I am a new in VxWorksm, I am trying to boot vxworks 5.5 on Pentium 4 through a serial port COM1, but when I use boot-floppy in target, I receive in host-hyperterminal the next: Attaching interface lo0...done wdbConfig: error configuring WDB communication interface VxWorks Copyright 1984-2002 Wind River Systems, Inc. CPU: PC PENTIUM4 Runtime Name: VxWorks Runtime Version: 5.5.1 BSP version: 1.2/3 Created: Nov 2 2007, 13:08:05 WDB Comm Type: WDB_COMM_END WDB: Agent configuration failed. I don know where I have the problems.My main configuration vxworks is ( I use Tornado 2.2): DEFAULT_BOOT_LINE: "fd=0,0(0,0)host:/fd/vxWorks.st h= e= u=target" INCLUDE_WDB_COMM_END Pentium 4 has Ethernet card: NIC TX PCI 10/100 de 3Com EtherLink XL (3C905B-TX), I have selected like Network driver: #define INCLUDE_EL_3C90X_END I haven select PC_CONSOLE. Thanks! Ari
  • 3. Cygwin make (e=2): The system cannot find the file specified.
    Hello I am trying to compile code of vxworks, I am getting the following compilation log:- m:/myfolder/plf_tajman/taj1/taj2-6.5/../gnu/3.4.4-taj2-6.5/x86-win32/ bin/ccpc/ccpc.exe -t5be -Wa,-EB -ansi -O2 -fno-builtin -Wall -Im:/myfolder/plf_tajman/taj1/co/windml-5.0/h -D_WRS_KERNEL -fno- strict-aliasing -fno-strict-aliasing -fno-strict-aliasing - D_WRS_LIB_BUILD -fno-zero-initialized-in-bss -c des.c process_begin: CreateProcess((null), m:/myfolder/plf_tajman/taj1/ taj2-6.5/../gnu/3.4.4-taj2-6.5/x86-win32/bin/ccpc/ccpc.exe -t5be -Wa,- EB -ansi -O2 -fno-builtin -Wall -Im:/myfolder/plf_tajman/taj1/taj2-6.5/ target/h -Im:/myfolder/plf_tajman/taj1/taj2-6.5/target/h/wrn/corekre -Im:/myfolder/plf_tajman/taj1/co/kre_ten2-6.5/krerkreng/config -Im:/myfolder/plf_tajman/taj1/co/webservices-1.4/h -Im:/myfolder/plf_tajman/taj1/co/windml-5.0/h -DCPU=pcARCH5 -DTOOL_FAMILY=gnu -DTOOL=gnube -D_WRS_KERNEL -DpcEB - DpcEB -fno-strict-aliasing -fno-strict-aliasing -fno-strict-aliasing -D_WRS_LIB_BUILD -fno-zero-initialized-in-bss -c des.c, ...) failed. make (e=2): The system cannot find the file specified. m:\myfolder\plf_tajman\taj1\taj2-6.5\host\x86-win32\bin\make.exe[5]: *** [des.o] Error 2 The make used in cygwin's make, ccpc.exe is CC of vxWorks. I am able to check these using "which make" and "which ccpc" How to solve this error?
  • 4. how to load and run a application code in to a BSP
    Hi friends, Now i am working in the BSP development for PPC7410 board. Till now i have brought up the board and regarding IO drivers I have enabled only the serial. Is it possible to load a application code from the vxWorks prompt , In my board till now only the serial is up, and the Ethernet is not up. The how to load using the serial also can i get help for loading using the Ethernet. thanks in advance Arvnd

Port of Doug Lea's allocator to vxWorks [1 of 4]

Postby Bill Pringlemeir » Fri, 21 Nov 2003 06:24:25 GMT

This post provides details of getting Doug Lea's allocator (dlalloc)
to work with vxWorks 5.4 (possibly 5.5).

 See: "ftp://gee.cs.oswego.edu/pub/misc/malloc.c"

These posts are based on version 2.7.2 of the allocator.

There are three files.

              - This attempts to extract memLib.o and memPartLib.o
                from the vxWorks archives.  It deletes symbols that 
                are replicated in the DL allocator.

              - configures the allocator for use with vxWorks.  Most
                changes are at the start and end.
              - tried to minimize changes.  Added vxMemInit().

After extracting the memLib.o and memPartLib.o, these must be added to
the build as extra object files.  The file "malloc.mk" is never used
again unless you wish to generate these files each time you build.
Then you might insert the rules directly into your vxWorks makefile or
project.  The malloc.c files should be compiled and linked before any

This will enhance performance on system that make extensive use of C++
and objects.

Bill Pringlemeir.

Sex at age 90 is like trying to shoot pool with a rope. - George Burns

Re: Port of Doug Lea's allocator to vxWorks [1 of 4]

Postby Bill Pringlemeir » Fri, 21 Nov 2003 06:33:05 GMT

The BSP must be modified to call "vxMemInit()" after "memInit()" in

Bill Pringlemeir.

Finish your beer -- there are sober people in China!

Return to VxWorks


Who is online

Users browsing this forum: No registered users and 97 guest