Splashscreen using psplash
Hello,
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image, however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.
Any info would be greatly appreciated.
Best regards,
Andreas Enbacka
Quoted 8 lines · Andreas Enbacka
Hello,
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image,
however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot
process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.Any info would be greatly appreciated.
You could disable the [framebuffer] console directly in the kernel (CONFIG_FRAMEBUFFER_CONSOLE). With this disabled, Linux will leave whatever was in the framebuffer (possibly a splash put there by your bootstrap).
I've done this where U-Boot put up a splash image that was the same as the psplash one so there was no change on the screen during the boot process until it was completely running.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · Andreas Enbacka
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image, however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.
Passing "quiet" to the kernel (APPEND+="quiet" in local.conf will do it for testing) should stop the majority of the text. A full splash-from-bootloader is possible if you have a bootloader that displays the image, and then a silent kernel from there.
Ross
Hello,
Thanks a lot for info, I will try with that.
//Andreas
-----Original Message-----
From: Burton, Ross [mailto:[email protected]]
Sent: 23. huhtikuuta 2013 15:09
To: Andreas Enbacka
Cc: [email protected]
Subject: Re: [yocto] Splashscreen using psplash
Quoted 8 lines · Andreas Enbacka
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image, however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.
Passing "quiet" to the kernel (APPEND+="quiet" in local.conf will do it for testing) should stop the majority of the text. A full splash-from-bootloader is possible if you have a bootloader that displays the image, and then a silent kernel from there.
Ross
Quoted 23 lines · Andreas Enbacka
Hello,
Thanks a lot for info, I will try with that.
//Andreas
-----Original Message-----
From: Burton, Ross [mailto:[email protected]]
Sent: 23. huhtikuuta 2013 15:09
To: Andreas Enbacka
Cc: [email protected]
Subject: Re: [yocto] Splashscreen using psplashQuoted 8 lines · Andreas Enbacka
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image, however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.
Quoted 4 lines
Passing "quiet" to the kernel (APPEND+="quiet" in local.conf will do it for testing) should stop the majority of the text. A full splash-from-bootloader is possible if you have a bootloader that displays the image, and then a silent kernel from there.
Note: AFAICT this will only work if booting using grub or syslinux, not U-Boot or some other embedded bootstrap.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 24 lines · Gary Thomas
Quoted 23 lines · Andreas Enbacka
Hello,
Thanks a lot for info, I will try with that.
//Andreas
-----Original Message-----
From: Burton, Ross [mailto:[email protected]]
Sent: 23. huhtikuuta 2013 15:09
To: Andreas Enbacka
Cc: [email protected]
Subject: Re: [yocto] Splashscreen using psplashQuoted 8 lines · Andreas Enbacka
I am creating a custom image based on core-image-sato, with a custom splash screen (using psplash). I have been able to replace the default yocto splashscreen in my image, however, my question is whether it is possible to hide the initial console output text displayed on the screen prior to showing the splashscreen? Currently most of the boot process is completed at the stage when the splash screen is being displayed on screen. This is because the image should be used as part of an embedded device, and the end-user should not see any traces of the underlying linux distro.
Quoted 7 lines
Quoted 4 lines
Passing "quiet" to the kernel (APPEND+="quiet" in local.conf will do it for testing) should stop the majority of the text. A full splash-from-bootloader is possible if you have a bootloader that displays the image, and then a silent kernel from there.
Note: AFAICT this will only work if booting using grub or syslinux, not U-Boot or some other embedded bootstrap.
The trick is to redirect the console output somewhere else. By default it goes to the first tty if I recall correctly but you can send it to a serial port or wherever you want...
Cheers,
Richard