[VxW] help about code size

VxWorks

    Sponsored Links

    Next

  • 1. FIOFLUSH doesn't work
    I want to discard the buffer on serial port after reading first 9 characters. ioctl(fdSerial, FIOFLUSH,0) does not empty buffer. is it possible to say that device doesn't support this feature? the only way to empty buffer is reading characters one by one.
  • 2. Add Hook to function
    Hi, I try to add a hook to a task body, so any time the task turn to ready the hook will be run before the task body. In the taskSwitchHookAdd the hook is call in the old task context, so there I add the hook to the new task by doing the following scenario: a. Keep the new task registers status on the new task stack including Program Counter(PC). b. Modify the PC to the Hook Task address. b. return. c. in the hook function: 1. Do some jobs. 2. Restore the register from the value kept on the stack. 3. Jump to PC which was kept in the stack. any comment are welcome, any example for such scenario also welcome. thanks Gabi
  • 3. Context Switch and Stack Modification
    Hi all, In context switch does VxWorks [read/write] [from/to] the [old/new] task stack? or all the operation during the task switch done on the TCB? thanks Gabi
  • 4. Vxworks TCP/IP Stack information [HELP!]
    Hi all, i was wondering if someone could help me out a bit... i am very-very new to Vxworks.. started looking at it about a month ago... i am trying to do some tcp/ip programming on Vxworks... what i want to do is just to transmit some data using TCP/IP i read some post and they say i should have a look at VxWorks Network Programmer guide.. so i give it some reading but there is so much information on it.. and i cant make head or tails of how to begin.. i read in the Network Programmer Guide, and it said (pg 67) that i should use the following to start the TCP/IP:- muxDevLoad() muxAddrResFuncAdd() muxDevStart() ipAttach() etc..etc unfortunately.. i'm really not sure how to implement this... so i was hoping if someone could please-please show me how to enable a TCP/IP stack (attach the service, assign IP) and then send a packet of data. a simple code sample would suffice if possible, just to get me started... also.. when i use ifShow() in my Tornado VxSim, it report interface address list not found, i think this is maybe due to the fact that currently i am using an evaluation copy of Tornado (WindRiver documents say i'm using VxWorks ED), i will get the full version soon.. but in the mean time, i just want to get familiarized with the method of proramming TCP/IP. So if anyone could help me out, it would be very much appreciated. Thanks in advance Best Regards, cromr
  • 5. Porting VxWorks to the Mac Mini
    Hi, I'm a newbie to porting vxworks, so I was wondering what is involved in porting vxworks to an unsupported bsp? How does one learn to do this kind of work? Is there a book or online resource someone can point me to? Thanks. MD

[VxW] help about code size

Postby Tommy_Ye » Sat, 03 Apr 2004 14:51:51 GMT

Hi All,
      I removed some componenets in config.h, then I compiled vxWorks.st
and vxWorks.st_rom.bin.
Image size of vxWorks.st reduced, however vxWorks.st_rom.bin didn't. So are
there some vxWorks rules
decide the image size? And how can i get the precise image size? Thanks
alot
Best Regards
Tommy
-----------------------------------
Tel:+86 512 6252 7009 ext.1697
E-mail: XXXX@XXXXX.COM 
        XXXX@XXXXX.COM 
-----------------------------------



RE: [VxW] help about code size

Postby Prakash, Jaya » Sat, 03 Apr 2004 15:20:12 GMT

Hi,
Use strip tool.
Thanx,
JP


-----Original Message-----
From:  XXXX@XXXXX.COM  [mailto: XXXX@XXXXX.COM ]
Sent: Friday, April 02, 2004 11:22 AM
To:  XXXX@XXXXX.COM 
Subject: [VxW] help about code size 


Hi All,
      I removed some componenets in config.h, then I compiled vxWorks.st
and vxWorks.st_rom.bin.
Image size of vxWorks.st reduced, however vxWorks.st_rom.bin didn't. So are
there some vxWorks rules
decide the image size? And how can i get the precise image size? Thanks
alot
Best Regards
Tommy
-----------------------------------
Tel:+86 512 6252 7009 ext.1697
E-mail: XXXX@XXXXX.COM 
        XXXX@XXXXX.COM 
-----------------------------------


_______________________________________________
VxWorks Users Group mailing list
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 

RE: [VxW] help about code size

Postby Prakash, Jaya » Sat, 03 Apr 2004 22:24:58 GMT

Hi,
Look into bin directory
say for Power Pc it is stripppc similarly for other architectures
strip<architecture> 
Bye,
JP


-----Original Message-----
From: karthik bala guru [mailto: XXXX@XXXXX.COM ]
Sent: Friday, April 02, 2004 6:31 PM
To: VxWorks Users Group List
Subject: RE: [VxW] help about code size 


hi,
Could u tell me the name of the strip tool in vxworks ?
Incase of rtlinux there is a strip command with necessary parameters.
 
regards,
karthik bala guru



Hi,
Use strip tool.
Thanx,
JP


-----Original Message-----
From:  XXXX@XXXXX.COM  [mailto: XXXX@XXXXX.COM ]
Sent: Friday, April 02, 2004 11:22 AM
To:  XXXX@XXXXX.COM 
Subject: [VxW] help about code size 


Hi All,
I removed some componenets in config.h, then I compiled vxWorks.st
and vxWorks.st_rom.bin.
Image size of vxWorks.st reduced, however vxWorks.st_rom.bin didn't. So are
there some vxWorks rules
decide the image size? And how can i get the precise image size? Thanks
alot
Best Regards
Tommy
-----------------------------------
Tel:+86 512 6252 7009 ext.1697
E-mail: XXXX@XXXXX.COM 
 XXXX@XXXXX.COM 
-----------------------------------


_______________________________________________
VxWorks Users Group mailing list
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 
_______________________________________________
VxWorks Users Group mailing list
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 

---------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today
_______________________________________________
VxWorks Users Group mailing list
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 


Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 36 guest