From: "H. Peter Anvin" <hpa@zytor.com>
To: Subodh Nijsure <nijsure.subodh@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Way to combine kernel and initrd on x86 platform?
Date: Thu, 23 Jul 2009 15:10:12 -0700 [thread overview]
Message-ID: <4A68DFC4.5070809@zytor.com> (raw)
In-Reply-To: <110c8b2e0907231350v122543a0n9a3aabc3aee59623@mail.gmail.com>
Subodh Nijsure wrote:
>
> Sorry if I am not being very smart here, confused by the remark "
> bzImage support would not be possible"
>
> I was able create wrapped image using command
>
> wraplinux -p "console=ttyS0,115200" -i initrd.gz -o
> vmlinux.initrd.wrap arch/i386/boot/bzImage
>
> I am using wraplinux version 1.6
>
> if I use any other image wraplinux doesn't find the version
> information and initrd image doesn't get attached.
>
> What file should I be specifying as the 'kernel' when I execute
> wrapimage if not the bzImage?
>
> ( I am working with 2.6.23 kernel)
>
> On my board I can boot the standard bzImage, but not able to load the
> wrapped image produced by wraplinux command. Would very much
> appreciate hints...
>
What I mean is that Wraplinux accepts bzImage as input and outputs ELF,
NBI or Multiboot. Depending on the bootloader on your board, you may
need to select one or the other of these formats, or might not be able
to at all. It does not *output* bzImage, and it isn't 100% trivial to
make it do so.
-hpa
prev parent reply other threads:[~2009-07-23 22:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 21:15 Way to combine kernel and initrd on x86 platform? Subodh Nijsure
2009-07-23 2:40 ` H. Peter Anvin
2009-07-23 20:50 ` Subodh Nijsure
2009-07-23 22:10 ` H. Peter Anvin [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=4A68DFC4.5070809@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nijsure.subodh@gmail.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