From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics
Date: Thu, 11 Apr 2013 16:32:53 +0200 [thread overview]
Message-ID: <20130411163253.35b11644@lilith> (raw)
In-Reply-To: <5165F2E1.2010404@wwwdotorg.org>
Hi Stephen,
On Wed, 10 Apr 2013 17:16:49 -0600, Stephen Warren
<swarren@wwwdotorg.org> wrote:
> On 04/10/2013 05:09 PM, Albert ARIBAUD wrote:
> > On Thu, 11 Apr 2013 00:50:01 +0200, Albert ARIBAUD
> > <albert.u.boot@aribaud.net> wrote:
> >
> >> What we could do, though, is subdivide testing based on the existence or
> >> non-existence of CONFIG_SPL_BSS_START_ADDR:
> >>
> >> - if CONFIG_SPL_BSS_START_ADDR exists, then we assume SPL image and
> >> BSS are disjoint and we test each one against its max size, as this
> >> patch series does;
> >>
> >> - if CONFIG_SPL_BSS_START_ADDR does not exist, then we assume SPL image
> >> and BSS are contiguous and we test the whole of SPL against the sum
> >> of CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE.
> >>
> >> I guess this will be considered useless complication -- after all,
> >> once you have artificially partitioned your SPL space into image+BSS --
> >> and you know from the build command how much should be allotted to each
> >> of them -- the worst that can happen is that a later build fails with
> >> an explicit error message forcing you to look at current image and BSS
> >> size and adjust one or both of the max values accordingly.
> >
> > P.S. In any case, the proposal above will go in, if at all, as a
> > separate patch; the current patch series is going in right now as it is.
>
> I wonder what the point of code-review is if you're just going to ignore it.
Can we please avoid this kind of talk? It has no argumentative value
and can only lead to conflicts. Your account below is sufficient to
convey your argumentation without any of the potential ill-effects of
the above.
> What's really odd here is that by my reading of the relevant threads,
> TomR already pointed out this exact issue earlier on, and you had agreed
> that you'd resolve it in a way that didn't have this issue, yet the
> patch has this issue???
Then our reading of the thread do not agree. Here is mine:
- in <http://article.gmane.org/gmane.comp.boot-loaders.u-boot/158046>,
Tom clearly asks for separate text+data+rodata size on one hand and
BSS size on the other hand (his #2 case, which he wants applied
uniformally and a solution found for Tegra.
- in <http://article.gmane.org/gmane.comp.boot-loaders.u-boot/158073> I
replied to Tom with a proposal in two parts, the first implementing
his #2 case strictly, the second implementing case #1 at the cost of
some minor added complexity and of muddying the symbol's semantics; I
suggested that if Tom really did not want the second part of my
proposal, it could be dropped and only the first part implemented.
- in <http://article.gmane.org/gmane.comp.boot-loaders.u-boot/158094>,
Tom asked that I keep part 1 and drop part 2 -- which I did.
Additionally, I did ask Tom on IRC if V2 was ok with him, and had his
agreement.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2013-04-11 14:32 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 19:58 [U-Boot] [PATCH 0/4] Homogeneize semantics of CONFIG_SPL_MAX_SIZE Albert ARIBAUD
2013-04-08 19:58 ` [U-Boot] [PATCH 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics Albert ARIBAUD
2013-04-08 19:58 ` [U-Boot] [PATCH 2/4] da850evm, da840_am18xxevm: " Albert ARIBAUD
2013-04-08 19:58 ` [U-Boot] [PATCH 3/4] smdk5250, snow: " Albert ARIBAUD
2013-04-08 19:58 ` [U-Boot] [PATCH 4/4] ARM: " Albert ARIBAUD
2013-04-08 21:43 ` Benoît Thébaudeau
2013-04-09 14:23 ` Albert ARIBAUD
2013-04-09 14:24 ` Benoît Thébaudeau
2013-04-09 17:43 ` Albert ARIBAUD
2013-04-09 17:39 ` Benoît Thébaudeau
2013-04-08 20:43 ` [U-Boot] [U-Boot, 1/4] cam_enc_4xx: " Tom Rini
2013-04-09 6:50 ` Heiko Schocher
2013-04-09 9:08 ` Albert ARIBAUD
2013-04-09 12:11 ` Heiko Schocher
2013-04-09 12:42 ` Albert ARIBAUD
2013-04-09 13:17 ` Heiko Schocher
2013-04-09 14:11 ` Albert ARIBAUD
2013-04-09 23:14 ` [U-Boot] [PATCH v2 0/4] Homogeneize semantics of CONFIG_SPL_MAX_SIZE Albert ARIBAUD
2013-04-09 23:14 ` [U-Boot] [PATCH v2 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics Albert ARIBAUD
2013-04-09 23:14 ` [U-Boot] [PATCH v2 2/4] da850evm, da850_am18xxevm: " Albert ARIBAUD
2013-04-09 23:14 ` [U-Boot] [PATCH v2 3/4] smdk5250, snow: " Albert ARIBAUD
2013-04-09 23:14 ` [U-Boot] [PATCH v2 4/4] ARM: " Albert ARIBAUD
2013-04-10 22:21 ` Stephen Warren
2013-04-10 22:50 ` Albert ARIBAUD
2013-04-10 23:09 ` Stephen Warren
2013-04-11 14:30 ` Albert ARIBAUD
2013-04-11 16:51 ` Albert ARIBAUD
2013-04-10 23:09 ` Albert ARIBAUD
2013-04-10 23:16 ` Stephen Warren
2013-04-11 14:32 ` Albert ARIBAUD [this message]
2013-04-11 16:08 ` Tom Rini
2013-04-11 16:14 ` Stephen Warren
2013-04-10 2:01 ` [U-Boot] [PATCH v2 3/4] smdk5250, snow: " Minkyu Kang
2013-04-10 7:55 ` [U-Boot] [PATCH v2 1/4] cam_enc_4xx: " Heiko Schocher
2013-04-10 23:10 ` [U-Boot] [PATCH v2 0/4] Homogeneize semantics of CONFIG_SPL_MAX_SIZE Albert ARIBAUD
2013-04-11 16:52 ` Albert ARIBAUD
2013-04-12 11:55 ` [U-Boot] [PATCH v3 " Albert ARIBAUD
2013-04-12 12:37 ` Tom Rini
2013-04-12 15:14 ` [U-Boot] [PATCH v4 " Albert ARIBAUD
2013-04-12 15:14 ` [U-Boot] [PATCH v4 1/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics Albert ARIBAUD
2013-04-12 15:14 ` [U-Boot] [PATCH v4 2/4] cam_enc_4xx: convert to CONFIG_SPL_MAX_FOOTPRINT Albert ARIBAUD
2013-04-12 15:14 ` [U-Boot] [PATCH v4 3/4] da850evm, da850_am18xxevm: " Albert ARIBAUD
2013-04-12 15:14 ` [U-Boot] [PATCH v4 4/4] smdk5250, snow: " Albert ARIBAUD
2013-04-12 15:30 ` [U-Boot] [PATCH v4 1/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics Tom Rini
2013-04-12 16:22 ` Albert ARIBAUD
2013-04-14 14:10 ` [U-Boot] [PATCH v4 0/4] Homogeneize semantics of CONFIG_SPL_MAX_SIZE Albert ARIBAUD
2013-04-14 14:15 ` Benoît Thébaudeau
2013-04-14 14:29 ` Albert ARIBAUD
2013-04-12 12:05 ` [U-Boot] [PATCH v3 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics Albert ARIBAUD
2013-04-12 12:05 ` [U-Boot] [PATCH v3 2/4] da850evm, da850_am18xxevm: " Albert ARIBAUD
2013-04-12 12:05 ` [U-Boot] [PATCH v3 3/4] smdk5250, snow: " Albert ARIBAUD
2013-04-12 12:05 ` [U-Boot] [PATCH v3 4/4] ARM: " Albert ARIBAUD
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=20130411163253.35b11644@lilith \
--to=albert.u.boot@aribaud.net \
--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