Hi,
I am facing exactly the same problem with my Iris carrier board 2.0 and Colibri iMX8DX 1.0D. I am working with BSP 5, Yocto dunfell branch, using the latest versions of kernel, u-boot and device tree overlays listed here.
I have successfully managed to show my custom logo on RGB display, using slightly modified Referential minimal image. The problem is it requires to disable getty@tty1.service to get rid of the “login screen”. For the testing purpose, I have done this manually using command
systemctl disable getty@tty1.service
Unfortunately, this will be insufficient in the future and I need to get rid of it when the custom image is created.
Uncle Google provides the results identical with this community suggestion from 2019. User @margish posted the same question on different forums but what I found, nobody replied to it.
Normally, when the image is compiled, I can find getty.target.wants folder in
build/tmp/work/colibri_imx8x-tdx-linux/<image name>/1.0-r0/rootfs/etc/systemd/system
with serial-getty@ttymxc0.service and getty@tty1.service. So I tried to create a .bbappend file for systemd-serialgetty.bb, with a little bit modified path
do_install_append() {
rm ${D}${systemd_unitdir}/system/getty.target.wants/getty@tty1.service
}
REQUIRED_DISTRO_FEATURES= "systemd"
with no success. I tried to append also systemd recipe with the same code. Again, no success. I was not able to find out in the layers folder data, how exactly getty@tty1.service appears in the correct /etc/ folder.
My colibri-imx8x.conf file contains this part
# we do not want to have getty running on tty1 as we run
# auto-serial-console there
USE_VT = "0"
1. Is it possible to use this option somehow to switch to different tty[0-9] to suppress the tty1 service output?
2. Is there any description why do_install_append does not work and how to bypass it?
I have also found this patch with catching title. The solution seems to be using kernel command line option splash. I am not using splash at all.
Does anybody have any example how to work with a kernel cmd options? I would like to test this approach but I have no idea, where to start. I have checked the source code of the whole meta-layer of the patch but I have found nothing useful.
Thank you in advance for any hint or advice.
Best regards,
John