| Message ID | 20250925174753.3429102-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=1758822490; bh=kzPz7QnGFrVt++8YFEojQoUOW1IJ6t2Sldjfe7xiWcc=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=numNiiZGjWIdWk4QuXGa+6ahm8x95uBOutWP4n6z1gJg4tVVMaM8lg+hPGZ3ihPg1 O6ejUVYztDGXeFVZweJ4TBJNg/ttpkqCdc6kzKcTtPrhnzzuvMqEdNsHiLdGmIXJGL OWGsu6yw6SahsEbUuKHE/HVuTjOoxhpsSTb96G8/jH+W/EXtS2RYSd6r2yhpygtnSX uWPV2ybGLPer8ElLeQkaxuNv/HEtNVXD0o+wKtJZFYG2peg9FRcdwuUo4Ns7tIpKZA 2mKZppGr1i+Foq6Xwc6DfGNnQMNyqUHq8IuqGm0a+artHBOuFrRs8FSNL4YK2qd5Od TjpUEoyhsU7Tw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D4C0467D90 for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:10 -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 oF5MZHTSQ7AE for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:10 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822490; bh=kzPz7QnGFrVt++8YFEojQoUOW1IJ6t2Sldjfe7xiWcc=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=numNiiZGjWIdWk4QuXGa+6ahm8x95uBOutWP4n6z1gJg4tVVMaM8lg+hPGZ3ihPg1 O6ejUVYztDGXeFVZweJ4TBJNg/ttpkqCdc6kzKcTtPrhnzzuvMqEdNsHiLdGmIXJGL OWGsu6yw6SahsEbUuKHE/HVuTjOoxhpsSTb96G8/jH+W/EXtS2RYSd6r2yhpygtnSX uWPV2ybGLPer8ElLeQkaxuNv/HEtNVXD0o+wKtJZFYG2peg9FRcdwuUo4Ns7tIpKZA 2mKZppGr1i+Foq6Xwc6DfGNnQMNyqUHq8IuqGm0a+artHBOuFrRs8FSNL4YK2qd5Od TjpUEoyhsU7Tw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C04D867D29 for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:10 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822488; bh=TcWaNGrDtM7HHxaTMQ4hi/vc2dPE1wMo1mrCMw5fvGw=; h=From:To:Cc:Subject:Date:From; b=N/L+gvuDRTbmHokfaps1DCpyi7QJCpYBT8iRGN3qGeFH0nMTgfVgHP6CruasvvOi8 gVdtFOyjy1WT9rYLX8QPa6APCJGIUAqrhRKbZbRF/tUHhTL2xvjPw3GCHOGSF70P2L EypXCsC3pVbYpvfQpMj7XdFThMLzP6pTj/JzZ/kETyL4h3ctygzSAp5LAOhPyUwZrp f30V7UzUA3lsbS/W7loz9yrdRiZh0ccqrpYDTm0JimJOmhw646OcZrIsioP4KHtBwR 9v/8Tq4D2znU6PGeHaU5RzYyRxOIfmLOv3c3YCx5rF5PW/HUCItcgYXoKrO+2LsQP/ ik7tVxtP3ds0g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4215E67CA8; Thu, 25 Sep 2025 11:48:08 -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 obbYpIHxgMs4; Thu, 25 Sep 2025 11:48:08 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822483; bh=ki769gs7UoDRGHC2vWFcQYFPVfNEo+szaqo1Gc9+TVg=; h=From:To:Cc:Subject:Date:From; b=KGuTyqyFZ7Nx+gyShQ1/1ENj5GwaLa5NWzwiXsyoz/5rRjcCspz9HnwuUfvGMZJQP R8ITSP59xMKl7JRKfT7e1lHkuCiDm7132REg1rI5DV9Qvo1MWOBzywkPkJX0VVav6r cXNqkNmIRmi+09Ic+oBfqGEaU6EbQvnVDTtoNtBqQUjzbeWCqNEVVGobzlFT5MDF1u rmXYN5xiXpvE3/MAzNaYtTiEnmXz/rJVlMGkPSI9xhF2chcYhqR2X123lc/mAnPelX T8pvpcFG77y5kxesybM7j7EKwfcXVLW8xdAKolCunJsHItkmdFCS3fdHCtOo6q0Gu0 jwdN/LGv1CznQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9F17967CA2; Thu, 25 Sep 2025 11:48:03 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 25 Sep 2025 11:47:24 -0600 Message-ID: <20250925174753.3429102-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: 6VW77ZZVAPWVAVVPY7X5HHKUV3XRAQPO X-Message-ID-Hash: 6VW77ZZVAPWVAVVPY7X5HHKUV3XRAQPO 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/22] efi: Tidy up some commands and provide a keyboard driver 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/6VW77ZZVAPWVAVVPY7X5HHKUV3XRAQPO/> 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 |
efi: Tidy up some commands and provide a keyboard driver
|
|
Message
Simon Glass
Sept. 25, 2025, 5:47 p.m. UTC
From: Simon Glass <sjg@chromium.org>
This series collect various odds and ends to make the ARM EFI app show
a menu that looks reasonable, including truetype fonts and a new
keyboard driver, selectable by setting stdin to 'efi-kbd'.
Some highlights:
- fix some bugs in addr_find and part_find and adds docs / tests
- reset pager when clearing the console
- use at least 1G of memory with EFI since the app allocates 512M
- allow NEON registers so floating point can work (truetype)
- show the global_data flags with bdinfo
Simon Glass (22):
bdinfo: Show the flags
script: Use a minimum of 1G of memory for EFI
console: Reset the pager when clearing the console
doc: Fix up the booti examples
efi: Avoid a memory leak in efi_bind_block() on error path
efi: Drop config.h
test: Drop an unwanted blank line in dm_test_video_box()
test: Allow creating disks with a different Ubuntu version
cmd: part_find: Correct radix and calls
cmd: sandbox: efi: Enable part_find for sandbox and EFI app
cmd: Refactor part_find() into separate functions
doc: test: Add docs and test for part_find
cmd: Update addr_find to use a simple lmb allocation
cmd: Update addr_find to ignore the devicetree
doc: test: Add docs and test for addr_find
boot: Tidy up positioning in bootflow_menu_new()
expo: Allow manual positioning of menu items
Revert "ARM: Prevent the compiler from using NEON registers"
efi: Enable truetype in the ARM app
efi: arm: Drop setting of fdt_addr
efi: Move key decoding into a shared file
efi: app: Provide a keyboard driver
arch/arm/config.mk | 1 -
arch/arm/dts/efi-arm_app.dts | 4 +
board/efi/efi-arm_app/efi-arm_app.env | 1 -
boot/bootflow_menu.c | 8 +-
boot/scene.c | 14 +++
cmd/Kconfig | 5 +-
cmd/addr_find.c | 23 ++--
cmd/bdinfo.c | 1 +
cmd/part_find.c | 154 ++++++++++++++---------
common/console.c | 1 +
configs/efi-arm_app64_defconfig | 1 +
doc/usage/cmd/addr_find.rst | 63 ++++++++++
doc/usage/cmd/booti.rst | 4 +-
doc/usage/cmd/part_find.rst | 119 ++++++++++++++++++
doc/usage/index.rst | 2 +
drivers/input/Kconfig | 14 +++
drivers/input/Makefile | 2 +
drivers/input/efi_keyb.c | 173 ++++++++++++++++++++++++++
drivers/net/efi_net.c | 1 -
drivers/serial/serial_efi.c | 15 +--
drivers/tpm/tpm2_efi.c | 1 -
include/efi.h | 32 +++++
include/expo.h | 27 +++-
lib/efi/Makefile | 1 +
lib/efi/input.c | 40 ++++++
lib/efi_client/efi_app_init.c | 4 +-
scripts/build-efi | 2 +-
test/cmd/Makefile | 2 +
test/cmd/addr_find.c | 27 ++++
test/cmd/bdinfo.c | 1 +
test/cmd/part_find.c | 42 +++++++
test/dm/video.c | 1 -
test/py/img/ubuntu.py | 8 +-
33 files changed, 683 insertions(+), 111 deletions(-)
create mode 100644 doc/usage/cmd/addr_find.rst
create mode 100644 doc/usage/cmd/part_find.rst
create mode 100644 drivers/input/efi_keyb.c
create mode 100644 lib/efi/input.c
create mode 100644 test/cmd/addr_find.c
create mode 100644 test/cmd/part_find.c