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 9587EC48BE5 for ; Sat, 12 Jun 2021 14:34:13 +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 6140E6120D for ; Sat, 12 Jun 2021 14:34:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6140E6120D 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 510DB800D9; Sat, 12 Jun 2021 16:34:10 +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="s4vuaKpw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E8A28031F; Sat, 12 Jun 2021 16:34:09 +0200 (CEST) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (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 5B652800BF for ; Sat, 12 Jun 2021 16:34:06 +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=bmeng.cn@gmail.com Received: by mail-yb1-xb2f.google.com with SMTP id b13so8646110ybk.4 for ; Sat, 12 Jun 2021 07:34:06 -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=6ooBBPhIoHYxWsm68PfZbUXETy+gMlx3PpZ6OFzv+C4=; b=s4vuaKpwH2+6XdE/gjgNdSrO8If0DkU5bGj0R/6ahjWo0WkbOCGiT++K4O0k6N5O/C EO908VOY9/+IWeMslROI8SKCdOYy14LgtMsO/wih98EfjQKd7FcDccBYcCxGmZauCRaV z6krpmX9bLfduWyuMuBO3O2HWm5K+/BUj8eUC9ffIQxgWQSi2R3PfUOIfgxxjNso4mn1 Z5++jPd2JfqQnkKOwNgSpfqO/R7QZtNZMLa9ZiGRxoeHO3saolTjUbkqjLixacEeX0w7 veuFY6czpPLyTmZU/x3VP5IrScuYlp7dK4gSBdx5M8SdkaLBBTjaoDVFJXck4NoB9ag1 n4Ng== 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=6ooBBPhIoHYxWsm68PfZbUXETy+gMlx3PpZ6OFzv+C4=; b=ekkULTyr/EmS1Ge/CWOqd4LZ569ujbvIIng9UtlmCIGUeZ3LDcT8tk6prNiuGju/LS 3DsjqmWUtGx7r09AY34PdU7zts+KycKMjoLn34JDfJoVoeQGAnwGBiOr3FBoDG92QR+2 uUUbElpA762DCChPjpFXF+dKAEqA2wpUmAq3E2Qh0wYTnmMc5CS3nH6V0cM8cXNdM/gK uzEMwj4wWSDZ6IvifVZWAfsUXa6jWxnDa5EWhkAZ88yI+976RmcbqfhWc12EfT7Z66F7 +n5lXPy+fwofX1jLyDuRnI1t2EANg4obJ+C2oEGZAMFDLuiaVokbheSgoIkKgQXoFSRA 36SQ== X-Gm-Message-State: AOAM532PtDXNtXVguHsPnHEPshIixpZ1HELhkm1W1fueeMVQ6IKctqJT /llJJVA8PUcIMGHtb8xQJ/916ECwaxkLKYM05tc= X-Google-Smtp-Source: ABdhPJxixqOiozksZzOYfs0l6NIvtbKoYLYyNK8Oj6A/BNtG2f+TWZT3RY9yXQLDEJn1HVx3qVA7kXszyjCd9HYX/cw= X-Received: by 2002:a25:2e43:: with SMTP id b3mr13063232ybn.152.1623508445036; Sat, 12 Jun 2021 07:34:05 -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: Bin Meng Date: Sat, 12 Jun 2021 22:33:54 +0800 Message-ID: Subject: Re: [PATCH 5/5] riscv: ae350: dts: Add missing "u-boot,dm-spl" for SPL config To: Rick Chen 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-spl"= for SPL config > > > > > > > > At present the AE350 SPL defconfig is using OF_PRIOR_STAGE. The int= ention was to use gdb to load device tree before running U-Boot SPL/proper = from RAM. When we switch to OF_SEPARATE we will have to use our own DT but = 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. Regards, Bin