| Message ID | 20250922180116.3088502-1-sjg@u-boot.org |
|---|---|
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1758564097; bh=zyXpc4ESt5snpMhY6ks000+6sQa0ucKRsKCKNEdmzo4=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=uDNbYED2r/iAimeXz4DFPI16D8lcMet4h0wUyeTnvdk1UyvtXrp3OSn6VWGOvTMa2 7BDhPw+FvlWjMuF1ZrRpPOy0cIyPMnH+XTvC8+/GCVDvzPa3P6OL8iITArx6+lMwK+ buhz6wEYAYt9Xs8bnktW/Kh1N+NlTrA1yqYiXXgPaike8GJYzEN6bMzrRAoLjyHAtT 319qQHJ8DQW0Mz7XNDxjQN9QQcv71SJGQp/Vo3UrHX3/ehAKXIpaqEUiub/r2qrt/+ WajfI/0kZneSaYBlC+srSeBZN3Fi4PCZ9BlsPEb5/fXO1blzZ9xMAfRskUAXC9E4nH Ve+Bgk4+zZviw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 42C4B67C64 for <u-boot-concept@u-boot.org>; Mon, 22 Sep 2025 12:01:37 -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 D-ko7EUmqGTO for <u-boot-concept@u-boot.org>; Mon, 22 Sep 2025 12:01:37 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564097; bh=zyXpc4ESt5snpMhY6ks000+6sQa0ucKRsKCKNEdmzo4=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=uDNbYED2r/iAimeXz4DFPI16D8lcMet4h0wUyeTnvdk1UyvtXrp3OSn6VWGOvTMa2 7BDhPw+FvlWjMuF1ZrRpPOy0cIyPMnH+XTvC8+/GCVDvzPa3P6OL8iITArx6+lMwK+ buhz6wEYAYt9Xs8bnktW/Kh1N+NlTrA1yqYiXXgPaike8GJYzEN6bMzrRAoLjyHAtT 319qQHJ8DQW0Mz7XNDxjQN9QQcv71SJGQp/Vo3UrHX3/ehAKXIpaqEUiub/r2qrt/+ WajfI/0kZneSaYBlC+srSeBZN3Fi4PCZ9BlsPEb5/fXO1blzZ9xMAfRskUAXC9E4nH Ve+Bgk4+zZviw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3037167C55 for <u-boot-concept@u-boot.org>; Mon, 22 Sep 2025 12:01:37 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564091; bh=N4A/o/5WVCxYp0vIZtFFtsi16xcXbGTEN8UBw9MPZ3c=; h=From:To:Cc:Subject:Date:From; b=m60aJUjMdJ/EekzfTwuhj1+ucKLTi4vNpROpszV/ODMdkEySWIRkbRxc69oACF0u5 P9vfPeRz+aJJ4om8I9NGnA7A5mThzUwW75ZSaXr98rgVh7/oOnQDmNFh5Ygfi+vj1x R/izJxmyyaPpd0r7SMli1f2Ek4brde0UbfqiG5diIYg4EPJDk57ElPhDDQrPy89UQY Vznqf3aVN1K8hke9py0PO412WV29KbYK8p14Qojb9FwCuZiiIYhK6P0+nuS1meUlcY Liot1GhsWGR/4UzcV1b6XT5NflFhQ62ae3coHm02inozqGs51mXPFcc4EvsLc6lgpr QWwLovMKI1YOA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 771085FE1A; Mon, 22 Sep 2025 12:01:31 -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 KI_aWm4nRb1x; Mon, 22 Sep 2025 12:01:31 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564085; bh=pz4keGxwcft+sRjrXZhXcLgVnMVbOz+HAT/sdCEh2ms=; h=From:To:Cc:Subject:Date:From; b=G87BR0UVDa8HEcvJQTME7K8r6ZjJXmaGTRCbs4HSduV6/MxgAR5AtnfZFGjJh/gi1 idHhBVemoACmjKBZhGp3fQ4CGHJglFfjZfn8bcX0/E+ulWkT++Qs7LvY91YGqGSF3Z bla6n4dpx/z5J5BOqFozIWwR+E84ZCDL02IEMEZ28ORwmsbIzLGwdY26kAuRPYSGKZ xKtjSEaOdOLVQYh5wyQ1djS+/tw5nGYAzfFQBS3stVgCgUbv4Yvfyd3E4oRe43E0u6 RxcbIcE7osGnelKKafq5mOkzFOpA1wQvyLzBaS5YhdP0yFvX6HuLfSm5rFDiLCxvpJ UWbTdPraTBbsA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 743AE67B38; Mon, 22 Sep 2025 12:01:25 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 22 Sep 2025 12:00:44 -0600 Message-ID: <20250922180116.3088502-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: MLDP2DYZ3CAVCIK7H6MDCJ2YVWE42UJ5 X-Message-ID-Hash: MLDP2DYZ3CAVCIK7H6MDCJ2YVWE42UJ5 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: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 00/24] boot: efi: Various improvements to booting with the EFI app List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/MLDP2DYZ3CAVCIK7H6MDCJ2YVWE42UJ5/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
boot: efi: Various improvements to booting with the EFI app
|
|
Message
Simon Glass
Sept. 22, 2025, 6 p.m. UTC
From: Simon Glass <sjg@chromium.org>
This series provides a number of tweaks which make it easier to test
booting with the EFI app, particularly on ARM:
- 'fake go' in bootstd
- more debugging in various places
- tidy up the generally incorrect ATAGs error
- drop a panic() in the bowels of boot
- ensure booti does not overwrite memory when relocating
It also includes a way to quit or disable the pager, which is very
helpful when running the app on a machine with no serial console.
Finally, a bug in the release script is causing CI to fail, so a few
patches deal with that.
Simon Glass (24):
doc: Resolve a formatting error in upcoming releases
scripts: Fix RST formatting in release_version.py
console: Restore old pager test-bypass value
console: Correct condition for setting enabled pager bypass
console: Add bypass keypress to disable paging
console: Add a way to quit pager with no further output
boot: Provide a Kconfig to enable faking the boot
boot: Select the fake-go state explicitly
boot: Tidy up the bootflow flags
boot: Provide a bootflow option to fake a boot
boot: Drop hex prefix from the booti image-moving message
boot: Show the ramdisk node when debugging
boot: Support a fake go with pxe
boot: Add more debugging around devicetree selection
boot: Fix code formatting in fit_image_load()
boot: Add more debugging in FIT-handling
arm: Update boot_prep_linux() to return an error
arm: bootm: Fix a confusing message about ATAGs
lmb: Provide a static inline for lmb_alloc()
arm: Use lmb when relocating the image
efi: Include efi.h in the efi_variable.h header
efi: app: Call efi_exit() if board_init_r() returns
efi: app: Move efi_main() to the bottom of the file
efi: app: arm: Add various options to the build
arch/arm/lib/bootm.c | 22 +++-
arch/arm/lib/image.c | 15 ++-
boot/Kconfig | 8 ++
boot/bootm.c | 16 ++-
boot/ext_pxe_common.c | 4 +
boot/image-board.c | 7 +-
boot/image-fdt.c | 3 +
boot/image-fit.c | 12 +-
boot/pxe_utils.c | 21 +++-
cmd/bootflow.c | 16 ++-
cmd/booti.c | 2 +-
common/cli_readline.c | 1 +
common/console.c | 2 +-
common/pager.c | 56 +++++++--
configs/efi-arm_app64_defconfig | 5 +
doc/develop/concept_releases.rst | 3 +-
doc/usage/cmd/bootflow.rst | 3 +
doc/usage/cmd/bootm.rst | 3 +-
doc/usage/console.rst | 6 +-
include/bootflow.h | 14 ++-
include/efi_variable.h | 1 +
include/image.h | 3 +-
include/lmb.h | 9 ++
include/pager.h | 22 ++++
include/pxe_utils.h | 2 +
lib/efi_client/efi_app.c | 113 +++++++++---------
scripts/release_version.py | 3 +-
test/common/pager.c | 93 ++++++++++++++-
test/scripts/test_release_version.py | 164 +++++++++++++++++++++++++++
test/test-main.c | 6 +-
30 files changed, 519 insertions(+), 116 deletions(-)