From: Julien Grall <julien.grall@linaro.org>
To: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Tim Deegan <tim@xen.org>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v4] xen: arm: introduce uImage probe function for Dom0
Date: Wed, 27 Aug 2014 10:40:41 -0400 [thread overview]
Message-ID: <53FDEDE9.30402@linaro.org> (raw)
In-Reply-To: <1409147123-31890-1-git-send-email-oleksandr.dmytryshyn@globallogic.com>
Hi Oleksandr,
On 27/08/14 09:45, Oleksandr Dmytryshyn wrote:
> Patch adds a possibility to boot dom0 kernel from uImage.
> This is needed to improve boot-time. Comparing to zImage,
> uImage is not packed, therefore we can save time needed
> to unpack.
This is not entirely true. uImage is a container format to encapsulate
anything you want. For instance I'm using a zImage in it.
OOI, if you don't want compress image, why not using ELF?
In any case, I think this is a good patch, it will avoid some hackish
command in U-boot when the kernel is provided as a uImage :).
> +
> + if ( start == 0 )
> + printk(XENLOG_ERR "uImage start position is not defined\n");
> +
> + info->zimage.start = start;
I think you misunderstood my point on the previous version. As Xen may
allocate DOM0 bank anywhere in the memory, the uImage should contain a
position independent kernel image. Otherwise the user may see failure if
it decides to change the amount of memory for DOM0.
In general use case, I think Xen should ignore the start field and
decide itself where to load the kernel in memory.
This will allow the user to use the same uImage to boot on bare metal
and as DOM0. It will be very useful for Linaro testing as the image
(kernel + distribution) is built generically. We only provide an
additional layer with the Xen image.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-08-27 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 13:45 [PATCH v4] xen: arm: introduce uImage probe function for Dom0 Oleksandr Dmytryshyn
2014-08-27 14:40 ` Julien Grall [this message]
2014-08-28 10:35 ` Oleksandr Dmytryshyn
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=53FDEDE9.30402@linaro.org \
--to=julien.grall@linaro.org \
--cc=ian.campbell@citrix.com \
--cc=oleksandr.dmytryshyn@globallogic.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).