[U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-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"

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

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

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
participants (3)
-
Harninder Rai
-
Pratiyush Srivastava
-
york sun