Skip to contentSkip to conversation

synopsys/hsdk: Linux Boot log cleanup

PATCH New Evgeniy Didin 2 participants 2 messages Aug 21, 2018 – Sep 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 synopsys/hsdk: Linux Boot log cleanup

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@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<-------------------------------------

Cc Thomas Petazzoni <[email protected]>
Cc arc-buildroot at 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(-)
board/synopsys/hsdk/uboot.env.txt +1 -1
index 6bcfb56a77..216f0c9043 100644
@@ -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
Signature · 1 line
2.16.2
#1 lore raw

PATCH v2 1/1 synopsys/hsdk: Linux Boot log cleanup

Hello,

Quoted 6 lines · Evgeniy Didin

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.

Quoted 9 lines

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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com