Posts

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:...

Creating our own meta layer & creating a custom helloworld application and adding it to our project using yocto

Image
 Hello All, In my previous article we have seen that how to construct an embedded linux image for "qemux86-64" and verify its booting. In case if you have missed it, here is the link: https://learnyoctowithme.blogspot.com/2022/04/constructing-embedded-linux-image-for.html In this article we are going to see how we can create our own layer and adding it to our project using yocto pre-requisite: You need to be familiar with my previous article as it shows the image construction and setting up the build environment link : https://www.blogger.com/blog/posts/8695339245532547417?tab=rj what is a layer? Layer is nothing but a logical collection of related recipes Types of Layers: oe-core, BSP Layer, application layer Layer name starts with meta-, but this is not a technical restriction. Eg. meta-mylayer creating our own meta layer(meta-mylayer) using yocto project: step 1: source the environment  $  source ./oe-init-build-env build_x86 step 2: Inside build_x86 folder, ...

Constructing an Embedded Linux Image for qemux86-64 using yocto project

Image
 Hello All, In this blog we are going to see how we can construct an embedded linux image for "qemux86-64" and verifying the booting using qemu(quick emulator) using yocto project pre-requisite:  you need to be familiar with my previous articles as it contains details of setup environment link to my previous articles: https://learnyoctowithme.blogspot.com/2022/03/constructing-embedded-linux-image-for.html https://learnyoctowithme.blogspot.com/2022/03/constructing-embedded-linux-image-for_22.html Building an embedded linux image for qemux86-64 using yocto project: Step 1: Download the Poky Source code $ git clone git://git.yoctoproject.org/poky $ cd poky step 2 : checkout to the branch dunfell   $ git checkout dunfell  step 3: download the meta-openembedded source code from github $ git clone https://github.com/openembedded/meta-openembedded   $ cd meta-openembedded  $ git checkout dunfell $ cd .. step 4: Inside the poky folder ,source the oe-init-build...

Integrating Dropbear SSH server and client to BeagleBone black using yocto project

Image
 Hello All, In this blog we are going to see how we can add support for dropbear SSH server and client to beaglebone black using yocto project and to verify the ping functionality from beaglebone black and host pc(x86). pre-requisite: You need to familiar with my previous topic "Constructing Embedded Linux Image for BeagleBone Black using yocto project and booting it on QEMU(without using Hardware Board)" as it contains the setup details and environment to build and boot the image. link to previous topic: https://learnyoctowithme.blogspot.com/2022/03/constructing-embedded-linux-image-for.html what is dropbear SSH server and client? Dropbear is a relatively small SSH  server and client. It runs on a variety of unix platforms. Dropbear is open source software, distributed under a MIT license . Dropbear is particularly useful for "embedded"-type Linux (or other Unix) systems, such as wireless routers. more info about dropbear can be found here:  https://matt.ucc.as...

Building Toolchain For Raspberry Pi using yocto project

Image
 Hello All, In my previous post we have seen that how we can construct and embedded linux image for Raspberry Pi 4 using yocto project. Previous post link: https://learnyoctowithme.blogspot.com/2022/03/constructing-embedded-linux-image-for_22.html In this post we are going to see how we can build a toolchain for raspberrypi4 using yocto project Pre-requisite is you need to familiar with my previous post(Constructing Embedded Linux Image for Raspberry Pi4 using yocto project) as it contains the setup details and required environment settings needed to build an image Understand the fundamentals of toolchain from here: https://learnyoctowithme.blogspot.com/2022/03/building-toolchain-for-beaglebone-black.html Lets build a toolchain for Raspberry Pi4 using yocto project step 1 : Inside build_rpi folder, run the command $ bitbake meta-toolchain This will starts building our toolchain as per our specified architecture   NOTE: This will take considerable amount of time based...

Constructing Embedded Linux Image for Raspberry Pi4 using yocto project

Image
 Hello All, In my previous article we have seen that how we can construct an embedded linux image for beaglebone black using yocto project and how to build a toolchain for cross compilation using yocto project. In case if you have missed my previous articles, you can find them here: https://learnyoctowithme.blogspot.com/2022/03/constructing-embedded-linux-image-for.html https://learnyoctowithme.blogspot.com/2022/03/building-toolchain-for-beaglebone-black.html In this article we are going to see how we can construct an embedded linux image for raspberry Pi4-64 using yocto project. pre-requisites: you need to be familiar with my previous articles mentioned above as it contains the setup details and environment settings to build the image.   Building an embedded linux image for Raspberry Pi4-64: Step 1: Download the Poky Source code $ git clone git://git.yoctoproject.org/poky $ cd poky step 2 : checkout to the branch dunfell   $ git checkout dunfell  step 3: downlo...