From patchwork Tue Aug 19 18:58:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 11 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=1755630047; bh=JXt1bGfdxk0Zh6vjP3wZQDriqP7WSDZ541QpfpT+BlI=; 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=ScoT9iqxVxWqd56kSDKP4ZWbBSMNcRPcjVQ7S15or++j10QMO2vZvUSLy4K8U1nz6 +8/7wnutA6z/6iLtJuXX+0LGOG/zGZvqBA0R3o/aU8Qj/uyihYXX9osD9Rj+LTPLbB KVNFWbA5pJvpAh4lrSbMcFrQbNACP6k92+yzrte+b6zw9JehTEK5sWzDJjegEXR3cg 7YqyAmvMP3pRjg9VbaeyIm93DZwBRYCO38EcGITPvr4DXhUvEtqG2xHW9qUH99JEgW Mjv5topEedoIWTJdCjJ7tHm4oo4nkXhGLcu95PAHlmhPP8TLhVvchPmBCByLO7Izxc lXY2MbLpjnAWQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9086C675F3 for ; Tue, 19 Aug 2025 13:00:47 -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 PkvOv4k9YyDB for ; Tue, 19 Aug 2025 13:00:47 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630046; bh=JXt1bGfdxk0Zh6vjP3wZQDriqP7WSDZ541QpfpT+BlI=; 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=eCmA74GRZEitjXWRongS0pLBkL5pBRyv+aMUt3SF3MYn3K3Epi2eey5EL/cE3xRCR R436n+9TTBbEFP42jVzGSnYndGyhjT6w2/okkEkH4oYcG36XNs1K15J6XPPxHbJc06 84BMboHYpBEXcaUAiaNm8pv8JsrMFRzCBK+jRm/6PayiP7q83fPet1pmcWnbALBm3O /r7/wxmkKYJsYE3GX6Sfbft/7FSMkOEZ//gZMld0cvgokPowjuBh90gkK1SahBzroi 5V+dVbgnuHx4mQgs90LE+a55y2aqdvQkVB15dMJ8BOp/QfYHn7ezvCQniI9PDrdUYr BfXUTnGBKXjqA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8A3E1675F8 for ; Tue, 19 Aug 2025 13:00:46 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630044; bh=6lfmgLXsqsbOht8Nfta2HgGaV2rvpMxNdwNu/Jpq2Ms=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qGwl0DRbR59Qw2xs664+F/9bt19iOL8sHkYbVdBCkYNi15P4FSJSY1dIiaC+ixW2E dI9GSrBWcoROXJypi9uctUZwWD354B86MX++tHNnKSrw21tdXZC2+aRW2gv+UOtNsM 1rN9CFa5KaZO87gH6/KM7ccU7uilXt6R9WAxuD6o5XjyEwQHELRs6EXKs3S2pB4DKP gbbD4VoR8Qxwkq+pii0dJ0aNFSVA7KoKv3V6xUpyk0hbce5amVCLszofkLvA+jCtmB KS39ojzxKufUZUj1BwiZt4nfcffWjNhFVo3YID3xqkziTxytI6t0jL/hVv9JlM179o mXD9kLv9u8iKw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C072C675FD; Tue, 19 Aug 2025 13:00:44 -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 09_BjSZULDYo; Tue, 19 Aug 2025 13:00:44 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630043; bh=3l7a9hQTurWApNoMyQVwdB602h/S94+xFVghgBHnCRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LmsXOhWRDDHggqV7Hp2bPJBwem+1ACrpvIgL3vOujUywI/ZcUxLTV3xfKaPMVv0tV F7PYC1SUROXTygpleC5ihBVb8vV3sVtPH38qCi6Ee4dJftqB0nD83mdSWI2UR6FRqF JQ4nA7UvqLlWKNMVlu0uvF+O6T/fT4TCtH31oO97wH03BLah3dmxtyOhMOWtwaX9y9 LQx7PFdATzmbdJqbiFplbpHe7v+xLG27KtlMhuT3ZBRSbnk5D4p8AhKqcpwPTCGEXz nNIDLP23heHk13jp/YLTrwbiCT8PJcHPT0nJ854XOZXK80hYNBjpWCocxJfLuO0Sz+ 2Zk+4CyVWtgSg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id D6E0F675F3; Tue, 19 Aug 2025 13:00:42 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 12:58:40 -0600 Message-ID: <20250819185900.835939-10-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250819185900.835939-1-sjg@u-boot.org> References: <20250819185900.835939-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: QNDWSNNEVOAHJV6IQEDGDA43YROJYBK4 X-Message-ID-Hash: QNDWSNNEVOAHJV6IQEDGDA43YROJYBK4 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 09/22] fdt: Add debugging for fdt_simplefb 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 Add some simple debug output to see what it is doing. Signed-off-by: Simon Glass --- (no changes since v1) board/efi/efi-arm_app/board.c | 4 ++++ boot/fdt_simplefb.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/board/efi/efi-arm_app/board.c b/board/efi/efi-arm_app/board.c index ce6c3e78ebc..662e48a3b74 100644 --- a/board/efi/efi-arm_app/board.c +++ b/board/efi/efi-arm_app/board.c @@ -30,6 +30,10 @@ int board_exit_boot_services(void *ctx, struct event *evt) uint key; int ret; + if (evt->data.bootm_final.flags & BOOTM_FINAL_FAKE) { + printf("Not exiting EFI (fake go)\n"); + return 0; + } printf("Exiting EFI\n"); ret = efi_get_mmap(&desc, &size, &key, &desc_size, &version); if (ret) { diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c index 5822131767d..6c75a6d5b5f 100644 --- a/boot/fdt_simplefb.c +++ b/boot/fdt_simplefb.c @@ -6,6 +6,8 @@ * Stephen Warren */ +#define LOG_CATEGORY LOGC_BOOT + #include #include #include @@ -48,6 +50,8 @@ static int fdt_simplefb_configure_node(void *blob, int off) ysize = uc_priv->ysize; bpix = uc_priv->bpix; fb_base = plat->base; + log_debug("simplefb: fb %lx x %d y %d bpix %x\n", fb_base, + xsize, ysize, bpix); } switch (bpix) {