Posts

Showing posts from May, 2022

Adding custom splash screen to yocto image

Image
 Hello All, In this article we are going to see how we can add custom splash screen to our yocto image. pre-requisite: you need to be familiar with my previous topics as it contains the necessary steps to setup the environment  and  build the image. link to my previous topic: https://learnyoctowithme.blogspot.com/2022/04/constructing-embedded-linux-image-for.html https://www.blogger.com/blog/posts/8695339245532547417?tab=rj Adding custom splash screen to yocto image:  lets check what is the default splash screen set to image. step 1: open local.conf file $ vi poky/build_x86/conf/local.conf  and append the following line to local.conf file as IMAGE_FEATURES += "splash" and build the image using below command $ bitbake core-image-minimal  after successful compilation of build , boot the image using below command $ runqemu you can observe the splash screen while booting of the image Now we will modify the custom splash screen with our image. step 2: Pspla...

Adding kernel module in to our image and installing in root file system using yocto project

Image
 Hello All, In this article we are going to see how we can create a basic kernel module (hello world) and adding it to our image and installing in root file system using yocto project. pre-requisite: you need to be familiar with my previous topics, as it contains the necessary steps to create the build environment for qemux86-64 and steps to create our own layer. link to my previous article: https://learnyoctowithme.blogspot.com/2022/04/constructing-embedded-linux-image-for.html https://learnyoctowithme.blogspot.com/2022/04/creating-our-own-meta-layer-creating.html  Adding kernel module in to our image and installing in to root file system: step 1:  Inside poky directory, we created our own layer directory called meta-mylayer , switch to meta-mylayer $ cd poky/meta-mylayer/ step 2: Inside meta-mylayer, create a directory called recipes-kernel $ mkdir recipes-kernel step 3: Inside recipes-kernel directory, create a new folder called hello-mod $ mkdir hello-mod step 4:...