cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
520 Views
Registered: ‎03-27-2019

dtc: invalid option -- '@'

i'm using petalinux 2018.2

my dtc version

#dtc --version
Version: DTC 1.4.1

how to update dtc?

i execute command #dtc -O dtb -o pl.dtbo -b 0-@ pl.dtsi

dtc: invalid option -- '@'
Usage: dtc [options] <input file>

Options: -[qI:O:o:V:d:R:S:p:fb:i:H:sW:E:hv]
-q, --quiet
Quiet: -q suppress warnings, -qq errors, -qqq all
-I, --in-format <arg>
Input formats are:
dts - device tree source text
dtb - device tree blob
fs - /proc/device-tree style directory
-o, --out <arg>
Output file
-O, --out-format <arg>
Output formats are:
dts - device tree source text
dtb - device tree blob
asm - assembler source
-V, --out-version <arg>
Blob version to produce, defaults to 17 (for dtb and asm output)
-d, --out-dependency <arg>
Output dependency file
-R, --reserve <arg>
Make space for <number> reserve map entries (for dtb and asm output)
-S, --space <arg>
Make the blob at least <bytes> long (extra space)
-p, --pad <arg>
Add padding to the blob of <bytes> long (extra space)
-b, --boot-cpu <arg>
Set the physical boot cpu
-f, --force
Try to produce output even if the input tree has errors
-i, --include <arg>
Add a path to search for include files
-s, --sort
Sort nodes and properties before outputting (useful for comparing trees)
-H, --phandle <arg>
Valid phandle formats are:
legacy - "linux,phandle" properties only
epapr - "phandle" properties only
both - Both "linux,phandle" and "phandle" properties
-W, --warning <arg>
Enable/disable warnings (prefix with "no-")
-E, --error <arg>
Enable/disable errors (prefix with "no-")
-h, --help
Print this help and exit
-v, --version
Print version and exit

Error: unknown option

0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
469 Views
Registered: ‎10-06-2016

Hi @lim.junhyoung 

Not sure what are you trying to do with the mentioned command... could you provide some info about it?

dtc -O dtb -o pl.dtbo -b 0-@ pl.dtsi

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos