devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* device tree: compilation of device tree sources
@ 2014-06-13 11:37 Varka Bhadram
       [not found] ` <539AE266.70306-If5XQcfNmg0@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Varka Bhadram @ 2014-06-13 11:37 UTC (permalink / raw)
  To: devicetree; +Cc: linux-kernel mailing list, linux-arm-kernel

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] <input file>

Options:

     -h

         This help text

     -q

         Quiet: -q suppress warnings, -qq errors, -qqq all

     -I <input format>

         Input formats are:

             dts - device tree source text

             dtb - device tree blob

             fs - /proc/device-tree style directory

     -o <output file>

     -O <output format>

         Output formats are:

             dts - device tree source text

             dtb - device tree blob

             asm - assembler source

     -V <output version>

         Blob version to produce, defaults to 17 (relevant for dtb

         and asm output only)

     -d <output dependency file>

     -R <number>

         Make space for <number> reserve map entries (relevant for

         dtb and asm output only)

     -S <bytes>

         Make the blob at least <bytes> long (extra space)

     -p <bytes>

         Add padding to the blob of <bytes> long (extra space)

     -b <number>

         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 format>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: device tree: compilation of device tree sources
       [not found] ` <539AE266.70306-If5XQcfNmg0@public.gmane.org>
@ 2014-06-14 19:01   ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-06-14 19:01 UTC (permalink / raw)
  To: Varka Bhadram
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel mailing list

On Fri, Jun 13, 2014 at 05:07:10PM +0530, Varka Bhadram wrote:
> 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'

Your dtc version is too old. Please upgrade.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-14 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 11:37 device tree: compilation of device tree sources Varka Bhadram
     [not found] ` <539AE266.70306-If5XQcfNmg0@public.gmane.org>
2014-06-14 19:01   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).