All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot
@ 2016-10-10 13:15 Pratiyush Srivastava
  2016-10-10 14:57 ` york sun
  2016-11-23  0:50 ` york sun
  0 siblings, 2 replies; 4+ messages in thread
From: Pratiyush Srivastava @ 2016-10-10 13:15 UTC (permalink / raw)
  To: u-boot

Add optimization parameters like "quiet" in bootargs to reduce the system
boot time

Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
Signed-off-by: Harninder Rai <harninder.rai@nxp.com>
---
 include/configs/ls1012a_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 5fb6c47..a0ef2cd 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -120,7 +120,7 @@
 	"console=ttyAMA0,38400n8\0"
 
 #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
-				"earlycon=uart8250,mmio,0x21c0500"
+				"earlycon=uart8250,mmio,0x21c0500 quiet lpj=250000"
 #define CONFIG_BOOTCOMMAND		"sf probe 0:0; sf read $kernel_load "\
 					"$kernel_start $kernel_size && "\
 					"bootm $kernel_load"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot
  2016-10-10 13:15 [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot Pratiyush Srivastava
@ 2016-10-10 14:57 ` york sun
  2016-10-11 13:43   ` Harninder Rai
  2016-11-23  0:50 ` york sun
  1 sibling, 1 reply; 4+ messages in thread
From: york sun @ 2016-10-10 14:57 UTC (permalink / raw)
  To: u-boot

On 10/10/2016 12:36 AM, Pratiyush Srivastava wrote:
> Add optimization parameters like "quiet" in bootargs to reduce the system
> boot time
>
> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
> Signed-off-by: Harninder Rai <harninder.rai@nxp.com>
> ---
>  include/configs/ls1012a_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
> index 5fb6c47..a0ef2cd 100644
> --- a/include/configs/ls1012a_common.h
> +++ b/include/configs/ls1012a_common.h
> @@ -120,7 +120,7 @@
>  	"console=ttyAMA0,38400n8\0"
>
>  #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
> -				"earlycon=uart8250,mmio,0x21c0500"
> +				"earlycon=uart8250,mmio,0x21c0500 quiet lpj=250000"
>  #define CONFIG_BOOTCOMMAND		"sf probe 0:0; sf read $kernel_load "\
>  					"$kernel_start $kernel_size && "\
>  					"bootm $kernel_load"
>

How much improvement do you get by using "quiet"? You didn't mention lpj 
in the commit message. Did you get the number from kernel log? LS1012A 
is a single core SoC. How much time do you save by setting lpj?

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot
  2016-10-10 14:57 ` york sun
@ 2016-10-11 13:43   ` Harninder Rai
  0 siblings, 0 replies; 4+ messages in thread
From: Harninder Rai @ 2016-10-11 13:43 UTC (permalink / raw)
  To: u-boot

> 
> How much improvement do you get by using "quiet"?
We see around 3-4 seconds being saved on ls1012

 You didn't mention lpj
> in the commit message. Did you get the number from kernel log? LS1012A is
> a single core SoC. How much time do you save by setting lpj?
Yes, we got the number from kernel log. I don't exactly remember how much but I think it was couple of 10's of milliseconds

> 
> York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot
  2016-10-10 13:15 [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot Pratiyush Srivastava
  2016-10-10 14:57 ` york sun
@ 2016-11-23  0:50 ` york sun
  1 sibling, 0 replies; 4+ messages in thread
From: york sun @ 2016-11-23  0:50 UTC (permalink / raw)
  To: u-boot

On 10/10/2016 12:36 AM, Pratiyush Srivastava wrote:
> Add optimization parameters like "quiet" in bootargs to reduce the system
> boot time
>
> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
> Signed-off-by: Harninder Rai <harninder.rai@nxp.com>
> ---

Applied to fsl-qoriq, awaiting upstream. Thanks.

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-23  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10 13:15 [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot Pratiyush Srivastava
2016-10-10 14:57 ` york sun
2016-10-11 13:43   ` Harninder Rai
2016-11-23  0:50 ` york sun

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.