Tornado Reference : Tornado Utilities

vxsize

NAME

vxsize - compute the size of a vxWorks image

SYNOPSIS

vxsize [-v h_adr l_adr] [-k kbytes] [ -b hex] file

DESCRIPTION

This tool calculates the size of a specified vxWorks image and compares the size of the image with the the system image as it would sit in RAM, i.e. the difference of RAM_HIGH_ADRS and RAM_LOW_ADRS. If the image size (text + data + bss) is greater than the difference, a warning is displayed.

OPTIONS

-v h_adr l_adr
specifies the size of the h_adr and l_adr addresses in bytes base 16.

-k kbytes
specifies the size of the system image in RAM in kilobytes.

-b hex
specifies the size of the system image in RAM in bytes base 16.

EXAMPLE

    % vxsize -v 0010000 002000 vxWorks
    vxWorks: 312720(t) + 28596(d) + 32430(b) = 373746 (57344 over)
    Warning: image is larger than 316402 bytes!

SEE ALSO

vxsize, UNIX documentation for size(1)