From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Subject: Which is better to specify console, "console= " or "stdout-path" ? Date: Wed, 21 Oct 2015 14:09:42 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel , linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hi. I think there exist two ways to specify the console port and baudrate. [1] Specify console in bootargs chosen { bootargs = "console=ttyS0,115200"; }; [2] Specify stdout-path chosen { stdout-path = "serial0:115200n8"; }; Now I have both in my DTS, but it is redundant. So, I want to select either [1] or [2]. Which is a preferable way? Thanks, -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: yamada.masahiro@socionext.com (Masahiro Yamada) Date: Wed, 21 Oct 2015 14:09:42 +0900 Subject: Which is better to specify console, "console= " or "stdout-path" ? Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi. I think there exist two ways to specify the console port and baudrate. [1] Specify console in bootargs chosen { bootargs = "console=ttyS0,115200"; }; [2] Specify stdout-path chosen { stdout-path = "serial0:115200n8"; }; Now I have both in my DTS, but it is redundant. So, I want to select either [1] or [2]. Which is a preferable way? Thanks, -- Best Regards Masahiro Yamada