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
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
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
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 |
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
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
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.
> > >
> >
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&
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:
> > > >
| |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
>
> ___
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
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
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
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
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
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
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:
> >
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
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
RR(oldval)) {
> + bool equal = strcmp(oldval, val) == 0;
> + free(oldval);
> + if (equal)
> + return 0;
> + }
> +
> ret = vtype->set(sv, val);
> if (ret)
> return ret;
> --
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);
>
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
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
--
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
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
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
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 --
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
> >
+ 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- |
>
> [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
>
> - 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
> - 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_
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
>
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
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- |
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
>
another "outpath" occurrence in the
'if (!strcmp(devtype, "disk"))' block above that.
- Roland
> + if (dev_uuid && !strcasecmp(dev_uuid, uuid))
> return device;
> - }
> }
> return NULL;
> }
outpath = udev_device_get_devnode(device);
> + if (dev_uuid && !strcasecmp(dev_uuid, uuid))
> return device;
> - }
> }
>
> }
>
>
> --
> Pengutronix e.K. |
quot;;
> + else
> + continue;
> +
> + dev_uuid = udev_device_get_property_value(device, property);
> + if (dev_uuid && !strcasecmp(dev_uuid, uuid))
> + return device;
I wonder
: 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
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
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
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
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
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
file";
> + barebox,filename = __GPT_LOOPDEV__;
> + barebox,blockdev;
> + };
> +};
> +
> + {
> + backend = <>;
> + backend-type = "raw";
> + backend-stridesize = <0x40>;
> + backend-storage-type = "direct"
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 |
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
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
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
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
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
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
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
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
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
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
'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
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
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
> >
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
_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
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
+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
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
65 matches
Mail list logo