Kernel Booting and Porting Archive

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...Read More

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

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