linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kent Borg <kentborg@borg.org>
To: "Kerl, John" <John.Kerl@Avnet.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: boot/simple in ROM?
Date: Thu, 24 Apr 2003 15:15:31 -0400	[thread overview]
Message-ID: <20030424151531.K8490@borg.org> (raw)
In-Reply-To: <B895EFF5AF34724880036BDB5B5B81481355C0@amer22.avnet.com>; from John.Kerl@Avnet.com on Thu, Apr 24, 2003 at 11:06:32AM -0700


On Thu, Apr 24, 2003 at 11:06:32AM -0700, Kerl, John wrote:
> I based mine off boot/simple.  It runs fine from ROM.
>
> Suppose for example I have 32MB SDRAM from 0x00000000
> to 0x01ffffff, and 16MB flash from 0xff000000 to 0xffffffff.
> The key is that arch/ppc/boot/ld.script, and

...suddenly I GET it!  I was being too clever and trying to link for
my ROM address, and of course that will put the stack and bss in ROM.
Duh.

When I simply burn my 0x800000 RAM image at 0xfec00000 the bss and
stack are still down in 0x800000-range, and it works great.


Thanks to all for having such patience,

-kb, the Kent who is glad he didn't ask such a question on, say, the
qmail list.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-04-24 19:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24 18:06 boot/simple in ROM? Kerl, John
2003-04-24 19:15 ` Kent Borg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-25 12:53 Wells, Charles
2003-04-25 14:48 ` Dan Malek
     [not found] <00032EDD.C22236@borg.org>
2003-04-24 17:44 ` Jerry Van Baren
2003-04-24 18:02   ` Mark A. Greer
2003-04-24 16:33 Kent Borg
2003-04-24 17:13 ` Dan Malek
2003-04-24 17:32   ` Kent Borg
2003-04-24 17:49     ` Mark A. Greer
2003-04-24 18:41       ` Dan Malek
2003-04-24 18:29   ` emanuel stiebler

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=20030424151531.K8490@borg.org \
    --to=kentborg@borg.org \
    --cc=John.Kerl@Avnet.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).