From: llandre <r&d2@dave-tech.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] simple_strtoul overwrites bd_info field
Date: Wed, 30 Aug 2006 09:58:26 +0200 [thread overview]
Message-ID: <44F54522.4010608@dave-tech.it> (raw)
In-Reply-To: <20060829160406.0F4F9353A32@atlas.denx.de>
>> I'm experiencing the following problem when building U-Boot with GCC
>> 4.0.0 provided by ELDK 4.0 ARM.
>
> Which board is this?
Zefeer
> Check the assembler code (single step it under a debugger).
This is the offending instruction in simple_strtoul:
*endp = (char *)cp;
As endp points to one field of the struct bd_info, it gets corrupted. So
the problem is about the pointer "e" in function start_armboot that is
passed to simple_strtoul. Any idea?
--
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-30 7:58 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 [this message]
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
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=44F54522.4010608@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.