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/mydistro-image.bb and add below mentioned line, DISTRO_FEATURES += “wifi” 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 … Read more

Cross compiling Linux kernel for Beagleboard

We assume, we are compiling for omap3 beagleboard embedded hardware platform, $ cd /home/devbee $ mkdir beagleboard $ cd beagleboard Clone the kernel $ git clone https://github.com/beagleboard/linux.git Download toolchain $ wget -c https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Extract Toolchain $ tar xvf  gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Now, use the below script to compile and generate uImage, $ vim compile.sh $ source compile.sh

Install Ino on Ubuntu and Run a test program for Arduino

Ino is a command line toolkit for working with Arduino hardware. How to Install Ino on ubuntu 14.04 Make sure you have arduino IDE installed$ sudo apt-get update && sudo apt-get install arduino arduino-core Download Ino$ git clone git://github.com/amperka/ino.git Install with Python$ cd ino$ pip install ino Reference : http://amperka.github.io/ino/ Running a Test Program $ … Read more

USB Physical layer and components description

USB Physical layer and components description USB 1.0 – Low speed –  1.5Mbps USB 1.1 – Full Speed  –   12 Mbps USB 2.0 – High Speed  – 480 Mbps USB 3.0 – Supper Speed – 3.2 Gbps Bus Topology Refer. Sec 4.1.1 – USB 2.0 spec Due to timing constraints allowed for hub and cable … Read more

Solved : ERROR: rpi-hwup-image-1.0-r0 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, ERROR: rpi-hwup-image-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch e7f72114a8e48d68bb5c66aebfc0126b verses f42bb303c421aa2770127fe4c480959b for /yocto/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb.do_image_rpi_sdimg ERROR: Taskhash mismatch e7f72114a8e48d68bb5c66aebfc0126b verses f42bb303c421aa2770127fe4c480959b for /yocto/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb.do_image_rpi_sdimg NOTE: Tasks Summary: Attempted 2133 tasks of which 2124 didnt need to be rerun … Read more

How to install Minicom on Linux / Ubuntu

Minicom is a text-based serial port communications program. It is used to talk to external RS-232 devices such as mobile phones, routers, and serial console ports. We can install minicom using below command, $ sudo apt-get install minicom Once you install minicom successfully, Connect Serial to USB cable to ubuntu laptop/desktop and type “dmesg” command … Read more

Configure ubuntu 16.04 as Bluetooth A2DP Sink, i.e. Play Songs from mobile and listen on laptop/desktop speaker over Bluetooth

Create a file as below, $ vim /etc/bluetooth/audio.conf Install Blueman as, $ sudo apt-get install blueman $ sudo apt-get install pulseaudio-module-bluetooth Start blueman manager as, $ blueman-manager You may see a window like below, Start Bluetooth on your mobile and make it discoverable, now click “Search” icon in blueman-manager window, so you can see your … Read more

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