[U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot

2016-10-10 Thread Pratiyush Srivastava
Add optimization parameters like "quiet" in bootargs to reduce the system
boot time

Signed-off-by: Pratiyush Mohan Srivastava 
Signed-off-by: Harninder Rai 
---
 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=25"
 #define CONFIG_BOOTCOMMAND "sf probe 0:0; sf read $kernel_load "\
"$kernel_start $kernel_size && "\
"bootm $kernel_load"
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot

2016-11-22 Thread york sun
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 
> Signed-off-by: Harninder Rai 
> ---

Applied to fsl-qoriq, awaiting upstream. Thanks.

York

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot

2016-10-10 Thread york sun
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 
> Signed-off-by: Harninder Rai 
> ---
>  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=25"
>  #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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot

2016-10-11 Thread Harninder Rai
> 
> 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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot