Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751561AbdF0EZv (ORCPT ); Tue, 27 Jun 2017 00:25:51 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:53202 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbdF0EZu (ORCPT ); Tue, 27 Jun 2017 00:25:50 -0400 Subject: stdout-path (was Re: [PATCH 3/3 v6] ARC: hsdk: initial port for HSDK board) To: Alexey Brodkin , "robh+dt@kernel.org" CC: "linux-kernel@vger.kernel.org" , "Alexey.Brodkin@synopsys.com" , "Eugeniy.Paltsev@synopsys.com" , "linux-snps-arc@lists.infradead.org" , "devicetree@vger.kernel.org" , Arnd Bergmann References: <20170626151118.19507-1-Eugeniy.Paltsev@synopsys.com> <20170626151118.19507-4-Eugeniy.Paltsev@synopsys.com> <1498494334.28955.58.camel@synopsys.com> From: Vineet Gupta Message-ID: <5abefbed-fd4d-0564-e99c-e17f6a1445b5@synopsys.com> Date: Tue, 27 Jun 2017 07:25:39 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1498494334.28955.58.camel@synopsys.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.121.3.13] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 19 On 06/26/2017 07:25 PM, Alexey Brodkin wrote: >>> + >>> + chosen { >>> + bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; >> Use stdout-path for the console. Really, the bootargs should be blank >> and populated by the bootloader especially debug options. > Agree but in case of devboards we quite often disable bootloader and > load Linux image in memory via JTAG. So in that case bootargs make perfect sense IMH FWIW, I tried this 2 years ago (v4.1 ish) per pestering by Arnd but at the time I had to add some hacks in early 8250 driver to get this working for ARC. See, http://www.spinics.net/lists/linux-serial/msg17742.html http://www.spinics.net/lists/linux-serial/msg17747.html We can certainly revisit this now. -Vineet