| Message ID | 20251014111301.1059317-1-sjg@chromium.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
Authentication-Results: mail.u-boot.org;
dkim=fail reason="signature verification failed" (1024-bit key;
unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256
header.s=google header.b=XMsIMYJ2;
dkim-atps=neutral
Received: from localhost (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id 9A2726813C
for <u-boot-concept@u-boot.org>; Tue, 14 Oct 2025 05:13:28 -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 aTiMzgrqKWZE for <u-boot-concept@u-boot.org>;
Tue, 14 Oct 2025 05:13:28 -0600 (MDT)
Received: from mail.u-boot.org (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id 83B6A6813A
for <u-boot-concept@u-boot.org>; Tue, 14 Oct 2025 05:13:28 -0600 (MDT)
Received: from localhost (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id D02EF68122
for <concept@u-boot.org>; Tue, 14 Oct 2025 05:13:22 -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 o7HuEOcQeeKg for <concept@u-boot.org>;
Tue, 14 Oct 2025 05:13:22 -0600 (MDT)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.177;
helo=mail-il1-f177.google.com; envelope-from=sjg@chromium.org;
receiver=u-boot.org
Received: from mail-il1-f177.google.com (mail-il1-f177.google.com
[209.85.166.177])
by mail.u-boot.org (Postfix) with ESMTPS id D0C8F67C83
for <concept@u-boot.org>; Tue, 14 Oct 2025 05:13:18 -0600 (MDT)
Received: by mail-il1-f177.google.com with SMTP id
e9e14a558f8ab-42e6df6fe53so21939875ab.2
for <concept@u-boot.org>; Tue, 14 Oct 2025 04:13:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=chromium.org; s=google; t=1760440397; x=1761045197; darn=u-boot.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=SN4ZlqUs+VHxSq3p0eDcj/20bKIoVZe0J2hiC1J5N8w=;
b=XMsIMYJ2fKeulVNbFLPIaOINMElADQsdMqrOAEFnuLvgwOOIhRwL5ez5haZeXy2BNu
A4ltwLMghUXmba22PQAvC6SiTf9aMkUcxBEnVUqeBfNeKP/lF5A3aIZXtO1PI5f2yybA
JJFsnzH0hkrVn5f2x8kD1bXrlaZ29gggJAyHA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1760440397; x=1761045197;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=SN4ZlqUs+VHxSq3p0eDcj/20bKIoVZe0J2hiC1J5N8w=;
b=PKb1djjXSSerXW2xnQOBENUjk/z/KnGfXAy0HDZpPOgpg+hr8oev/ebkQwkj4sndoa
NWxatBTjz8+eDPVDTQXZ1h2vWcIRRYj7T00JWjw7xlIUPnoR6Dg4M1Hi+PfCuEII2Ev0
5H7CpLqPuca3C69hrfJqJbIy9u8SZiq06h18eth0AU3laoIZOdOu6/lM5jTl4UYXUwEe
Bq5xkPCRxvGDYKMEOfe6bWzAtsIvUya8IcIasFWb8pZV1P+QfcyIH5/wg1j2t9JKKF5p
KURXrdtera5SnD4r2Cb5MwihMhtFoFVW1lNwkZjrL5jP8tbRiJbxFrHLXFu+KjX3JzpV
VVew==
X-Gm-Message-State: AOJu0YzczRflGTIWqQIWaD7+AB3cmEaGXrFqpFoxYes0iIU1iotg05Wg
XpNWxFAa/gyo7ATIuk8CLCqU6035zbbG4xc1sNtLUBAu/dR0bv5T80MgYBOmERXypIq6zLqzK/U
gY/DOfagkhPc=
X-Gm-Gg: ASbGncs9rOKcRbUYH5+Na9P6u1lrN3hiXJ9+WmFORgO8+W7s8RACdOvAoAlrVNJAouj
ozJZxJlhDFO9E6/xQk7Bko7Xb8QkjQ+ej/Ifhl4hWejWR/6VY/m0Y8dv1YB0NifhmtqdcuJ+UVt
mUl7vyV9F50cy1SdIbVqY1UDMa9okapszOR7QSA4NBS9jrnSI5pIryNVkuRYcjvVN3o+VnW5ltz
BJTVLVWRlRRL5HtkbexGknkzfD/04afMaz8v2qtPcALoaTl5tgXBCEkD6AfsBoh7QoMJ2ionwe6
pGhIbeQVxVKAEukqA37jeQupVHLVoFlceeo6ebMKqUAMPAZrMHCzhJF+cQjlMbRFVWIV+zUPNAa
75VfUwdUEnGSwK39iwEdbSvVbR1nRWX+e4O3/ecnrxFJu+c6HLFlddr4w
X-Google-Smtp-Source:
AGHT+IEpR6wlC+uodEpfdkOFWde0788TzJW+ItHGPLyxdGqon70JgJ4sdqKgiC6miY4/QJo6q3xSKw==
X-Received: by 2002:a05:6e02:1aa4:b0:430:a7d5:2361 with SMTP id
e9e14a558f8ab-430a7d53b20mr5594695ab.9.1760440397399;
Tue, 14 Oct 2025 04:13:17 -0700 (PDT)
Received: from chromium.org ([73.34.74.121])
by smtp.gmail.com with ESMTPSA id
e9e14a558f8ab-430a3869174sm4608785ab.15.2025.10.14.04.13.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 14 Oct 2025 04:13:16 -0700 (PDT)
From: Simon Glass <sjg@chromium.org>
To: U-Boot Concept <concept@u-boot.org>
Date: Tue, 14 Oct 2025 05:12:37 -0600
Message-ID: <20251014111301.1059317-1-sjg@chromium.org>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
Message-ID-Hash: QDJ4EHCWATTFOBV2EMDQKVSEFR6SERTR
X-Message-ID-Hash: QDJ4EHCWATTFOBV2EMDQKVSEFR6SERTR
X-MailFrom: sjg@chromium.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 <sjg@chromium.org>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Concept] [PATCH 00/16] boot: Separate out the boot-menu style
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/QDJ4EHCWATTFOBV2EMDQKVSEFR6SERTR/>
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: Separate out the boot-menu style
|
|
Message
Simon Glass
Oct. 14, 2025, 11:12 a.m. UTC
This series refactors the boot menu so that it is possible to create the items and then (later) change the style/position to the simple style. This allows swapping back and forth between a different style and the simple style. It also adjusts how the mouse is set up, so that the initial mouse position is only set up once the video device is known. This allows the position to be centred on the display, a better starting point than the top left. Simon Glass (16): scripts: build-efi: Use the USB mouse video: Report failure to write a frame to a file expo: Check the mouse once the video device is known expo: Avoid setting SCENEOF_SIZE_VALID with calculated size expo: Avoid setting SCENEOF_SIZE_VALID with menu items expo: Allow applying the theme to just the display expo: Clarify that text objects are not string IDs mouse: Place mouse in the middle of the display boot: Split out setting menu properties from menu creation boot: Move prompt strings into bootflow_menu_set_props() boot: Hide unwanted objects and show the menu pointer boot: Add the distro version and box into the menu boot: Move text for desc and label items to after setup boot: Explicitly request that the menu position its objects boot: Explicitly set up the theme with the boot menu boot: Set the item properties with the boot menu boot/bootflow_menu.c | 204 ++++++++++++++++++++++++++--------- boot/expo.c | 32 +++--- boot/scene.c | 19 ++-- boot/scene_menu.c | 13 +-- drivers/input/mouse-uclass.c | 2 + include/bootflow.h | 14 +++ include/expo.h | 23 +++- include/mouse.h | 2 + scripts/build-efi | 2 +- test/dm/video.c | 7 +- 10 files changed, 235 insertions(+), 83 deletions(-)