From: llandre <r&d2@dave-tech.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] simple_strtoul overwrites bd_info field
Date: Thu, 31 Aug 2006 13:15:58 +0200 [thread overview]
Message-ID: <44F6C4EE.1010605@dave-tech.it> (raw)
In-Reply-To: <20060830101300.93EF4352627@atlas.denx.de>
> In message <44F551D6.7070904@dave-tech.it> you wrote:
>> I tried to move the e pointer from start_armboot to the top of the file
>> (static char *e;) and everything works fine.
>
> This cannot be accepted as solution for the problem.
Yes, I absolutely agree. I have just performed this attempt to verify
that that problem referred to the allocation of variable e.
Anyway I found the bug. Since we had to add more fields for DRAM
configuration in the struct bd_info (Ep93xx has complex DRAM mapping),
its size increased up to 160 bytes and I just forgot to change
CFG_GBL_DATA_SIZE accordingly.
Thanks and best regards,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2 at dave-tech.it
next prev parent reply other threads:[~2006-08-31 11:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-29 15:44 [U-Boot-Users] simple_strtoul overwrites bd_info field llandre
2006-08-29 16:04 ` Wolfgang Denk
2006-08-30 7:58 ` llandre
2006-08-30 8:14 ` Wolfgang Denk
2006-08-30 8:38 ` llandre
2006-08-30 8:52 ` llandre
2006-08-30 10:13 ` Wolfgang Denk
2006-08-31 11:15 ` llandre [this message]
2006-08-31 12:26 ` Wolfgang Denk
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=44F6C4EE.1010605@dave-tech.it \
--to=r&d2@dave-tech.it \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.