1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

Kernel: Draw picture on screen when booting Raspberry Pi

This commit is contained in:
Marcin Undak 2021-10-14 22:56:01 -04:00 committed by Andreas Kling
parent e7141c4230
commit 588ba72fe7
3 changed files with 74 additions and 0 deletions

View file

@ -66,6 +66,8 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
endif()
if ("${SERENITY_ARCH}" STREQUAL "aarch64")
embed_resource(Prekernel serenity_boot_logo "Arch/aarch64/SerenityLogoRGB.ppm")
add_custom_command(
TARGET Prekernel POST_BUILD
COMMAND ${CMAKE_OBJCOPY} -O binary Prekernel kernel8.img