Message ID | 20250828020732.981415-20-sjg@u-boot.org |
---|---|
State | New |
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=1756346899; bh=xr7W2gINqgKeGR+S2TkKRb3lzZu61abYyXIX1ndScYs=; 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=Mi0Hc/W3VBKk8KOqf1ENrT1Qr+VlYOrPI7JPQTy1Bf++qOV6Kab9Tn3c2N4TQ20XO JZO7TdkWauu9vrfyWu7AraAeMdERabMx7A8fqr6QP4DUK8IEB3u16wP+8YnrQeHbCT u4IEwR/OTaeaGZCteWyYx9QNyqrSpNcRG5ph8BWyajm/v2m4cL3zriCs5+oudzUWxc 0qTjEDN+pA82bqRArYChGGh0nFVW1xKNOFCglr/5H90ciWR4u4pLo8ziZffbWduJ9h AYXzKnraGwU2t8rXnPgVFx1HCi3Sb6XMfinFPM6/Zv73CM+pXpRifbfW3Y4Hf81U9k ikZagg609Iq/w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 76B016776F for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:19 -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 HclDF4bQWoJI for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:19 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346898; bh=xr7W2gINqgKeGR+S2TkKRb3lzZu61abYyXIX1ndScYs=; 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=e5/mFAt8QrJoip4wnzTd20WsAmC4uykI7RpYDp3B/FPs/n7nHVk9QqhrjrqI11X3m ZL88FtTZLB9oDyyB3izk5ZJwjdMSfqIXJgQuxMr4l0KQFhVmJZdHujBGO7YSdiRvfj 2IPP3tCUv8Qx/gVQmc/kP3c/Aphx9krA3xlULEBmrcl61i8m3FQ/2ia1N8s06BHMyA Jakn7URPuk5ncS0cunE4mU1h4PT08rBhsEx+MfSctQkwPMnOos7AIkzHGKWhpy6gs3 hkS43sFgye8+bd+uuU5fQ7ns7oZHAgg6bnZBmhFviK8Tkd98si+emnYHLj+fDwQAj7 SAbCH8si4bYGg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A9CA26780C for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:18 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346894; bh=Vmz0qk/jQhkW/6ZM6QjfXs2fpCaYoJP7MAHHjBzWnJ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uwBEHd4HuhjWjWXlGHKCdltyfOXaaf5orJNHOBh2BLjF+50wM49GcYpYwpr1gvhJZ kRm/uBiZtChHSwsdFc10Ce4LacXjglF9lbtKgF7XJgYmnc4qGsPh08MhllzwYU+W1Z J0ex/2UqEc2LeL0cy9zzquRosIAZFz8iwfrrqMorbK6tgCTa3YxVzXw7Vn1Bf3jeTW F1M1nnDWO2Hky81Vn73G9/m0qDBYyOSTVf7jg2KvwBFmS+J4vhvlBdlKOgSErPLzgv zIY/ieZg7v0LRqC/ha8UwhW54ktYqAvyhqySrgcyurF2DJo2Nr4S/veO7f8oo4CxeQ zv1YWqKj7yc3A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 98CCF677B6; Wed, 27 Aug 2025 20:08:14 -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 7I0gbaioxtwd; Wed, 27 Aug 2025 20:08:14 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346892; bh=KEHkdroDqh8OpM8xhxouecF9Px/GZZCXboIIsIgNEP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hMR8vjlZG3ojLYbSTS4rha1SduUDYtCWm43BgGtkOu+p7bm9q6zKQtSgg1PeaoH37 B82a0ZC35Wiz+zTBuZ7WrFOXqZoNtOUAnPHV0Pg5MwTJ1yWJgKjFA9X4NxqhjGnxwv utXxh0v/U8fBFDwQON32dLdSh44PwdGnupufWoDmPkCtQUhobGrJLk4crvYAhg6VSS VdLR4pn37vWIDtOY2rA5+QRXxZvfIDAJXLglouCJPDe8epLu2vTK7u4fieCkBYhvSL FGbnnxFP4qIDRIPMyIYNxUmLXZoMbi6La9f5BevIlL8ZjPCA0b3llt/8AQAkPJXWBX 4trMovBCh6vQg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id F2F1D67832; Wed, 27 Aug 2025 20:08:11 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 27 Aug 2025 20:07:22 -0600 Message-ID: <20250828020732.981415-20-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250828020732.981415-1-sjg@u-boot.org> References: <20250828020732.981415-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: G4GAVHG6BFTGMMTGZL52G6JU3CC2EPLJ X-Message-ID-Hash: G4GAVHG6BFTGMMTGZL52G6JU3CC2EPLJ 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>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 19/20] efi: app: Add a simple-framebuffer node if enabled 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/G4GAVHG6BFTGMMTGZL52G6JU3CC2EPLJ/> 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: App and devicetree improvements
|
|
Commit Message
Simon Glass
Aug. 28, 2025, 2:07 a.m. UTC
From: Simon Glass <sjg@chromium.org> The EFI app cannot make the EFI GOP available to Linux directly, since it calls exit-boot-services before booting Linux. The easiest way to provide an early console is with the simple-framebuffer feature. Add this node to the devicetree if the feature is enabled. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org> --- lib/efi_client/efi_app.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/efi_client/efi_app.c b/lib/efi_client/efi_app.c index f67973dbb85..33ed3f2a874 100644 --- a/lib/efi_client/efi_app.c +++ b/lib/efi_client/efi_app.c @@ -348,9 +348,11 @@ int ft_system_setup(void *fdt, struct bd_info *bd) return ret; } - ret = fdt_simplefb_add_node(fdt); - if (ret) - log_warning("failed to set up simplefb\n"); + if (IS_ENABLED(CONFIG_FDT_SIMPLEFB)) { + ret = fdt_simplefb_add_node(fdt); + if (ret) + log_warning("failed to set up simplefb\n"); + } free(map);