mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
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 <pratiyush.srivastava@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
e994dddbbe
commit
b22b1dc6b7
@ -271,7 +271,7 @@ unsigned long long get_qixis_addr(void);
|
|||||||
"console=ttyAMA0,38400n8\0"
|
"console=ttyAMA0,38400n8\0"
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \
|
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \
|
||||||
"earlycon=uart8250,mmio,0x21c0500,115200 " \
|
"earlycon=uart8250,mmio,0x21c0500" \
|
||||||
"ramdisk_size=0x2000000 default_hugepagesz=2m" \
|
"ramdisk_size=0x2000000 default_hugepagesz=2m" \
|
||||||
" hugepagesz=2m hugepages=16"
|
" hugepagesz=2m hugepages=16"
|
||||||
#define CONFIG_BOOTCOMMAND "cp.b $kernel_start $kernel_load " \
|
#define CONFIG_BOOTCOMMAND "cp.b $kernel_start $kernel_load " \
|
||||||
|
@ -313,7 +313,7 @@ unsigned long get_board_sys_clk(void);
|
|||||||
|
|
||||||
#undef CONFIG_BOOTARGS
|
#undef CONFIG_BOOTARGS
|
||||||
#define CONFIG_BOOTARGS "console=ttyS1,115200 root=/dev/ram0 " \
|
#define CONFIG_BOOTARGS "console=ttyS1,115200 root=/dev/ram0 " \
|
||||||
"earlycon=uart8250,mmio,0x21c0600,115200 " \
|
"earlycon=uart8250,mmio,0x21c0600" \
|
||||||
"ramdisk_size=0x2000000 default_hugepagesz=2m" \
|
"ramdisk_size=0x2000000 default_hugepagesz=2m" \
|
||||||
" hugepagesz=2m hugepages=16"
|
" hugepagesz=2m hugepages=16"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user