Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp595789imm; Fri, 22 Jun 2018 01:53:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpgNfj08Jsz3NNi5Q9tbAomsZjvGDQVPvEwAw6Snb32ExY1ay4DRZMt0m6davFFoV8GSkn X-Received: by 2002:a63:4384:: with SMTP id q126-v6mr597997pga.353.1529657614400; Fri, 22 Jun 2018 01:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529657614; cv=none; d=google.com; s=arc-20160816; b=f0c4GcEm0Z7pkwRbcjF7EvSBXNim3+i7Sv8YF3W7uyKCjN8UUjoO6J0wfqFvFQsJaH 4IfqLxdbuPPryGmXB3bbMsKKyBpYZAE8kilNVdnOn5kson5fR5pjYkBaZvTFiRHLqSxQ 6qJfvFEWc2RbRibVECtn7NjWzU1FbVQvOev6QPQlqoPccBE6sYxt1ABU6vEX0AR/3gch CcTpHvJRntKnQJM1tyuoB/6gPoG4fuaBRExN/GN5JILo8bnYWS0f/280d6HVvWj2dWq3 4B6y0kRiaQprmKmHcswFT6TWsO1xpTOwl4DwlARI0YwaccF1gxcoNW1J6zN/3xL1iDq1 T4nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=ZVbBpYxVE4mMI4eMg8ts2j6OLMUuKjyyhKb1fKwV//0=; b=AC8AvMLRBzhtXCT5p0N5JzZ8NS7N2/ed0GoWsVn9YPmnNFSZJBPBT9Jb2K5AkYE8ey UCJnQMozW7wqs6qqilbb6wJIIVqktBqCXwE5jFrdTPVfBFyr5gWb7st18eCQXzCvIBMi H4eVOPH/aBjmqk1+/jk7zcdacwSODMENGXi2jsRWrh2DrbeDis8CcpxJ9vRpAO9Ck90b +vWx18/9qKR8k4n7g015CmrmOl3g1CfR1RJUuVqr8gFq3kYuHxahiHWxl7pp51nO0qnr TeaoVD9WjpS8NOI74NzSUrp73BHP6N5bPOGnEvHfiZadLLJw7dxh+ur24PfR9zPT0J1s 4WSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2LbP46og; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26-v6si5658327pge.330.2018.06.22.01.53.20; Fri, 22 Jun 2018 01:53:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2LbP46og; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751352AbeFVIvd (ORCPT + 99 others); Fri, 22 Jun 2018 04:51:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:47510 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751191AbeFVIvb (ORCPT ); Fri, 22 Jun 2018 04:51:31 -0400 Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3123023F30; Fri, 22 Jun 2018 08:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529657490; bh=9Mpn+LKUO0/8odiAv8dPlm5czmr3P5/qhoPsPKJQP14=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=2LbP46og3de598f5gqDLPIFntNxIRHXVuvl3oX1+89gIW4eWasCgTHWE/4p1x7PFH xAk9tyG0ZKViCpxXXtaOBLQj05Z7QWrTfZare1RZPFx+Qoj5zM9uSGt/TC8cP+dx8A Jjfx5dg5tVUhZh7EvF4bM3AxXYNrLZq1SWlVVLp4= Received: by mail-wr0-f176.google.com with SMTP id l14-v6so807202wrq.13; Fri, 22 Jun 2018 01:51:30 -0700 (PDT) X-Gm-Message-State: APt69E34UM7Bou6msyup/ZT2xbadfTTzhDMW8qdDZRolbXwY3hOVkMoS 0fmokGnyiePyKnI+sVhelslZj/3Oz3pYGRth6hE= X-Received: by 2002:adf:9dc9:: with SMTP id q9-v6mr822902wre.12.1529657488694; Fri, 22 Jun 2018 01:51:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9166:0:0:0:0:0 with HTTP; Fri, 22 Jun 2018 01:51:28 -0700 (PDT) In-Reply-To: <1851346.itd6mG8ZId@acerlaptop> References: <1529608199-5583-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> <1529608199-5583-4-git-send-email-pawel.mikolaj.chmiel@gmail.com> <1851346.itd6mG8ZId@acerlaptop> From: Krzysztof Kozlowski Date: Fri, 22 Jun 2018 10:51:28 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/7] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone. To: =?UTF-8?Q?Pawe=C5=82_Chmiel?= Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xc-racer2@live.ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22 June 2018 at 10:42, Pawe=C5=82 Chmiel wrote: > On Friday, June 22, 2018 9:49:42 AM CEST Krzysztof Kozlowski wrote: >> On 21 June 2018 at 21:09, Pawe=C5=82 Chmiel wrote: >> > Signed-off-by: Pawe=C5=82 Chmiel >> >> Please add commit message. This can be something as simple as "Add >> Samsung Galaxy S DTS which is a commercial phone based on Aries >> family." or something more (e.g. describe what is working). >> >> > --- >> > arch/arm/boot/dts/Makefile | 1 + >> > arch/arm/boot/dts/s5pv210-galaxys.dts | 72 ++++++++++++++++++++++++++= +++++++++ >> > 2 files changed, 73 insertions(+) >> > create mode 100644 arch/arm/boot/dts/s5pv210-galaxys.dts >> > >> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> > index 7e2424957809..522ebdca1d3d 100644 >> > --- a/arch/arm/boot/dts/Makefile >> > +++ b/arch/arm/boot/dts/Makefile >> > @@ -846,6 +846,7 @@ dtb-$(CONFIG_ARCH_S3C64XX) +=3D \ >> > s3c6410-smdk6410.dtb >> > dtb-$(CONFIG_ARCH_S5PV210) +=3D \ >> > s5pv210-aquila.dtb \ >> > + s5pv210-galaxys.dtb \ >> > s5pv210-goni.dtb \ >> > s5pv210-smdkc110.dtb \ >> > s5pv210-smdkv210.dtb \ >> > diff --git a/arch/arm/boot/dts/s5pv210-galaxys.dts b/arch/arm/boot/dts= /s5pv210-galaxys.dts >> > new file mode 100644 >> > index 000000000000..d435032541a9 >> > --- /dev/null >> > +++ b/arch/arm/boot/dts/s5pv210-galaxys.dts >> > @@ -0,0 +1,72 @@ >> > +// SPDX-License-Identifier: GPL-2.0 >> > + >> > +/dts-v1/; >> > +#include >> > +#include >> > +#include >> > +#include >> >> Duplicated inclusion. >> >> > +#include "s5pv210-aries.dtsi" >> > + >> > +/ { >> > + model =3D "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; >> > + compatible =3D "samsung,galaxys", "samsung,aries", "samsung,s5= pv210"; >> > + >> > + chosen { >> > + bootargs =3D "console=3DttySAC2,115200n8 root=3D/dev/m= mcblk2p1 rw rootwait ignore_loglevel earlyprintk"; >> >> stdout-path =3D "serial2:115200n8"; >> >> Rest of bootargs should not be here (they are not HW dependent) unless >> you cannot configure them through bootloader? >> > Stock (proprietary) bootloader is little problematic for me: > - to access it, You need to build special cable. > - i wasn't able to boot any kernel newer than 2.6.35/3.0 on it, without f= ollowing hack/patch > https://github.com/tom3q/linux/commit/af96ebcba03b607ab93bd5778301890feb0= 38479.patch > > I would like to leave those bootargs for now, so anyone can easly test th= is kernel (just with that one patch), > without breaking booting existing software, so they could easly go back t= o stock software by just flashing old kernel. > Later it'll be removed because there is initial port of mainline u-boot s= tarted for both devices > - currently it can be flashed to device, instead of kernel and boot kerne= ls from onenand/sdcard. > In this way migration from old kernel to new one will be much easier to u= sers (and won't require special tools/cables/etc). OK, then move the console to stdout-path and leave the rest with a comment explaining why they are useful. Best regards, Krzysztof