From a960f82818f0ad4c4df50efa4cc6540ffa8ee193 Mon Sep 17 00:00:00 2001 From: unitexe Date: Mon, 2 Mar 2026 22:41:54 -0600 Subject: Enable graphics for beaglebone-yocto for kernel & beyond - Use kernel with bundled initramfs for beaglebone-yocto IMAGE_BOOT_FILES - Custom WIC kickstart needed that has larger boot partition to account for kernel with bundled initramfs - A handful of additional kernel args are needed as well - Add plymouth settle initramfs module that does delay after starting plymouth splash, without it switch root occurs before plymouth can start rendering and the splash is never shown - Kernel logo size doesn't fill 1024x600 waveshare screen, was having trouble with fullscreen image will re-visit - Need to use non-default gbm-format with weston otherwise it will crash --- .../initramfs-module-plymouthsettle/plymouthsettle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouthsettle/plymouthsettle (limited to 'meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouthsettle/plymouthsettle') diff --git a/meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouthsettle/plymouthsettle b/meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouthsettle/plymouthsettle new file mode 100644 index 0000000..b45e419 --- /dev/null +++ b/meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouthsettle/plymouthsettle @@ -0,0 +1,15 @@ +#!/bin/sh + +# Allow plymouthd time to open the DRM device and render the first frame. +# Without this, switch_root happens before Plymouth has rendered anything +# and the splash never shows (on some platforms). + +plymouthsettle_enabled() { + return 0 +} + +plymouthsettle_run() { + echo "Waiting for for plymouth to settle..." + sleep 1 + echo "Plymouth wait is done" +} -- cgit v1.2.3