From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Standalone API examples on the P4080DS
Date: Fri, 16 Jan 2015 11:08:01 -0600 [thread overview]
Message-ID: <1421428081.3122.29.camel@xes-inc.com> (raw)
In-Reply-To: <54B8F3BA.3090309@rapitasystems.com>
Hi David,
> It looks like the entry point is 0x40000. Why does the tutorial state
> that the example needs to be run from a 4 byte offset? In this case
> this
> will result in a failure to create a stack frame for hello_world.
For PowerPC the entry point used to be non-deterministic, but was
generally 0x40004 which is where the wiki value came from. The
following 2 patches made the entry point consistently 0x40000:
http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=620bbba524fbaa26971a5004793010b169824f1b
http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=c91d456c055237bdadb99a80e198748b8cf32595
I updated the wiki to match the newer 0x40000 address, which is valid
for PowerPC boards with a comment to check out
CONFIG_STANDALONE_LOAD_ADDR for other architectures.
Peter
next prev parent reply other threads:[~2015-01-16 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 11:19 [U-Boot] Standalone API examples on the P4080DS David George
2015-01-16 17:08 ` Peter Tyser [this message]
2015-01-20 14:54 ` David George
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=1421428081.3122.29.camel@xes-inc.com \
--to=ptyser@xes-inc.com \
--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