FreeBSD/Linux Kernel Cross Reference
sys/boot/fdt/help.fdt
1 $FreeBSD$
2 ###############################################################################
3 # Tfdt Dfdt manipulation commands
4
5 fdt <subcommand> <arguments>
6
7 Facilities for loading and manipulating device tree data.
8
9 ###############################################################################
10 # Tfdt Saddr Dload fdt from an address in memory
11
12 fdt addr <address>
13
14 Copies compiled device tree from a particular location
15 in memory.
16
17 ###############################################################################
18 # Tfdt Salias DXXX
19
20 fdt alias <address>
21
22 Not Yet Implemented
23
24 ###############################################################################
25 # Tfdt Scd DSelect a particular node for future commands
26
27 fdt cd <path>
28
29 Changes the current node to the node specified by the path.
30 Path elements are separated by '/'; a leading '/' represents
31 the root node.
32
33 ###############################################################################
34 # Tfdt Sheader DDump the header of the compiled device tree
35
36 fdt header
37
38 Dumps DTB size, format and other key values.
39
40 ###############################################################################
41 # Tfdt Sls DList subnodes of the current node
42
43 fdt ls <path>
44
45 Lists the nodes under the specified path.
46 If no path is specified, lists nodes under the current path.
47
48 ###############################################################################
49 # Tfdt Smknode DCreate a new node in the device tree
50
51 fdt mknode <name>
52
53 Creates a new node with the specified name.
54
55 ###############################################################################
56 # Tfdt Smkprop DAdd a new property to the current node
57
58 fdt mkprop <name> <value> ...
59
60 Creates a new property with the specified name and values.
61 Multiple values can be specified and will be concatenated.
62
63 ###############################################################################
64 # Tfdt Smres DXXX
65
66 fdt mres
67
68 Dumps the list of reserved memory regions.
69
70 ###############################################################################
71 # Tfdt Sprop DDump value of a particular property
72
73 fdt prop <name> <value> ...
74
75 If value is specified, set the given property to the indicated value.
76 Otherwise, print the value of the property.
77
78 ###############################################################################
79 # Tfdt Spwd DPrint path to current node in device tree
80
81 fdt pwd
82
83 Print path to the current node in the device tree.
84 The current node can be changed with "fdt cd".
85
86 ###############################################################################
87 # Tfdt Srm DRemove node or property from device tree
88
89 fdt rm <name>
90
91 The named node or property will be removed from the device tree.
92
93 ###############################################################################
Cache object: b9b3dcbc17babbddd879608e59c9fdd0
|