From 4e6d16b69404dd6bf918003ffcbc346e2a18bc73 Mon Sep 17 00:00:00 2001 From: Andrew Clough Date: Fri, 27 Sep 2024 11:17:17 -0400 Subject: [PATCH] dtc: add page (#13844) * dtc: Add initial support Add an initial example for a common way to use dtc, the Device Tree Compiler which can create and decompile device trees for embedded Linux systems. * Fix Syntax error * More syntax fixes * More formatting * Yet more syntax fixes * Update pages/common/dtc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages/common/dtc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages/common/dtc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/dtc.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/common/dtc.md diff --git a/pages/common/dtc.md b/pages/common/dtc.md new file mode 100644 index 0000000000..3d49fba4e9 --- /dev/null +++ b/pages/common/dtc.md @@ -0,0 +1,8 @@ +# dtc + +> The Device Tree Compiler, a tool for recompiling device trees between formats. +> More information: . + +- Decompile a `.dtb` file into a readable `.dts` file: + +`dtc -I dtb -O dts -o {{path/to/output_file.dts}} {{path/to/input_file.dtb}}`