[U-Boot] [PATCH] OpenRD: relocate environment to 640kB
Tom Rini
trini at ti.com
Thu Jul 11 18:15:50 CEST 2013
On Thu, Jun 27, 2013 at 11:41:59AM +0200, Albert ARIBAUD wrote:
> Hi Sascha,
>
> On Tue, 25 Jun 2013 11:42:53 +0200, Sascha Silbe
> <t-uboot at infra-silbe.de> wrote:
>
> > Hello Albert, hello Tom,
> >
> > Albert ARIBAUD <albert.u.boot at aribaud.net> writes:
> >
> > [Move environment to account for increase in U-Boot size]
> > > This patch is for 2013.10, not 2013.07, but I prefer raising the issue
> > > as early as possible.
> > >
> > > If there is no way to make things smoother, then I think the 2013.10
> > > release notes should contain a red, blinking, paragraph about this. I
> > > would *hate* it if people were not warned and given a method to port
> > > their current environment setting over.
> > >
> > > Possibly even, the 2013.07 could have a warning about the change to
> > > come, so that people have a better chance yet to prepare for the
> > > change.
> >
> > The situation has gotten better recently and U-Boot fits into the
> > previous partition size of 384KiB again. So it isn't broken on OpenRD
> > anymore and the above would seem like a good approach.
>
> How well does it fit again, and do you have any idea what caused the
> increase in size, and what caused the decrease?
I imagine that adding -ffunction-sections/-fdata-sections/--gc-sections
is what brought the size back down again. We've been adding a lot of
kinda optional code, and to avoid having to ifdef the hell out of
everything, we've been relying on growth not being a big problem or just
ignoring it.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130711/b57f82ef/attachment.pgp>
More information about the U-Boot
mailing list