J'essaie de compiler une superposition et de l'utiliser à des fins d'étude, mais je ne suis pas capable de compiler une superposition. Par exemple, je pris une superposition d'arborescence des périphériques exemple de blog derek MolloyLe compilateur de l'arborescence des machines lance l'erreur dtc: option invalide - '@'
git clone git://github.com/derekmolloy/boneDeviceTree.git
et maintenant j'ai un répertoire avec un nom de superposition. En ce qu'un script build est là qui ont la commande de compilation pour cette superposition. ceci est la commande à l'intérieur de la construction
#!/bin/bash
echo "Compiling the overlay from .dts to .dtbo"
dtc -O dtb -o DM-GPIO-Test-00A0.dtbo -b 0 [email protected] DM-GPIO-Test.dts
DM-GPIO-Test.dts fichier est le fichier de recouvrement de source et DM-GPIO-Test-00A0.dtbo est la sortie.
Maintenant, si je lance ce script, je reçois ce message
./build
Compiling the overlay from .dts to .dtbo
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 %d (for dtb and asm output)
-d, --out-dependency <arg>
Output dependency file
-R, --reserve <arg>
tMake 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
Je l'ai fait installer device-tree compilateur avant d'émettre ce système command.My est ubuntu 14.04, 64 bits. Qu'est-ce qui ne va pas ici?
La fonctionnalité de superposition n'a pas été ajoutée avant la version dtc 1.4.3. –