Tornado Reference : Tornado Utilities

romsize

NAME

romsize - compute the size of a ROM image

SYNOPSIS

romsize [-k nnn] [-b xxx] file

DESCRIPTION

This tool calculates the size of a specified ROM image. The size of the ROM can be specified using the -k or -b option; the default is 128 Kb. If the image size (text + data) is greater than the ROM size, a warning is displayed.

OPTIONS

-k nnn
specifies the size of the ROM in kilobytes; the default is 128K.

-b xxx
specifies the size of the ROM in bytes base 16.

EXAMPLE

    % romsize -k 256 bootrom
    bootrom: 244988(t) + 59472(d) = 304460 (42316 over)
    Warning: image is larger than 262144 bytes!

SEE ALSO

romsize, UNIX documentation for size(1)