diff options
| author | unitexe <unitexe70@gmail.com> | 2026-03-02 22:41:54 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-03-02 22:52:08 -0600 |
| commit | a960f82818f0ad4c4df50efa4cc6540ffa8ee193 (patch) | |
| tree | d0e9f75a64b6ca43e7d9eee1e5993a48314eaf4c /meta-yocto-extra | |
| parent | f31350298b3bec162781531b36c598086c9e5d3b (diff) | |
- 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-yocto-extra')
| -rw-r--r-- | meta-yocto-extra/conf/layer.conf | 14 | ||||
| -rw-r--r-- | meta-yocto-extra/wic/unit-beaglebone-yocto.wks | 7 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-yocto-extra/conf/layer.conf b/meta-yocto-extra/conf/layer.conf new file mode 100644 index 0000000..cf3675d --- /dev/null +++ b/meta-yocto-extra/conf/layer.conf @@ -0,0 +1,14 @@ +BBPATH .= ":${LAYERDIR}" + +BBFILES += "\ + ${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend \ +" + +BBFILE_COLLECTIONS += "yocto-extra-layer" +BBFILE_PATTERN_yocto-extra-layer = "^${LAYERDIR}/" +BBFILE_PRIORITY_yocto-extra-layer = "6" + +LAYERDEPENDS_yocto-extra-layer += "yocto" + +LAYERSERIES_COMPAT_yocto-extra-layer = "whinlatter" diff --git a/meta-yocto-extra/wic/unit-beaglebone-yocto.wks b/meta-yocto-extra/wic/unit-beaglebone-yocto.wks new file mode 100644 index 0000000..927892b --- /dev/null +++ b/meta-yocto-extra/wic/unit-beaglebone-yocto.wks @@ -0,0 +1,7 @@ +# short-description: Create SD card image for Beaglebone +# long-description: Creates a partitioned SD card image for Beaglebone with increased size to allow for use with kernel with bundled initramfs that exceeds the upstream size of 32MB +# Boot files are located in the first vfat partition. + +part /boot --source bootimg_partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 64 --sourceparams="loader=u-boot" --use-uuid +part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid +bootloader --append="console=ttyS0,115200 splash video=HDMI-A-1:1024x600@60 vt.global_cursor_default=0" |
