public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ALERT!  >90% of all board configurations BROKEN
@ 2010-10-25 20:00 Wolfgang Denk
  2010-10-25 20:28 ` Reinhard Meyer
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2010-10-25 20:00 UTC (permalink / raw)
  To: u-boot

Hello,

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.

If you are debugging strange problems, check this first!

In the mean time I will try to come up with a clean solution for that.

Um... and sorry.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No question is too silly to ask. Of course, some  questions  are  too
silly to to answer...  - L. Wall & R. L. Schwartz, _Programming Perl_

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-26  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 20:00 [U-Boot] ALERT! >90% of all board configurations BROKEN Wolfgang Denk
2010-10-25 20:28 ` Reinhard Meyer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox