From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Sebastian Siewior <bigeasy@linutronix.de>
Cc: linuxppc-dev@ozlabs.org, Milton Miller <miltonm@bga.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [RFC] powerpc/boot: compare _start against ei.loadsize instead ei.memsize
Date: Fri, 10 Oct 2008 14:58:08 +1100 [thread overview]
Message-ID: <1223611088.8157.144.camel@pasglop> (raw)
In-Reply-To: <20080925214357.GA2929@www.tglx.de>
On Thu, 2008-09-25 at 23:43 +0200, Sebastian Siewior wrote:
> * Milton Miller | 2008-09-23 20:46:18 [-0500]:
>
> >On Wed Sep 24 at about 06:38:57 EST in 2008, Sebastian Siewior wrote:
> >> My mylinux binary incl. bss is ~5 MiB without bss less than 4 MiB.
> >> Therefore I though that I could replace ei.memsize with ei.loadsize. It
> >> didn't work. I'm not sure why it did not work but I guess that the
> >> memset() of bss in the initial kernel code overwrote the cuimage code
> >> which is required for some reason. Maybe some device-tree callbacks.
> >
> >probably because the bss extended beyond the cuboot _end to include
> >where your device tree was copied (just a malloc and we start
> >simple_malloc at the boot _end on most platforms).
>
> Right, the bss section went past _dtb_start, moving the device tree
> helps.
>
> Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Please repost in correct form, that is with the changeset comment.
Cheers,
Ben.
next prev parent reply other threads:[~2008-10-10 4:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 20:38 [RFC] powerpc/boot: compare _start against ei.loadsize instead ei.memsize Sebastian Siewior
2008-09-24 1:46 ` Milton Miller
2008-09-25 10:21 ` Sebastian Siewior
2008-09-25 21:43 ` Sebastian Siewior
2008-10-10 3:58 ` Benjamin Herrenschmidt [this message]
2008-10-13 9:15 ` [PATCH] " Sebastian Andrzej Siewior
2008-10-14 1:57 ` David Gibson
2008-10-14 2:00 ` David Gibson
2008-11-01 20:00 ` [PATCH] powerpc/boot: allocate more memory for dtb Sebastian Andrzej Siewior
2008-11-06 0:16 ` David Gibson
2008-09-25 18:15 ` [RFC] powerpc/boot: compare _start against ei.loadsize instead ei.memsize Scott Wood
-- strict thread matches above, loose matches on Subject: below --
2008-09-25 19:54 Milton Miller
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=1223611088.8157.144.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=bigeasy@linutronix.de \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=miltonm@bga.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 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).