Tornado Reference : Tornado Utilities
romsize - compute the size of a ROM image
romsize [-k nnn] [-b xxx] file
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.
- -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.
% romsize -k 256 bootrom bootrom: 244988(t) + 59472(d) = 304460 (42316 over) Warning: image is larger than 262144 bytes!
romsize, UNIX documentation for size(1)