video: Support a U-Boot logo more easily
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | sandbox: video: Support 8bpp deptharch/ drivers/ | +77 | 0 replies | |
| 2/23 | video: sandbox: Avoid duplicate display windowsarch/ arch/ drivers/ | +49 | 0 replies | |
| 3/23 | console: Avoid serial output before the console is runningcommon/ | +4 | 0 replies | |
| 4/23 | video: sandbox: Set a maximum frame-buffer sizedrivers/ | +17 | 0 replies | |
| 5/23 | sandbox: video: Correct the address of the copy basedrivers/ | +1 | 0 replies | |
| 6/23 | sandbox: video: Add BMP tests for 32bpp and 8bpp modesarch/ drivers/ drivers/ +1 more | +95 | 0 replies | |
| 7/23 | video: Expand video debugging buffer sizedrivers/ | +2 | 0 replies | |
| 8/23 | sandbox: Enable support for the gzip commandcmd/ | +3 | 0 replies | |
| 9/23 | video: Drop fb_put_byte() el atdrivers/ | +5 | 0 replies | |
| 10/23 | video: Move BMP pixel-writing into a functiondrivers/ | +52 | 0 replies | |
| 11/23 | video: bmp: Update RLE8 support to use the write functiondrivers/ test/ | +65 | 0 replies | |
| 12/23 | video: Drop the uclass colour mapdrivers/ drivers/ include/ | +0 | 0 replies | |
| 13/23 | video: Tidy up 24/32 BMP blittingdrivers/ | +8 | 0 replies | |
| 14/23 | video: Add a test for 16bpp BMP files.gitattributes configs/ configs/ +2 more | +27 | 0 replies | |
| 15/23 | video: theadorable: Use RGB565 for BMP blittingconfigs/ configs/ drivers/ +2 more | +51 | 0 replies | |
| 16/23 | video: Drop #ifdefs from video_bmpdrivers/ | +49 | 0 replies | |
| 17/23 | video: Convert CONFIG_VIDEO_LOGO to KconfigREADME common/ configs/ +74 more | +48 | 11 replies | |
| 18/23 | video: Drop VIDEO_LOGO from cfb_consoledrivers/ | +1 | 0 replies | |
| 19/23 | video: Support showing the U-Boot logodrivers/ drivers/ drivers/ +5 more | +89 | 4 replies | |
| 20/23 | video: Show the U-Boot logo by defaultconfigs/ configs/ drivers/ | +3 | 0 replies | |
| 21/23 | video: Support virtio devices with the splash screencommon/ include/ include/ | +16 | 2 replies | |
| 22/23 | x86: coreboot: Support getting a logo from virtioboard/ include/ include/ | +26 | 0 replies | |
| 23/23 | x86: coreboot: Add a sample script to build a qemu imagescripts/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/23] video: Support a U-Boot logo more easily
At present it is possible to show a logo on the display but it requires some board configuration and an image.
This series aims to make this easier, by showing a logo automatically if there is a display but no splash screen.
The logo is embedded in U-Boot and takes approximately 7KB of space.
Some fixes to the sandbox display support are provided, to make it more robust and to allow running tests with different display depths. Support for 8bpp depths is added, to enable more tests.
This series also includes a lot of improvements to BMP (Windows Bitmap) support:
- support for drawing to depths other than 16bpp
- tests for the different types of supported BMP images
For theadorable there is a potentially breaking change to consider.
This series also enables a logo to be shown when running coreboot via qemu, providing a script to help with that.
Simon Glass (23):
sandbox: video: Support 8bpp depth
video: sandbox: Avoid duplicate display windows
console: Avoid serial output before the console is running
video: sandbox: Set a maximum frame-buffer size
sandbox: video: Correct the address of the copy base
sandbox: video: Add BMP tests for 32bpp and 8bpp modes
video: Expand video debugging buffer size
sandbox: Enable support for the gzip command
video: Drop fb_put_byte() el at
video: Move BMP pixel-writing into a function
video: bmp: Update RLE8 support to use the write function
video: Drop the uclass colour map
video: Tidy up 24/32 BMP blitting
video: Add a test for 16bpp BMP files
video: theadorable: Use RGB565 for BMP blitting
video: Drop #ifdefs from video_bmp
video: Convert CONFIG_VIDEO_LOGO to Kconfig
video: Drop VIDEO_LOGO from cfb_console
video: Support showing the U-Boot logo
video: Show the U-Boot logo by default
video: Support virtio devices with the splash screen
x86: coreboot: Support getting a logo from virtio
x86: coreboot: Add a sample script to build a qemu image
.gitattributes | 1 + README | 1 - arch/sandbox/cpu/sdl.c | 98 +++++++- arch/sandbox/include/asm/sdl.h | 7 + arch/sandbox/include/asm/test.h | 18 ++ board/coreboot/coreboot/coreboot.c | 20 +- cmd/unzip.c | 4 +- common/console.c | 6 +- common/splash.c | 2 +- common/splash_source.c | 14 ++ configs/apalis_imx6_defconfig | 1 + configs/aristainetos2c_defconfig | 1 + configs/aristainetos2ccslb_defconfig | 1 + configs/cm_fx6_defconfig | 1 + configs/colibri-imx6ull-emmc_defconfig | 1 + configs/colibri-imx6ull_defconfig | 1 + configs/colibri_imx6_defconfig | 1 + configs/colibri_imx7_defconfig | 1 + configs/colibri_imx7_emmc_defconfig | 1 + configs/colibri_vf_defconfig | 1 + configs/gurnard_defconfig | 1 + configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + configs/imx6dl_icore_nand_defconfig | 1 + configs/imx6q_icore_nand_defconfig | 1 + configs/imx6qdl_icore_mmc_defconfig | 1 + configs/imx6qdl_icore_nand_defconfig | 1 + configs/imxrt1050-evk_defconfig | 1 + configs/m53menlo_defconfig | 1 + configs/marsboard_defconfig | 1 + configs/mx6cuboxi_defconfig | 1 + configs/mx6sabreauto_defconfig | 1 + configs/mx6sabresd_defconfig | 1 + configs/mx6ul_14x14_evk_defconfig | 1 + configs/mx6ul_9x9_evk_defconfig | 1 + configs/novena_defconfig | 1 + configs/opos6uldev_defconfig | 1 + configs/pico-dwarf-imx7d_defconfig | 1 + configs/pico-hobbit-imx7d_defconfig | 1 + configs/pico-imx6_defconfig | 1 + configs/pico-imx6ul_defconfig | 1 + configs/pico-imx7d_bl33_defconfig | 1 + configs/pico-imx7d_defconfig | 1 + configs/pico-nymph-imx7d_defconfig | 1 + configs/pico-pi-imx7d_defconfig | 1 + configs/riotboard_defconfig | 1 + configs/s5p4418_nanopi2_defconfig | 1 + configs/sandbox_defconfig | 2 + configs/sandbox_flattree_defconfig | 2 + configs/tbs2910_defconfig | 1 + configs/wandboard_defconfig | 1 + drivers/video/Kconfig | 11 + drivers/video/Makefile | 3 + drivers/video/cfb_console.c | 325 +------------------------ drivers/video/console_truetype.c | 21 ++ drivers/video/sandbox_sdl.c | 77 +++++- drivers/video/u_boot_logo.bmp | Bin 0 -> 6932 bytes drivers/video/video-uclass.c | 35 +-- drivers/video/video_bmp.c | 249 +++++++++---------- include/configs/T102xRDB.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/apalis_imx6.h | 1 - include/configs/aristainetos2.h | 1 - include/configs/cm_fx6.h | 1 - include/configs/colibri-imx6ull.h | 1 - include/configs/colibri_imx6.h | 1 - include/configs/colibri_imx7.h | 1 - include/configs/colibri_vf.h | 1 - include/configs/coreboot.h | 3 + include/configs/embestmx6boards.h | 1 - include/configs/gw_ventana.h | 1 - include/configs/imx6-engicam.h | 1 - include/configs/imxrt1050-evk.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/m53menlo.h | 1 - include/configs/mx23evk.h | 1 - include/configs/mx28evk.h | 1 - include/configs/mx51evk.h | 1 - include/configs/mx53loco.h | 1 - include/configs/mx6cuboxi.h | 1 - include/configs/mx6sabre_common.h | 1 - include/configs/mx6sxsabresd.h | 1 - include/configs/mx6ul_14x14_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/nokia_rx51.h | 1 - include/configs/novena.h | 1 - include/configs/opos6uldev.h | 1 - include/configs/pico-imx6.h | 1 - include/configs/pico-imx6ul.h | 1 - include/configs/pico-imx7d.h | 1 - include/configs/pxm2.h | 1 - include/configs/rut.h | 1 - include/configs/s5p4418_nanopi2.h | 2 - include/configs/wandboard.h | 1 - include/configs/x86-common.h | 6 +- include/splash.h | 1 + include/video.h | 4 +- include/virtio.h | 1 + scripts/Makefile.lib | 21 ++ scripts/build-cb.sh | 19 ++ scripts/config_whitelist.txt | 1 - test/dm/video.c | 189 +++++++++++++- tools/logos/denx-16bpp.bmp.gz | Bin 0 -> 4516 bytes tools/logos/denx-24bpp.bmp.gz | Bin 0 -> 7137 bytes 106 files changed, 678 insertions(+), 539 deletions(-) create mode 100644 drivers/video/u_boot_logo.bmp create mode 100755 scripts/build-cb.sh create mode 100644 tools/logos/denx-16bpp.bmp.gz create mode 100644 tools/logos/denx-24bpp.bmp.gz
Signature · 1 line
2.34.0.rc2.393.gf8c9666880-goog