How to resolve : fatal error: curses.h: No such file or directory

Whenever you are trying to do kernel menuconfig very first time after installation of ubuntu, its chances that you will see the error as below, $ make ARCH=arm CROSS_COMPILE=arm-bcm2708-linux-gnueabi- menuconfig HOSTCC scripts/kconfig/mconf.o In file included from scripts/kconfig/mconf.c:23:0: scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory compilation terminated. scripts/ recipe for target ‘scripts/kconfig/mconf.o’ failed make[1]: … Read more

How to resolve error : dtc: command not found

When trying to compile uboot on ubuntu, we seen the following error, OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin ./scripts/ line 17: dtc: command not found ./scripts/ line 18: dtc: command not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer Makefile:1450: recipe for target ‘checkdtc’ failed make: *** [checkdtc] Error 1 From … 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

Setting up Ubuntu development machine for Yocto

The Yocto Project is an open-source collaboration project whose focus is developers of embedded Linux systems. Among other things, the Yocto Project uses a build host based on the OpenEmbedded (OE) project, which uses the BitBake tool, to construct complete Linux images. The BitBake and OE components combine together to form a reference build host, … Read more

Keyboard shortcuts for Cut, Copy and Paste in Vim Editor

In Last post “VIM : How to create a file and write contents using vim editor” we created a filename.c , Lets work on this same file to cut, copy and paste some lines / text as below. Cut and paste Position the cursor where you want to begin cutting. Press v to select characters, … Read more

VIM : How to create a file and write contents using vim editor

Vim (Vi Improved) is a clone of Bill Joy’s vi text editor program for Unix. It was written by Bram Moolenaar based on source for a port of the Stevie editor to the Amiga[4] and first released publicly in 1991. Credit – Wikipedia $ vim filename.c It will create a new file and show like … Read more