* [PATCH] Fix to improve boot time on Emulators
@ 2020-02-04 16:25 vineeth.raveendran
2020-02-05 15:44 ` [meta-arm] " Jon Mason
0 siblings, 1 reply; 2+ messages in thread
From: vineeth.raveendran @ 2020-02-04 16:25 UTC (permalink / raw)
To: meta-arm; +Cc: nd, Vineeth Raveendran
Use haveged instead of rngd (That gets added when adding ssh) since rngd
init is taking ~7 mins during boot time
Change-Id: I038c42b8a7c025959248d78940483322421ad5ef
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
---
meta-arm-bsp/conf/machine/foundation-armv8.conf | 5 +++++
meta-arm-bsp/conf/machine/fvp-base.conf | 5 +++++
meta-arm-bsp/conf/machine/gem5-arm64.conf | 4 ++++
3 files changed, 14 insertions(+)
diff --git a/meta-arm-bsp/conf/machine/foundation-armv8.conf b/meta-arm-bsp/conf/machine/foundation-armv8.conf
index 9a3f43f..10d3eea 100644
--- a/meta-arm-bsp/conf/machine/foundation-armv8.conf
+++ b/meta-arm-bsp/conf/machine/foundation-armv8.conf
@@ -8,3 +8,8 @@ require conf/machine/fvp-common/fvp.inc
KERNEL_DEVICETREE = "arm/foundation-v8-gicv3-psci.dtb"
EXTRA_IMAGEDEPENDS += "foundation-armv8-native"
+
+# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
+# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
+PACKAGE_EXCLUDE_append = " rng-tools"
+IMAGE_INSTALL_append = " haveged"
diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf
index 5592dc1..4c79250 100644
--- a/meta-arm-bsp/conf/machine/fvp-base.conf
+++ b/meta-arm-bsp/conf/machine/fvp-base.conf
@@ -8,3 +8,8 @@ require conf/machine/fvp-common/fvp.inc
KERNEL_DEVICETREE = "arm/fvp-base-gicv3-psci-custom.dtb"
EXTRA_IMAGEDEPENDS += "fvp-base-native"
+
+# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
+# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
+PACKAGE_EXCLUDE_append = " rng-tools"
+IMAGE_INSTALL_append = " haveged"
diff --git a/meta-arm-bsp/conf/machine/gem5-arm64.conf b/meta-arm-bsp/conf/machine/gem5-arm64.conf
index 54f7ede..4775940 100644
--- a/meta-arm-bsp/conf/machine/gem5-arm64.conf
+++ b/meta-arm-bsp/conf/machine/gem5-arm64.conf
@@ -56,3 +56,7 @@ XEN_CONFIG_EARLY_PRINTK = "vexpress"
BOOT_WRAPPER_AARCH64_XEN_CMDLINE = "noreboot dom0_mem=256M console=dtuart \
dtuart=/uart@1c090000 bootscrub=0"
+# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
+# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
+PACKAGE_EXCLUDE_append = " rng-tools"
+IMAGE_INSTALL_append = " haveged"
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-arm] [PATCH] Fix to improve boot time on Emulators
2020-02-04 16:25 [PATCH] Fix to improve boot time on Emulators vineeth.raveendran
@ 2020-02-05 15:44 ` Jon Mason
0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2020-02-05 15:44 UTC (permalink / raw)
To: meta-arm; +Cc: nd, Vineeth Raveendran
On Tue, Feb 4, 2020 at 4:26 PM Vineeth Raveendran
<vineeth.raveendran@arm.com> wrote:
>
> Use haveged instead of rngd (That gets added when adding ssh) since rngd
> init is taking ~7 mins during boot time
The patch has been accepted and pushed to the master branch of
meta-arm. Thank you for doing this work.
Thanks,
Jon
>
> Change-Id: I038c42b8a7c025959248d78940483322421ad5ef
> Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
> ---
> meta-arm-bsp/conf/machine/foundation-armv8.conf | 5 +++++
> meta-arm-bsp/conf/machine/fvp-base.conf | 5 +++++
> meta-arm-bsp/conf/machine/gem5-arm64.conf | 4 ++++
> 3 files changed, 14 insertions(+)
>
> diff --git a/meta-arm-bsp/conf/machine/foundation-armv8.conf b/meta-arm-bsp/conf/machine/foundation-armv8.conf
> index 9a3f43f..10d3eea 100644
> --- a/meta-arm-bsp/conf/machine/foundation-armv8.conf
> +++ b/meta-arm-bsp/conf/machine/foundation-armv8.conf
> @@ -8,3 +8,8 @@ require conf/machine/fvp-common/fvp.inc
>
> KERNEL_DEVICETREE = "arm/foundation-v8-gicv3-psci.dtb"
> EXTRA_IMAGEDEPENDS += "foundation-armv8-native"
> +
> +# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
> +# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
> +PACKAGE_EXCLUDE_append = " rng-tools"
> +IMAGE_INSTALL_append = " haveged"
> diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf
> index 5592dc1..4c79250 100644
> --- a/meta-arm-bsp/conf/machine/fvp-base.conf
> +++ b/meta-arm-bsp/conf/machine/fvp-base.conf
> @@ -8,3 +8,8 @@ require conf/machine/fvp-common/fvp.inc
>
> KERNEL_DEVICETREE = "arm/fvp-base-gicv3-psci-custom.dtb"
> EXTRA_IMAGEDEPENDS += "fvp-base-native"
> +
> +# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
> +# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
> +PACKAGE_EXCLUDE_append = " rng-tools"
> +IMAGE_INSTALL_append = " haveged"
> diff --git a/meta-arm-bsp/conf/machine/gem5-arm64.conf b/meta-arm-bsp/conf/machine/gem5-arm64.conf
> index 54f7ede..4775940 100644
> --- a/meta-arm-bsp/conf/machine/gem5-arm64.conf
> +++ b/meta-arm-bsp/conf/machine/gem5-arm64.conf
> @@ -56,3 +56,7 @@ XEN_CONFIG_EARLY_PRINTK = "vexpress"
> BOOT_WRAPPER_AARCH64_XEN_CMDLINE = "noreboot dom0_mem=256M console=dtuart \
> dtuart=/uart@1c090000 bootscrub=0"
>
> +# Use haveged as a source of entropy instead of rng-tools (Needed for ssh).
> +# rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time.
> +PACKAGE_EXCLUDE_append = " rng-tools"
> +IMAGE_INSTALL_append = " haveged"
> --
> 2.17.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-05 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 16:25 [PATCH] Fix to improve boot time on Emulators vineeth.raveendran
2020-02-05 15:44 ` [meta-arm] " Jon Mason
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.