From: "John W. Linville" <linville@lvl7.com>
To: "Gessner, Matt" <mattg@aiinet.com>
Cc: "'Linux PPC'" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Question about zvmlinux.embedded org.
Date: Mon, 03 Dec 2001 09:30:39 -0500 [thread overview]
Message-ID: <3C0B8C8F.FE0A85F1@lvl7.com> (raw)
In-Reply-To: 638AA0336D7ED411928700D0B7B0D75BB323AC@mail2.aiinet.com
Matt,
I've seen this problem myself. The easiest "solution" is to find a way
to force your boot code to load the zImage to a different (i.e. higher)
address, say 0x00200000. When the mini boot loader relocates itself, it
leaves the contents of the image section in place, so then the .bss and
the image sections don't overlap.
At one time I experimented with some makefile changes that 1) determined
the size of the .bss segment; 2) generated an "all zeroes" file of the
same size; and 3) added that file as a "pad" segment to the zImage file
BEFORE the image section was added. Then, you could load the zImage
directly to it's execution address (i.e. 0x00180000). As I recall, that
worked fairly well. But, that was at a different employer so I don't
have any patches to offer you today...sorry. :-)
Good luck!
John
"Gessner, Matt" wrote:
> Anyway, If you'll notice where .bss is being loaded, at 0x187000
> and the location where image will be loaded (0x180000 - 0x10000 + 0x170000)
> you'll notice that .bss overlaps image.
--
John W. Linville
LVL7 Systems, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-12-03 14:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-03 13:16 Question about zvmlinux.embedded org Gessner, Matt
2001-12-03 14:30 ` John W. Linville [this message]
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=3C0B8C8F.FE0A85F1@lvl7.com \
--to=linville@lvl7.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mattg@aiinet.com \
/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.