diff mbox series

[02/17] Kconfig: Introduce CONFIG_XEN

Message ID 20200701162959.9814-3-vicooodin@gmail.com
State New
Headers show
Series Add new board: Xen guest for ARM64 | expand

Commit Message

Nastya Vicodin July 1, 2020, 4:29 p.m. UTC
From: Peng Fan <peng.fan at nxp.com>

Introduce CONFIG_XEN to make U-Boot could be used as bootloader
for a virtual machine.

Without bootloader, we could successfully boot up android on XEN, but
we need need bootloader to support A/B, dm verify and etc.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
---
 Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Simon Glass July 3, 2020, 3:50 a.m. UTC | #1
Hi Anastasiia,

On Wed, 1 Jul 2020 at 10:30, Anastasiia Lukianenko <vicooodin at gmail.com> wrote:
>
> From: Peng Fan <peng.fan at nxp.com>
>
> Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> for a virtual machine.
>
> Without bootloader, we could successfully boot up android on XEN, but
> we need need bootloader to support A/B, dm verify and etc.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
> ---
>  Kconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Kconfig b/Kconfig
> index 8f3fba085a..67f773d3a6 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -69,6 +69,13 @@ config CC_COVERAGE
>           Enabling this option will pass "--coverage" to gcc to compile
>           and link code instrumented for coverage analysis.
>
> +config XEN
> +       bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
> +       default n

Not needed

> +       help
> +         Enabling this option will make U-Boot be run as a bootloader
> +         for XEN Virtual Machine.

Can you please add a few more details. What is XEN? URL? Also what
does this actually do? Add some features to talk to XEN? It really
needs more info and perhaps a pointer to some docs.

> +
>  config DISTRO_DEFAULTS
>         bool "Select defaults suitable for booting general purpose Linux distributions"
>         select AUTO_COMPLETE
> --
> 2.17.1
>

Regards,
Simon
Anastasiia Lukianenko July 3, 2020, 12:42 p.m. UTC | #2
Hi Simon,

On Thu, 2020-07-02 at 21:50 -0600, Simon Glass wrote:
> Hi Anastasiia,
> 
> On Wed, 1 Jul 2020 at 10:30, Anastasiia Lukianenko <
> vicooodin at gmail.com> wrote:
> > 
> > From: Peng Fan <peng.fan at nxp.com>
> > 
> > Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> > for a virtual machine.
> > 
> > Without bootloader, we could successfully boot up android on XEN,
> > but
> > we need need bootloader to support A/B, dm verify and etc.
> > 
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> > Signed-off-by: Oleksandr Andrushchenko <
> > oleksandr_andrushchenko at epam.com>
> > Signed-off-by: Anastasiia Lukianenko <
> > anastasiia_lukianenko at epam.com>
> > ---
> >  Kconfig | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/Kconfig b/Kconfig
> > index 8f3fba085a..67f773d3a6 100644
> > --- a/Kconfig
> > +++ b/Kconfig
> > @@ -69,6 +69,13 @@ config CC_COVERAGE
> >           Enabling this option will pass "--coverage" to gcc to
> > compile
> >           and link code instrumented for coverage analysis.
> > 
> > +config XEN
> > +       bool "Select U-Boot be run as a bootloader for XEN Virtual
> > Machine"
> > +       default n
> 
> Not needed

Ok, will remove.

> 
> > +       help
> > +         Enabling this option will make U-Boot be run as a
> > bootloader
> > +         for XEN Virtual Machine.
> 
> Can you please add a few more details. What is XEN? URL? Also what
> does this actually do? Add some features to talk to XEN? It really
> needs more info and perhaps a pointer to some docs.

I have number of links and explanation in the cover-letter,
so I?ll paste some of that here in the next version.

> 
> > +
> >  config DISTRO_DEFAULTS
> >         bool "Select defaults suitable for booting general purpose
> > Linux distributions"
> >         select AUTO_COMPLETE
> > --
> > 2.17.1
> > 
> 
> Regards,
> Simon

Regards,
Anastasiia
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index 8f3fba085a..67f773d3a6 100644
--- a/Kconfig
+++ b/Kconfig
@@ -69,6 +69,13 @@  config CC_COVERAGE
 	  Enabling this option will pass "--coverage" to gcc to compile
 	  and link code instrumented for coverage analysis.
 
+config XEN
+	bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
+	default n
+	help
+	  Enabling this option will make U-Boot be run as a bootloader
+	  for XEN Virtual Machine.
+
 config DISTRO_DEFAULTS
 	bool "Select defaults suitable for booting general purpose Linux distributions"
 	select AUTO_COMPLETE