From patchwork Tue Nov 27 00:33:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 152100 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp580215ljp; Mon, 26 Nov 2018 16:31:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/VGB3jMjyOHuMBV2Zyj//w6CvtQxMxulBKHKBnPM+Oujrfpk8KbaaZZjmPbP0HJZIME9Q9z X-Received: by 2002:a50:addd:: with SMTP id b29mr13176127edd.215.1543278676369; Mon, 26 Nov 2018 16:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543278676; cv=none; d=google.com; s=arc-20160816; b=EwNThxLrraE0iCekqzo0TWyoQ9YR/eiUK9CNn5S3YtKKVAbhX1TcvV1HXABrMEq3Th 20QaCPURwvoeC7p9ckeYPnqU0tmbeQgmEDBHbVXfOs6cYgw5grH1UM2fLkSjO8smQryK VdNg0yMJTqCSXB7vRhLVc4GHbMsSCI1ki9bVIlYZhdjDD1nUk00xgBa621G1r0QlZJ7m y+iO646fCQ4H7yduqc2RRII6jpfm0+mGfiygcrCEhjoxecA80YafoKc2fyWvGLaShK/N 4DVQCaLPllCsvhgpcY6U83yu7m0OF7VJHl5VwEvW9uUG0H0vTGfPJrMdqdXWAB8Zd2zn UxaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature; bh=pXHt+gCzXd4xfoyPStKyC6OcICuyzeHMmkkhmRVaP9k=; b=cnz3/TSKstI1s0QoR91ZAgxbsdVvv6LEszIBoWDJ42vS1I5kdk8Mr4vH7u+7udOX/Q gh4dr18VnYo9hIY1EQ1viy7yHHGaS9CTiZauMZ1XqgGMM6/SeECUK0JHs+nc1tg63Xoq 1XsIc/H2GOkcEgHPGtgp25WVOhPCAeAhtPiHQkqPUfU0fg3r+BFmzK0VczWeBpQNRqBj MzL1oTPd8JagoPp+WWPmLhUsjOvTauAcOxhHWA+FE96G8TsA8aScyUEGHvNMHhAl+iAg nWOOcOSziZUeO3DF048r7kvOF4xS5+Z/EkndHEeKDZQNuHwMWRT6w/s3WOM3EKh8IW96 7jhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XBF7jGu+; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id w14si1120031edd.398.2018.11.26.16.31.15; Mon, 26 Nov 2018 16:31:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XBF7jGu+; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 84510C21C93; Tue, 27 Nov 2018 00:31:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8B547C21C38; Tue, 27 Nov 2018 00:31:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A6090C21C50; Tue, 27 Nov 2018 00:31:09 +0000 (UTC) Received: from mail-yw1-f68.google.com (mail-yw1-f68.google.com [209.85.161.68]) by lists.denx.de (Postfix) with ESMTPS id 23ABCC21C38 for ; Tue, 27 Nov 2018 00:31:09 +0000 (UTC) Received: by mail-yw1-f68.google.com with SMTP id t13so8383919ywe.13 for ; Mon, 26 Nov 2018 16:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rvKXQxyTKlVWO73Vq9MUd6/tNpTv9LR4jThxUKNZ9BQ=; b=XBF7jGu+oLcQOuKC0Rhd0RHfPVC5jljkeXvzenouZpOOTuY50sT+pOlRDeL/r4WK2i 3PApfMww8pQlsUMOK9y6E95upqLIqB/3MYg/c+7iHdQ2CAvr6/+e45crtKcs4fJrVV/P aWXk1QCvTvdtx2LSEkD/y/fHIoxVMtWWR5mYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rvKXQxyTKlVWO73Vq9MUd6/tNpTv9LR4jThxUKNZ9BQ=; b=i+2op49bvEaYpkdwmzy11ItrKqZFSteN5iQk1Tm8YMsMPc1veUHOI0L1s1yZL4DN6m B+xBUDHQoqpwJZly9adbXCQWM+/05F1R0FmNEi+rvnNBN1549ZoUfN4UHN3iSkMbQpbV xEn4pThc9Uz3nRwodiPF6gYUt+aUnXHlxmqbBbwtLh819kNhJSO8bZahBTqBPW8fo5t6 VQR2zt/tq+jSYyCBEdOZfLTRH+eegSaFWe20EQfIlfDQqfbKrEm/OGaKv7b1VTU8zZiU z/ua8m7tlNpPXgf3heJWXxqbIukbtjyepKgY+SHH0yoWoiM8Gf5Q/hwBjJAsjXk0BH+c 4Itw== X-Gm-Message-State: AGRZ1gLdAv7hVvS4VJFBEuYhFexBjG+M8lnvfx8JPciJTyRxX2TW55af i4Y5bqiSECxjvhZsrC0QRZ484w== X-Received: by 2002:a81:d008:: with SMTP id v8mr31607543ywi.464.1543278667762; Mon, 26 Nov 2018 16:31:07 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id b144sm835108ywa.33.2018.11.26.16.31.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 16:31:07 -0800 (PST) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, xypron.glpk@gmx.de Date: Tue, 27 Nov 2018 09:33:50 +0900 Message-Id: <20181127003351.9242-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v3 0/1] efi_loader: improve boot sequence in distro_bootcmd X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Actually, this patch is a RESEND of my v2[1], without patch #2 and #3 as I don't want to dive into details of dtb discussions[2]. I think that the patch #1 alone is useful. If fdt_addr_r is not defined, "load ... ${fdt_addr_r} ${prefix}${efi_fdtfile}" will fail quietly. So it should be OK. Think about applying my "removable device" patch[3] alongside this patch. [1] https://lists.denx.de/pipermail/u-boot/2018-October/345029.html [2] https://lists.denx.de/pipermail/u-boot/2018-October/344375.html [3] https://lists.denx.de/pipermail/u-boot/2018-November/347491.html Changes in v3 (Nov 27, 2018): * remove v2's patch #2 and #3 Changes in v2 (Oct 22, 2018): * rewrite my previous changes after Alex's comments, including - boot bootmgr only once before searching for boot binary - dtb must be loaded from the same device with boot binary's * add patch#2 as part of this patch set, in particular adding CONFIG_SYS Thanks, -Takahio Akashi AKASHI Takahiro (1): efi_loader: rework fdt handling in distro boot script include/config_distro_bootcmd.h | 38 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 18 deletions(-)