From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5CAEC48BDF for ; Tue, 15 Jun 2021 03:19:59 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF06161400 for ; Tue, 15 Jun 2021 03:19:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF06161400 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 94EEE81D48; Tue, 15 Jun 2021 05:19:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LSYkR6Xk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2361680EC6; Tue, 15 Jun 2021 05:19:55 +0200 (CEST) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 00E9E80EC6 for ; Tue, 15 Jun 2021 05:19:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rickchen36@gmail.com Received: by mail-io1-xd2a.google.com with SMTP id s26so12733133ioe.9 for ; Mon, 14 Jun 2021 20:19:51 -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:content-transfer-encoding; bh=LT6sOA3sdPeeTRmFccPnxsKB41PMwzg65tJvmzFvIrM=; b=LSYkR6Xk/SCLA1eJT8ryBiU13uIeV8DaluzYBZXzcT7Pye4DSdvATEdLJGrum+hX1T MBpfwnz7lv1jWQK4FdHAHd3KMrJDeSQFAePULpxRI6+u9mW7WzxPX8sto4MqcDFIc37x JFqUhYRFVqkvxw2cYgFfY4T5Pvc8hEwMAFDAVchOjlkUKG4TN/gA7cWBL3Ds5x8lFPaQ YM3GDnwNqG8Zj6Bceqtw//rG01LpDDDJTrORSN0HG1eyXw2C00CIbIZM9e9sBxdLi20o 4Wdkr6kEzEguUYrWzjcIbqf7w6628Q/ZO2/3ktadnLAZdiePVLL6H5WGUiT3vHbUolD2 Kdbg== 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:content-transfer-encoding; bh=LT6sOA3sdPeeTRmFccPnxsKB41PMwzg65tJvmzFvIrM=; b=H7OnNdnjFCebifmGd39A5P85Ze1atZVBEEJfQuoZ7njf4w6ZvCV46+Inre/drA0wWe F3jNdVo9sT4fOOa235LFDCqjDQnIXTlj1JJw121AsGZVshpPtpYEHcg3Bau24VcGhZ1A 0vEw9WlMGyfMLFOsxiWfeHMKQ8cWWrXrAuFXnuj4vVnzgEq9mO3nTUl7tBEces6Zlgs3 xt3zk+VhlgA8+2KxAPlVJ7evIxrf14B64voJ1t2ejOhxmWVQQGxwPjzVEeqiKAztf4W6 aoU9Qnd/q81znhNrKaDJY26ERJpZlDrSlDHXucoZMm3MXI/7+luKNTxu75X1LlT5gcOf XHtQ== X-Gm-Message-State: AOAM531tGCFygLTlOtLg3U0XBoxeUUl90LiyOtexPj4HwXUOOqB4pm6V uH34AE6OkByWzVsG77DpMJgnvAsKrok21W+v6kU= X-Google-Smtp-Source: ABdhPJwPuI+vF8jDWh7eREfaVVOu6OnsZkQcuIP9OyAJXBtaTStpnovnYf4fMn8QZBu8g1q0EvVjtC7yW9VIO4AIk4g= X-Received: by 2002:a5e:8510:: with SMTP id i16mr635517ioj.40.1623727190911; Mon, 14 Jun 2021 20:19:50 -0700 (PDT) MIME-Version: 1.0 References: <20210604055113.3630286-1-bmeng.cn@gmail.com> <20210604055113.3630286-5-bmeng.cn@gmail.com> <752D002CFF5D0F4FA35C0100F1D73F3FE5EA8783@ATCPCS12.andestech.com> In-Reply-To: From: Rick Chen Date: Tue, 15 Jun 2021 11:19:39 +0800 Message-ID: Subject: Re: [PATCH 5/5] riscv: ae350: dts: Add missing "u-boot,dm-spl" for SPL config To: Bin Meng Cc: U-Boot Mailing List , rick , Leo Liang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean > Hi Rick, > > On Sat, Jun 12, 2021 at 9:30 PM Rick Chen wrote: > > > > HI Bin > > > > > Hi Rick, > > > > > > On Wed, Jun 9, 2021 at 3:06 PM Rick Chen wrote= : > > > > > > > > Hi Bin, > > > > > > > > > From: Bin Meng > > > > > Sent: Friday, June 04, 2021 1:51 PM > > > > > To: Rick Jian-Zhi Chen(=E9=99=B3=E5=BB=BA=E5=BF=97) ; Leo Yu-Chi Liang(=E6=A2=81=E8=82=B2=E9=BD=8A) ; U-Boot Mailing List > > > > > Subject: [PATCH 5/5] riscv: ae350: dts: Add missing "u-boot,dm-sp= l" for SPL config > > > > > > > > > > At present the AE350 SPL defconfig is using OF_PRIOR_STAGE. The i= ntention was to use gdb to load device tree before running U-Boot SPL/prope= r from RAM. When we switch to OF_SEPARATE we will have to use our own DT bu= t without "u-boot,dm-spl" in several essential nodes, SPL does not boot. > > > > > > > > Can you describe how do you verify and provide the steps about that > > > > SPL boot fail that I can duplicate it. :) > > > > > > $ make ae350_rv64_spl_defconfig; make -j > > > $ make menuconfig (change OF_PRIOR_STAGE to OF_EMBED or OF_SEPARATE) > > > > > > Load u-boot.bin to RAM > > > > It can boot with OF_EMBED. > > But it compile fail with choosing OF_EMBED at the first time, fail > > messages as below: > > > > binman: [Errno 2] No such file or directory: 'u-boot.dtb' > > Makefile:1084: recipe for target 'all' failed > > make: *** [all] Error 1 > > Yes, this is a known issue of the binman conversion for SPL. OF_EMBED > is a debugging purpose hence I am inclined to leave it as is. Reviewed-by: Rick Chen > > Regards, > Bin