dt-utils / NEWS
@Roland Hieber Roland Hieber on 28 Jan 2019 5 KB Release 2019.01.0
dt-utils 2019.01.0
This release includes contributions from Andrey Smirnov, Antony Pavlov, Daniel Schultz, Enrico
Jorns, Ian Abbott, Juergen Borleis, Ladislav Michl, Lucas Stach, Michael Olbrich, Philipp Zabel,
Roland Hieber, Sam Ravnborg, Sascha Hauer, Ulrich Ölmann, and Uwe Kleine-König. Thanks to all

* libdt: fix leaks of memory returned by read_file() calls
* libdt: xzalloc: die on failure, like the similar-named kernel function
* libdt: add of_property_write_string() as a convenience function to set a property to a string
* libdt: add dev_set_name() as a convenience function to set a device's name
* state: harmonize our implementation with upstream barebox:
  - Fixes:
    . backend_bucket_circular: fix the case when write size is not a power of 2
    . backend_bucket_circular: fix length check when reading old state format
    . backend_bucket_circular: fix two memory leaks
    . backend_storage: don't refresh the storage needlessly
    . fix error return value when state_new_from_node() cannot resolve a phandle
    . fix use-after-free in state_backend_format_dtb_pack()
    . make finding the backend node more robust by using its reproducible name
    . remove checks for xzalloc() returning NULL, which cannot happen
    . do not complain about missing backend-storage-type, which is irrelevant for mtd devices
  - Potentially breaking changes:
    . make pointing to the backend using a phandle the only supported method
    . state nodes without an alias in the /aliases/ node now lead to an error. barebox already creates
      a missing alias in the fixupped device tree automatically since v2017.06.0.
    . refuse to set the read-only 'dirty' state variable
    . remove unused arguments from state_new_from_node()
  - New features:
    . add new 'init_from_defaults' state variable to allow detection whether a state has been
      initialized from default values, i.e. state_load() failed.
    . add an internal variable to protect existing data in a state bucket and make updates of the
      state implementation more robust
    . add new function state_read_mac() to read a MAC address from state
    . notify when the old state format is detected (this was previously a debugging message)
    . provide an error message when an error occurs in state_convert_node_variable()
    . add more debugging messages
  - port several changes to barebox's fixup functions, but since device trees are already fixupped at
    boot time, this code is never used by dt-utils
  - some further minor refactoring as well fixing some typos and documentation comments

dt-utils 2018.05.1
change project mail to
fix compilation for glibc version 2.27.9000-36.fc29 and newer ("redefinition of 'struct statx'")
fix compiler warnings on gcc >= 6 about wrong type conversion in messages

dt-utils 2018.05.0

barebox-state: block while waiting for file lock
barebox-state: Fail for unhandled arguments
barebox-state: fix termination of long_options[] to fix segfault
common: Include sys/types.h header to fix build with musl
common: Rename strlcpy to DT_strlcpy to fix build with uClibc
barebox-state: backend_raw: init digest earlier

dt-utils 2017.03.0
barebox-state: Support new OF partition binding with partitions node
barebox-state: Support reading state even when it can't be authenticated (-f)
barebox-state: Fix -EUCLEAN handling: Data is valid when -EUCLEAN is returned
barebox-state: Sync with barebox codebase

dt-utils 2016.12.0
libdt: cache udev scan results
libdt: limit device enumeration
barebox-state: fall back to /state if there is no alias defined
backend_storage: fix missing include
libdt: take the parent to search for block devices

dt-utils 2016.08.0
barebox-state: Fix printing variable on get.
barebox-state: Fix exit code for missing or invalid argument.

dt-utils 2016.07.2
barebox-state: Restore backwards compatibility with older versions and add
blockdevice detection.

dt-utils 2016.07.1
barebox-state: Support to use multiple state frameworks at for the same call.
dtblint: new checks for pinctrl-imx6q and imx*-fec.

dt-utils 2016.07.0
barebox-state: Update to latest mainline state. This also speeds up reading of

dt-utils 2016.05.2
barebox-state: Fix info outputs to be on stderr

dt-utils 2016.05.1
barebox-state: Update bitflip handling

dt-utils 2016.05.0
barebox-state: Update to refactored state code from barebox
barebox-state: Add a global lock

dt-utils 2016.02.0
keystore-blob: Uses system independent path to blob_gen

dt-utils 2015.10.0
Resync with barebox.
Add support for imx6 based caam keystore

dt-utils 2015.06.1
Resync with barebox.
- string support: trailing zero not needed

dt-utils 2015.06.0
Resync with barebox.
- add hmac support
- add uint8 and string support

dt-utils 2015.05.1
Resync with barebox.

dt-utils 2015.05.0
Renamed to dt-utils.

libdt 2014.11.0
Initial release.