| Message ID | 20251023094308.3406453-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=1761212619; bh=xffYX+0VjrrBOqsefSpVJBSTZ/5t1vXIV8QsTEBbDrE=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=XCZF8gB40pvFX7zNRDfCrHuCW9zae0z6ef/Su2CFykbuC1GEW76qKekqxdkl6DSGr RmwO/5C52JMuOz6EN7kdeaWEpQ2+vo3f4nyJdOwLlhIlCubhImeXosRMXxRfXUsz19 dHEChxp/Yb8enr3HZzEVlT4NMh2jJluRjr7RhxZR0m2Vu8wh6kW9/bwv/tqd72GF+s ZPrdwcpq/n2OCOI8X2qgfsvskHW5x2QnjbBIwn1YF05BVzlKEeiRF3BqP5qvuA3Rho IdNsbHeA4PvPJPv5rRPelfQd85XL0H+eWXg3lkb50wasMswN9LPiYpEvY9t9bEKSfL jgMzzUK1qlSfA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 403C4682A5 for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:43:39 -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 5f3cM30bTleN for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:43:39 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212619; bh=xffYX+0VjrrBOqsefSpVJBSTZ/5t1vXIV8QsTEBbDrE=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=XCZF8gB40pvFX7zNRDfCrHuCW9zae0z6ef/Su2CFykbuC1GEW76qKekqxdkl6DSGr RmwO/5C52JMuOz6EN7kdeaWEpQ2+vo3f4nyJdOwLlhIlCubhImeXosRMXxRfXUsz19 dHEChxp/Yb8enr3HZzEVlT4NMh2jJluRjr7RhxZR0m2Vu8wh6kW9/bwv/tqd72GF+s ZPrdwcpq/n2OCOI8X2qgfsvskHW5x2QnjbBIwn1YF05BVzlKEeiRF3BqP5qvuA3Rho IdNsbHeA4PvPJPv5rRPelfQd85XL0H+eWXg3lkb50wasMswN9LPiYpEvY9t9bEKSfL jgMzzUK1qlSfA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2D8EE682A4 for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:43:39 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212614; bh=KBpG4AXiqFClVph2Ik+BWRF/XT/ay4NNrvJdYQNR12Y=; h=From:To:Cc:Subject:Date:From; b=QwNmU3YDpeaqjRw2X+GGq/c9/LnB80EdHyP6D0dWN4c12/bNa/uzj6WQZM17X1uuK 58HlS9vzT/0KpNHJ1jjVCJ78BZ1tvBjA9SB7BsA9Ruq8rW5/CHCopeKxApxmy2KYXq vjO9q3WTjqHIIIVDZxfvkZN+lqqVJose9Yw8+y7f7se0OTH+EjjWznGPJXufCHsu0C 8h9U242dtvphCIe66zm4qhen7c8rmn9AZ8KxcGW+MhkYQjf10wcThNnoVSKuqkyJTh ArOCWC50O89QoaRiZaiLG/Ki6FpqHnaAOvFvdjzHNG/1jemIaDOf0lqMNXVVE1iLAR zepJnOunaXXeQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 19B1C68245; Thu, 23 Oct 2025 03:43:34 -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 h-CmjxeO3oEe; Thu, 23 Oct 2025 03:43:34 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212609; bh=YkpI4sluiDKTVAoK2CV+4QHNUc9eqW1fq0yjZ5NlzWc=; h=From:To:Cc:Subject:Date:From; b=nh3+WW6gNwRHCkPXsMSevTm3qO7jPurEBkRbh2ZC+3vqaTgCij8MZFMMz1/gE/5Lm PhFHNFY5rsdRxEgaiF7vfyuJ9p699WqiZ2JQcsVW7DYIs8Q8QCAdQp+t6Ba1esIVlo 28tqDAmY4h5cHQ0lXn9Q+91YGD/pGlz1BMzdK2sQ/jSJzIOIUwR5PydA/uTrRcxoFr tj55xxrolAfAAPH/xrLUteqd6uH5HLFx8uhds2UDkG8GZH46z4+xAYWkHQMcikg+0Q S8vqbTNcqpKzXhO1qSJXvkUNLJLMG2fAzNHc2aHBFwNgokRQYu7s723+GqGgkkZFAh 3KL2BmDiNnYeQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 6B7776819C; Thu, 23 Oct 2025 03:43:29 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 23 Oct 2025 03:42:49 -0600 Message-ID: <20251023094308.3406453-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: QZBIS3KHGP7V2TNNIWEDMA4FPT4FAWM4 X-Message-ID-Hash: QZBIS3KHGP7V2TNNIWEDMA4FPT4FAWM4 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/11] Bootstage and script enhancements 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/QZBIS3KHGP7V2TNNIWEDMA4FPT4FAWM4/> 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 |
Bootstage and script enhancements
|
|
Message
Simon Glass
Oct. 23, 2025, 9:42 a.m. UTC
From: Simon Glass <sjg@chromium.org>
This series collects together a few improvements to the bootstage
subsystem, principally some new tests.
It also adds support for ACPI FPDT which is a way of passing timing
information to the OS.
A bug fix is provided for mouse clicks with expo.
Finally the series includes some new options for the build-efi script
for networking, spice, etc.
Simon Glass (11):
expo: Correct handling of mouse clicks
bootstage: Move the bootstage record to the header file
bootstage: Add some more tests
bootstage: Add a way to read the time from a record
acpi: Add support for Firmware Performance Data Table
acpi: fpdt: Generate the table
bootm: Update FPDT boot times before handing off to OS
scripts: build-efi: Support spice integration
scripts: build-efi: Allow enabling networking
scripts: build-efi: Flush output before running QEMU
scripts: build-qemu: Allow enabling TKey access
boot/bootflow_menu.c | 1 +
boot/bootm_final.c | 17 ++++
common/bootstage.c | 59 +++++++++--
include/acpi/acpi_table.h | 76 ++++++++++++++
include/bootstage.h | 55 +++++++++++
lib/acpi/acpi_table.c | 86 ++++++++++++++++
scripts/build-efi | 18 +++-
scripts/build-qemu | 5 +
test/cmd/Makefile | 1 +
test/cmd/bootstage.c | 32 ++++++
test/common/Makefile | 2 +
test/common/bootstage.c | 201 ++++++++++++++++++++++++++++++++++++++
test/dm/acpi.c | 73 ++++++++++++++
13 files changed, 617 insertions(+), 9 deletions(-)
create mode 100644 test/cmd/bootstage.c
create mode 100644 test/common/bootstage.c