From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varka Bhadram Subject: device tree: compilation of device tree sources Date: Fri, 13 Jun 2014 17:07:10 +0530 Message-ID: <539AE266.70306@cdac.in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: devicetree@vger.kernel.org Cc: linux-kernel mailing list , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org Hi, I cloned the device tree git from: https://kernel.googlesource.com/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing When i try to compile the Makefile is throwing errors like this: DTC src/arc/abilis_tb100_dvk.dtb dtc: invalid option -- 'i' Usage: dtc [options] Options: -h This help text -q Quiet: -q suppress warnings, -qq errors, -qqq all -I Input formats are: dts - device tree source text dtb - device tree blob fs - /proc/device-tree style directory -o -O Output formats are: dts - device tree source text dtb - device tree blob asm - assembler source -V Blob version to produce, defaults to 17 (relevant for dtb and asm output only) -d -R Make space for reserve map entries (relevant for dtb and asm output only) -S Make the blob at least long (extra space) -p Add padding to the blob of long (extra space) -b Set the physical boot cpu -f Force - try to produce output even if the input tree has errors -s Sort nodes and properties before outputting (only useful for comparing trees) -v Print DTC version and exit -H phandle formats are: legacy - "linux,phandle" properties only epapr - "phandle" properties only both - Both "linux,phandle" and "phandle" properties make[1]: *** [src/arc/abilis_tb100_dvk.dtb] Error 3 make: *** [all_arc] Error 2 The way of using the dtc command is wrong. Thanks, Varka Bhadram ------------------------------------------------------------------------------------------------------------------------------- [ C-DAC is on Social-Media too. Kindly follow us at: Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. -------------------------------------------------------------------------------------------------------------------------------