public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB
Date: Thu, 11 Jul 2013 14:08:34 -0400	[thread overview]
Message-ID: <20130711180834.GL13531@bill-the-cat> (raw)
In-Reply-To: <20130711194028.2f68d58b@lilith>

On Thu, Jul 11, 2013 at 07:40:28PM +0200, Albert ARIBAUD wrote:
> Hi Tom,
> 
> On Thu, 11 Jul 2013 12:15:50 -0400, Tom Rini <trini@ti.com> wrote:
> 
> > 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@infra-silbe.de> wrote:
> > > 
> > > > Hello Albert, hello Tom,
> > > > 
> > > > Albert ARIBAUD <albert.u.boot@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.
> 
> ... Which in the end can bite back, see anonymous string issue. Are we
> heading back to carefully selecting which files we build rather than
> building then dropping?

It depends on what we can get from the tools we have, cleanly.  I've
seen, for example, patches to kill all output from SPL, as that was
required to get the required big features into a size constrained SPL.
But I don't think it was clean enough for mainline.  On the other hand,
we've got some large files, and if splitting them up for logical uses
also gets us working around string issues, good for us.

-- 
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/05057f8d/attachment.pgp>

  reply	other threads:[~2013-07-11 18:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27  9:42 [U-Boot] [PATCH] OpenRD: relocate environment to 640kB Sascha Silbe
2013-06-11 10:00 ` Albert ARIBAUD
2013-06-22  9:29   ` Albert ARIBAUD
2013-06-22 20:57     ` Tom Rini
2013-06-25  9:42   ` Sascha Silbe
2013-06-27  9:41     ` Albert ARIBAUD
2013-07-11 16:15       ` Tom Rini
2013-07-11 17:40         ` Albert ARIBAUD
2013-07-11 18:08           ` Tom Rini [this message]
2013-07-15  9:23       ` Sascha Silbe
2013-07-15 11:55         ` Albert ARIBAUD
2013-07-15 12:19         ` Tom Rini
2013-07-29  7:24           ` Albert ARIBAUD
2013-08-11 14:49             ` Sascha Silbe
2013-08-11 14:40           ` [U-Boot] [PATCH 0/3] openrd: Check U-Boot size at build time Sascha Silbe
2013-08-11 14:40             ` [U-Boot] [PATCH 1/3] README: document CONFIG_BOARD_SIZE_LIMIT Sascha Silbe
2014-08-14 14:08               ` Anatolij Gustschin
2013-08-11 14:40             ` [U-Boot] [PATCH 2/3] Makefile: check native boot image sizes against CONFIG_BOARD_SIZE_LIMIT Sascha Silbe
2014-08-14 14:10               ` Anatolij Gustschin
2013-08-11 14:40             ` [U-Boot] [PATCH 3/3] openrd: fail build if U-Boot would overlap with environment in flash Sascha Silbe
2014-08-14 14:09               ` Anatolij Gustschin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130711180834.GL13531@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox