Received: by 10.223.185.116 with SMTP id b49csp1063542wrg; Sun, 11 Feb 2018 03:46:05 -0800 (PST) X-Google-Smtp-Source: AH8x226X8QrreIBQLaMS98YyUPqDvMusMiYFFDQTR1lRL9UhKb8MnugEGM4rH5FhhoLnIp0BdGKh X-Received: by 2002:a17:902:a588:: with SMTP id az8-v6mr8029100plb.10.1518349565628; Sun, 11 Feb 2018 03:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518349565; cv=none; d=google.com; s=arc-20160816; b=RXFsVbG253Eg7597029UYhqpNSzaz07XxV0KLlKCLEJK13M4ABwBBYipogz5Uai019 vYtETJQBaq6F0pbMZklX6Ry61RulPBrlrS91fqPnbm3LQZhrbKAZsGpm4fgyxAoK5peY nAAd7fuWREwzUkLREbyGR7MSA7EQ6HdfLuNg3A27zLBtaJajfmAtnbX6lXORntVER2TQ YCnbyDimthBvt5kPw0GQxMRP3rw7tn20LbnMaK1g0+/QwuvNLcAEfAqO+0v18gqEAxEL S7jPtKtG5na3Dn++7C2vM6Hc0+xJC78UA4xiIXapf7bcAwyt+sV5ST2yQvyPAD0PlfAU dzDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=YOYZV3m+ASTU4RYa9h7RkcjsvIXNA10980gfa/Yg/P0=; b=ahxlTjG9yZg17q+0I/chA98TcjGLtEzeQ4SumthQ1vS4dEpCth4dkONPXMNn7gkvsw MwNR+LikE0vxSExKzUHDkKNJZxYgP7L1aGKhR/Np0fIvkSlOGE6LrcekArHr7nAMOYdq nJCautfz4lm6Iq8jLolzQ+qSK8mbMy15vRWp+swojR1n2mBNPJmySpu4mk2UZk+Bmy2o uxI5tEbWSRnUvs/1dlgEEVBZI29aHTCNd95YVDkchJCAK/cYYxvY/C/kG/rHTUPxQ2lO 2OvBCA9h71QZ0q/ONQOpLYkSgGV4iu1APZMkwOTUYnMCsWtBZrhh0QsszdzbJHSNlGnv 8N/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@orpaltech.com header.s=mailru header.b=lFeAiTtz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si2462908ple.726.2018.02.11.03.45.51; Sun, 11 Feb 2018 03:46:05 -0800 (PST) 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=@orpaltech.com header.s=mailru header.b=lFeAiTtz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbeBKLon (ORCPT + 99 others); Sun, 11 Feb 2018 06:44:43 -0500 Received: from smtp51.i.mail.ru ([94.100.177.111]:41470 "EHLO smtp51.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753040AbeBKLom (ORCPT ); Sun, 11 Feb 2018 06:44:42 -0500 X-Greylist: delayed 78465 seconds by postgrey-1.27 at vger.kernel.org; Sun, 11 Feb 2018 06:44:41 EST DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=orpaltech.com; s=mailru; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=YOYZV3m+ASTU4RYa9h7RkcjsvIXNA10980gfa/Yg/P0=; b=lFeAiTtzbs18YVjtvTlS017PB1eR35T2lDvoU7cuo1oFKGPYmbfKDS7mHO/wxDqopGHxJ7HdydMTd2SQiI52capwhbnIjtmGqpdx85adHaXdOfSkxqU17KjSoS4/v4VcQTA/nFd+Wfa/y0xbp/jP4hV8vRuMhvylD/r2oAw4WQc=; Received: by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1ekq3j-00045H-0Z; Sun, 11 Feb 2018 14:44:39 +0300 Subject: Re: [PATCH 0/3] Fix broken bananapi m2 devicetree/regulators To: Philipp Rossak , robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20180209175236.21215-1-embed3d@gmail.com> <160b60e2-6e50-0d63-e6ac-b67e10317e12@orpaltech.com> <40887d4b-0fb0-239e-e5a9-1a87f82946c2@orpaltech.com> <45fb86c9-2218-d00d-1952-6b79f9101049@orpaltech.com> <1518348631.1342.1.camel@gmail.com> From: Sergey Suloev Message-ID: Date: Sun, 11 Feb 2018 14:44:33 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1518348631.1342.1.camel@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Authentication-Results: smtp51.i.mail.ru; auth=pass smtp.auth=ssuloev@orpaltech.com smtp.mailfrom=ssuloev@orpaltech.com X-7FA49CB5: 0D63561A33F958A59F7514FD3C751B986C600B79667E5995FE4E38303E5E34DC725E5C173C3A84C3A0CC8883A33FD9CDAB01CE898341E080BA6625F88748EAEFC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F93F060FBA3C93C613B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: C5364AD02485212F3ACDC11E67D84917380A97D0287DA16287FA12874308B985069BFC61DABEEB110841D3AAAB1726C63DDE9B364B0DF289264D2CD8C2503E8C22A194DADEED8EEDCA01A23BA9CD1BE7ED14614B50AE0675 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/11/2018 02:30 PM, Philipp Rossak wrote: > Am Sonntag, den 11.02.2018, 10:55 +0300 schrieb Sergey Suloev: >> On 02/11/2018 01:07 AM, Philipp Rossak wrote: >>> >>> On 10.02.2018 22:08, Sergey Suloev wrote: >>>> On 02/11/2018 12:01 AM, Philipp Rossak wrote: >>>>> Hey Sergey, >>>>> >>>>> Thanks for mentioning, but I think the problem has nothing to >>>>> do >>>>> with those patches. I tested them with the v4.15.0 Kernel since >>>>> this >>>>> is the last stable release and we are right now in the merging >>>>> window. >>>>> >>>>> I tested the latest mainline, without those patches and the >>>>> kernel >>>>> is not booting (I can't see any uart output). >>>>> >>>>> Thanks, >>>>> Philipp >>>>> >>>>> On 10.02.2018 14:56, Sergey Suloev wrote: >>>>>> On 02/09/2018 08:52 PM, Philipp Rossak wrote: >>>>>>> This patchseries fixes the bananapi m1 devicetree, to be >>>>>>> able to >>>>>>> boot again. >>>>>>> The first two patches update/improve the devicetree and the >>>>>>> last >>>>>>> patch adds >>>>>>> all missing regulators. >>>>>>> >>>>>>> Regards, >>>>>>> Philipp >>>>>>> >>>>>>> Philipp Rossak (3): >>>>>>>    arm: dts: sun6i: a31s: bpi-m2: update mmc supply nodes >>>>>>>    arm: dts: sun6i: a31s: bpi-m2: improve pmic properties >>>>>>>    arm: dts: sun6i: a31s: fix: bpi-m2: add missing >>>>>>> regulators >>>>>>> >>>>>>>   arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 70 >>>>>>> +++++++++++++++++++++++- >>>>>>>   1 file changed, 67 insertions(+), 3 deletions(-) >>>>>>> >>>>>> patches are not working >>>>>> >>>>>> Thanks >>>>>> >>>> same problem, but after applying the patches my device is till >>>> hanging. >>>> >>>> >>> Can you please share a bootlog? Here is mine [1]. As you can see >>> I'm >>> able to boot. >>> I build it with this branch [2]. For testing you should replace >>> the >>> dtb and the uImage/zImage >>> >>> Philipp >>> >>> >>> [1]: https://pastebin.com/mVjv3LDf >>> [2]: >>> https://github.com/embed-3d/linux/tree/testing/bpi-m2-regulator-tes >>> t-2 >> My dmesg is very similar to yours unless it hangs on the last line >> [1]. >> For this test I used kernel from tag v4.15 with no additional >> patching. >> >> [1] https://pastebin.com/3a6bk5Dk >> >> > For me it looks like you have a different kernel and also an different > dtb that you patch! And you are applying also a fixup script. > These patches should be applied on top of linux mainline. > > fixup script: > Applying kernel provided DT fixup script (sun6i-a31s-fixup.scr) > > > Linux versions: > 4.15.0-00003-g1bbe5edde691 vs 4.15.0-sunxi-dirty > > In addition to that you are also booting into fb/hdmi. > > If you use my branch (uImage and dtb) and replace the current boot.cmd > with this (to get the boot.scr you need to use mkimage) it should work: > > setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait > panic=10 > load mmc 0:1 0x43000000 ${fdtfile} || load mmc 0:1 0x43000000 > boot/${fdtfile} > load mmc 0:1 0x42000000 uImage || load mmc 0:1 0x42000000 boot/uImage > bootm 0x42000000 - 0x43000000 > ok, I confirm that your patches are not related to the issue. It is the problem with sun4i drm / hdmi which is not working on bpi m2. Thanks