Development Environment Setup Archive

How to Compile and Install device-tree-compiler On Ubuntu

If you want to install device-tree-compiler i.e. dtc command on ubuntu, use following command, $ sudo apt-get install device-tree-compiler This command will install two command “dtc” and “dtdiff” of which dtc is a device tree compiler whereas dtdiff helps to take diff between two...Read More

Flashing RPi yocto images to SD card using dd / Making SD card ready to boot Yocto images for Raspberry Pi

If you have already followed steps to build root filesystem and kernel for RaspberryPi using yocto as mentioned at “Building kernel and filesystem using Yocto for Raspberry Pi / Creating Embedded Linux for RPi using Yocto”, it creates sdimg files inside build/tmp/deploy/images/raspberrypi3 which contains...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/dtc-version.sh: line 17: dtc: command not found ./scripts/dtc-version.sh: line 18: dtc: command not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer Makefile:1450:...Read More