summaryrefslogtreecommitdiff
path: root/meta-unit-distro
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-03-02 22:41:54 -0600
committerunitexe <unitexe70@gmail.com>2026-03-02 22:52:08 -0600
commita960f82818f0ad4c4df50efa4cc6540ffa8ee193 (patch)
treed0e9f75a64b6ca43e7d9eee1e5993a48314eaf4c /meta-unit-distro
parentf31350298b3bec162781531b36c598086c9e5d3b (diff)
Enable graphics for beaglebone-yocto for kernel & beyondHEADmain
- 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
Diffstat (limited to 'meta-unit-distro')
-rw-r--r--meta-unit-distro/conf/distro/include/initramfs.inc5
-rw-r--r--meta-unit-distro/conf/distro/include/wic.inc5
2 files changed, 10 insertions, 0 deletions
diff --git a/meta-unit-distro/conf/distro/include/initramfs.inc b/meta-unit-distro/conf/distro/include/initramfs.inc
index f16195c..979a862 100644
--- a/meta-unit-distro/conf/distro/include/initramfs.inc
+++ b/meta-unit-distro/conf/distro/include/initramfs.inc
@@ -1,2 +1,7 @@
INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_IMAGE = "core-image-unit-initramfs"
+
+# The beaglebone-yocto machine configuration file does not handle the case where
+# using kernel with bundled initramfs.
+IMAGE_BOOT_FILES:remove:beaglebone-yocto = "${KERNEL_IMAGETYPE}"
+IMAGE_BOOT_FILES:append:beaglebone-yocto = " ${KERNEL_IMAGETYPE}-${INITRAMFS_LINK_NAME}.bin;${KERNEL_IMAGETYPE}"
diff --git a/meta-unit-distro/conf/distro/include/wic.inc b/meta-unit-distro/conf/distro/include/wic.inc
index 6cc77cc..1aba27e 100644
--- a/meta-unit-distro/conf/distro/include/wic.inc
+++ b/meta-unit-distro/conf/distro/include/wic.inc
@@ -4,3 +4,8 @@ WIC_COMPRESSION_EXTENSION = ".zst"
# This will override the default wic.bz2 for meta-raspberrypi.
IMAGE_FSTYPES:remove:rpi = "wic.bz2"
IMAGE_FSTYPES:append:rpi = " wic${WIC_COMPRESSION_EXTENSION}"
+
+# Need to use a custom WIC kickstart file because the upstream
+# one doesn't work with our kernel with bundled initramfs (boot
+# partition not big enough).
+WKS_FILE:beaglebone-yocto = "unit-beaglebone-yocto.wks"