From patchwork Fri Oct 3 16:54:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 487 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=1759510580; bh=LPuBi6KL3PfyZpY3beTZK+wlyVlFbJ0sPzcxT2sLtyA=; 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=cqKkI0HjmiAtt/BzhAVOFw1EVd7661jOszq9d3EKKeduUA85MJ6jzUVow00eUeyaC wE4bc8+h6V1Hx45bNzBbdEgmydmH3iRYPSoyppOnrM+mz7fifQlfBb2KJm7kBiG5SJ 3BMdYBrB+zsQ8ZXYXsUVyIWX8S63ax1/c4/VC/bkGYzRSXfyp3uPcOscpz/zPqyjvd SASPQ8Y1Tvf1ycKKeasDpLy2YKa4/HGEg9KzakyhqGkHOqAFtYXLusNRftVfULwHLy wmngA6ITEl77ppKKtTyUhwRjNBoF4otEtG4+2WyyuYq/46WQIRmjSRth1ZZs+lrCM8 knFWS8LtM0Xkw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 21B5567EBF for ; Fri, 3 Oct 2025 10:56:20 -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 CM8QbPDGL6F2 for ; Fri, 3 Oct 2025 10:56:20 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510580; bh=LPuBi6KL3PfyZpY3beTZK+wlyVlFbJ0sPzcxT2sLtyA=; 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=cqKkI0HjmiAtt/BzhAVOFw1EVd7661jOszq9d3EKKeduUA85MJ6jzUVow00eUeyaC wE4bc8+h6V1Hx45bNzBbdEgmydmH3iRYPSoyppOnrM+mz7fifQlfBb2KJm7kBiG5SJ 3BMdYBrB+zsQ8ZXYXsUVyIWX8S63ax1/c4/VC/bkGYzRSXfyp3uPcOscpz/zPqyjvd SASPQ8Y1Tvf1ycKKeasDpLy2YKa4/HGEg9KzakyhqGkHOqAFtYXLusNRftVfULwHLy wmngA6ITEl77ppKKtTyUhwRjNBoF4otEtG4+2WyyuYq/46WQIRmjSRth1ZZs+lrCM8 knFWS8LtM0Xkw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1043967E82 for ; Fri, 3 Oct 2025 10:56:20 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510577; bh=YXWXpSI9H+yYuUiK1ZUnycK3QiXsF27f2Nf9m+Ek/18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PLRaFppFnNKSCnV9+FbvQ2xPq9BisqvtUBoYYz/n+1ylUHYFXWz6uIHKXyH3I1cDH BgSLKy++3xB6FZEQG6UO3To7dpUEyKVMEwQgxmRw/z6uDFjzRulbmuaMBk5SDbLfyt Jqyzk6jlXeqy6Q25tWG3zijA9JFY0apcxCjx+2Me5sN7seWVU3YweTk5DvUiZOltSI pRHOiClZSZAUApj3ugyt/J2uQma5gXNC7EKMtHMVIHKatF7LqiF0nn4lmacUFyVbLL Q0nbWsbhDusE6wRAJA7CaXKF5kLf/U3vemZlNOmemht1+SFCU2lfLQmxNPnxRTJTyD /IsVaAnH/UTbA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 983D867E95; Fri, 3 Oct 2025 10:56:17 -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 oKXZuAiYQNAa; Fri, 3 Oct 2025 10:56:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510571; bh=LZhKreMLV3OcZFACoxDzmNntvC6vjz59SVLUAdJEu+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nlTYf9pyVXy/N/P4BaUSQ8T/t19u8LzzXcLkRKHaKT9VJ8YXslG/xwJoi5TZoK+m6 Am1BtPHLbq4V+CiuUooIsE7yDQzTzzXBRwQ/8nWj6OXvprFIEF9oqdFn6EqE8+kvSH ABGlFo7aKQutwghcyNP+LIkt/Z44wx7hVIyuHxEAqerE4WweFz2QL48MYfM8zNXvR5 9ueyFTbOCzQFujrL4qej0iFIHrgFmyV7qJThodNaEbePZ82PCuzfiUHC+d8n6yW2bI qa4W87umo0HLwit4eosreNRmPNnDjHFNfpjHikoY2mPRaWOV9M9K+xMEDOJbehsgNq lqFIaGP9r5a6A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E47B567E82; Fri, 3 Oct 2025 10:56:10 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Fri, 3 Oct 2025 10:54:59 -0600 Message-ID: <20251003165525.440173-7-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251003165525.440173-1-sjg@u-boot.org> References: <20251003165525.440173-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: B246GSDZ5NQ5LWGAUJWNHCM5J3EMQCBW X-Message-ID-Hash: B246GSDZ5NQ5LWGAUJWNHCM5J3EMQCBW 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 , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 06/22] video: Add a pointer image 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 When the mouse is being used we need a suitable pointer image to draw on the display. Add the RISC OS pointer, in honour of the first GUI available on ARM devices. Signed-off-by: Simon Glass --- drivers/video/images/Makefile | 3 +++ drivers/video/images/riscos_arrow.bmp | Bin 0 -> 3798 bytes test/dm/video.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 drivers/video/images/riscos_arrow.bmp index 56e63a6f5cf..6c96eee1b8b 100644 diff --git a/drivers/video/images/Makefile b/drivers/video/images/Makefile index 9b0d85cd2c8..9019b36c918 100644 --- a/drivers/video/images/Makefile +++ b/drivers/video/images/Makefile @@ -3,6 +3,9 @@ # Copyright 2025 Simon Glass obj-$(CONFIG_VIDEO_LOGO) += u_boot.o +ifdef CONFIG_MOUSE +obj-$(CONFIG_EXPO) += riscos_arrow.o +endif ifdef CONFIG_$(PHASE_)GENERATE_ACPI_TABLE obj-y += bgrt.o diff --git a/drivers/video/images/riscos_arrow.bmp b/drivers/video/images/riscos_arrow.bmp new file mode 100644 index 0000000000000000000000000000000000000000..5327bfd9b5438b8711e11f353903085808cd000c GIT binary patch literal 3798 zcmeH~O-LI-7>3`(7JnM6XehSyu!kr;=%p3$7}J6X3L#qX@6g?ii9&V_y9r)A3SNaC z`g5sm554r|=jEIEo|*aPCroN;_cml2 z;r9WvR>=|cQ8C4U-dle54S?57%?LCj@P9^tr#rj@4o}=3A@L>ry7I5r;4dtq^1)x& zC*klbTSYmX_d=D)F3x@`w|yP<9ADMRx{U94BxdpNy#({wOQ?JW@PPGIGjjh=<+Avw z8F>I-CA=X%is9$^>fv?#P~cU5Sa8V?5zZ?ux?M0W_eK)1?2?liPieDr^IGdZ+R=kM zxQlMxbch`* zdY1Yl^`OH6QvVco!`BBw=cSHPBJRv&9&>JSYAs)_te}7rhFIFPxX7?R72tnQ`lsn-&}#)I zJ)U3{7If(ku?B3zREw>fd-PD6BC!;3bI`}e@dEg~3H1Fc>W(h^Y2i1T%K?WUfX+F-9KQn{3x3>KC+hM3 e2Qb4}O@0Gjy#@yIWG@EHyNwQKal5ijC4Q$t=#ZTN literal 0 HcmV?d00001 diff --git a/test/dm/video.c b/test/dm/video.c --- a/test/dm/video.c +++ b/test/dm/video.c @@ -1211,9 +1211,10 @@ static int dm_test_video_images(struct unit_test_state *uts) ut_assert_nextline("Name Size"); ut_assert_nextline("-------------------- ----------"); ut_assert_nextline("bgrt 43926"); + ut_assert_nextline("riscos_arrow 3798"); ut_assert_nextline("u_boot 6932"); ut_assert_skip_to_line(""); - ut_assert_nextline("Total images: 2"); + ut_assert_nextline("Total images: 3"); ut_assert_console_end(); return 0;