From patchwork Fri Mar 5 22:23:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 393596 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp811909jai; Fri, 5 Mar 2021 14:24:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyC44P2zEBLvhWl6XZmECj4uZqE6M1JxA2BmA1KnC+HPPUKlsXw7jt6D4+W4tK5DKamzDOL X-Received: by 2002:a17:906:380c:: with SMTP id v12mr4427786ejc.65.1614983044569; Fri, 05 Mar 2021 14:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614983044; cv=none; d=google.com; s=arc-20160816; b=fySPdHmDtC5ipNf8IyB81nA1hq8eyVvqaar18CYieZRVkYpZIIKKzvA3uv9wNuo0gG 5duJ1AWqRRv9DFieO0kuCmoWA32qY6hV2o3nmsgpifl8y7L3xSYj7DxP3Pf4PeOlbJvp Zg71HHaV/++FAdj8DmH0asXxttDh8kmVOVva7OZnCwXr+3CbIlsaLWovZTmhLo14vDoe ywrFHSOaTnOvK+GMJBcmCc+kz6aF0Ify01w0YVk9f/EWn/1fR3A8+IaHjealQrloYM4X IXKgSuA46Doyh/xG/p6PfPXTt5pRCcO/bMsOx+n+Gk9Rb4qKEgdgS9suyPtDXDj6dn1N BauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AbjXuhzGhrYgUvmsk0K1lv3lmYx7MmAS+Gpm1Bj3ybE=; b=qS3cm4VQxfD5oUEwKJXsh2uVg5YxQihs89lgKdUB27l7EfvE+itx7W5RzjGG6rQLZn lXotp3XRwSl60c1dARqTAxtGI8cEcVgl/7J537LM9c244BfYbbDdCWNeqgO2xRCyI3SS q4DtUlhZHKPctSyMnTPOqlIlv9mXXsoCvknHGXvZC+5iTea9ZVHi2eqRakwBDy/+3Lvr qDs63XTjPbLcGVdAY0MnfSfoYBKej4yz5N5qvXDhxgJ93eBgKn1Yurh38Vh7w1IahTQ8 iMjWFOTdyW4oUb8bNaOYLnSMRHr/p2xq5kPceYw21MFF8/gCxwQZJCxU3V+9zLrvLJKj 3Rww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rjl66+ay; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id f3si1526732ejd.252.2021.03.05.14.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 14:24:04 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rjl66+ay; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A8DFF827AA; Fri, 5 Mar 2021 23:23:27 +0100 (CET) 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="rjl66+ay"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1B7B3826B2; Fri, 5 Mar 2021 23:23:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 9917E826CA for ; Fri, 5 Mar 2021 23:23:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x42a.google.com with SMTP id u14so3749623wri.3 for ; Fri, 05 Mar 2021 14:23:18 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=AbjXuhzGhrYgUvmsk0K1lv3lmYx7MmAS+Gpm1Bj3ybE=; b=rjl66+aymmHReh+ATgjLkqZXZU5KRrPm89plieC+yK04P9mvbLPciZWJ/lOyk2yDm2 M01lEELRiXTOhxIe3uQ0vXpcGAYPUc7ycQVzY+jBpmBwZSZvlYAfFcr7kZKKoGaoHGF6 OxFYwP2aQugy2IlkwNnyIe3fxk9E5PEh1dbAmmd/XzI0+6q6ahKwEahlTXxQx0H84bBe Md21519c5KM4gKcs3cjy9wi7OUhPpUXQj7TCcOiWKcqUFPDL1KClGKo5lxHsimfsKaAx 0kTioQoReduLH4BmDcl+/886ONIfWV2+vbv1U0pI744eJ48AiICCB7KqmAmeUvtKJeDb 6y9A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AbjXuhzGhrYgUvmsk0K1lv3lmYx7MmAS+Gpm1Bj3ybE=; b=obHnFcsWoUSIXV2UOa7/2H2pS7ZIPP/3SywZonRrteuPnSYg2P8V477uxzF6lg8rHq rlGjh4BL5kxhduxoAA3S/lOgj6Vl4qFa1x6+d0yFsC2ZeBMIDzHyQQt0tHobywL+GqTB IdOd2TC2xBhw704DyS/NWQ77iU9IRBS2i8M0+RpieVnSsTikoESs2zxKSPgXWoqSuFMG WVVQSDDLf2dnrm46FF4s7LXzY72vN8kBMRpXGgArAxnTIgTwTeycVsnO8btegCfwnn8L ossQAKTgrr6FK81fMld1xcqPwwxKmJcvTb4Z1u3XUeZegn68FsNYSlfdMEhbJKE6sLdA y/iw== X-Gm-Message-State: AOAM530RddtOM6Qe8MjfAWwYsuMV2qKYlQCPrWH2xlX3pfg33imHrYzy ph3Y3+LRxESBlY0vmCnyGi/5UA== X-Received: by 2002:adf:f44b:: with SMTP id f11mr11530124wrp.345.1614982998290; Fri, 05 Mar 2021 14:23:18 -0800 (PST) Received: from apalos.home ([2a02:587:4647:e6c6:2e56:dcff:fe9a:8f06]) by smtp.gmail.com with ESMTPSA id s11sm6493296wme.22.2021.03.05.14.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 14:23:18 -0800 (PST) From: Ilias Apalodimas To: xypron.glpk@gmx.de, takahiro.akashi@linaro.org Cc: Ilias Apalodimas , Alexander Graf , Sughosh Ganu , u-boot@lists.denx.de Subject: [PATCH 6/6] doc: Update uefi documentation for initrd loading options Date: Sat, 6 Mar 2021 00:23:02 +0200 Message-Id: <20210305222303.2866284-6-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305222303.2866284-1-ilias.apalodimas@linaro.org> References: <20210305222303.2866284-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 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.102.4 at phobos.denx.de X-Virus-Status: Clean Document the command line options for efidebug and initrd loading Signed-off-by: Ilias Apalodimas --- doc/uefi/uefi.rst | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.30.1 diff --git a/doc/uefi/uefi.rst b/doc/uefi/uefi.rst index b3494c22e073..b3330f8d7273 100644 --- a/doc/uefi/uefi.rst +++ b/doc/uefi/uefi.rst @@ -180,6 +180,12 @@ Set up boot parameters on your board:: efidebug boot add -b 1 HELLO mmc 0:1 /helloworld.efi.signed "" +Since kernel 5.7 there's an alternative way of loading an initrd using +LoadFile2 protocol if CONFIG_EFI_LOAD_FILE2_INITRD is enabled. +The initrd path can be specified with:: + + efidebug boot add -b ABE0 'kernel' mmc 0:1 Image -i mmc 0:1 initrd + Now your board can run the signed image via the boot manager (see below). You can also try this sequence by running Pytest, test_efi_secboot, on the sandbox