public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ALERT!  >90% of all board configurations BROKEN
Date: Mon, 25 Oct 2010 22:28:21 +0200	[thread overview]
Message-ID: <4CC5E865.70003@emk-elektronik.de> (raw)
In-Reply-To: <20101025200019.B5BBC152451@gemini.denx.de>

Dear Wolfgang Denk,
> this is an ALERT!
>
> I just noticed (when debugging a strage phenomenon) that most of the
> board configurations (170 out of 191 for PowerPC, _ALL_ for ARM) are
> broken, because the size of struct global_data has grown but
> CONFIG_SYS_GBL_DATA_SIZE has not been adapted (commit 91a7675 added
> 32 bytes - and yes, I am to blame for that, where is that brown paper
> bag...)
>
> Fact is, the overwhelming majority of boards has currently problems
> like this:
>
> sizeof(struct global_data) = 136, CONFIG_SYS_GBL_DATA_SIZE = 128
>
>
> This may appear to work, or may cause "funny" errors, or simply hangs
> the board hard very early in booting.

Grep-ing for CONFIG_SYS_GBL_DATA_SIZE in *.[chsS] Makefile *.ld it
seems to me that with "ELF-reloc" active that define is not used
anywhere at least in ARM.

Or did I miss a place?

Best Regards,
Reinhard

  reply	other threads:[~2010-10-25 20:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 20:00 [U-Boot] ALERT! >90% of all board configurations BROKEN Wolfgang Denk
2010-10-25 20:28 ` Reinhard Meyer [this message]
2010-10-25 22:07   ` Wolfgang Denk
2010-10-26  0:11     ` Reinhard Meyer
2010-10-26  6:31       ` Albert ARIBAUD
2010-10-26  8:26         ` Reinhard Meyer
2010-10-26  9:40           ` Wolfgang Denk
2010-10-26  6:39   ` Heiko Schocher

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=4CC5E865.70003@emk-elektronik.de \
    --to=u-boot@emk-elektronik.de \
    --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