diff mbox series

[v2] synopsys/hsdk: Linux Boot log cleanup

Message ID 20180821133244.39822-1-Evgeniy.Didin@synopsys.com
State Accepted
Headers show
Series [v2] synopsys/hsdk: Linux Boot log cleanup | expand

Commit Message

Evgeniy Didin Aug. 21, 2018, 1:32 p.m. UTC
This patch removes duplicate messages in Linux log on HSDK board.
For HSDK board we setup bootargs via device tree,
see https://elixir.bootlin.com/linux/latest/source/arch/arc/boot/dts/hsdk.dts#L25
"console=ttyS3" was mistakenly placed in u-boot bootargs which are
appended to Kernel bootargs in case of using buildin .dtb.

Before patch log is like:
------------------------8<-------------------------------------
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,...
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,...
mmc0: new SDHC card at address 59b4
mmc0: new SDHC card at address 59b4
blk_queue_max_segment_size: set to minimum 8192
blk_queue_max_segment_size: set to minimum 8192
------------------------>8-------------------------------------

After patch log is like:
------------------------8<-------------------------------------
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,...
mmc0: new SDHC card at address 59b4
blk_queue_max_segment_size: set to minimum 8192
------------------------8<-------------------------------------


Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
---
Changes since v1:
-Commit message includes more correct info
 board/synopsys/hsdk/uboot.env.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni Sept. 10, 2018, 8:56 p.m. UTC | #1
Hello,

On Tue, 21 Aug 2018 16:32:44 +0300, Evgeniy Didin wrote:
> This patch removes duplicate messages in Linux log on HSDK board.
> For HSDK board we setup bootargs via device tree,
> see https://elixir.bootlin.com/linux/latest/source/arch/arc/boot/dts/hsdk.dts#L25
> "console=ttyS3" was mistakenly placed in u-boot bootargs which are
> appended to Kernel bootargs in case of using buildin .dtb.
> 
> Before patch log is like:
> ------------------------8<-------------------------------------
> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,...
> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,...
> mmc0: new SDHC card at address 59b4
> mmc0: new SDHC card at address 59b4
> blk_queue_max_segment_size: set to minimum 8192
> blk_queue_max_segment_size: set to minimum 8192
> ------------------------>8-------------------------------------  

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/board/synopsys/hsdk/uboot.env.txt b/board/synopsys/hsdk/uboot.env.txt
index 6bcfb56a77..216f0c9043 100644
--- a/board/synopsys/hsdk/uboot.env.txt
+++ b/board/synopsys/hsdk/uboot.env.txt
@@ -1,5 +1,5 @@ 
 baudrate=115200
-bootargs=console=ttyS3,115200n8 root=/dev/mmcblk0p2 rootwait
+bootargs=root=/dev/mmcblk0p2 rootwait
 bootcmd=fatload mmc 0:1; bootm
 bootdelay=2
 bootfile=uImage