Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp457398rdh; Sat, 23 Sep 2023 19:39:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEobUFFeFqfJuL9DWjqDdmj/ZnKaivr/x8TePzQgddGwRV6q6ZFUIEutiVilctXnXv7krrh X-Received: by 2002:a05:620a:4108:b0:773:b623:72f7 with SMTP id j8-20020a05620a410800b00773b62372f7mr4456821qko.50.1695523187864; Sat, 23 Sep 2023 19:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695523187; cv=none; d=google.com; s=arc-20160816; b=p+NSOoq59Ohhs7GmTLA3Hp620hjOLhfolmMMkkp5Xq4KNtC9H5f/MXk7gNMBPR1/zt 2JRwY2amahIeET+e6VUSL97fjsywhlNvLZtthPswA4M+7WMwHITVBUTP/YZCgTQssEhu INvSCp4vxCMiHKYGI6wAsh4EykqEKmR6bT0QhKaU+FtJnkVn/No3E1SHWK7wBeMsdcp9 KUq/Q1OBFGpXi4Onu04ItceafmRWAO5jOYL8gApXpJMV6PbEBWS7RCG9GDxPiHbp3wdN 4JLvROvHhDAaZdh+3NyFMistJzGysdenc/60dfFdpSuTPHOPyG2Wz2B/6scUO/LlsfXL I3fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=0/IsE9EpAi3LaXcSTIA4SWpfcciu+jwkLSWIdVZeRDU=; fh=g3XqIe4jHNCvjE953e3DGdDjA3Ro6FgIZaoGpyTu02c=; b=MifVLAMe3VJAfWb0v+e0GKiNYlI6lXIwU/3ZCLKl54BhF+NH9V6om2HMAi8pqWSFgS A6LEEcBTQsqwRIwkjfxp0NjSl+hgekqMxhFmE3nQNzaificwTAOlMxmR+jtoHYllMy8M FBqj5gciSjgfFgDFF2/ZoNLrkjxyujfcl955knFgP8wdkffUXIHrKSj3LlBiCxbdPcAz UlAHTedT4WPjMH815nHnGwW15uWXcD+QicRQpvWHv0i42fTF2gb/isMddlqDBcJ/cptt 581h4MlDt5cB9Z8C/9KO2KT8/k0JrcSxpsmD87184tJpTSd85mbLWhzzT/H4uPhfth8J RgZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=MTpBgURN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id dw6-20020a056a00368600b0068e41f07f33si7056160pfb.94.2023.09.23.19.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 19:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=MTpBgURN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 11DB6812288F; Sat, 23 Sep 2023 09:33:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231895AbjIWQdz (ORCPT + 99 others); Sat, 23 Sep 2023 12:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjIWQdy (ORCPT ); Sat, 23 Sep 2023 12:33:54 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6E1292; Sat, 23 Sep 2023 09:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1695486828; bh=tW1UN5jHVwKFIWyT0vw1qK7pjftSvUIwdEui3rNfxLQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=MTpBgURNlVSGSVUcFrKYPfa1WwaTtCLUyPldQ1iVEPl3Q0Xt/LCoNQLvX20/wUGKc /87cdEmwPCKrPNpMdL3dAsroiPW9JlSCuRq2gJ+j/rz9MPwqhPUDXhmluoN5Sfp9xi W0DEosDlGsa2C8dU/Yb3uSxobuiykb35ImF6dgVM= Received: from [127.0.0.1] (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id D5590659AC; Sat, 23 Sep 2023 12:33:43 -0400 (EDT) Message-ID: <1caa7866e2a557d2da05adee29cb8ab8fe86ea25.camel@xry111.site> Subject: Re: [PATCH 0/6] RISC-V: Add eMMC support for TH1520 boards From: Xi Ruoyao To: Drew Fustini Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Adrian Hunter , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Robert Nelson , Jason Kridner , Han Gao , Icenowy Zheng , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Date: Sun, 24 Sep 2023 00:33:41 +0800 In-Reply-To: References: <20230921-th1520-mmc-v1-0-49f76c274fb3@baylibre.com> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.0 MIME-Version: 1.0 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 23 Sep 2023 09:33:56 -0700 (PDT) X-Spam-Level: ** On Fri, 2023-09-22 at 09:23 -0700, Drew Fustini wrote: > > I've tested this branch and successfully booted a rootfs on Lichee Pi 4= A > > eMMC with rootdelay=3D10. > >=20 > > Curiously is there some way to make it work without rootdelay? >=20 > Thank you for testing. >=20 > This is the kernel command line that I am using on both the lpi4 and > the ahead: >=20 > root=3D/dev/mmcblk0p3 ro rootfstype=3Dext4 rootwait console=3DttyS0,11520= 0 >=20 > I seem to recall that before I used rootwait that there would be a VFS > oops because mmcblk0p3 didn't exist yet. >=20 > Have you tried rootwait instead of the 10 second delay? I just tried rootwait several times and it works for me. (When I tried it yesterday it did not work initially, so I switched to rootdelay. I guess I'd mistyped something in the initial attempt). --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University