summaryrefslogtreecommitdiffstats
path: root/README
blob: c6ef99c10b00f82ceea2c31e7c7365e89e8a5c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-License-Identifier: GPL-2.0-only

Utilities to work with device trees in Linux userspace

The following tools are available:

* barebox-state: access barebox' state storage
* fdtdump: dump a device tree binary to stdout
* dtblint: lint a compiled device tree

For questions, feedback, patches, please send a mail to

  <oss-tools@pengutronix.de>

Note: you must be subscribed to post to this mailing list. You can do so by
sending an empty mail to <oss-tools-subscribe@pengutronix.de>.

Building from Sources
---------------------

Check out the latest state from Git:

    git clone https://git.pengutronix.de/git/tools/dt-utils
    cd dt-utils

And then build using autotools:

    ./autogen.sh
    ./configure
    make

There's also experimental support for building with meson.
The intention is to deprecate autotools eventually in its favor. To build:

    meson setup build
    meson compile -C build
    meson test -C build  # optional

Contributing
------------

The Git web view for this software can be found at:

  <https://git.pengutronix.de/cgit/tools/dt-utils>

Any patches should be sent to the mailing list above. Please prefix your
subject with "[PATCH dt-utils]". This can be configured in Git with:

    git config format.subjectPrefix "PATCH dt-utils"

Mails sent to this mailing list are also archived at

  <https://lore.pengutronix.de/oss-tools/>

This project uses the Developer's Certificate of Origin, as stated in the file
DCO bundled with this software, using the same process as for the Linux kernel:

  <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>

By adding a Signed-off-by line (e.g. using `git commit -s`) saying

  Signed-off-by: Random J Developer <random@developer.example.org>

(using your known identity), you state that your contributions are in line with
the DCO.

License
-------

Copyright (C) 2021 Pengutronix and contributors

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License, version 2 as published by the Free
Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License (the file COPYING
bundled with this software) for more details.

The dt-utils project conforms to the REUSE specification. You can use the
'reuse' tool to get a Software Bill of Materials in SPDX format. For more
information, see <https://reuse.software/>.