Custom u-boot splash screen
Hi all,
I have small query around u-boot.
- How can i update my custom boot screen for the u-boot?
- How can add my custom application to start post boot?
Thanks.
Hi all,
I have small query around u-boot.
Thanks.
Hello @NPal.2
About your second question, I think you should look at systemd service and use its features. Define a systemd service file (I let you search information on internet) and once your systemd service file is created, just run the commands:
$ systemctl enable <myservice>
$ systemctl start <myservice>
$ systemctl status <myservice>You can integrate the start of your application through systemd into your Yocto application recipe. Your recipe had to inherit from systemd:
inherit systemdIn your do_install function, install your files in particularly your service file:
do_install() {
[snap]
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${S}/<path to your file>/<myservice>.service ${D}${systemd_unitdir}/system
[snap]
}Then complete your recipe with these lines:
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "<myservice>.service"
SYSTEMD_AUT_ENABLE_${PN} = "enable"(the last line is optional as «enable» is the default).
Best regards,
--JM
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.