Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4470320ybp; Mon, 7 Oct 2019 08:55:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqym5QKiW372C6xfqZe8QGQWMtRdLvRt8Cp/LVanLkaGn5/cIpHxPyqgcb69dKBYOOC4SbO2 X-Received: by 2002:a17:906:f846:: with SMTP id ks6mr24842029ejb.192.1570463755204; Mon, 07 Oct 2019 08:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570463755; cv=none; d=google.com; s=arc-20160816; b=O42TMkUTOpOSakPIxHnkzniEV7r79b4MBwEI+Kgl0DfrFBsQoMRDs//RnlIJERe4lN FcRcBnjCBwC7zmIjwYr+0bMPIUypkD3V0xg+BIPmfu4CEfToeWwR83UWbSTAMXG0ubII hu2fnli6c0kOicTMTXa3nnxUpRNkeP1XxX/TGy1RGqlqxMLp7X8QqNoN5sRAZLZITKY5 EPPoZz2M5aZA5wNYKLwftz/8wgcLFl7ZSDiQ3eq5czP0OHxQY0G3+K4mDKMVqSBbhQMf CzOMV7W0ho9NLz3KDXqCE60+L0sc6pY0qfoWXJcsY+rkK94yNYard8DmmIQHHrD6Uw84 be9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Y0+KKOJG+TisZYwANPRDxoGgI9F6Pi0RrxyV+mcRIhQ=; b=hCXAnA9/eSgAsuR86nZeRKCBLZC3OBEJTtDb4YcGl9LVLCnNFNOqhHLcRY+ihHpmRq SY1sNCL55Tw9SFDoWL3XYfW6cpAJzM/rsFxdCzU10BcBrlASRNSB4CRqlE1n4YqrAQeg gUGfmHFkIJBFejf87d9GZPzuqGonbwinPGeuR4Q1qPfVBz2cDDl5tsQbVMq9kf9/6/SZ 5NImby7eFfH2rqw96u9ueFsR0IBr6pxY3Ki8l3a9Zb6BOK3IXOWArg9GgQR+Mjjv2fWU UWlNOFXw2xpUMJPuS3Wzu4ITSuYOxgSRAqmkaHci04Xe6IAjIe48euGm5EaaVfD6Av6Q 6rUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jFJtBjNc; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si7100995ejx.236.2019.10.07.08.55.31; Mon, 07 Oct 2019 08:55:55 -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=@gmail.com header.s=20161025 header.b=jFJtBjNc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbfJGPxK (ORCPT + 99 others); Mon, 7 Oct 2019 11:53:10 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:42725 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727912AbfJGPxK (ORCPT ); Mon, 7 Oct 2019 11:53:10 -0400 Received: by mail-io1-f65.google.com with SMTP id n197so29606537iod.9; Mon, 07 Oct 2019 08:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y0+KKOJG+TisZYwANPRDxoGgI9F6Pi0RrxyV+mcRIhQ=; b=jFJtBjNcMzZT/dfV5DNd+SYdyhKORKldayK714j3ON/TvF4lEz54VZg0ohvI4G5pqF lAWdRi7RPMXntGegumJYq6RIQrmDTg4porBhN27Lbv7Sk/7cJgqCZaCS2KEFkh/DrEaU LG9AUPnMp1r3a8dLLYjdd+V1jld8BVZ4BY6JSnKVz+X5a0nXZfoiM5bwiQsJKqde/8BI c6rJAW38SVFX+bvt4NqsXXg8Ra1WppUYCjZnx8ruBLTXBoEM9uhU1ezFtSRJV7TsPrkG f5rSu/ObEDrsieCcbZrOtmnVt1Yi4ZHZt2KRd5ih6mqMcCroRAGJqtnXERea7kprkZ4t JJeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y0+KKOJG+TisZYwANPRDxoGgI9F6Pi0RrxyV+mcRIhQ=; b=SyqkjtRaNyBk/ZxH/yFtIw+prJM/i1k6eICvIADoz8sivbJ2O4xXmPWUY6HPm+h/kM jnWHe96eAmE70ZZVEEK1v2qjcxdp9FBh5Q4tZshDTDc0yZjwZF/mxqHdJpNKj3fX7UbJ 7QC2qhst52idZQFt2+OyyotrpV5v1h275mslSEVWyubNViAyxAk74efBddVrYj5SmQ+A J9arjHLa3oR0PjcPdVaWgBGi6q9KwNHQGdFhiayEfxlz9IXuj1RIdbPcIcS+Y5k7apob pGbyPXd11ArtPPXIsgi3Z5qEBLebukzgW+8ZSQTjlAp/Aw3z1+Yo4galRaaHnyJympPK +Z3A== X-Gm-Message-State: APjAAAWCPZLwABn6cLhN57LXQqV3jqAc5MgMNPejqmPGK/7csskqJy3m DsqqpKfIsuqSZGVc61RTQX/Yammf6OvHva/Z+TA= X-Received: by 2002:a02:245:: with SMTP id 66mr2498022jau.30.1570463588898; Mon, 07 Oct 2019 08:53:08 -0700 (PDT) MIME-Version: 1.0 References: <20191007131649.1768-1-linux.amoon@gmail.com> <20191007131649.1768-6-linux.amoon@gmail.com> <74ab98c7-0071-60e9-7613-56d15ad8c0ab@baylibre.com> In-Reply-To: <74ab98c7-0071-60e9-7613-56d15ad8c0ab@baylibre.com> From: Anand Moon Date: Mon, 7 Oct 2019 21:22:56 +0530 Message-ID: Subject: Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y To: Neil Armstrong Cc: Rob Herring , Mark Rutland , Kevin Hilman , Martin Blumenstingl , Jerome Brunet , Catalin Marinas , Will Deacon , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, On Mon, 7 Oct 2019 at 19:55, Neil Armstrong wrote: > > On 07/10/2019 15:16, Anand Moon wrote: > > Using microSD card we cannot get the mainline kernel to boot > > What's the link with microSD card here ? Well I thought that the PWM failed stop's booting further on linux kernel. But looking into kernelcli.org it seem to be working fine, but not at my end. [0] https://storage.kernelci.org/media/master/v5.4-rc1-82-gc0e284ccfeda/arm64/defconfig/gcc-8/lab-baylibre/boot-meson-g12b-odroid-n2.txt > > > using mainline u-boot it fails with below logs. > > Build PWM_MESSON as build-in solve the issue. > > > > [ 1.569240] meson-gx-mmc ffe05000.sd: Got CD GPIO > > [ 1.599227] pwm-regulator regulator-vddcpu-a: Failed to get PWM: -517 > > [ 1.600605] pwm-regulator regulator-vddcpu-b: Failed to get PWM: -517 > > [ 1.607166] pwm-regulator regulator-vddcpu-a: Failed to get PWM: -517 > > [ 1.613273] pwm-regulator regulator-vddcpu-b: Failed to get PWM: -517 > > [ 1.619931] hctosys: unable to open rtc device (rtc0) > > > > Cc: Martin Blumenstingl > > Cc: Jerome Brunet > > Cc: Neil Armstrong > > Signed-off-by: Anand Moon > > --- > > Odroid N2 Schematics says "GPIOC_6 should not pulled low if GPIOC is not > > work as SDCARD" > > Sorry, what's the link with the PWM build-in, and your case ? > Sorry I linked two issues with this commit message. > This comment is linked to the comment in the datasheet: > "" > If GPIOC is not work as SDIO port, please do not pull CARD_DET(GPIOC_6) low when system booting > up, to avoid romcode trying to boot from SD CARD. > "" > Seems pretty explicit for me. > Ok I will recheck this at my end. > > Is their any other approch to help resolve this issue. > > > > Boot log failed with cold boot: > > [0] https://pastebin.com/cEtWq2iX > > --- > > arch/arm64/configs/defconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index c9a867ac32d4..72f6a7dca0d6 100644 > > --- a/arch/arm64/configs/defconfig > > +++ b/arch/arm64/configs/defconfig > > @@ -774,7 +774,7 @@ CONFIG_MPL3115=m > > CONFIG_PWM=y > > CONFIG_PWM_BCM2835=m > > CONFIG_PWM_CROS_EC=m > > -CONFIG_PWM_MESON=m > > +CONFIG_PWM_MESON=y > > CONFIG_PWM_RCAR=m > > CONFIG_PWM_ROCKCHIP=y > > CONFIG_PWM_SAMSUNG=y > > > > For these changes without the microSD fail description in the commit log : > Acked-by: Neil Armstrong Thanks. I will rephrase this without linking the microSD card, with better commit message. Best Regards -Anand