public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs
@ 2015-10-31 10:20 Pratiyush Mohan Srivastava
  2015-11-30 20:13 ` York Sun
  2015-12-15  0:48 ` York Sun
  0 siblings, 2 replies; 3+ messages in thread
From: Pratiyush Mohan Srivastava @ 2015-10-31 10:20 UTC (permalink / raw)
  To: u-boot

Remove 115200 from "earlycon" to avoid loss of initial
log messages during linux kernel 4.1  bootup

Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
---
 include/configs/ls2080a_common.h | 2 +-
 include/configs/ls2080ardb.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 31f6441..c39e294 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -263,7 +263,7 @@ unsigned long long get_qixis_addr(void);
 	"console=ttyAMA0,38400n8\0"
 
 #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
-				"earlycon=uart8250,mmio,0x21c0500,115200 " \
+				"earlycon=uart8250,mmio,0x21c0500" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
 				" hugepagesz=2m hugepages=16"
 #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 69bac8b..23d121a 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -314,7 +314,7 @@ unsigned long get_board_sys_clk(void);
 
 #undef CONFIG_BOOTARGS
 #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
-				"earlycon=uart8250,mmio,0x21c0600,115200 " \
+				"earlycon=uart8250,mmio,0x21c0600" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
 				" hugepagesz=2m hugepages=16"
 
-- 
1.9.1

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

* [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs
  2015-10-31 10:20 [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs Pratiyush Mohan Srivastava
@ 2015-11-30 20:13 ` York Sun
  2015-12-15  0:48 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2015-11-30 20:13 UTC (permalink / raw)
  To: u-boot



On 10/31/2015 03:20 AM, Pratiyush Mohan Srivastava wrote:
> Remove 115200 from "earlycon" to avoid loss of initial
> log messages during linux kernel 4.1  bootup
> 
> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
> ---
>  include/configs/ls2080a_common.h | 2 +-
>  include/configs/ls2080ardb.h     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
> index 31f6441..c39e294 100644
> --- a/include/configs/ls2080a_common.h
> +++ b/include/configs/ls2080a_common.h
> @@ -263,7 +263,7 @@ unsigned long long get_qixis_addr(void);
>  	"console=ttyAMA0,38400n8\0"
>  
>  #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
> -				"earlycon=uart8250,mmio,0x21c0500,115200 " \
> +				"earlycon=uart8250,mmio,0x21c0500" \
>  				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
>  				" hugepagesz=2m hugepages=16"
>  #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
> diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
> index 69bac8b..23d121a 100644
> --- a/include/configs/ls2080ardb.h
> +++ b/include/configs/ls2080ardb.h
> @@ -314,7 +314,7 @@ unsigned long get_board_sys_clk(void);
>  
>  #undef CONFIG_BOOTARGS
>  #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
> -				"earlycon=uart8250,mmio,0x21c0600,115200 " \
> +				"earlycon=uart8250,mmio,0x21c0600" \
>  				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
>  				" hugepagesz=2m hugepages=16"
>  
> 

This has no negative effect on 4.0 and 3.x kernel, does it? I didn't notice the
message difference for 4.0.4.

York

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

* [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs
  2015-10-31 10:20 [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs Pratiyush Mohan Srivastava
  2015-11-30 20:13 ` York Sun
@ 2015-12-15  0:48 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2015-12-15  0:48 UTC (permalink / raw)
  To: u-boot



On 10/31/2015 06:20 PM, Pratiyush Mohan Srivastava wrote:
> Remove 115200 from "earlycon" to avoid loss of initial
> log messages during linux kernel 4.1  bootup
> 
> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
> ---

Applied to fsl-qoriq master. Awaiting upstream.

York

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

end of thread, other threads:[~2015-12-15  0:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-31 10:20 [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs Pratiyush Mohan Srivastava
2015-11-30 20:13 ` York Sun
2015-12-15  0:48 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox