How to compile DTS to DTB from Linux kernel and manually ?

Lets say, you have been trying to compile Linux kernel source code for Raspberry Pi following steps from “Cross Compilation and Booting of Linux kernel for Raspberry Pi3 – Manual Compilation” although most of the steps remains same in general for other ARM architectures as well , so just replace Raspberry Pi name with your … Read more

Solved : ERROR: do_image_rpi_sdimg: Taskhash mismatch

If you are compiling yocto for Raspberry Pi, there are chances you may see an error ( do_image_rpi_sdimg: Taskhash mismatch ) as below, Solution change following line from Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )     to

Enabling Serial Console on Raspberry Pi (RPi) using USB to TTL Serial Cable

For enabling Serial console on RPi, so that we can get serial console on RPi, we bought cable from Amazon link “USB to TTL Serial Cable – Debug / Console Cable for Raspberry Pi” [ ] Now, we connect the “black”, “white” and “green” wires as shown in below image, To enable serial console, … Read more

Building Yocto for Raspberry Pi / Creating Embedded Linux for RPi using Yocto

For proceeding to this post: Setting up ubuntu development machine for Yocto is a prerequisite and make sure you have all those packages installed in ubuntu. Note: This compilation is done for Yocto 2.6 i.e codenamed “thud” which is last known stable version available for RaspberryPi. Although currently Yocto 2.7 (codename – warrior) is available … Read more

Emulate RaspberryPi 2 on Ubuntu 20.04 using qemu


We need to compile recent qemu source code since it has added support for Raspberry Pi, to do that, follow below steps, You can download the latest Raspbian image from Above command will create 2020-02-13-raspbian-buster-lite.img Now, lets copy kernel image, dtb and command line information from the first partition of the 2020-02-13-raspbian-buster-lite.img as, With … Read more

How to enable Wifi with yocto

If you want to have WiFi integrated with yocto root filesystem, follow below mentioned steps, Open file, meta-mylayer/images/ and add below mentioned line, This will add wifi into the root filesystem but unless you have a proper network manager and UI, you will not be able to connect to internet. So, we will follow manual … Read more