Enable console log from earlyconsole in Linux bootargs
PATCH 1/1 Enable console log from earlyconsole in Linux bootargs
Remove 115200 from "earlycon" to avoid loss of initial log messages during linux kernel 4.1 bootup
Signed-off-by Pratiyush Mohan Srivastava <[email protected]>
--- include/configs/ls2080a_common.h | 2 +- include/configs/ls2080ardb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/ls2080a_common.h +1 -1
@@ -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 " \
include/configs/ls2080ardb.h +1 -1
@@ -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"
Signature · 1 line
1.9.1
PATCH 1/1 Enable console log from earlyconsole in Linux bootargs
Quoted 28 lines · Pratiyush Mohan Srivastava
Remove 115200 from "earlycon" to avoid loss of initial log messages during linux kernel 4.1 bootup
Signed-off-by Pratiyush Mohan Srivastava <[email protected]>--- include/configs/ls2080a_common.h | 2 +- include/configs/ls2080ardb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)include/configs/ls2080a_common.h +1
-1@@ -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 " \include/configs/ls2080ardb.h +0
-0
include/configs/ls2080ardb.h unsigned long get_board_sys_clk(void); · line 320
Quoted 8 lines
include/configs/ls2080ardb.h +1
-1@@ -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
York Sun
AppliedPATCH 1/1 Enable console log from earlyconsole in Linux bootargs
In reply to Pratiyush Mohan SrivastavaQuoted 5 lines · Pratiyush Mohan Srivastava
Remove 115200 from "earlycon" to avoid loss of initial log messages during linux kernel 4.1 bootup
Signed-off-by Pratiyush Mohan Srivastava <[email protected]>---
Applied to fsl-qoriq master. Awaiting upstream.
York