From patchwork Tue Aug 19 18:58:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 5 Return-Path: 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=1755629976; bh=pgby9l07M/pLXqY1RVdxJZk41BrrQ23HlBzteyyicQg=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=WFbafsqvT4fUmhcu4VBnWkSRhQvNx+VRmQvfczHPs+fymoeCNchSmxSWRzm2VAUeT vFJ0NGaEwWSzEQ2g1loCGoDXqW7tVWlhnk+rqTdJUTtV2hLgMfdgaj+mQPnh0l23+L jNDBWOlp5us84C3ZGbG3tumLzuxSMKTWg7B/LP+GU/f0Wxi5mFaOS1LpsSiR3MwnhU BGGPhr7X1AizKS6yyGxuZhUEd8MVQk045rAimRuxHv/FgfMmEgPur4pMUyPvfMUgHv Z6Nyxomh4402skZ9GG4wZ6PoEc1z2GXg2VMi0NMR4oYs0y48jv5AQxSLpcWSDorkpB +yoCRakrJ5bXg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 24353675F9 for ; Tue, 19 Aug 2025 12:59:36 -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 yZ9XYyKFfdhQ for ; Tue, 19 Aug 2025 12:59:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755629976; bh=pgby9l07M/pLXqY1RVdxJZk41BrrQ23HlBzteyyicQg=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=WFbafsqvT4fUmhcu4VBnWkSRhQvNx+VRmQvfczHPs+fymoeCNchSmxSWRzm2VAUeT vFJ0NGaEwWSzEQ2g1loCGoDXqW7tVWlhnk+rqTdJUTtV2hLgMfdgaj+mQPnh0l23+L jNDBWOlp5us84C3ZGbG3tumLzuxSMKTWg7B/LP+GU/f0Wxi5mFaOS1LpsSiR3MwnhU BGGPhr7X1AizKS6yyGxuZhUEd8MVQk045rAimRuxHv/FgfMmEgPur4pMUyPvfMUgHv Z6Nyxomh4402skZ9GG4wZ6PoEc1z2GXg2VMi0NMR4oYs0y48jv5AQxSLpcWSDorkpB +yoCRakrJ5bXg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1161D675F7 for ; Tue, 19 Aug 2025 12:59:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755629973; bh=DHAWO7b2Zq0awlEX3tBVn3YEAwgsH8GC8KuQkOBi+Go=; h=From:To:Cc:Subject:Date:From; b=YkD1F7YJYq+V7aszSl4dh+G+kPPSUDN1wtOx8fh+Qy4JnNAzozDuxAuJiLn8pRnMz Ibe+2quqj02g/p+AoVPcupsa0/aLk/JjnZO3twO5jNpdc+js6I0RPrah49EiyUvkIc GmhiZ1E159xBSGXHN/WfYpk8fH/wzfR6GDJXBptn+bhgH/nC4NqfO1ncszGKA+bK/8 xxOzcgV0QkH0epqnTK/God3T8aLuH8Op4O6fNfd3pJuWYXT4S+0tuea/l/qqgD49dV B0sBBkX8Zkx4WirznhEJjK7+xL8/YJtrAbazZ/YnLT9IPpQ354Cqv2crazZThztgWK mkhggZqdip/CA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A0B6D675F7; Tue, 19 Aug 2025 12:59:33 -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 mlc_OSpKpzQw; Tue, 19 Aug 2025 12:59:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755629973; bh=BLjf0YaujDNouURsUFbpBrraCW5YkGq11gN5FthQ0kI=; h=From:To:Cc:Subject:Date:From; b=UVNUX3oRU4JZhko6rcpUaybjjO8++rHRIu1VcADhWgd+gNyHQaE7OLZIkL4LfV4/L 5mZ/wnW/g4nzmB9Q3w4ZVXhTd41qkWjHEcZDXqJs5mRE4FgcRUnOLo8UCtFRci9Rku TOgIrMjKQ7tw0gakVPRaYniJ+usf+MyktPcAHqCJWWyw3d1purre2wFUm3vLhptvqg AzDQWv5ohhJq4EpUMJTvt9dyPxpgRKs8C4b5eUmj2t0QQUVv79uc9RBlFPMpjbIYBt 1qmtHK6VbC7Wzy37YudP5RN9plUuR519jTLsSjE4CwCXXcdrUwMgEMqmOrzyq78eLu UyS6ue6QAtsog== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 280D4675DE; Tue, 19 Aug 2025 12:59:33 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 12:58:31 -0600 Message-ID: <20250819185900.835939-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: Y23BVG343FXAJ52JFAZRKUU6GPKINMZD X-Message-ID-Hash: Y23BVG343FXAJ52JFAZRKUU6GPKINMZD 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: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH v2 00/22] efi: Improvements for the EFI app on ARM List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass This series provides a number of minor improvements for the EFI app when running on ARM machines (on top of Tianocore, for example): - Tidy up various comments - Show the ARM exception level in bdinfo - Tidy up the output of 'meminfo' - Get the addr_find command running - Reduce verbosity when not debugging - Show the model at the top of the diplay when using vidconsole - Allow faking the boot right into the actual OS jump (for debugging) Changes in v2: - Make the messages longer and more explanatory - Use the existing current_el() function - Add a colon so it is clear that 'load_os type' is not a compound term Simon Glass (22): arm: bootm: Add some debugging arm: Fix swtiching typo arm: Show the exception level with bdinfo arm: Drop kernel_entry for arm64 meminfo: Allow for up to 10 hex digits event: Add a dummy function for event_notify() boot: Improve debugging in bootm_load_os() boot: Pass flags to the bootm_final event fdt: Add debugging for fdt_simplefb efi: app: Show only a summary of disks and partitions efi: Fix up the addr_find command efi: app: Tidy up some stale comments in setup_memory() efi: app: Allocate pages in any region efi: app: Pick up the SMBIOS table efi: app: Use EFI_PAGE_SHIFT instead of 12 in free_memory() efi: app: Print the final message before freeing memory efi: app: Use the relocated global_data efi: app: Only show the memory map when debugging efi: app: Add a simplefb node to the devicetree efi: arm: Increase the cyclic timeout again efi: app: Show the model when the vidconsole starts efi: app: Enable the cat command arch/arm/lib/bdinfo.c | 4 ++++ arch/arm/lib/bootm.c | 15 +++++++------ board/efi/efi-arm_app/board.c | 4 ++++ boot/bootm.c | 3 ++- boot/bootm_final.c | 13 ++++++----- boot/fdt_simplefb.c | 4 ++++ cmd/Kconfig | 3 ++- cmd/addr_find.c | 40 +++++++++++---------------------- cmd/meminfo.c | 9 ++++---- configs/efi-arm_app64_defconfig | 5 ++++- include/bootm.h | 13 +---------- include/event.h | 17 +++++++++++++- include/event_decl.h | 27 ++++++++++++++++++++++ lib/Kconfig | 3 ++- lib/efi_client/efi_app.c | 37 +++++++++++++++++++++--------- lib/efi_client/efi_app_init.c | 10 ++++++--- test/cmd/meminfo.c | 2 +- 17 files changed, 135 insertions(+), 74 deletions(-) create mode 100644 include/event_decl.h