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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6F8AACCA47F for ; Wed, 20 Jul 2022 01:13:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6362E83FAD; Wed, 20 Jul 2022 03:13:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="jdxb/IUt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D931583FEA; Wed, 20 Jul 2022 03:13:42 +0200 (CEST) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 AD16F83E92 for ; Wed, 20 Jul 2022 03:13:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x632.google.com with SMTP id z3so1194504plb.1 for ; Tue, 19 Jul 2022 18:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc; bh=8RCsuLm0Zff56ZZYo4lymZmBMJP4gbuYRXctirOzNmo=; b=jdxb/IUtBBY1GRWfIJnnfaT0KCgr+KQ+CHQJgRdySYcEHIe2QBlCzsu1hcyLfq5C6m +NXjB0apRWHclYN4qb7HCEVJo8adHN/DtI0fu5BLcxB2ajeCNeU92ovJGCpBae2d77ml AOEv8hw7gZKeHNXvnXvbGAXRHoKfZQ58G6ej3mUOcc5KZP/5KQrPaPnGzJx6aFPEK1pB GRI01WFaP9ogZaNQZbtKLPTjMhY6olDAL0LcBg5G7uVhIDLWMe+wG5oQ0y3GSCiKGRz1 gvsPcHGDgBsd50fTyaEtYVf9lEJWE3ya/9jnqZJT9aOhAt5w67wahE4RdnIUM0JBRQcv 7VFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=8RCsuLm0Zff56ZZYo4lymZmBMJP4gbuYRXctirOzNmo=; b=2OQ/kniv6s81e5etxwhHYzzcKmYy1qMi1iQooWdQThcFxDU0O8KCjkbjqIEqyOn6Oa UOLN7VyZrZsPWNBqjps7ZWKgV/xvN0mSLmb8ZFAQ+YCmIDeHku/mGNuzvECKVxGwx9fX idPu/GACPth5RCq13FM/qAm1/lh/sGiCkn5m3tyKIk8nWzck3dvI52rIBUr67/uAC0R7 8PGQY5Z93IcXIrTX+uRuLAYkHbLVD3EWVOk2Dehns1fUQhIFjn4D0Ia/haZ/+7XC9kzA gxKnG+o6iB/741Oxgb0M8sTMUzBRGpZyoSqejlnL4Tieo7ph6zUDH8kLBW0SAzDN4tgP Xf1A== X-Gm-Message-State: AJIora/L8wfys1m1kJxE71LmLHZC7b3tWm/ZDr/lFsY90rGPHx8QqFdX gacwbsyiF5rwRfQgs06hNWzZ4g== X-Google-Smtp-Source: AGRyM1tpiDiDSUgi26+CmiKPscBWg0/bYUTAkWVZ95zfbsowiAV0wlc0uglK2iFR6BxNwlx5ZG8jyg== X-Received: by 2002:a17:90b:4a47:b0:1f0:3f92:8c80 with SMTP id lb7-20020a17090b4a4700b001f03f928c80mr2383534pjb.199.1658279617515; Tue, 19 Jul 2022 18:13:37 -0700 (PDT) Received: from laputa ([2400:4050:c3e1:100:f416:6ef9:e0c6:d3cb]) by smtp.gmail.com with ESMTPSA id w18-20020a170902e89200b0016bea74d11esm12386377plg.267.2022.07.19.18.13.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 18:13:36 -0700 (PDT) Date: Wed, 20 Jul 2022 10:13:31 +0900 From: Takahiro Akashi To: Jassi Brar Cc: Michal Simek , Sughosh Ganu , u-boot@lists.denx.de, Heinrich Schuchardt , Ilias Apalodimas , Patrick Delaunay , Patrice Chotard , Simon Glass , Bin Meng , Tom Rini , Etienne Carriere Subject: Re: [PATCH v5 20/23] FWU: synquacer: Generate dfu_alt_info from devicetree partition Message-ID: <20220720011331.GB36287@laputa> Mail-Followup-To: Takahiro Akashi , Jassi Brar , Michal Simek , Sughosh Ganu , u-boot@lists.denx.de, Heinrich Schuchardt , Ilias Apalodimas , Patrick Delaunay , Patrice Chotard , Simon Glass , Bin Meng , Tom Rini , Etienne Carriere References: <20220609123010.1017463-1-sughosh.ganu@linaro.org> <20220609123010.1017463-21-sughosh.ganu@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On Mon, Jul 18, 2022 at 09:49:56AM -0500, Jassi Brar wrote: > On Fri, 17 Jun 2022 at 09:02, Michal Simek wrote: > > On 6/9/22 14:30, Sughosh Ganu wrote: > > > From: Masami Hiramatsu > ..... > > > > > > > @@ -188,6 +178,9 @@ int board_late_init(void) > > > { > > > int ret; > > > > > > + /* Make mmc available for EFI */ > > > + run_command("mmc dev 0", 0); > > > + > > > > What is this for? > > > > And I can't see any single note about in commit message. > > > For some reason, we get "No EFI system partition" during bootup and > the mmc does not show up in 'efidebug devices' unless we manually run > this (or mmc part) command. As far as UEFI is concerned, any U-Boot block device will be recognized as a UEFI disk(block_io) object *only* after device_probe() is called. -Takahiro Akashi > Though not elegant, I found similar being done by some other > platforms.... grep run_command -rw board/* > I am happy to learn the proper way of doing it. > > Thanks.