#
358206 |
|
21-Feb-2020 |
kevans |
MFC r347445, r353961: dtc build issues
r347445: Fix build issue with clang 8.0.1
The algorithm header is needed to use std::remove_if
r353961: exit requires stdlib.h to be included to use.
FreeBSD 10.3 requires this, and dtc is a bootstrap tool so it needs to compile there.
|
#
358205 |
|
21-Feb-2020 |
kevans |
MFC r357923-r357924: dtc fixes for /memreserve/ and -I/-O defaults
r357923: Pull in latest fixes from dtc, up to 0060471
This includes a small battery of /memreserve/ fixes to make sure dtc is properly writing these regions into the output file and reading them back out.
As of this update, dtc will now also assume common defaults for -I/-O if only one is specified; namely, dts for one implies dtb for the other and vice versa (Requested by: jhibbits, preserves GPL dtc behavior too).
r357924: dtc: re-apply r353961, r354115
I missed in final review of r357923's diff that these ones hadn't yet been sent upstream and inadvertently reverted them. =-( Re-apply now.
|
#
345881 |
|
04-Apr-2019 |
kevans |
MFC r345628: dtc(1): Update to 1a79f5f26631
Highlights: - Bugfix for order in which /delete-node/ and /delete-property/ are processed [0] - /omit-if-no-ref/ support has been added (used only by U-Boot at this point, in theory) - GPL dtc compat version bumped to 1.4.7 - Various small fixes and compatibility improvements
|
#
332562 |
|
16-Apr-2018 |
kevans |
MFC r332483:
dtc(1): Update to upstream 006664a
Highlights:
- Passing "-" to -o will now cause output to go to stdout - Path-based syntactic sugar for overlays is now accepted. This looks like:
/dts-v1/; /plugin/;
&{/soc} { sid: eeprom@1c14000 { compatible = "allwinner,sun8i-h3-sid"; reg = <0x1c14000 0x400>; status = "okay"; }; };
|
#
330449 |
|
05-Mar-2018 |
eadler |
MFC r326276:
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
|
#
328495 |
|
27-Jan-2018 |
kevans |
MFC r320296, r328173: Update dtc(1)
MFC r320296 (manu): dtc: Update to upstream 9ce35ff8
- Add "compatible with gpl dtc X.Y.Z" to version output so U-Boot doesn't complain - Fix cross reference node
This fixes some Allwinner DTS (and probably others).
MFC r328173: dtc(1): Update to upstream ea3c233
Highlights of this update: - /__local_fixups__ is now generated to be GPL dtc and libfdt compliant - Compiling with -@ will now cause dtc to assign phandles to all labelled nodes - /include/ and /incbin/ now handle absolute paths correctly - The manpage now has information about overlays, including how to apply them and how to generate them - Syntactic sugar for overlays is now supported, allowing an overlay DTS like:
= /dts-v1/; /plugin/;
&foo { foo,status = "okay"; }; =
to generate a fragment targetting <&foo>.
|
#
318093 |
|
09-May-2017 |
gonzo |
MFC r306806, r313709, r317058, r317060
r306806 by emaste: Improvements to BSD-licensed DTC.
- Numerous crash and bug fixes - Improved warning and error messages - Permit multiple labels on nodes and properties - Fix node@address references - Add support for /delete-node/ - Consume whitespace after a node - Read the next token before the second /memreserve/ - Fix parsing of whitespace - Clean up /delete-node/ and add support for /delete-property/ - Handle /delete-node/ specifying a unit address
Obtained from: https://github.com/davidchisnall/dtc @df5ede4
r313709 by dim: Fix build of BSD dtc when NDEBUG is defined (MK_ASSERT_DEBUG=no): * Initialize correct parent in binary_operator's constructor. * Include <errno.h> explicitly, otherwise errno is undefined (without NDEBUG, this is accidentally 'fixed' by including <iostream>).
Reported by: matteo
r317058 by emaste: dtc: remove unused (since r306806) string.hh
r317060 by emaste: dtc: update to upstream 227d6a3
- Report missing includes at the correct location. - Add initial support for the -@ option emitting a symbol table. - Add support for running tests with and without -@ - Add support for generating __fixups__ and __local_fixups__ - Attach the to-string transform to the node path.
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
292876 |
|
29-Dec-2015 |
theraven |
Improvements to BSD-licensed DTC.
- Added an expression parser so that expressions from headers are now working - Fixed missing null terminators on cross references - Disabled exceptions / RTTI in the build for smaller binaries - Changed phandle order generation to be identical to GPL'd dtc
|
#
289935 |
|
25-Oct-2015 |
theraven |
Lots of improvements to the BSD-licensed dtc
- Various fixes to includes (including recursive includes) - Lots of testing that the output exactly matches GPL'd dtc - Lots of bug fixes to merging - Fix incorrect mmap usage - Ad-hoc memory management replaced with C++11 unique_ptr and similar
Patrick Wildt has successfully run many (all?) of the GPL dtc test suite.
|
#
254522 |
|
19-Aug-2013 |
theraven |
Add support for parameterised device tree sources to the device tree compiler.
Reviewed by: brooks Sponsored by: DARPA, AFRL
|
#
245803 |
|
22-Jan-2013 |
theraven |
Import new (BSDL) device tree compiler. Now built by default, so that it can't be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now.
Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
|