[OSS-Tools] [dt-utils] Release 2018.05.1

2018-12-14 Thread Roland Hieber
compilation for glibc version 2.27.9000-36.fc29 and newer configure.ac: change project mail to oss-tools@pengutronix.de Philipp Rosenberger (1): Fix compiler warnings about wrong type conversion in messages. Roland Hieber (2): README: also use oss-tools@pengutronix.de here

[OSS-Tools] [dt-utils] Release 2019.01.0

2019-01-28 Thread Roland Hieber
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 contributors! Changes: * libdt: fix leaks of memory returned

Re: [OSS-Tools] [PATCH dt-utils] state: fix typo

2019-02-07 Thread Roland Hieber
3 100644 > --- a/src/barebox-state/state.h > +++ b/src/barebox-state/state.h > @@ -6,7 +6,7 @@ struct state; > struct mtd_info_user; > > enum state_flags { > - STATE_FLAG_NO_AUTHENTIFICATION = (1 << 0), > + STATE_FLAG_NO_AUTHENTICATION = (1

Re: [OSS-Tools] [PATCH dt-utils 00/12] Diverse patches mainly removing bugs and warnings

2019-02-07 Thread Roland Hieber
34 ++--- > src/barebox-state/backend_storage.c | 20 ++-- > src/base64.c| 17 ++- > src/dt/common.h | 8 ++--- > src/keystore-blob.c | 2 +- > src/libdt.c |

Re: [OSS-Tools] [PATCH dt-utils] state: backend_bucket_circular: fix double free()

2019-09-23 Thread Roland Hieber
only documented an ACK while I actually did > a review to approve the patch. So while applying please replace my > "Acked-by" by an "Reviewed-by". Did so while applying, thanks! - Roland -- Roland Hieber | r.hie...@pengutronix.de | P

Re: [OSS-Tools] [PATCH dt-utils] barebox-mark-successful-boot: adopt naming from barebox

2019-12-12 Thread Roland Hieber
his > ;) > > For me, the changes look reasonable. Any concerns? Roland? Hmm. My barebox 2019.06.0 here still passes the parameter as "bootstate.active=system0", and I cannot find any commit in barebox since then that changes this. Can you point me to a commit? In any cas

Re: [OSS-Tools] [PATCH dt-utils] barebox-mark-successful-boot: adopt naming from barebox

2019-12-12 Thread Roland Hieber
On Thu, Dec 12, 2019 at 12:50:19PM +0100, Roland Hieber wrote: > On Wed, Dec 11, 2019 at 12:25:11PM +0100, Enrico Joerns wrote: > > On 11/16/19 1:44 PM, Christoph Fritz wrote: > > > This patch is adopting current barebox default naming scheme. > > > > >

Re: [OSS-Tools] [PATCH dt-utils 08/13] state: keep backward compatibility

2019-10-22 Thread Roland Hieber
direct->max_size - sizeof(meta)) { > + meta.magic = direct_magic; > + meta.written_length = len; > + ret = write_full(direct->fd, , sizeof(meta)); > + if (ret < 0) { > + dev_err(direct->dev, "Failed to write metadata to file, > %d\n&

Re: [OSS-Tools] [PATCH dt-utils] barebox-mark-successful-boot: adopt naming from barebox

2020-01-19 Thread Roland Hieber
On Fri, Dec 13, 2019 at 01:23:55PM +0100, Christoph Fritz wrote: > On Thu, 2019-12-12 at 13:07 +0100, Roland Hieber wrote: > > On Thu, Dec 12, 2019 at 12:50:19PM +0100, Roland Hieber wrote: > > > On Wed, Dec 11, 2019 at 12:25:11PM +0100, Enrico Joerns wrote: > > > >

Re: [OSS-Tools] [PATCH dt-utils v5 0/2] barebox-state: get devicetree from file

2020-07-09 Thread Roland Hieber
| | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > ___

[OSS-Tools] [PATCH dt-utils 4/4] treewide: add SPDX identifiers to files without license

2021-03-26 Thread Roland Hieber
The project license has been GPL-2.0-only since commit 2b39a389428224d96bbb (2014-11-27, Sascha Hauer: "COPYING: Change to GPLv2"). Reflect this in the file headers. Signed-off-by: Roland Hieber --- Makefile.am | 2 ++ NEWS

[OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2021-03-26 Thread Roland Hieber
Signed-off-by: Roland Hieber --- sizes.h | 12 +--- src/barebox-state/state.c | 11 +-- src/barebox-state/state_variables.c | 11 +-- src/base64.c| 3 +-- src/crypto/sha1.c | 7 +-- src

[OSS-Tools] [PATCH dt-utils 3/4] treewide: add SPDX identifier to files with Zlib license

2021-03-26 Thread Roland Hieber
Signed-off-by: Roland Hieber --- src/crc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crc32.c b/src/crc32.c index 8d4dddcf6129..6d534c996050 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: Zlib */ /* * This file is derived

[OSS-Tools] [PATCH dt-utils 2/4] treewide: add SPDX identifiers to files with GPL-2.0-only license

2021-03-26 Thread Roland Hieber
Signed-off-by: Roland Hieber --- src/barebox-state.c | 10 +- src/barebox-state/backend_bucket_circular.c | 11 +-- src/barebox-state/backend_bucket_direct.c | 11 +-- src/barebox-state/backend_format_dtb.c | 11 +-- src/barebox

[OSS-Tools] [dt-utils] Release 2021.03.0

2021-03-26 Thread Roland Hieber
non-existing functions" - commit 20fb10ce5d55 "state: backend_storage: harmonize code with barebox" - commit e267c877e2ee "state: harmonize code with barebox" - commit 1aeb1e4fdff0 "state: harmonize code with barebox" - commit 81c542966f99 "configu

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2021-03-30 Thread Roland Hieber
Uwe, could I get a Reviewed-by from you for these four patches? :-) - Roland On Fri, Mar 26, 2021 at 10:06:44PM +0100, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > sizes.h | 12 +--- > src/barebox-state/state.c

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2021-03-30 Thread Roland Hieber
On Tue, Mar 30, 2021 at 03:50:19PM +0200, Ahmad Fatoum wrote: > Hello, > > On 30.03.21 15:30, Uwe Kleine-König wrote: > > Hello, > > > > On Tue, Mar 30, 2021 at 01:22:26PM +0200, Ahmad Fatoum wrote: > >> On 30.03.21 13:08, Roland Hieber wrote: > >

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2021-03-31 Thread Roland Hieber
On Tue, Mar 30, 2021 at 07:31:24PM +0200, Ahmad Fatoum wrote: > Hello Roland, > > On 30.03.21 17:53, Roland Hieber wrote: > > On Tue, Mar 30, 2021 at 03:50:19PM +0200, Ahmad Fatoum wrote: > >> Hello, > >> > >> On 30.03.21 15:30, Uwe Kleine-König wrot

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2021-03-31 Thread Roland Hieber
On Wed, Mar 31, 2021 at 12:03:05PM +0200, Roland Hieber wrote: > On Tue, Mar 30, 2021 at 07:31:24PM +0200, Ahmad Fatoum wrote: > > If Zlib says "This notice may not be removed or altered from any > > source distribution.", I interpret this as meaning that we need to ship

Re: [OSS-Tools] [PATCH v2] barebox-state: have the --set option to avoid writes if possible

2021-03-16 Thread Roland Hieber
RR(oldval)) { > + bool equal = strcmp(oldval, val) == 0; > + free(oldval); > + if (equal) > + return 0; > + } > + > ret = vtype->set(sv, val); > if (ret) > return ret; > --

Re: [OSS-Tools] [PATCH dt-utils] state: use /run to store lockfile

2021-03-16 Thread Roland Hieber
ret = flock(lock_fd, LOCK_EX); > if (ret < 0) { > - pr_err("Failed to lock /var/lock/barebox-state: %m\n"); > + pr_err("Failed to lock " BAREBOX_STATE_LOCKFILE ": %m\n"); > close(lock_fd); >

Re: [OSS-Tools] [PATCH dt-utils v5 0/2] barebox-state: get devicetree from file

2021-03-16 Thread Roland Hieber
12 +++- > 4 files changed, 46 insertions(+), 11 deletions(-) > > -- > 2.23.0 > > > _______ > OSS-Tools mailing list > OSS-Tools@pengutronix.de > -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | St

Re: [OSS-Tools] [PATCH] libdt: enumerate amba bus as well

2021-03-16 Thread Roland Hieber
Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > > ___ > OSS-Tools mailing list > OSS-Tools@pengutronix.de --

Re: [OSS-Tools] [PATCH 0/4] improve barebox-state support on EFI system

2022-02-05 Thread Roland Hieber
state: implement helper to find device path from diskuuid > state: support backend-diskuuid / backend-offset > state: automatically find state.dtb in the ESP Thanks. Applied all of them to the 'next' branch, let me know if there are any new comments on the barebox part of patch 3/4 that

Re: [OSS-Tools] [PATCH] libdt: prefer first found disk when looking for block devices

2023-11-06 Thread Roland Hieber
Let's fix this regression by restoring the old behavior of preferring the > first disk. This may not be totally future proof, but it worked ok for > years and a better solution can always be added later with a regular > release. > > Reported-by: Leonard Göhrs > Signed-off-b

Re: [OSS-Tools] [PATCH dt-utils] meson: align libdt-utils version with autotools'

2023-11-06 Thread Roland Hieber
d-by: Enrico Jörns > Signed-off-by: Ahmad Fatoum Reviewed-by: Roland Hieber > --- > meson.build | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/meson.build b/meson.build > index 9579e712dfea..9894d7311bb3 100644 > --- a/meson.build > +++ b/meson.build

Re: [OSS-Tools] [PATCH dt-utils] README: provide git format.subjectPrefix line to copy

2023-11-06 Thread Roland Hieber
it's > more convenient to just provide a command line that can be directly > copied and pasted. > > Cc: Bastian Krause > Signed-off-by: Ahmad Fatoum Reviewed-by: Roland Hieber > --- > README | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --

Re: [OSS-Tools] [PATCH dt-utils] meson: align libdt-utils version with autotools'

2023-11-06 Thread Roland Hieber
On Mon, Nov 06, 2023 at 01:12:48PM +0100, Enrico Jörns wrote: > Am Montag, dem 06.11.2023 um 13:04 +0100 schrieb Roland Hieber: > > On Mon, Nov 06, 2023 at 12:58:22PM +0100, Ahmad Fatoum wrote: > > > Makefile.am has: > > > > > >   LIBDT_CURRENT=6 > >

Re: [OSS-Tools] [PATCH v4 2/3] libdt: add support for barebox, storage-by-uuid

2022-05-15 Thread Roland Hieber
+ return -ENODEV; > + } > + } > + else { > + dev = of_find_device_by_node_path(node->full_name); > + if (!dev) { > + fprintf(stderr, "%s: cannot find device from node > %s\n", __func__, > + node->full_name); > + return -ENODEV; > + } > } > > mtd = of_find_mtd_device(dev); > -- > 2.30.2 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany| Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |

Re: [OSS-Tools] [PATCH v4 0/3] improve barebox-state support on EFI system

2022-05-15 Thread Roland Hieber
> > [1] > https://lore.barebox.org/barebox/20220207094953.949868-1-s.ha...@pengutronix.de/T/#t > > Michael Olbrich (3): > libdt: only requires a partname for mtd > libdt: add support for barebox,storage-by-uuid > state: automatically find state.dtb in the ESP >

Re: [OSS-Tools] [PATCH v2 0/8] state: allow lookup of barebox state partition by Type GUID

2023-07-03 Thread Roland Hieber
> - added Uwe's Reviewed-by > - fix typo spotted by Roland > - Rebase on top of next > - Sync with v2 of barebox series: > - fix typo (Sascha) > - define new cdev_find_child_by_gpt_typeuuid helper (Marco) > - handle case of iterating over partitions before dis

Re: [OSS-Tools] [PATCH 2/8] libdt: factor out u64 sysattr parsing into helper

2023-06-02 Thread Roland Hieber
> - if (!sizestr) > - return -EINVAL; > + ret = udev_device_parse_sysattr_u64(dev, "size", ); > + if (ret) > + return ret; > > - *size = atol(sizestr); > + *outsize = size; > > outpath = udev_device_get_

Re: [OSS-Tools] [PATCH 2/8] libdt: factor out u64 sysattr parsing into helper

2023-06-02 Thread Roland Hieber
On Fri, Jun 02, 2023 at 03:16:13PM +0200, Roland Hieber wrote: > On Wed, May 31, 2023 at 05:22:47PM +0200, Ahmad Fatoum wrote: > > We will need to parse two more sysattrs in a follow-up patch, so factor > > this out for reuse. While at it switch to 64-bit strtoull: This may >

Re: [OSS-Tools] [PATCH 5/5] barebox-state: fix use after free in error path

2023-06-02 Thread Roland Hieber
For the whole series: Reviewed-by: Roland Hieber On Wed, May 31, 2023 at 05:10:15PM +0200, Ahmad Fatoum wrote: > blob_bin is freed a few lines above unconditionally, so freeing it > again in the error path will cause a double free. > > Signed-off-by: Ahmad Fatoum > --- > s

Re: [OSS-Tools] [PATCH 5/8] libdt: use block device partition instead of parent if found

2023-06-05 Thread Roland Hieber
tion_node, >offset, > >size); > } else { > - ret = device_find_block_device(dev, >devpath); > + ret = of_parse_partition(partition_node, >offset, > >size); > if (ret) > return ret; > - return of_parse_partition(partition_node, >offset, > >size); > + return cdev_from_block_device(dev, cdev); > } > > return -EINVAL; > -- > 2.39.2 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany| Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |

Re: [OSS-Tools] [PATCH 0/5] Add meson support and first test suite

2023-06-05 Thread Roland Hieber
5): > Add meson as build system > state: add option to lock device node > meson: add simple integration test > libdt: add CONFIG_TEST_LOOPBACK > test: add barebox-state loop block device tests For all: Tested-by: Roland Hieber >

Re: [OSS-Tools] [PATCH fixup 1/2] libdt: remove ultimately unused variables

2023-06-05 Thread Roland Hieber
another "outpath" occurrence in the 'if (!strcmp(devtype, "disk"))' block above that. - Roland > + if (dev_uuid && !strcasecmp(dev_uuid, uuid)) > return device; > - } > } > return NULL; > }

Re: [OSS-Tools] [PATCH fixup 1/2] libdt: remove ultimately unused variables

2023-06-05 Thread Roland Hieber
outpath = udev_device_get_devnode(device); > + if (dev_uuid && !strcasecmp(dev_uuid, uuid)) > return device; > - } > } > > } > > > -- > Pengutronix e.K. |

Re: [OSS-Tools] [PATCH] libdt: generalize of_find_device_by_uuid for scoped lookup of all UUIDs

2023-06-07 Thread Roland Hieber
quot;; > + else > + continue; > + > + dev_uuid = udev_device_get_property_value(device, property); > + if (dev_uuid && !strcasecmp(dev_uuid, uuid)) > + return device; I wonder

[OSS-Tools] [dt-utils] Release 2023.08.0

2023-08-01 Thread Roland Hieber
: e7cb21e9b4dda104eefec98e632f255e6cdc68b0 * SHA256: 15cda6fdbaaf08711e55b49db4479f3af48660b812d8d587ec9b3fffaa13a0f7 This release includes contributions by Ahmad Fatoum, Alexander Shiyan, Christian Eggers, Marco Felsch, Michael Olbrich, Roland Hieber, Sascha Hauer, Ulrich Ölmann, Uwe Kleine-König, and Yegor Yefremov. Possibly

Re: [OSS-Tools] [PATCH 1/3] meson: options: use defaults of type boolean for boolean options

2023-08-01 Thread Roland Hieber
lt commit: 6dc8b1a948cf063334f4cc6ecef05e769981590a Best regards, -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany| Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 268

Re: [OSS-Tools] [PATCH dt-utils] README: clarify the need for "real names" with the DCO process

2023-08-01 Thread Roland Hieber
On Mon, 31 Jul 2023 10:51:29 +0200, Roland Hieber wrote: > The Linux kernel recently changed the wording of "real names" to "known > identities" (see commit d4563201f33a022fc035, 2023-02-26, Linus > Torvalds: "Documentation: simplify and clarify DCO contribution

Re: [OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to the REUSE specification

2023-08-01 Thread Roland Hieber
On Mon, 31 Jul 2023 11:11:22 +0200, Roland Hieber wrote: > The REUSE specification [1] makes it possible to distribute license > information in a machine-readable manner, and build a Software Bill of > Material from the source files, by building on top of the SPDX > specification

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2023-08-01 Thread Roland Hieber
On Fri, 26 Mar 2021 22:06:44 +0100, Roland Hieber wrote: > Applied, thanks! [1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license commit: c1880166d1e34efcf606297c8189b228aa78f78a [2/4] treewide: add SPDX identifiers to files with GPL-2.0-only license com

Re: [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2023-08-01 Thread Roland Hieber
On Tue, Aug 01, 2023 at 12:10:18PM +0200, Roland Hieber wrote: > > On Fri, 26 Mar 2021 22:06:44 +0100, Roland Hieber wrote: > > > > > Applied, thanks! > > [1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license > commit: c1880166d1e34ef

Re: [OSS-Tools] [PATCH 2/3] test: add test case with non-existent /dev/file

2023-07-27 Thread Roland Hieber
file"; > + barebox,filename = __GPT_LOOPDEV__; > + barebox,blockdev; > + }; > +}; > + > + { > + backend = <>; > + backend-type = "raw"; > + backend-stridesize = <0x40>; > + backend-storage-type = "direct"

Re: [OSS-Tools] [PATCH 3/3] meson: set optimization level to -O2 by default

2023-07-27 Thread Roland Hieber
On Mon, Jun 12, 2023 at 02:07:54PM +0200, Ahmad Fatoum wrote: > From: Ahmad Fatoum > > We shouldn't expect users to override optimization levels, so let's have > a sensible default. > > Signed-off-by: Ahmad Fatoum Reviewed-by: Roland Hieber > --- > meson.build |

Re: [OSS-Tools] [PATCH 1/3] meson: options: use defaults of type boolean for boolean options

2023-07-27 Thread Roland Hieber
Signed-off-by: Ahmad Fatoum > --- Reviewed-by: Roland Hieber > meson_options.txt | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/meson_options.txt b/meson_options.txt > index f80643aa6c73..04d9854a4b1b 100644 > --- a/meson_options.txt

[OSS-Tools] [PATCH dt-utils v2 5/9] treewide: add CC0-1.0 SPDX identifiers for trivial files

2023-07-31 Thread Roland Hieber
Add license text from the SPDX website [1]. [1]: https://spdx.org/licenses/CC0-1.0.html Signed-off-by: Roland Hieber --- PATCH v2: new in series v2 --- LICENSES/CC0-1.0.txt | 121 +++ src/asm/unaligned.h | 1 + src/crc.h| 1 + src

[OSS-Tools] [PATCH dt-utils v2 9/9] README: mention compatibility with the REUSE specification

2023-07-31 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: new in series v2 --- README | 4 1 file changed, 4 insertions(+) diff --git a/README b/README index 3f53b47c03f8..9a0ab79c0167 100644 --- a/README +++ b/README @@ -75,3 +75,7 @@ This program is distributed in the hope that it will be useful

[OSS-Tools] [PATCH dt-utils v2 1/9] treewide: add SPDX identifiers to files with GPL-2.0-only license

2023-07-31 Thread Roland Hieber
ewhere, so make it point to the new location of the GPL. Link: [1] https://www.gnu.org/licenses/gpl-faq.html#GPLOmitPreamble Link: [2] https://reuse.software/faq/#edit-copyright-and-licensing Signed-off-by: Roland Hieber -- PATCH v2: * move COPYING to LICENSES/GPL-2.0-only.txt * use the comple

[OSS-Tools] [PATCH dt-utils v2 8/9] DCO: add SPDX license information

2023-07-31 Thread Roland Hieber
There is nothing prefabricated yet, so use a custom LicenseRef instead. Signed-off-by: Roland Hieber --- PATCH v2: new in series v2 --- DCO | 2 ++ LICENSES/LicenseRef-DCO.txt | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 LICENSES/LicenseRef-DCO.txt diff

[OSS-Tools] [PATCH dt-utils v2 3/9] treewide: add SPDX identifiers to files with GPL-3.0-or-later license

2023-07-31 Thread Roland Hieber
Use GPL-3.0-or-later license text from the SPDX website [1], and add the boilerplate headers. [1]: https://spdx.org/licenses/GPL-3.0-or-later Signed-off-by: Roland Hieber --- PATCH v2: new in series v2 --- LICENSES/GPL-3.0-or-later.txt | 672 ++ check-news.sh

[OSS-Tools] [PATCH dt-utils v2 6/9] treewide: add GPL-2.0-only SPDX identifiers to files without license

2023-07-31 Thread Roland Hieber
ix.de/cgit/tools/dt-utils/commit/?id=2b39a389428224d96bbb Signed-off-by: Roland Hieber --- PATCH v2: * rebase to next branch and add remaining files PATCH v1: https://lore.pengutronix.org/oss-tools/20210326210647.8648-4-...@pengutronix.de --- .gitignore

[OSS-Tools] [PATCH dt-utils v2 4/9] treewide: add SPDX identifier to file with Zlib license

2023-07-31 Thread Roland Hieber
We don't have any zlib.h anyway, so the line in src/crc32.c is meaningless. Add Zlib license from the SPDX website [1]. [1]: https://spdx.org/licenses/Zlib.html Reviewed-by: Uwe Kleine-König Signed-off-by: Roland Hieber --- PATCH v2: * add LICENSES/Zlib.txt PATCH v1: https

[OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to the REUSE specification

2023-07-31 Thread Roland Hieber
out a SBoM in SPDX format. Roland Hieber (9): treewide: add SPDX identifiers to files with GPL-2.0-only license treewide: add SPDX identifiers to files with GPL-2.0-or-later license treewide: add SPDX identifiers to files with GPL-3.0-or-later license treewide: add SPDX identifier to file

[OSS-Tools] [PATCH dt-utils v2 2/9] treewide: add SPDX identifiers to files with GPL-2.0-or-later license

2023-07-31 Thread Roland Hieber
Use the same license text as for GPL-2.0-only, but with different boilerplate headers. Signed-off-by: Roland Hieber -- PATCH v2: * add LICENSES/GPL-2.0-or-later.txt * don't remove boilerplate license headers, see my own comment: https://lore.pengutronix.org/oss-tools/20210331100305

[OSS-Tools] [PATCH dt-utils v2 7/9] treewide: add trivial copyright headers

2023-07-31 Thread Roland Hieber
'reuse lint' warns about files without copyright information, and refuses to give us the spec compliance checkmark. Add trivial copyright lines to all remaining files that don't have any yet. Signed-off-by: Roland Hieber --- PATCH v2: new in series v2 --- .gitignore

[OSS-Tools] [PATCH dt-utils] README: clarify the need for "real names" with the DCO process

2023-07-31 Thread Roland Hieber
rs in our Git history by names that are probably not their "real names". Follow the reasoning in the kernel guidelines in that regard, and adapt our wording accordingly. Link: https://git.kernel.org/torvalds/c/d4563201f33a022fc035 Signed-off-by: Roland Hieber --- README | 4 ++-- 1 file change

Re: [OSS-Tools] [PATCH] libdt: generalize of_find_device_by_uuid for scoped lookup of all UUIDs

2023-06-14 Thread Roland Hieber
On Wed, Jun 07, 2023 at 01:00:29PM +0200, Ahmad Fatoum wrote: > Hello Roland, > > On 07.06.23 10:33, Roland Hieber wrote: > > On Mon, Jun 05, 2023 at 04:32:36PM +0200, Ahmad Fatoum wrote: > >> Despite the generic name, of_find_device_by_uuid only handled > >

[OSS-Tools] [dt-utils] Release 2023.11.0

2023-11-24 Thread Roland Hieber
jectPrefix line to copy" * commit 1cd62596dbd7 "meson: align libdt-utils version with autotools'" This release includes contributions by Ahmad Fatoum, Enrico Jörns, Leonard Göhrs, and Roland Hieber. Thank you to all contributors! -- Roland Hieber, Pengutronix e.K. | r.hie...@pen

Re: [OSS-Tools] [PATCH dt-utils v2] meson: align libdt-utils version with autotools'

2023-11-24 Thread Roland Hieber
_args : ['-include', meson.current_build_dir() / 'version.h'], >dependencies : [udevdep, versiondep], >gnu_symbol_visibility : 'default', > + version: '@0@.@1@.@2@'.format(lt_current - lt_age, lt_age, lt_revision), >install : true) > > executable('barebox-state', &g

Re: [OSS-Tools] [PATCH] libdt: prefer first found disk when looking for block devices

2023-11-24 Thread Roland Hieber
quot;)) { > + if (!strcmp(devtype, "disk") && !best_match) { > best_match = part; > > /* Should we try to find a matching partition first? */ > -- > 2.39.2 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@pe

Re: [OSS-Tools] [PATCH dt-utils] README: provide git format.subjectPrefix line to copy

2023-11-24 Thread Roland Hieber
+git config format.subjectPrefix "PATCH dt-utils" > + > Mails sent to this mailing list are also archived at > ><https://lore.pengutronix.de/oss-tools/> > -- > 2.39.2 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutro

Re: [OSS-Tools] [dt-utils] Release 2023.11.0

2023-11-27 Thread Roland Hieber
On Fri, Nov 24, 2023 at 01:09:40PM +0100, Ahmad Fatoum wrote: > On 24.11.23 12:04, Roland Hieber wrote: > > Hi, > > > > I've just release dt-utils version 2023.11.0. You can download it at the > > usual location: > > > > > > https://public.pengut