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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 DBFB7C48BCF for ; Sat, 12 Jun 2021 13:30:25 +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 719C16108D for ; Sat, 12 Jun 2021 13:30:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 719C16108D 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 0EE1E800D0; Sat, 12 Jun 2021 15:30:22 +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="cejbTjo2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 983228031F; Sat, 12 Jun 2021 15:30:20 +0200 (CEST) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 BB34A80050 for ; Sat, 12 Jun 2021 15:30:17 +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-xd32.google.com with SMTP id b14so19508237iow.13 for ; Sat, 12 Jun 2021 06:30:17 -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=JJGjDqgqRH/qNW4XD4nLw1Kl3LPJwkozbvoE1/HRV1M=; b=cejbTjo2cIp3oih/BHKseo4tFiJw/nPYKgg1+fycuCDhSr672F1FPBicbMU1albhbd HqLTzKMbZPfE1fToCUeqLw7NxC3JSflKk1g6V5GG0J83lVJdDYAy9Z4diMw7qJwxsUwJ vh8ilAxRYdxI/hFRrPMuWN8L39GhY79wSovSu0uK4h1yM4zh/WUTmVpjzdANYYFEGYpZ hKK8t0+6UK+ScyRQiV3Cv9TwAKL9ttvSlZOs4xWTbz2FFTOpIrVz+F06QxrgGlAt8AyW dqFSaZYxVooDbi9Uz+LqxlOrBLGvNPOj4jJIAM1yLLmZkINV0JNfDJbU1PUYn+eZB4Hv NAjg== 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=JJGjDqgqRH/qNW4XD4nLw1Kl3LPJwkozbvoE1/HRV1M=; b=Ie5b/JptltXEDx1q/eZvxnyTnPcgzTQVgx0oSWbhwtZK66HH0PvsVRFgjTUGd99RBd 7MpbsvQguIDjPlHx6Zi80Ec3L09gZHU3LeuPXpDvoo4uAf/nghLMAq0QDkaJ08RAx0lA lBeBKXzX9uPxC/0mslet9nfhv0fdLbkSsHR8XT/cmVIiL6TLWWenvWif8x5dOAdhe1am sxqHD2+UhOWxHnVkhVA5bk08UAfQ7gq2ByCR0dNEek8VRR5CwUarKPjtwuMipzYR+qcI WEy9YAvgmB/MBqptr0ABJBdgIp1/rLYkiqQ5FPjrPEkFRe0xN4RDZqV7jddqnM1Baify MKRg== X-Gm-Message-State: AOAM532Ttskq7dNxz7+oPYaTPy6ukoRfukgFSnxkuSi4wci4Pns/ZPyP r9CmnzNmhjpuuSrFngJf2oswlRVy2piORYJXX6A= X-Google-Smtp-Source: ABdhPJxxzh/QLeBABkx/bBVFT7Z6t5dM/TPKWlGf9TD3F6Vha22R4qgw8keqXK9HJrmSxzKrtsYY9o+MjwoMISsKkFU= X-Received: by 2002:a02:a815:: with SMTP id f21mr8345098jaj.118.1623504616425; Sat, 12 Jun 2021 06:30:16 -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: Sat, 12 Jun 2021 21:30:05 +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 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-spl" f= or SPL config > > > > > > At present the AE350 SPL defconfig is using OF_PRIOR_STAGE. The inten= tion was to use gdb to load device tree before running U-Boot SPL/proper fr= om RAM. When we switch to OF_SEPARATE we will have to use our own DT but wi= thout "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 Thanks, Rick > > Regards, > Bin