* [ptxdist] [PATCH 1/2] dt-utils: add license files
@ 2021-03-26 21:29 Roland Hieber
2021-03-26 21:29 ` [ptxdist] [PATCH 2/2] dt-utils: version bump 2019.01.0 -> 2021.03.0 Roland Hieber
2021-03-30 18:07 ` [ptxdist] [APPLIED] dt-utils: add license files Michael Olbrich
0 siblings, 2 replies; 4+ messages in thread
From: Roland Hieber @ 2021-03-26 21:29 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/dt-utils.make | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rules/dt-utils.make b/rules/dt-utils.make
index 776d0dd3f093..ce86738bf614 100644
--- a/rules/dt-utils.make
+++ b/rules/dt-utils.make
@@ -22,6 +22,9 @@ DT_UTILS_URL := https://public.pengutronix.de/software/dt-utils/$(DT_UTILS).$(D
DT_UTILS_SOURCE := $(SRCDIR)/$(DT_UTILS).$(DT_UTILS_SUFFIX)
DT_UTILS_DIR := $(BUILDDIR)/$(DT_UTILS)
DT_UTILS_LICENSE := GPL-2.0-only
+DT_UTILS_LICENSE_FILES := \
+ file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
+ file://src/barebox-state.c;startline=6;endline=13;md5=d2a3fab9d93cf1e5a939e59f75cfc921
# ----------------------------------------------------------------------------
# Prepare
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH 2/2] dt-utils: version bump 2019.01.0 -> 2021.03.0
2021-03-26 21:29 [ptxdist] [PATCH 1/2] dt-utils: add license files Roland Hieber
@ 2021-03-26 21:29 ` Roland Hieber
2021-03-30 18:07 ` [ptxdist] [APPLIED] " Michael Olbrich
2021-03-30 18:07 ` [ptxdist] [APPLIED] dt-utils: add license files Michael Olbrich
1 sibling, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2021-03-26 21:29 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/dt-utils.in | 20 ++++++++++++++++++--
rules/dt-utils.make | 8 ++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/rules/dt-utils.in b/rules/dt-utils.in
index 7ce0e579c98c..2ac7383f2ab8 100644
--- a/rules/dt-utils.in
+++ b/rules/dt-utils.in
@@ -1,11 +1,27 @@
## SECTION=shell_and_console
-config DT_UTILS
+menuconfig DT_UTILS
tristate
- prompt "dt-utils"
+ prompt "dt-utils "
select UDEV
help
Utilities to work with device trees in Linux userspace:
* barebox-state: access barebox' state storage
* fdtdump: dump a device tree binary to stdout
+
+if DT_UTILS
+
+config DT_UTILS_STATE_COMPAT
+ bool "ensure state compatibility with older bareboxes"
+ help
+ Previous variants of the state variable set did not contain metadata.
+ The read function in the 'direct' storage backend honors this, but the
+ write function doesn't, which makes an update of the state variable
+ set impossible in this case.
+ When enabling this option, barebox-state will keep the storage in a
+ format that can be read by barebox <= v2016.08.0 when writing
+ variables into a 'direct' storage backend, or fail if this requirement
+ cannot be guaranteed.
+
+endif
diff --git a/rules/dt-utils.make b/rules/dt-utils.make
index ce86738bf614..0c2fe87cddb7 100644
--- a/rules/dt-utils.make
+++ b/rules/dt-utils.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_DT_UTILS) += dt-utils
#
# Paths and names
#
-DT_UTILS_VERSION := 2019.01.0
-DT_UTILS_MD5 := d83ebf99b07fa4516aeaa329afb2a6eb
+DT_UTILS_VERSION := 2021.03.0
+DT_UTILS_MD5 := acf0b5e3b18e40e6172b67fbad2e52fb
DT_UTILS := dt-utils-$(DT_UTILS_VERSION)
DT_UTILS_SUFFIX := tar.xz
DT_UTILS_URL := https://public.pengutronix.de/software/dt-utils/$(DT_UTILS).$(DT_UTILS_SUFFIX)
@@ -31,6 +31,10 @@ DT_UTILS_LICENSE_FILES := \
# ----------------------------------------------------------------------------
DT_UTILS_CONF_TOOL := autoconf
+DT_UTILS_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --$(call ptx/endis, PTXCONF_DT_UTILS_STATE_COMPAT)-state-backward-compatibility
# ----------------------------------------------------------------------------
# Target-Install
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] dt-utils: version bump 2019.01.0 -> 2021.03.0
2021-03-26 21:29 ` [ptxdist] [PATCH 2/2] dt-utils: version bump 2019.01.0 -> 2021.03.0 Roland Hieber
@ 2021-03-30 18:07 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2021-03-30 18:07 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Thanks, applied as 4226664786bd6e9a539a15367162554d75ef817d.
Michael
[sent from post-receive hook]
On Tue, 30 Mar 2021 20:07:59 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20210326212909.3472-2-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/dt-utils.in b/rules/dt-utils.in
> index 7ce0e579c98c..2ac7383f2ab8 100644
> --- a/rules/dt-utils.in
> +++ b/rules/dt-utils.in
> @@ -1,11 +1,27 @@
> ## SECTION=shell_and_console
>
> -config DT_UTILS
> +menuconfig DT_UTILS
> tristate
> - prompt "dt-utils"
> + prompt "dt-utils "
> select UDEV
> help
> Utilities to work with device trees in Linux userspace:
>
> * barebox-state: access barebox' state storage
> * fdtdump: dump a device tree binary to stdout
> +
> +if DT_UTILS
> +
> +config DT_UTILS_STATE_COMPAT
> + bool "ensure state compatibility with older bareboxes"
> + help
> + Previous variants of the state variable set did not contain metadata.
> + The read function in the 'direct' storage backend honors this, but the
> + write function doesn't, which makes an update of the state variable
> + set impossible in this case.
> + When enabling this option, barebox-state will keep the storage in a
> + format that can be read by barebox <= v2016.08.0 when writing
> + variables into a 'direct' storage backend, or fail if this requirement
> + cannot be guaranteed.
> +
> +endif
> diff --git a/rules/dt-utils.make b/rules/dt-utils.make
> index ce86738bf614..0c2fe87cddb7 100644
> --- a/rules/dt-utils.make
> +++ b/rules/dt-utils.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_DT_UTILS) += dt-utils
> #
> # Paths and names
> #
> -DT_UTILS_VERSION := 2019.01.0
> -DT_UTILS_MD5 := d83ebf99b07fa4516aeaa329afb2a6eb
> +DT_UTILS_VERSION := 2021.03.0
> +DT_UTILS_MD5 := acf0b5e3b18e40e6172b67fbad2e52fb
> DT_UTILS := dt-utils-$(DT_UTILS_VERSION)
> DT_UTILS_SUFFIX := tar.xz
> DT_UTILS_URL := https://public.pengutronix.de/software/dt-utils/$(DT_UTILS).$(DT_UTILS_SUFFIX)
> @@ -31,6 +31,10 @@ DT_UTILS_LICENSE_FILES := \
> # ----------------------------------------------------------------------------
>
> DT_UTILS_CONF_TOOL := autoconf
> +DT_UTILS_CONF_OPT := \
> + $(CROSS_AUTOCONF_USR) \
> + $(GLOBAL_LARGE_FILE_OPTION) \
> + --$(call ptx/endis, PTXCONF_DT_UTILS_STATE_COMPAT)-state-backward-compatibility
>
> # ----------------------------------------------------------------------------
> # Target-Install
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] dt-utils: add license files
2021-03-26 21:29 [ptxdist] [PATCH 1/2] dt-utils: add license files Roland Hieber
2021-03-26 21:29 ` [ptxdist] [PATCH 2/2] dt-utils: version bump 2019.01.0 -> 2021.03.0 Roland Hieber
@ 2021-03-30 18:07 ` Michael Olbrich
1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2021-03-30 18:07 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Thanks, applied as 43545647b71ca6df9d0cb1b5ddec9f7cf8fa883a.
Michael
[sent from post-receive hook]
On Tue, 30 Mar 2021 20:07:58 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20210326212909.3472-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/dt-utils.make b/rules/dt-utils.make
> index 776d0dd3f093..ce86738bf614 100644
> --- a/rules/dt-utils.make
> +++ b/rules/dt-utils.make
> @@ -22,6 +22,9 @@ DT_UTILS_URL := https://public.pengutronix.de/software/dt-utils/$(DT_UTILS).$(D
> DT_UTILS_SOURCE := $(SRCDIR)/$(DT_UTILS).$(DT_UTILS_SUFFIX)
> DT_UTILS_DIR := $(BUILDDIR)/$(DT_UTILS)
> DT_UTILS_LICENSE := GPL-2.0-only
> +DT_UTILS_LICENSE_FILES := \
> + file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
> + file://src/barebox-state.c;startline=6;endline=13;md5=d2a3fab9d93cf1e5a939e59f75cfc921
>
> # ----------------------------------------------------------------------------
> # Prepare
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-30 18:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 21:29 [ptxdist] [PATCH 1/2] dt-utils: add license files Roland Hieber
2021-03-26 21:29 ` [ptxdist] [PATCH 2/2] dt-utils: version bump 2019.01.0 -> 2021.03.0 Roland Hieber
2021-03-30 18:07 ` [ptxdist] [APPLIED] " Michael Olbrich
2021-03-30 18:07 ` [ptxdist] [APPLIED] dt-utils: add license files Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox