diff options
authorRoland Hieber <>2019-01-28 12:37:23 +0100
committerRoland Hieber <>2019-01-28 12:37:23 +0100
commit93aacefb15de520e14a7a6972577c94d36b44933 (patch)
parent1e3f8d8ffba7811018861d26d72242543f39cb58 (diff)
Release 2019.01.0v2019.01.0
Signed-off-by: Roland Hieber <>
3 files changed, 45 insertions, 3 deletions
diff --git a/ b/
index da6336a..64741fc 100644
--- a/
+++ b/
@@ -39,8 +39,8 @@ SED_PROCESS = \
# then increment age.
# If any interfaces have been removed or changed since the last release,
# then set age to 0.
pkginclude_HEADERS = \
diff --git a/NEWS b/NEWS
index 3564d9e..b876f6a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,45 @@
+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
diff --git a/ b/
index 12726b3..777f495 100644
--- a/
+++ b/
@@ -1,6 +1,6 @@
- [2018.05.1],
+ [2019.01.0],