Hi Larry,
flthdr is the utility to manipulate the header
====
The flat format also defines the stack size for an application as a field
in the flat header. To increase the stack allocated to an application, a
simple change of this field is all that is required. This can be done with
the flthdr command, like this:
flthdr -s flat-executable
The flat format also allows two compression options. The entire
executable can be compressed, providing maximum ROM savings. It also
offers the often useful side effect that the application is loaded
entirely into a contiguous RAM block. You also may choose
data-segment-only compression. This is important if you want to save ROM
space but still want the option to utilize XIP. The following:
flthdr -z flat-executable
creates a fully compressed executable, and
flthdr -d flat-executable
compresses only the data segment.
====
...MaTed
On Fri, 05 Jul 2013 15:41:45 -0400, Larry Baker <ba...@usgs.gov> wrote:
Anna,
Subject: Re: [uClinux-dev] ucLinux and XIP memory savings
==== SNIP ====
working on if you need to do that. I think there is a utility to
manipulate uCLinux
flat binary header bits, but I don't remember what it is called.
Thanks,
Anna
I will send you off-list copies of my documentation for my uClinux work
and my GCC fixes.
Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov
--
____________________________________
Ted Ma
Arcturus Networks Inc.
300-701 Evans Ave.
416 621-0125 x231
Toronto, Ontario
M9C 1A3
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev