From: "Mark A. Greer" <mgreer@mvista.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Re: [RFC] bootwrapper: prevent fdt from being overwritten by kernel
Date: Tue, 31 Oct 2006 16:02:01 -0700 [thread overview]
Message-ID: <20061031230201.GA28709@mag.az.mvista.com> (raw)
In-Reply-To: <17733.31929.136137.129244@cargo.ozlabs.ibm.com>
On Mon, Oct 30, 2006 at 03:16:57PM +1100, Paul Mackerras wrote:
> Mark A. Greer writes:
> > In addition, I moved the vmlinux elf header decompress code from
> > prep_kernel() to its own routine and called it before platform_init.
> > I then pass the elf header ptr into platform_init. That way,
> > platform_init can figure out where the end of the kernel will
> > be and put the dtb beyond it. The OF code can now change
> > claim_base in platform_init instead of needing the platform_ops.image_hdr
> > hook.
>
> Hmmm. What if platform_init needs to e.g. turn on caches or do other
> things that need to be done before decompressing? I think it's
> important to provide some way for the platform code to do things
> really early on.
Good point. I'll make a separate hook so it'll be platform_init, then
get_elfheader, then call new hook, then open console & do the rest.
Mark
prev parent reply other threads:[~2006-10-31 23:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 22:50 [RFC] bootwrapper: prevent fdt from being overwritten by kernel Mark A. Greer
2006-10-26 22:56 ` Mark A. Greer
2006-10-30 4:16 ` Paul Mackerras
2006-10-31 23:02 ` Mark A. Greer [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=20061031230201.GA28709@mag.az.mvista.com \
--to=mgreer@mvista.com \
--cc=Linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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