From patchwork Tue Mar 24 22:19:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2053 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774390791; bh=ugo+ZI/8Ti/34eHFF0npjbL8weS9k49CqLJoRsTQc44=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=CAn6kA7UlTZ+QRP8Jf8s5jVFY4ylMu0h8/t7yomVH2/BIhCKuioKFMfI/WP1lyzPe 3ax0VoBJY4NxjupUMgKQDbozJhUYoI7kdH+A6l6KJv5bFJO1ZuZfHF5Nc3wGchS5cr 6iQWopvjh8YE7rE/soLuDO2Hs/NdkZb5EK8RzdHHuX5mY7VQHHJLCqpcUqvBMI4XyQ pC0OGrAcSrLVyd4WFWsJf/NzFhBA1LX2XjnVIdvpAprAFZHp65++PwNxYdGTk3ZsHq HGE8oZDT5Qx2yGPLfALY69H+uEx1RWZpB3yVEjIP0H+SLIYqTfgEZJ36VlsEmlj97Z Ns3u1EQc7d9RQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D03636A254 for ; Tue, 24 Mar 2026 16:19:51 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id OFvARsoS3082 for ; Tue, 24 Mar 2026 16:19:51 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774390790; bh=ugo+ZI/8Ti/34eHFF0npjbL8weS9k49CqLJoRsTQc44=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=uq7jbJjIFXCURzAa2OBJSL//FIVWcheQLsCP09dNaAuihWymxe4p0nDXzaqdyrxIY jj1HD3Vd9jojQjXgjANqHwTJHj7pJS7lFV/ep81zhJ/R+OvNo/6CPMJaepD9oOWaQn XqPg7IYw1h/pvgpnE1e2Xzbf6+MwDZF7LUrlmRum+G/tFk6fyqlcas9TueVt8LFDOI UybWjremOakwp+AGEQrSFlFTi0l7lWmF669YYBxHe1yJCYai1bZq6xT1v+eZa2VAfs A/0eIeTQIZmrH6Sos+vDpIdzGSpZY66YCefZDFdHLNWlcQn5w3CaMz7PgytRNfMQa7 Gzx10jH0s5a1Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CB2FA6A23E for ; Tue, 24 Mar 2026 16:19:50 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774390787; bh=mcY9cTaEVtKNBmVQ5Gp+j3szpz9/jtGof1wws0abR3E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dW0T0sPHyWBjxbOcZpkrRqJr4APNHifmRx/Z+N56OwfGr1OPQizQaOxvqOWh/1r4I 6V50xc6nuiqpIVjdEvLiioAWjueGM2ioter1DlGCO1nvrEMgW8pQhYR2H+e/dGqFay 8GJczp/fEA6jtCeY/v+QTcw2G4FEai4Fk3oljFaoneADJMO59MxXkS3PTiyq7eGUrs tN9F1B3IFB7xeVm4yz6kG+6fuVO3w6o7URecfEOQfeeZSoP0oopfWrPepEjTAToiQW fN7ZgMcspBdDfB0hfurh8BAzYQlrdiji/KOhcmboaUloH+if7/wVNohtGxgz59MBTl ECIvCxztTdX2A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4B80F6A1DD; Tue, 24 Mar 2026 16:19:47 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id rA7lUycd-Xtk; Tue, 24 Mar 2026 16:19:47 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774390785; bh=bCfRShBk9oMnve7/T6O5AOyv93A/YSsopDd22O1XNFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wvPg3uUk7slaqMgvxdL8IxC9wkDCsQI96uLI3+F10JEU2L6HUHEIjqJIInljWVmY/ sUFeAEtq6qbQLbt8wvzVLW0NGCrrcJ/F01SMzdn/8icQ07sEuY5LBgt9wnUGOzZf96 1vDSBlRA7Iwfq1UoMb/FsUgsctXx/Uy8OpYbnfcwBhIbVztf/JodhY+uEHl5xYMmXL 5sxuAOuVRK30XoDhc4eqHk9IyTEvbx0cZNtSCDRKx7kUuahsDPiawGSQaouLgWd+DR ehtidiKnlVCbGk4GjWOiHlIsdii3JXH1EpnDUC7AWzbFtzwdtiqiYOt0fpRQ0Tk1av F/83MrYFr0xsQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 959BF6A1FD; Tue, 24 Mar 2026 16:19:45 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 24 Mar 2026 16:19:01 -0600 Message-ID: <20260324221911.3678307-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260324221911.3678307-1-sjg@u-boot.org> References: <20260324221911.3678307-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 72FL42AFAFVN4OEWTHFURLR7OCXR3C3Q X-Message-ID-Hash: 72FL42AFAFVN4OEWTHFURLR7OCXR3C3Q X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 07/12] doc: Update bootflow docs for encryption List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The 'bootflow info' command now shows encryption, if enabled, so update the docs to show this. Fixes: 0a2b56c8ce1c ("boot: Show an indication for encrypted bootflows") Signed-off-by: Simon Glass --- doc/usage/cmd/bootflow.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/usage/cmd/bootflow.rst b/doc/usage/cmd/bootflow.rst index cccb10c5dff..4507303fb3a 100644 --- a/doc/usage/cmd/bootflow.rst +++ b/doc/usage/cmd/bootflow.rst @@ -167,6 +167,7 @@ Type distro Method: extlinux State ready Partition 2 +Encrypted no Subdir (none) Filename /extlinux/extlinux.conf Buffer 3db7ad48 @@ -184,6 +185,11 @@ Device Block dev Name of the block device, if any. Network devices don't have a block device. +Encrypted + Encryption status. Shows ``LUKSv1`` or ``LUKSv2`` if a LUKS-encrypted + partition was detected on the same device, or ``no`` otherwise. Only + shown when ``CONFIG_BLK_LUKS`` is enabled. + Subdir Subdirectory used for retrieving files. For network bootdevs this is the directory of the 'bootfile' parameter passed from DHCP. All file retrievals @@ -338,6 +344,7 @@ displayed and booted:: Method: distro State: ready Partition: 2 + Encrypted: no Subdir: (none) Filename: extlinux/extlinux.conf Buffer: 3db7ae88