Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4039212pxb; Tue, 17 Nov 2020 09:41:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYBN3RRYxem+4Y7wCJfDEdRKhWiR6Nulz9yrWf8zDREoeOtEyVQGR1A1can9+9L9scvIaP X-Received: by 2002:a50:fc95:: with SMTP id f21mr21371577edq.383.1605634894279; Tue, 17 Nov 2020 09:41:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605634894; cv=none; d=google.com; s=arc-20160816; b=DzeU5Rj2+zuUgH8UeFGrA3ArIlFKLXYCJMdfejVm1a6WjLFxPyjok+c8aGFp8OsQMa rOYsDRRNZx6CFwovr0dyBhpDCQwjFGJ5CGBxYNR+cH/K7Ng5Vkg2AWrWPgFe3Mcca8y6 WfsnBA5SqfSuuNs+vmzXU02tFfuNXpcRol+LKkEbN/QDoFDfxTM8hONx7Kdg6ClLmZuK zolnY3iQt69WUdBxdeD87hi0OcXjX96eJTqAmYXwTL0T2rByWNzukQOhEY/mQIsS4zE/ QxLby0DBNNtdVbvuD2s/97X+cIyZGnMER1fKtYcgWoQMvlRQEk2iMwpsDMKJonLhF6Pg w11g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=EKXm/vQ3AmydnaC7cSbwd0eGYk6zaZFDrwhiM96jKi0=; b=UQO06K9j7M/kq64AhR1i75t5qJrEqUhfRuvVaZ9YuEmK8mBRd9rhM792bkeJBiukiZ QTuWPPDi1MT6AUQVALi1lKgM50WK/YR5wka4lEApf2Mfq4r/TDstz1/+mas1n9yn44rG kzRecHHJ+f9FISzvHRrXGYvGV1TwduiO8/5me45JeYWnlNktZrW+tD2NEt0Q2sg92gxC +klpKpFrwrCtoTSyxKcbULBI/oUWNNpX3BG+gHMsqPyQpJShlVj1MQEEw67H+UN8rBNz +1R33axvsQUCFhv/k1sdvPjNAKqrmTHNJ9xf/fJn3/9HlhqhmB33GXfXHa9ub3E64heh k9CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si1133625edl.602.2020.11.17.09.41.11; Tue, 17 Nov 2020 09:41:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728807AbgKQRhN (ORCPT + 99 others); Tue, 17 Nov 2020 12:37:13 -0500 Received: from mail-lj1-f171.google.com ([209.85.208.171]:35640 "EHLO mail-lj1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbgKQRhM (ORCPT ); Tue, 17 Nov 2020 12:37:12 -0500 Received: by mail-lj1-f171.google.com with SMTP id 11so25261416ljf.2 for ; Tue, 17 Nov 2020 09:37:10 -0800 (PST) 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=EKXm/vQ3AmydnaC7cSbwd0eGYk6zaZFDrwhiM96jKi0=; b=MRtLtM4YvGptgwid9PWtYWwzCS2Ogi56OTMSV4POpqmEU/4N8eTO9pPV+hRAztufuW 5RjGwNOQhDkg0zKS30E2ZfO/6EjQ/rtllhUTf0kylJVpNgxrK99HIkxu5COQmPoSXZ3o 4ZBzNMTmO+FJuTNhQVITj2f7UVqfnsJv1pU067KQVLCq5Ndk4tRadrwEUQj89QtvoYgW 9gwEamVTBzdwRt90TOx8cebYy3mGrfIxPL3rUQ0PvtYDCgaPVvhtWrGf0cciKFCs2wDK VpD7mjfpmq/eZBsY2JWkA0gq5JDFwWvNKErtQhrDrr7CPG1N5YErmLhLKrM3QykYp/4I kekQ== X-Gm-Message-State: AOAM5301BMAFzN+I4c6yh7z03chAgQbWVHiPoZWZjqR7I720N6zwbb/r kS9TopvDnu1UWdV8TkNviE5x2Ou7EejN8g== X-Received: by 2002:a2e:b5bb:: with SMTP id f27mr2506868ljn.363.1605634628608; Tue, 17 Nov 2020 09:37:08 -0800 (PST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id a16sm2999012lfg.16.2020.11.17.09.37.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2020 09:37:08 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id u18so31212058lfd.9 for ; Tue, 17 Nov 2020 09:37:08 -0800 (PST) X-Received: by 2002:a19:4a41:: with SMTP id x62mr1974211lfa.398.1605634628065; Tue, 17 Nov 2020 09:37:08 -0800 (PST) MIME-Version: 1.0 References: <9436b07d-7704-6a21-dfdb-b6aa9211d456@orpaltech.com> <20201116155253.n3nuvzxup6izhh3m@gilmour.lan> <1b4bc573-05ae-7c93-75af-50af12054b86@orpaltech.com> In-Reply-To: From: Chen-Yu Tsai Date: Wed, 18 Nov 2020 01:36:56 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: BananaPi M2 support To: Sergey Suloev Cc: Maxime Ripard , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Nov 18, 2020 at 1:06 AM Sergey Suloev wrote: > > Hi, ChenYu, > > I have tried to build and run linux-next by tag "next-20201117". > Now the boot log looks different but the kernel still hangs. See > https://pastebin.com/gFk7XuBc Due to the new asynchronous probing of mmc controllers, the mmcblock device numbers likely have changed, as seen here: [ 1.652275] mmc1: new high speed SDHC card at address 0001 [ 1.652568] hub 1-1:1.0: USB hub found [ 1.658587] mmcblk1: mmc1:0001 EB1QT 29.8 GiB [ 1.661777] hub 1-1:1.0: 4 ports detected [ 1.670263] mmcblk1: p1 You should change your root device specification to use PARTUUID, instead of hardcoding the index. Regards ChenYu > Thank you, > Sergey > > > On 17.11.2020 11:06, Chen-Yu Tsai wrote: > > Hi, > > > > Please try linux-next. There were some regulator fixes that got merged recently. > > One of them fixes an infinite recursion when resolving regulator supplies. > > > > ChenYu > > > > On Tue, Nov 17, 2020 at 1:12 AM Sergey Suloev wrote: > >> Hi, Maxime, > >> > >> it just hangs on that last lines and nothing happens anymore, see 5.18 log. > >> > >> > >> On 16.11.2020 18:52, Maxime Ripard wrote: > >>> Hi, > >>> > >>> On Sat, Nov 14, 2020 at 08:20:54PM +0300, Sergey Suloev wrote: > >>>> Hi, > >>>> > >>>> I noticed that BananaPi M2 (A31 SoC) does not boot anymore on modern > >>>> kernels. The problem arises somewhere between 5.7.19 - 5.8.18. I have saved > >>>> boot logs for both versions https://pastebin.com/DTRZi8R7 and > >>>> https://pastebin.com/PS2hq07A. Logs have been taken on clean/non-patched > >>>> kernel with default config, u-boot v2020.10. > >>>> > >>>> The kernel versions 5.7.x and below work well (I tried 5.5.19 and 5.6.19). > >>>> The versions 5.8.18 and above all fail (5.9 and 5.10). > >>>> > >>>> Could you look at the problem or provide an advice about further > >>>> investigation, please ? > >>> I'm not quite sure what the issue is exactly? How does it fail to boot? > >>> > >>> Maxime > >> > >> Thank you, > >> Sergey > >> >