LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Horms <horms@verge.net.au>
To: Michael Neuling <mikey@neuling.org>
Cc: Haren Myneni <haren@us.ibm.com>, Andrew Morton <akpm@osdl.org>,
"H. Peter Anvin" <hpa@zytor.com>, Al Viro <viro@ftp.linux.org.uk>,
fastboot@lists.osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [Fastboot] [PATCH] free initrds boot option
Date: Wed, 13 Dec 2006 10:35:08 +0900 [thread overview]
Message-ID: <20061213013506.GB22902@verge.net.au> (raw)
In-Reply-To: <30054.1165534335@neuling.org>
On Fri, Dec 08, 2006 at 10:32:15AM +1100, Michael Neuling wrote:
> > >Is there a kexec-tools patch too? How does second kernel know about
> > >the location of the first kernel's initrd to be reused?
> > >
> > >
> > kexec-tools has to be modified to pass the first kernel initrd. On
> > powerpc, initrd locations are exported using device-tree. At present,
> > kexec-tool ignores the first kernel initrd property values and creates
> > new initrd properties if the user passes '--initrd' option to the kexec
> > command. So, will be an issue unless first kernel device-tree is passed
> > as buffer.
>
> We've been using the --devicetreeblob kexec-tools option available for
> POWERPC. This enables you to setup the device tree (and hence, the
> initrd points) as you like.
>
> I'm happy to put together a patch for kexec-tools.
Please do. And please cc me on a copy that applies against kexec-tools-testing.
> Unfortunately this
> is arch specific. A quick look through the x86, ia64, s390 and ppc64
> code shows the --initrd option for all these just reads the specified
> initrd file, pushes it out to memory and uses the base and size pointers
> to setup the next boot. We'd obviously just skip to the last stage.
>
> So what's the kexec-tools option called? --initrd-location <base> <size>?
That sounds fine to me. I think its ok to make it arch specific for
starters and then move it out to generic code later. That said, if
you're feeling particularly entergetic, feel free to do the generic
stuff now and just add null stubs for the other architectures (does
that makes sense?).
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
next prev parent reply other threads:[~2006-12-13 1:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 0:18 Michael Neuling
2006-12-07 0:25 ` Randy Dunlap
2006-12-07 0:30 ` Andrew Morton
2006-12-07 0:37 ` H. Peter Anvin
2006-12-07 3:36 ` Michael Neuling
2006-12-07 16:47 ` [Fastboot] " Vivek Goyal
2006-12-07 21:40 ` Haren Myneni
2006-12-07 23:32 ` Michael Neuling
2006-12-13 1:35 ` Horms [this message]
2007-02-08 12:35 ` [Fastboot] " Horms
2007-02-08 22:58 ` Michael Neuling
2006-12-07 3:56 ` Haren Myneni
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=20061213013506.GB22902@verge.net.au \
--to=horms@verge.net.au \
--cc=akpm@osdl.org \
--cc=fastboot@lists.osdl.org \
--cc=haren@us.ibm.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikey@neuling.org \
--cc=viro@ftp.linux.org.uk \
--subject='Re: [Fastboot] [PATCH] free initrds boot option' \
/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
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).