Re: [ptxdist] [PATCH 2/2] bbinit: Modify the start order of the rc-once script

2021-01-08 Thread Michael Olbrich
On Mon, Dec 28, 2020 at 11:59:37AM +0800, yd.zhang wrote:
> The script may be executed before S01rootrw, will operate on
> read-only root. So change start order to S02.

This makes no sense: rc-once should handle its own remounting as needed.

Michael

> 
> Signed-off-by: yd.zhang 
> ---
>  rules/rc-once-bbinit.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/rc-once-bbinit.in b/rules/rc-once-bbinit.in
> index f14de0d79..c75ded458 100644
> --- a/rules/rc-once-bbinit.in
> +++ b/rules/rc-once-bbinit.in
> @@ -4,5 +4,5 @@ config RC_ONCE_BBINIT_LINK
>   string
>   depends on RC_ONCE
>   prompt "rc-once"
> - default "S01rc-once"
> + default "S02rc-once"
>  
> -- 
> 2.29.2
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread robin

Hi Michael,

On 2021-01-08 09:57, Michael Olbrich wrote:

On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:

Signed-off-by: Robin van der Gracht 


Hmm, shouldn't optee be updated as well?


You are right.

If thats OK with Rouven I'll add a patch that bumbs the optee
package's version to 3.11.0 as well.

Robin

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] configure_helper: ignore new Meson builtin options

2021-01-08 Thread Philipp Zabel
Ignore new Meson builtin options "force_fallback_for" (since 0.55)
and "unity_size" (since 0.54).

Signed-off-by: Philipp Zabel 
---
 scripts/configure_helper.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/configure_helper.py b/scripts/configure_helper.py
index 1735f9b7d0d5..177b609f0b3b 100755
--- a/scripts/configure_helper.py
+++ b/scripts/configure_helper.py
@@ -137,6 +137,7 @@ meson_blacklist = [
"debug",
"default_library",
"errorlogs",
+   "force_fallback_for",
"includedir",
"infodir",
"install_umask",
@@ -153,6 +154,7 @@ meson_blacklist = [
"strip",
"sysconfdir",
"unity",
+   "unity_size",
"warning_level",
"werror",
"wrap_mode",
-- 
2.20.1


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread Michael Olbrich
On Fri, Jan 08, 2021 at 10:51:43AM +0100, Rouven Czerwinski wrote:
> On Fri, 2021-01-08 at 09:57 +0100, Michael Olbrich wrote:
> > On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:
> > > Signed-off-by: Robin van der Gracht 
> > 
> > Hmm, shouldn't optee be updated as well?
> > 
> > Rouven, what do you think?
> 
> Yep and the tests should be updated as well.
> 
> For the OP-TEE OS Update you'll need to add checks for the correct
> python3 module availability within ptxdist as well.

Probably s/HOST_SYSTEM_PYTHON/HOST_SYSTEM_PYTHON3/ right? Or are new
packages needed?

Michael


-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread Rouven Czerwinski
On Fri, 2021-01-08 at 11:01 +0100, Michael Olbrich wrote:
> On Fri, Jan 08, 2021 at 10:51:43AM +0100, Rouven Czerwinski wrote:
> > On Fri, 2021-01-08 at 09:57 +0100, Michael Olbrich wrote:
> > > On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:
> > > > Signed-off-by: Robin van der Gracht 
> > > 
> > > Hmm, shouldn't optee be updated as well?
> > > 
> > > Rouven, what do you think?
> > 
> > Yep and the tests should be updated as well.
> > 
> > For the OP-TEE OS Update you'll need to add checks for the correct
> > python3 module availability within ptxdist as well.
> 
> Probably s/HOST_SYSTEM_PYTHON/HOST_SYSTEM_PYTHON3/ right? Or are new
> packages needed?

OP-TEE OS currently requires python3-cryptodome and python3-pyelftools
to build. Same should be true for the TAs build in the test repository,
since they use the same scripts from the ta-devkit.

Regards,
Rouven



___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread Michael Olbrich
On Fri, Jan 08, 2021 at 11:26:02AM +0100, Rouven Czerwinski wrote:
> On Fri, 2021-01-08 at 11:01 +0100, Michael Olbrich wrote:
> > On Fri, Jan 08, 2021 at 10:51:43AM +0100, Rouven Czerwinski wrote:
> > > On Fri, 2021-01-08 at 09:57 +0100, Michael Olbrich wrote:
> > > > On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:
> > > > > Signed-off-by: Robin van der Gracht 
> > > > 
> > > > Hmm, shouldn't optee be updated as well?
> > > > 
> > > > Rouven, what do you think?
> > > 
> > > Yep and the tests should be updated as well.
> > > 
> > > For the OP-TEE OS Update you'll need to add checks for the correct
> > > python3 module availability within ptxdist as well.
> > 
> > Probably s/HOST_SYSTEM_PYTHON/HOST_SYSTEM_PYTHON3/ right? Or are new
> > packages needed?
> 
> OP-TEE OS currently requires python3-cryptodome and python3-pyelftools
> to build. Same should be true for the TAs build in the test repository,
> since they use the same scripts from the ta-devkit.

So this will require new HOST_SYSTEM_PYTHON3_* options.
Robin, please add and select them. This should be quite trivial. Just copy
what the other options are doing.

Michael

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [GIT PULL] host-mfgtools: version bump 1.3.191 -> 1.4.43

2021-01-08 Thread Denis Osterland-Heim
Hi Michael,

Yes, of course.
I will do so the next time.

Regards, Denis

Am Freitag, den 08.01.2021, 10:16 +0100 schrieb m.olbr...@pengutronix.de:
> On Fri, Dec 18, 2020 at 02:44:10PM +, Denis Osterland-Heim wrote:
> > Hi Michael,
> >
> > Can you pull the commit
> > c53b6b733 ("host-mfgtools: version bump 1.3.191 -> 1.4.43")
> > from https://github.com/OsterlaD/ptxdist.git branch pkg/host-mfgtools?
>
> Thanks, applied. Can you try using mail attachments for the next patch?
> That makes it easier to review and I should still be able to apply it.
>
> Michael
>
> > base-commit: 9691bb8bb ("migrate_platform: fix migration helper for 
> > TF_A_PLATFORM(S)")
> >
> > Am Freitag, den 11.12.2020, 08:25 +0100 schrieb Michael Olbrich:
> > > On Mon, Dec 07, 2020 at 04:46:40PM +, Denis Osterland-Heim wrote:
> > > > Signed-off-by: Denis Osterland-Heim 
> > > > ---
> > > >  rules/host-mfgtools.make | 4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make
> > > > index a99ad6055..c8c689c7a 100644
> > > > --- a/rules/host-mfgtools.make
> > > > +++ b/rules/host-mfgtools.make
> > > > @@ -11,8 +11,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) += 
> > > > host-mfgtools
> > > >  #
> > > >  # Paths and names
> > > >  #
> > > > -HOST_MFGTOOLS_VERSION:= 1.3.191
> > > > -HOST_MFGTOOLS_MD5:= f77be0d7a5aaafbae063eb61bd4207ea
> > > > +HOST_MFGTOOLS_VERSION:= 1.4.43
> > > > +HOST_MFGTOOLS_MD5:= a2bebba983cf9ecce1499c86d38afa78
> > >
> > > Your Email Client broke the whitespaces in this patch.
> > >
> > > Michael
> > >
> > > >  HOST_MFGTOOLS:= mfgtools-$(HOST_MFGTOOLS_VERSION)
> > > >  HOST_MFGTOOLS_SUFFIX:= tar.gz
> > > >  HOST_MFGTOOLS_URL:= 
> > > > https://github.com/NXPmicro/mfgtools/releases/download/uuu_$(HOST_MFGTOOLS_VERSION)/uuu_source-$(HOST_MFGTOOLS_VERSION).$(HOST_MFGTOOLS_SUFFIX)
> > > > --
> > > > 2.29.2
> > > >
> > > > Diehl Connectivity Solutions GmbH
> > > > Geschäftsführung: Horst Leonberger
> > > > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> > > > Nürnberg: HRB 32315
> > > >
> > > > 
> > > >
> > > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese 
> > > > E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
> > > > Informationen.
> > > > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise 
> > > > erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> > > > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, 
> > > > Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> > > >
> > > > - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, 
> > > > erhalten Sie unter:
> > > >
> > > > https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> > > >
> > > > The contents of the above mentioned e-mail is not legally binding. This 
> > > > e-mail contains confidential and/or legally protected information. 
> > > > Please inform us if you have received this e-mail by
> > > > mistake and delete it in such a case. Each unauthorized reproduction, 
> > > > disclosure, alteration, distribution and/or publication of this e-mail 
> > > > is strictly prohibited.
> > > >
> > > > - For general information on data protection and your respective rights 
> > > > please visit:
> > > >
> > > > https://www.diehl.com/group/en/transparency-and-information-obligations/
> > > >
> > > >
> > > >
> > > > ___
> > > > ptxdist mailing list
> > > > ptxdist@pengutronix.de
> > > > To unsubscribe, send a mail with subject "unsubscribe" to 
> > > > ptxdist-requ...@pengutronix.de
> > > >
> >
> > Diehl Connectivity Solutions GmbH
> > Geschäftsführung: Horst Leonberger
> > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> > Nürnberg: HRB 32315
> >
> > 
> >
> > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese 
> > E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise 
> > erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
> > und/oder Publikation dieser E-Mail ist strengstens untersagt.
> >
> > - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten 
> > Sie unter:
> >
> > https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> >
> > The contents of the above mentioned e-mail is not legally binding. This 
> > e-mail contains confidential and/or legally protected information. Please 
> > inform us if you have received this e-mail by
> > mistake and delete it in such a case. Each unauthorized reproduction, 
> > disclosure, alteration, distribution and/or publication of this e-mail is 
> > strictly prohibited.
> >
> > - For general information on data protection and your 

Re: [ptxdist] [PATCH v2 2/2] optee-client: Make RPMB emulation configurable

2021-01-08 Thread Michael Olbrich
On Thu, Dec 17, 2020 at 09:30:26AM +0100, Robin van der Gracht wrote:
> Enabled by default for backwards compatibility.
> The added patch was pulled from the optee-client git repository. It will
> be included in the next optee-client release.

Rouven, can you take a look at this?

> Signed-off-by: Robin van der Gracht 
> ---
> 
> v2: Added the missing optee-client.in changes.
> 
>  ...ake-RPMB_EMU-a-conditional-assignmen.patch | 36 +++
>  rules/optee-client.in |  5 +++
>  rules/optee-client.make   |  1 +
>  3 files changed, 42 insertions(+)
>  create mode 100644 
> patches/optee-client-3.11.0/0001-tee-supplicant-make-RPMB_EMU-a-conditional-assignmen.patch
> 
> diff --git 
> a/patches/optee-client-3.11.0/0001-tee-supplicant-make-RPMB_EMU-a-conditional-assignmen.patch
>  
> b/patches/optee-client-3.11.0/0001-tee-supplicant-make-RPMB_EMU-a-conditional-assignmen.patch
> new file mode 100644
> index 0..cf1a12703
> --- /dev/null
> +++ 
> b/patches/optee-client-3.11.0/0001-tee-supplicant-make-RPMB_EMU-a-conditional-assignmen.patch
> @@ -0,0 +1,36 @@
> +From a0d685745ae00bfc275c27a07565f490de48b5e2 Mon Sep 17 00:00:00 2001
> +From: Ilias Apalodimas 
> +Date: Mon, 19 Oct 2020 14:29:24 +0300
> +Subject: [PATCH] tee-supplicant: make RPMB_EMU a conditional assignment
> +
> +At the moment the RPMB_EMU variable in the Makefile uses a simple
> +assignment and unconditionally sets the variable.
> +Move it to a conditional assignment and allow users to override it
> +from the command line with:
> +CROSS_COMPILE=aarch64-linux-gnu- RPMB_EMU=0 make
> +
> +Signed-off-by: Ilias Apalodimas 
> +Reviewed-by: Jerome Forissier 
> +Reviewed-by: Jens Wiklander 
> +---
> + tee-supplicant/Makefile | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/tee-supplicant/Makefile b/tee-supplicant/Makefile
> +index b7cf39a..fa26154 100644
> +--- a/tee-supplicant/Makefile
>  b/tee-supplicant/Makefile
> +@@ -3,8 +3,8 @@ include ../config.mk
> + 
> + OUT_DIR := $(OO)/tee-supplicant
> + 
> +-# Emulate RPMB ioctl's
> +-RPMB_EMU:= 1
> ++# Emulate RPMB ioctl's by default
> ++RPMB_EMU?= 1
> + 
> + .PHONY: all tee-supplicant clean
> + 
> +-- 
> +2.25.1
> +
> diff --git a/rules/optee-client.in b/rules/optee-client.in
> index be97b3689..dbde5656d 100644
> --- a/rules/optee-client.in
> +++ b/rules/optee-client.in
> @@ -20,4 +20,9 @@ config OPTEE_CLIENT_SYSTEMD_UNIT
>   depends on SYSTEMD
>   prompt "install systemd service file for tee-supplicant"
>  
> +config OPTEE_CLIENT_RPMB_EMU
> +bool
> +default y
> +prompt "Emulate RPMB device for testing"

So this is just something for testing, right? I think we can disable this
by default.

Rouven, what do you think?

Michael


> +
>  endif
> diff --git a/rules/optee-client.make b/rules/optee-client.make
> index dc76773c7..85ea30cc9 100644
> --- a/rules/optee-client.make
> +++ b/rules/optee-client.make
> @@ -32,6 +32,7 @@ OPTEE_CLIENT_MAKE_ENV := \
>   $(CROSS_ENV) \
>   LIBDIR=/usr/lib \
>   INCLUDEDIR=/usr/include \
> + RPMB_EMU=$(call ptx/ifdef, PTXCONF_OPTEE_CLIENT_RPMB_EMU, 1, 0) \
>   CFG_TEE_CLIENT_LOAD_PATH=/usr/lib/
>  
>  # 
> 
> -- 
> 2.25.1
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] machine-id: make using rc-once optional

2021-01-08 Thread Michael Olbrich
Thanks, applied as 91fcb28b61c6ddcc9b0e1542822eb81c80b58d82.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:18 +0100, Artur Wiebe  wrote:
> If not set /etc/machine-id will be installed from projectroot (default: empty 
> file).
> 
> Signed-off-by: Artur Wiebe 
> Message-Id: <20201204093024.1785079-1-ar...@4wiebe.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/projectroot/etc/machine-id b/projectroot/etc/machine-id
> new file mode 100644
> index ..e69de29bb2d1
> diff --git a/rules/machine-id.in b/rules/machine-id.in
> index f18fec554cf1..9ad6db935d21 100644
> --- a/rules/machine-id.in
> +++ b/rules/machine-id.in
> @@ -1,11 +1,26 @@
>  ## SECTION=initmethod
>  
> -config MACHINE_ID
> +menuconfig MACHINE_ID
>   tristate
> - prompt "create /etc/machine-id"
> - select RC_ONCE  if RUNTIME
> - select UTIL_LINUX_NGif !INITMETHOD_SYSTEMD
> - select UTIL_LINUX_NG_UUIDGENif !INITMETHOD_SYSTEMD
> + prompt "create /etc/machine-id  "
> + select RC_ONCE  if MACHINE_ID_RC_ONCE && RUNTIME
> + select UTIL_LINUX_NGif MACHINE_ID_RC_ONCE && 
> !INITMETHOD_SYSTEMD
> + select UTIL_LINUX_NG_UUIDGENif MACHINE_ID_RC_ONCE && 
> !INITMETHOD_SYSTEMD
>   help
> Enable this to make sure there is always a unique /etc/machine-id
> available in the system.
> +
> +if MACHINE_ID
> +
> +config MACHINE_ID_RC_ONCE
> + bool "generate (bbinit) or save (systemd) machine-id using rc-once at 
> first boot"
> + default y
> + help
> +   If not set /etc/machine-id will be installed from projectroot
> +   (default: empty file).
> +   Systemd:
> +   If /etc/machine-id exists and is empty, systemd will bind-mount
> +   a file containing the new machine-id over it and later try 
> +   to commit it to disk (if /etc/ is writable).
> +
> +endif
> diff --git a/rules/machine-id.make b/rules/machine-id.make
> index 3883d64cba3a..50e9b99ee2e8 100644
> --- a/rules/machine-id.make
> +++ b/rules/machine-id.make
> @@ -27,7 +27,11 @@ $(STATEDIR)/machine-id.targetinstall:
>   @$(call install_fixup,machine-id,AUTHOR,"Michael Olbrich 
> ")
>   @$(call install_fixup,machine-id,DESCRIPTION,missing)
>  
> +ifdef PTXCONF_MACHINE_ID_RC_ONCE
>   @$(call install_alternative, machine-id, 0, 0, 0755, 
> /etc/rc.once.d/machine-id)
> +else
> + @$(call install_alternative, machine-id, 0, 0, 0444, /etc/machine-id)
> +endif
>  
>   @$(call install_finish,machine-id)
>  
> diff --git a/rules/machine-id.postinst b/rules/machine-id.postinst
> index 2060129d14eb..208f7b4b8d56 100644
> --- a/rules/machine-id.postinst
> +++ b/rules/machine-id.postinst
> @@ -1,3 +1,5 @@
>  #!/bin/sh
> -touch "$DESTDIR/etc/machine-id"
> -$DESTDIR/usr/sbin/enable-rc-once machine-id
> +if [ -f $DESTDIR/etc/rc.once.d/machine-id ]; then
> + touch "$DESTDIR/etc/machine-id"
> + $DESTDIR/usr/sbin/enable-rc-once machine-id
> +fi

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread Michael Olbrich
On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:
> Signed-off-by: Robin van der Gracht 

Hmm, shouldn't optee be updated as well?

Rouven, what do you think?

Michael

> ---
>  rules/optee-client.make | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/optee-client.make b/rules/optee-client.make
> index 7fbebf1f1..dc76773c7 100644
> --- a/rules/optee-client.make
> +++ b/rules/optee-client.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_OPTEE_CLIENT) += optee-client
>  #
>  # Paths and names
>  #
> -OPTEE_CLIENT_VERSION := 3.5.0
> -OPTEE_CLIENT_MD5 := 2738729cb2457f2b4993ef6b91a6519d
> +OPTEE_CLIENT_VERSION := 3.11.0
> +OPTEE_CLIENT_MD5 := 876f3afb72cdd64dd9b5a3606923d0d1
>  OPTEE_CLIENT := optee-client-$(OPTEE_CLIENT_VERSION)
>  OPTEE_CLIENT_SUFFIX  := tar.gz
>  OPTEE_CLIENT_URL := 
> https://github.com/OP-TEE/optee_client/archive/$(OPTEE_CLIENT_VERSION).$(OPTEE_CLIENT_SUFFIX)
> @@ -48,6 +48,7 @@ $(STATEDIR)/optee-client.targetinstall:
>   @$(call install_fixup, optee-client,DESCRIPTION,missing)
>  
>   @$(call install_lib, optee-client, 0, 0, 0644, libteec)
> + @$(call install_lib, optee-client, 0, 0, 0644, libckteec)
>   @$(call install_copy, optee-client, 0, 0, 0755, -, 
> /usr/sbin/tee-supplicant)
>  ifdef PTXCONF_OPTEE_CLIENT_SYSTEMD_UNIT
>   @$(call install_alternative, optee-client, 0, 0, 0644, \
> -- 
> 2.25.1
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-devtools1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as ad4083a8e3788fe2f545c375ef619bb99aaca0ab.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:26 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-1-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-devtools1.make b/rules/gst-devtools1.make
> index ace3ebe3c21b..fc0426d0f726 100644
> --- a/rules/gst-devtools1.make
> +++ b/rules/gst-devtools1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_DEVTOOLS1) += gst-devtools1
>  #
>  # Paths and names
>  #
> -GST_DEVTOOLS1_VERSION:= 1.18.1
> -GST_DEVTOOLS1_MD5:= 1d33b747858b1cc12f1d08549a4cdffd
> +GST_DEVTOOLS1_VERSION:= 1.18.2
> +GST_DEVTOOLS1_MD5:= db04faed9e2686b404743aa7031d5caf
>  GST_DEVTOOLS1:= gst-devtools-$(GST_DEVTOOLS1_VERSION)
>  GST_DEVTOOLS1_SUFFIX := tar.xz
>  GST_DEVTOOLS1_URL:= 
> http://gstreamer.freedesktop.org/data/src/gst-devtools/$(GST_DEVTOOLS1).$(GST_DEVTOOLS1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-plugins-ugly1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 18852a34ab9ca14dd6059e3481e4a6aade29d9e3.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:25 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-6-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-plugins-ugly1.make b/rules/gst-plugins-ugly1.make
> index 73894576e732..75fd21955360 100644
> --- a/rules/gst-plugins-ugly1.make
> +++ b/rules/gst-plugins-ugly1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_UGLY1) += gst-plugins-ugly1
>  #
>  # Paths and names
>  #
> -GST_PLUGINS_UGLY1_VERSION:= 1.18.1
> -GST_PLUGINS_UGLY1_MD5:= ccc736cb48a1049434a6f4b850883cf0
> +GST_PLUGINS_UGLY1_VERSION:= 1.18.2
> +GST_PLUGINS_UGLY1_MD5:= 5ca5beef76b5ae2208bcff56d702b06a
>  GST_PLUGINS_UGLY1:= gst-plugins-ugly-$(GST_PLUGINS_UGLY1_VERSION)
>  GST_PLUGINS_UGLY1_SUFFIX := tar.xz
>  GST_PLUGINS_UGLY1_URL:= 
> http://gstreamer.freedesktop.org/src/gst-plugins-ugly/$(GST_PLUGINS_UGLY1).$(GST_PLUGINS_UGLY1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-plugins-good1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 334eb325a34285ed2f34f863ab50a7b18d4d8345.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:23 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-5-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-plugins-good1.make b/rules/gst-plugins-good1.make
> index 1082426f4c37..be57ac275593 100644
> --- a/rules/gst-plugins-good1.make
> +++ b/rules/gst-plugins-good1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_GOOD1) += gst-plugins-good1
>  #
>  # Paths and names
>  #
> -GST_PLUGINS_GOOD1_VERSION:= 1.18.1
> -GST_PLUGINS_GOOD1_MD5:= 458807697f65eb33b9c20945a975c6a8
> +GST_PLUGINS_GOOD1_VERSION:= 1.18.2
> +GST_PLUGINS_GOOD1_MD5:= 1a5ab378790d52a95551736db429251e
>  GST_PLUGINS_GOOD1:= gst-plugins-good-$(GST_PLUGINS_GOOD1_VERSION)
>  GST_PLUGINS_GOOD1_SUFFIX := tar.xz
>  GST_PLUGINS_GOOD1_URL:= 
> http://gstreamer.freedesktop.org/src/gst-plugins-good/$(GST_PLUGINS_GOOD1).$(GST_PLUGINS_GOOD1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-plugins-bad1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 6ed6d4cec1be6bd27985374c84027f1aa132031b.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:24 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-3-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-plugins-bad1.make b/rules/gst-plugins-bad1.make
> index 8715b5e06a66..493c84b46044 100644
> --- a/rules/gst-plugins-bad1.make
> +++ b/rules/gst-plugins-bad1.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_BAD1) += gst-plugins-bad1
>  #
>  # Paths and names
>  #
> -GST_PLUGINS_BAD1_VERSION := 1.18.1
> -GST_PLUGINS_BAD1_MD5 := 61ef37e40d81804e77388b178d108a49
> +GST_PLUGINS_BAD1_VERSION := 1.18.2
> +GST_PLUGINS_BAD1_MD5 := 606a819cfc9f1a0b94242914f48f5df5
>  GST_PLUGINS_BAD1 := gst-plugins-bad-$(GST_PLUGINS_BAD1_VERSION)
>  GST_PLUGINS_BAD1_SUFFIX  := tar.xz
>  GST_PLUGINS_BAD1_URL := 
> http://gstreamer.freedesktop.org/src/gst-plugins-bad/$(GST_PLUGINS_BAD1).$(GST_PLUGINS_BAD1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-python1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as ead60839ea24eddca2697cad981de34107f6c0e6.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:28 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-7-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-python1.make b/rules/gst-python1.make
> index baa35a44968f..ec2f405a48c3 100644
> --- a/rules/gst-python1.make
> +++ b/rules/gst-python1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PYTHON1) += gst-python1
>  #
>  # Paths and names
>  #
> -GST_PYTHON1_VERSION  := 1.18.1
> -GST_PYTHON1_MD5  := 9a1ef7f9271e7b16fe942f6f26c8a638
> +GST_PYTHON1_VERSION  := 1.18.2
> +GST_PYTHON1_MD5  := f79a313ee598f6e680a484813c91e16f
>  GST_PYTHON1  := gst-python-$(GST_PYTHON1_VERSION)
>  GST_PYTHON1_SUFFIX   := tar.xz
>  GST_PYTHON1_URL  := 
> http://gstreamer.freedesktop.org/src/gst-python/$(GST_PYTHON1).$(GST_PYTHON1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-libav1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 70199366704e28319cba1c08e7c419b44f90aa1f.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:27 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-2-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-libav1.make b/rules/gst-libav1.make
> index 0a1c8e31cd68..b83bd8b6ffaf 100644
> --- a/rules/gst-libav1.make
> +++ b/rules/gst-libav1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_LIBAV1) += gst-libav1
>  #
>  # Paths and names
>  #
> -GST_LIBAV1_VERSION   := 1.18.1
> -GST_LIBAV1_MD5   := 74d73db6c805d1a01bcf7212c2c556c6
> +GST_LIBAV1_VERSION   := 1.18.2
> +GST_LIBAV1_MD5   := 862f655444105719e6d7e888a398267e
>  GST_LIBAV1   := gst-libav-$(GST_LIBAV1_VERSION)
>  GST_LIBAV1_SUFFIX:= tar.xz
>  GST_LIBAV1_URL   := 
> http://gstreamer.freedesktop.org/src/gst-libav/$(GST_LIBAV1).$(GST_LIBAV1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] mesalib: version bump 20.2.3 -> 20.3.0

2021-01-08 Thread Michael Olbrich
Thanks, applied as cbe6ecb4ea294682875cc15a76a0a48e7ab95184.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:19 +0100, Philipp Zabel  
wrote:
> Enable Broadcom and software rasterizer Vulkan drivers.
> 
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201204125953.16164-1-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/host-mesalib.make b/rules/host-mesalib.make
> index 77244eb73bfa..fb2d2b18b3ad 100644
> --- a/rules/host-mesalib.make
> +++ b/rules/host-mesalib.make
> @@ -28,6 +28,7 @@ HOST_MESALIB_CONF_OPT   := \
>   -Ddri3=disabled \
>   -Degl=disabled \
>   -Degl-lib-suffix= \
> + -Dfreedreno-kgsl=false \
>   -Dgallium-drivers= \
>   -Dgallium-extra-hud=false \
>   -Dgallium-nine=false \
> @@ -59,10 +60,12 @@ HOST_MESALIB_CONF_OPT := \
>   -Dpower8=disabled \
>   -Dprefer-iris=true \
>   -Dselinux=false \
> + -Dshader-cache-default=true \
>   -Dshader-cache=disabled \
>   -Dshared-glapi=enabled \
>   -Dshared-llvm=disabled \
>   -Dshared-swr=true \
> + -Dstatic-libclc=[] \
>   -Dswr-arches=[] \
>   -Dtools=glsl \
>   -Dva-libs-path=/usr/lib/dri \
> diff --git a/rules/mesalib.in b/rules/mesalib.in
> index ccf218dab5a3..09eb6fa37de8 100644
> --- a/rules/mesalib.in
> +++ b/rules/mesalib.in
> @@ -191,6 +191,10 @@ config MESALIB_VULKAN_AMD
>   depends on BROKEN
>   prompt "AMD (Radv)"
>  
> +config MESALIB_VULKAN_BROADCOM
> + bool
> + prompt "Broadcom"
> +
>  config MESALIB_VULKAN_INTEL
>   bool
>   prompt "Intel (Anvil)"
> @@ -199,6 +203,11 @@ config MESALIB_VULKAN_FREEDRENO
>   bool
>   prompt "Freedreno (Turnip)"
>  
> +config MESALIB_VULKAN_SWRAST
> + bool
> + select MESALIB_DRI_SWRAST
> + prompt "Software Rasterizer"
> +
>  config MESALIB_ZSTD
>   bool
>   prompt "use Zstandard for shader cache compression"
> diff --git a/rules/mesalib.make b/rules/mesalib.make
> index 706d27b076fb..7b27773846d1 100644
> --- a/rules/mesalib.make
> +++ b/rules/mesalib.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
>  #
>  # Paths and names
>  #
> -MESALIB_VERSION  := 20.2.3
> -MESALIB_MD5  := 8d73d6eb479d392d2fe20f02ccbe44e0
> +MESALIB_VERSION  := 20.3.0
> +MESALIB_MD5  := 37f5acdb20ef781e7ffdeba0495f46c1
>  MESALIB  := mesa-$(MESALIB_VERSION)
>  MESALIB_SUFFIX   := tar.xz
>  MESALIB_URL  := \
> @@ -90,10 +90,12 @@ MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_AMD)  
> += amd
>  MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_INTEL)   += intel
>  endif
>  ifdef PTXCONF_ARCH_ARM
> +MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_BROADCOM)+= broadcom
>  MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_FREEDRENO)   += freedreno
>  endif
> +MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_SWRAST)  += 
> swrast
>  
> -MESALIB_VULKAN_LIBS-y = $(subst amd,radeon,$(MESALIB_VULKAN_DRIVERS-y))
> +MESALIB_VULKAN_LIBS-y = $(subst amd,radeon,$(subst 
> swrast,lvp,$(MESALIB_VULKAN_DRIVERS-y)))
>  
>  MESALIB_LIBS-y   := libglapi
>  MESALIB_LIBS-$(PTXCONF_MESALIB_GLX)  += libGL
> @@ -118,6 +120,7 @@ MESALIB_CONF_OPT  := \
>   -Ddri3=$(call ptx/endis, PTXCONF_MESALIB_DRI3)d \
>   -Degl=$(call ptx/endis, PTXCONF_MESALIB_EGL)d \
>   -Degl-lib-suffix= \
> + -Dfreedreno-kgsl=false \
>   -Dgallium-drivers=$(subst 
> $(space),$(comma),$(MESALIB_GALLIUM_DRIVERS-y)) \
>   -Dgallium-extra-hud=$(call ptx/truefalse, PTXCONF_MESALIB_EXTENDED_HUD) 
> \
>   -Dgallium-nine=false \
> @@ -149,10 +152,12 @@ MESALIB_CONF_OPT:= \
>   -Dpower8=disabled \
>   -Dprefer-iris=true \
>   -Dselinux=false \
> + -Dshader-cache-default=true \
>   -Dshader-cache=$(call ptx/endis, PTXCONF_MESALIB_VULKAN_AMD)d \
>   -Dshared-glapi=enabled \
>   -Dshared-llvm=disabled \
>   -Dshared-swr=true \
> + -Dstatic-libclc=[] \
>   -Dswr-arches=[] \
>   -Dtools=[] \
>   -Dva-libs-path=/usr/lib/dri \

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-rtsp-server1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as a83456aa5e2826747fcd7bd6a51edaed12e9319d.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:29 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-8-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-rtsp-server1.make b/rules/gst-rtsp-server1.make
> index 56a05c944532..892d8e12017f 100644
> --- a/rules/gst-rtsp-server1.make
> +++ b/rules/gst-rtsp-server1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_RTSP_SERVER1) += gst-rtsp-server1
>  #
>  # Paths and names
>  #
> -GST_RTSP_SERVER1_VERSION := 1.18.1
> -GST_RTSP_SERVER1_MD5 := a5e6c9791e60c806d83e9478a515f1dc
> +GST_RTSP_SERVER1_VERSION := 1.18.2
> +GST_RTSP_SERVER1_MD5 := 0257cc6aa698423d83f81ccc6f047142
>  GST_RTSP_SERVER1 := gst-rtsp-server-$(GST_RTSP_SERVER1_VERSION)
>  GST_RTSP_SERVER1_SUFFIX  := tar.xz
>  GST_RTSP_SERVER1_URL := 
> http://gstreamer.freedesktop.org/src/gst-rtsp/$(GST_RTSP_SERVER1).$(GST_RTSP_SERVER1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gstreamer-vaapi1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 624a6433672b789aa2d1eae098b8c062c50def16.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:30 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-9-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gstreamer-vaapi1.make b/rules/gstreamer-vaapi1.make
> index cf3b84452586..03e3b5f63519 100644
> --- a/rules/gstreamer-vaapi1.make
> +++ b/rules/gstreamer-vaapi1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GSTREAMER_VAAPI1) += gstreamer-vaapi1
>  #
>  # Paths and names
>  #
> -GSTREAMER_VAAPI1_VERSION := 1.18.1
> -GSTREAMER_VAAPI1_MD5 := 6170c003f11b3b35b177ad9e99a650b2
> +GSTREAMER_VAAPI1_VERSION := 1.18.2
> +GSTREAMER_VAAPI1_MD5 := 847e69c82dbf2fb63cc0f038311f1d06
>  GSTREAMER_VAAPI1 := gstreamer-vaapi-$(GSTREAMER_VAAPI1_VERSION)
>  GSTREAMER_VAAPI1_SUFFIX  := tar.xz
>  GSTREAMER_VAAPI1_URL := 
> http://gstreamer.freedesktop.org/src/gstreamer-vaapi/$(GSTREAMER_VAAPI1).$(GSTREAMER_VAAPI1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gstreamer1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as 2b0bc7278bc4a8f182441829713446ab27565990.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:20 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-10-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gstreamer1.make b/rules/gstreamer1.make
> index 4f3e08934af5..8f68f4fd8dc0 100644
> --- a/rules/gstreamer1.make
> +++ b/rules/gstreamer1.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_GSTREAMER1) += gstreamer1
>  #
>  # Paths and names
>  #
> -GSTREAMER1_VERSION   := 1.18.1
> -GSTREAMER1_MD5   := 277c1f6a5688df4cc30111566e5c1eb9
> +GSTREAMER1_VERSION   := 1.18.2
> +GSTREAMER1_MD5   := 729e3da87743d1ef04b2cdc9a5f1dc13
>  GSTREAMER1   := gstreamer-$(GSTREAMER1_VERSION)
>  GSTREAMER1_SUFFIX:= tar.xz
>  GSTREAMER1_URL   := 
> http://gstreamer.freedesktop.org/src/gstreamer/$(GSTREAMER1).$(GSTREAMER1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [APPLIED] gst-plugins-base1: version bump 1.18.1 -> 1.18.2

2021-01-08 Thread Michael Olbrich
Thanks, applied as be0aac1af46a494b5ba57a5af068c0cf2a298478.

Michael

[sent from post-receive hook]

On Fri, 08 Jan 2021 10:29:21 +0100, Philipp Zabel  
wrote:
> Signed-off-by: Philipp Zabel 
> Message-Id: <20201208150515.25223-4-p.za...@pengutronix.de>
> Signed-off-by: Michael Olbrich 
> 
> diff --git a/rules/gst-plugins-base1.make b/rules/gst-plugins-base1.make
> index 485249f00b5a..793a789ab1b1 100644
> --- a/rules/gst-plugins-base1.make
> +++ b/rules/gst-plugins-base1.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_BASE1) += gst-plugins-base1
>  #
>  # Paths and names
>  #
> -GST_PLUGINS_BASE1_VERSION:= 1.18.1
> -GST_PLUGINS_BASE1_MD5:= 686081ec256a5d2d731237f13ea82f70
> +GST_PLUGINS_BASE1_VERSION:= 1.18.2
> +GST_PLUGINS_BASE1_MD5:= aa1cd08a72f65298e5136a9c1620c2d1
>  GST_PLUGINS_BASE1:= gst-plugins-base-$(GST_PLUGINS_BASE1_VERSION)
>  GST_PLUGINS_BASE1_SUFFIX := tar.xz
>  GST_PLUGINS_BASE1_URL:= 
> http://gstreamer.freedesktop.org/src/gst-plugins-base/$(GST_PLUGINS_BASE1).$(GST_PLUGINS_BASE1_SUFFIX)

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] optee-client: version bump 3.5.0 -> 3.11.0

2021-01-08 Thread Rouven Czerwinski
On Fri, 2021-01-08 at 09:57 +0100, Michael Olbrich wrote:
> On Thu, Dec 17, 2020 at 09:14:53AM +0100, Robin van der Gracht wrote:
> > Signed-off-by: Robin van der Gracht 
> 
> Hmm, shouldn't optee be updated as well?
> 
> Rouven, what do you think?

Yep and the tests should be updated as well.

For the OP-TEE OS Update you'll need to add checks for the correct
python3 module availability within ptxdist as well.

Regards,
Rouven


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] Bad ncurses configuration for mconf?

2021-01-08 Thread Michael Olbrich
On Fri, Dec 25, 2020 at 09:08:14PM +0100, Christian Melki wrote:
> Ptxdist seems to assume things about the ncurses local build that doesn't
> always turn up to be usable.
> 
> I use a ncurses-6.2 build in Slackware. Pretty normal build.
> 
> mconf headers point to the ncurses library, not ncursesw.
> 
> mconf gets built with:
> -O2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
> and is linked with:
>  linux-vdso.so.1 (0x7ffcd5f3)
> libncurses.so.6 => /lib64/libncurses.so.6 (0x7f6914c68000)
> libtinfo.so.6 => /lib64/libtinfo.so.6 (0x7f6914c37000)
> libc.so.6 => /lib64/libc.so.6 (0x7f6914a52000)
> libdl.so.2 => /lib64/libdl.so.2 (0x7f6914a4d000)
> /lib64/ld-linux-x86-64.so.2 (0x7f6914cbd000)
> 
> And mconf segfaults with:
> Program received signal SIGSEGV, Segmentation fault.
> 0x77f84b9a in waddch () from /lib64/libncurses.so.6
> 
> (gdb) bt
> #0  0x77f84b9a in waddch () from /lib64/libncurses.so.6
> #1  0x00415c78 in attr_clear (win=0xcdf820, height=49, width=299,
> attr=) at lxdialog/util.c:250
> #2  0x00415cfc in dialog_clear () at lxdialog/util.c:262
> #3  0x00416274 in init_dialog (backtitle=backtitle@entry=0x0) at
> lxdialog/util.c:336
> #4  0x0040272c in main (ac=2, av=0x7ffefd78) at mconf.c:1017
> 
> ... second loop pass. Height = 0 passes the width loop. Height = 1, Width =
> 0 segfaults.
> 
> (gdb) print j
> $8 = 298
> (gdb) n
> 250waddch(win, ' ');
> (gdb) n
> 249for (j = 0; j < width; j++)
> (gdb) n
> 247for (i = 0; i < height; i++) {
> (gdb) n
> 248wmove(win, i, 0);
> (gdb) print i
> $9 = 1
> (gdb) n
> 249for (j = 0; j < width; j++)
> (gdb) n
> 250waddch(win, ' ');
> (gdb) n
> Program received signal SIGSEGV, Segmentation fault.
> 
> I am not sure what to blame here or if I understand things.
> Or if it's resonable that ncurses should explode like this.
> 
> Seems pkg-config cflags answers:
> pkg-config --cflags ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
> 
> But if I understand things >= 600 = wide char header?
> the pkg-config answers the same for ncursesw.

I see the same pkg-config results here on Debian.
I have no idea how this is supposed to work.

> So the program will compile and link just fine.
> If I use xterm and rxvt as $TERM the mconf program crashes, but is fine with
> vt100.
> 
> Is this related to ext-colors support somehow?
> If I force the program to link with ncursesw, then all is fine.

Hmmm, what happens if you add -DNCURSES_WIDECHAR=0 to the cflags and link
with ncurses? Does it work correctly now?

> My best guess is that the terminal is ext-color, program gets built with
> wchar-support but linked with ncurses.
> This probably shouldn't explode in ncurses, but I think it's also a
> misconfiguration build.
> 
> I would suggest that ptxdist uses ncursesw + headers if found and ncurses
> without wchar if not found.
> 
> Kernel seems to prefer something similar?
> https://elixir.bootlin.com/linux/v5.10.2/source/scripts/kconfig/mconf-cfg.sh

The whole ncurses handling in configure.ac should probably cleaned up and
simplified.

Michael


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH 1/2] bbinit: Add rootrw script

2021-01-08 Thread Michael Olbrich
On Mon, Dec 28, 2020 at 11:59:36AM +0800, yd.zhang wrote:
> The script is remount root as rw. Some embedded systems to root mounted as ro,
> and cannot use custom u-boot and linux-kernel.

I'm not sure what this is supposed to mean.

> 
> Signed-off-by: yd.zhang 
> ---
>  projectroot/etc/init.d/rootrw | 16 
>  rules/initmethod-bbinit.in| 14 ++
>  rules/initmethod-bbinit.make  | 12 
>  3 files changed, 42 insertions(+)
>  create mode 100644 projectroot/etc/init.d/rootrw
> 
> diff --git a/projectroot/etc/init.d/rootrw b/projectroot/etc/init.d/rootrw
> new file mode 100644
> index 0..50e7e5686
> --- /dev/null
> +++ b/projectroot/etc/init.d/rootrw
> @@ -0,0 +1,16 @@
> +#!/bin/sh
> +
> +#
> +# /etc/init.d/rootrw - remount root as rw
> +#
> +
> +case $1 in
> + start)
> + mount -o remount,rw /   

This does now work in all cases. Take a look at what is done here:
projectroot/usr/lib/init/initmethod-bbinit-functions.sh

This seems to work in all cases that I know about.

Michael

> + ;;
> + stop)
> + ;;
> + *)
> + echo "Usage: $0 [start|stop]"
> + ;;
> +esac
> diff --git a/rules/initmethod-bbinit.in b/rules/initmethod-bbinit.in
> index e0b3be178..2ed37c627 100644
> --- a/rules/initmethod-bbinit.in
> +++ b/rules/initmethod-bbinit.in
> @@ -2,6 +2,14 @@
>  
>  if INITMETHOD_BBINIT
>  
> +config INITMETHOD_BBINIT_ETC_INITD_ROOTRW
> + bool
> + prompt "install /etc/init.d/rootrw"
> + default y
> + select BUSYBOX_MOUNT if BUSYBOX
> + help
> + The /etc/init.d/rootrw script remount root as rw.
> +
>  config INITMETHOD_BBINIT_ETC_INITD_MODULES
>   bool
>   prompt "install /etc/init.d/modules"
> @@ -43,6 +51,12 @@ menu "service startup configuration "
>  
>  source "generated/initmethod_bbinit.in"
>  
> +config INITMETHOD_BBINIT_LINK_ROOTRW
> +  string
> +  depends on INITMETHOD_BBINIT_ETC_INITD_ROOTRW
> +  prompt "rootrw"
> +  default "S01rootrw"
> +
>  config INITMETHOD_BBINIT_LINK_LOGROTATE
>   string
>   depends on INITMETHOD_BBINIT_ETC_INITD_LOGROTATE
> diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make
> index 75d381e29..5440b6032 100644
> --- a/rules/initmethod-bbinit.make
> +++ b/rules/initmethod-bbinit.make
> @@ -45,6 +45,11 @@ $(STATEDIR)/initmethod-bbinit.targetinstall:
>  ##
>  ## start scripts
>  ##
> +
> +ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_ROOTRW
> + @$(call install_alternative, initmethod-bbinit, 0, 0, 0755, 
> /etc/init.d/rootrw, n)
> +endif
> +
>  ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_MODULES
>   @$(call install_alternative, initmethod-bbinit, 0, 0, 0755, 
> /etc/init.d/modules, n)
>   @$(call install_alternative, initmethod-bbinit, 0, 0, 0644, 
> /etc/modules, n)
> @@ -72,6 +77,13 @@ endif
>  ##
>  ## collect start links
>  ##
> +
> +ifneq ($(call remove_quotes,$(PTXCONF_INITMETHOD_BBINIT_LINK_ROOTRW)),)
> + @$(call install_link, initmethod-bbinit, \
> + ../init.d/rootrw, \
> + /etc/rc.d/$(PTXCONF_INITMETHOD_BBINIT_LINK_ROOTRW))
> +endif
> +
>  ifneq ($(call remove_quotes,$(PTXCONF_INITMETHOD_BBINIT_LINK_LOGROTATE)),)
>   @$(call install_link, initmethod-bbinit, \
>   ../init.d/logrotate, \
> -- 
> 2.29.2
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [GIT PULL] host-mfgtools: version bump 1.3.191 -> 1.4.43

2021-01-08 Thread m.olbr...@pengutronix.de
On Fri, Dec 18, 2020 at 02:44:10PM +, Denis Osterland-Heim wrote:
> Hi Michael,
> 
> Can you pull the commit
> c53b6b733 ("host-mfgtools: version bump 1.3.191 -> 1.4.43")
> from https://github.com/OsterlaD/ptxdist.git branch pkg/host-mfgtools?

Thanks, applied. Can you try using mail attachments for the next patch?
That makes it easier to review and I should still be able to apply it.

Michael

> base-commit: 9691bb8bb ("migrate_platform: fix migration helper for 
> TF_A_PLATFORM(S)")
> 
> Am Freitag, den 11.12.2020, 08:25 +0100 schrieb Michael Olbrich:
> > On Mon, Dec 07, 2020 at 04:46:40PM +, Denis Osterland-Heim wrote:
> > > Signed-off-by: Denis Osterland-Heim 
> > > ---
> > >  rules/host-mfgtools.make | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make
> > > index a99ad6055..c8c689c7a 100644
> > > --- a/rules/host-mfgtools.make
> > > +++ b/rules/host-mfgtools.make
> > > @@ -11,8 +11,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) += host-mfgtools
> > >  #
> > >  # Paths and names
> > >  #
> > > -HOST_MFGTOOLS_VERSION:= 1.3.191
> > > -HOST_MFGTOOLS_MD5:= f77be0d7a5aaafbae063eb61bd4207ea
> > > +HOST_MFGTOOLS_VERSION:= 1.4.43
> > > +HOST_MFGTOOLS_MD5:= a2bebba983cf9ecce1499c86d38afa78
> >
> > Your Email Client broke the whitespaces in this patch.
> >
> > Michael
> >
> > >  HOST_MFGTOOLS:= mfgtools-$(HOST_MFGTOOLS_VERSION)
> > >  HOST_MFGTOOLS_SUFFIX:= tar.gz
> > >  HOST_MFGTOOLS_URL:= 
> > > https://github.com/NXPmicro/mfgtools/releases/download/uuu_$(HOST_MFGTOOLS_VERSION)/uuu_source-$(HOST_MFGTOOLS_VERSION).$(HOST_MFGTOOLS_SUFFIX)
> > > --
> > > 2.29.2
> > >
> > > Diehl Connectivity Solutions GmbH
> > > Geschäftsführung: Horst Leonberger
> > > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> > > Nürnberg: HRB 32315
> > >
> > > 
> > >
> > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese 
> > > E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> > > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise 
> > > erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> > > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
> > > und/oder Publikation dieser E-Mail ist strengstens untersagt.
> > >
> > > - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten 
> > > Sie unter:
> > >
> > > https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> > >
> > > The contents of the above mentioned e-mail is not legally binding. This 
> > > e-mail contains confidential and/or legally protected information. Please 
> > > inform us if you have received this e-mail by
> > > mistake and delete it in such a case. Each unauthorized reproduction, 
> > > disclosure, alteration, distribution and/or publication of this e-mail is 
> > > strictly prohibited.
> > >
> > > - For general information on data protection and your respective rights 
> > > please visit:
> > >
> > > https://www.diehl.com/group/en/transparency-and-information-obligations/
> > >
> > >
> > >
> > > ___
> > > ptxdist mailing list
> > > ptxdist@pengutronix.de
> > > To unsubscribe, send a mail with subject "unsubscribe" to 
> > > ptxdist-requ...@pengutronix.de
> > >
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> 
> 
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
> enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten 
> haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
> und/oder Publikation dieser E-Mail ist strengstens untersagt.
> 
> - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie 
> unter:
> 
> https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This 
> e-mail contains confidential and/or legally protected information. Please 
> inform us if you have received this e-mail by
> mistake and delete it in such a case. Each unauthorized reproduction, 
> disclosure, alteration, distribution and/or publication of this e-mail is 
> strictly prohibited.
> 
> - For general information on data protection and your respective rights 
> please visit:
> 
> https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de

___
ptxdist mailing list

[ptxdist] [PATCH 1/2] valgrind: version bump 3.14.0 -> 3.16.1

2021-01-08 Thread Michael Tretter
Also switch to the new download URL that is referenced on the valgrind
Current Releases page.

Signed-off-by: Michael Tretter 
---
 rules/valgrind.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/valgrind.make b/rules/valgrind.make
index dd168fb54228..aeabf825e64b 100644
--- a/rules/valgrind.make
+++ b/rules/valgrind.make
@@ -17,11 +17,11 @@ PACKAGES-$(PTXCONF_ARCH_ARM)-$(PTXCONF_VALGRIND) += valgrind
 #
 # Paths and names
 #
-VALGRIND_VERSION   := 3.14.0
-VALGRIND_MD5   := 74175426afa280184b62591b58c671b3
+VALGRIND_VERSION   := 3.16.1
+VALGRIND_MD5   := d1b153f1ab17cf1f311705e7a83ef589
 VALGRIND   := valgrind-$(VALGRIND_VERSION)
 VALGRIND_SUFFIX:= tar.bz2
-VALGRIND_URL   := 
http://valgrind.org/downloads/$(VALGRIND).$(VALGRIND_SUFFIX)
+VALGRIND_URL   := 
https://sourceware.org/pub/valgrind/$(VALGRIND).$(VALGRIND_SUFFIX)
 VALGRIND_SOURCE:= $(SRCDIR)/$(VALGRIND).$(VALGRIND_SUFFIX)
 VALGRIND_DIR   := $(BUILDDIR)/$(VALGRIND)
 VALGRIND_LICENSE   := GPL-2.0-only
-- 
2.20.1


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 2/2] valgrind: enable build for arm64

2021-01-08 Thread Michael Tretter
Valgrind supports ARM64/Linux. Allow to build it on ARM64 systems.

Signed-off-by: Michael Tretter 
---
 rules/valgrind.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/valgrind.make b/rules/valgrind.make
index aeabf825e64b..9662b4b9b6b0 100644
--- a/rules/valgrind.make
+++ b/rules/valgrind.make
@@ -13,6 +13,7 @@
 PACKAGES-$(PTXCONF_ARCH_X86)-$(PTXCONF_VALGRIND) += valgrind
 PACKAGES-$(PTXCONF_ARCH_PPC)-$(PTXCONF_VALGRIND) += valgrind
 PACKAGES-$(PTXCONF_ARCH_ARM)-$(PTXCONF_VALGRIND) += valgrind
+PACKAGES-$(PTXCONF_ARCH_ARM64)-$(PTXCONF_VALGRIND) += valgrind
 
 #
 # Paths and names
-- 
2.20.1


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] uvc-gadget: version bump 58f5ddeb -> 105134f9

2021-01-08 Thread Michael Tretter
The update adds MJPG support to the uvc-gadget.

Furthermore, document that the version is just a fake commitish.

Signed-off-by: Michael Tretter 
---
 rules/uvc-gadget.make | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/uvc-gadget.make b/rules/uvc-gadget.make
index 17ec1bd97c5f..b13ecbf19bef 100644
--- a/rules/uvc-gadget.make
+++ b/rules/uvc-gadget.make
@@ -14,8 +14,9 @@ PACKAGES-$(PTXCONF_UVC_GADGET) += uvc-gadget
 #
 # Paths and names
 #
-UVC_GADGET_VERSION := 2019-02-13-g58f5ddeb
-UVC_GADGET_MD5 := aabd91acafd035a85c2151b67e1491ca
+# No tags: use a fake descriptive commit-ish to include the date
+UVC_GADGET_VERSION := 2019-05-02-g105134f9
+UVC_GADGET_MD5 := cd61b910844f1d95534a8773bf63f248
 UVC_GADGET := uvc-gadget-$(UVC_GADGET_VERSION)
 UVC_GADGET_SUFFIX  := tar.xz
 UVC_GADGET_URL := 
git://git.ideasonboard.org/uvc-gadget.git;tag=$(UVC_GADGET_VERSION)
-- 
2.20.1


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] Bad ncurses configuration for mconf?

2021-01-08 Thread Christian Melki

Hi.

I've since reported the error to the maintainer of Ncurses and to the 
slackware community, but it seems the general understanding of ncurses 
packaging is low when I ask around.


Anyway. Here is an excerpt from parts of the dialog with the maintainer.
Might be useful for someone for reference.


I've rebuilt with a 20201219 snapshot.
It does not fix the issue. Problem remains.
But a bit clearer.
Investigated the win->line allocation.
After initscr the value seems ok.

(gdb) print stdscr->_line[0]
$14 = {text = 0xce2a10, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print stdscr->_line[1]
$15 = {text = 0xce2ed0, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print stdscr->_line[2]
$16 = {text = 0xce3390, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print stdscr->_line[3]
$17 = {text = 0xce3850, firstchar = 0, lastchar = 301, oldindex = 0}

Breakpoint 1, main (ac=2, av=0x7ffefb28) at mconf.c:1000
1000signal(SIGINT, sig_handler);
(gdb) c
Continuing.

Breakpoint 3, init_dialog (backtitle=backtitle@entry=0x0) at 
lxdialog/util.c:319

319initscr();/* Init curses */
(gdb) c
Continuing.

Breakpoint 4, initscr () at ../ncurses/./base/lib_initscr.c:56
56START_TRACE();
(gdb) c
Continuing.

Hardware watchpoint 5: stdscr->_line[1]->text

Old value = 
New value = (chtype *) 0xce2ed0
_nc_setupscreen_sp (spp=0x7ffef938, slines=49, scolumns=302, 
output=0x77f236a0 <_IO_2_1_stdout_>, filtered=0, slk_format=0) at 
../ncurses/./base/lib_set_term.c:744

744sp->_prescreen = FALSE;
(gdb) c
Continuing.

Hardware watchpoint 5: stdscr->_line[1]->text

Old value = (chtype *) 0xce2ed0
New value = (chtype *) 0x100ce2ed0
0x00415c3f in attr_clear (win=0xce2690, height=49, 
width=width@entry=302, attr=2097408) at lxdialog/util.c:247

247for (i = 0; i < height; i++) {
(gdb) n
248wmove(win, i, 0);
(gdb) n
249for (j = 0; j < width; j++)
(gdb) n
250waddch(win, ' ');
(gdb) print i
$28 = 0
(gdb) print j
$29 = 0

And at the segfault...
(gdb) print win->_line[0]
$9 = {text = 0xce2a10, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print win->_line[1]
$10 = {text = 0x100ce2ed0, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print win->_line[2]
$11 = {text = 0xce3390, firstchar = 0, lastchar = 301, oldindex = 0}
(gdb) print win->_line[3]
$12 = {text = 0xce3850, firstchar = 0, lastchar = 301, oldindex = 0}

Seems the line text pointer is botched by something.


So in summary a pointer gets corrupted with the same operand value with 
what seems to be a bitwise "or" macro operation.


On 1/8/21 9:46 AM, Michael Olbrich wrote:

On Fri, Dec 25, 2020 at 09:08:14PM +0100, Christian Melki wrote:

Ptxdist seems to assume things about the ncurses local build that doesn't
always turn up to be usable.

I use a ncurses-6.2 build in Slackware. Pretty normal build.

mconf headers point to the ncurses library, not ncursesw.

mconf gets built with:
 -O2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
and is linked with:
  linux-vdso.so.1 (0x7ffcd5f3)
 libncurses.so.6 => /lib64/libncurses.so.6 (0x7f6914c68000)
 libtinfo.so.6 => /lib64/libtinfo.so.6 (0x7f6914c37000)
 libc.so.6 => /lib64/libc.so.6 (0x7f6914a52000)
 libdl.so.2 => /lib64/libdl.so.2 (0x7f6914a4d000)
 /lib64/ld-linux-x86-64.so.2 (0x7f6914cbd000)

And mconf segfaults with:
Program received signal SIGSEGV, Segmentation fault.
0x77f84b9a in waddch () from /lib64/libncurses.so.6

(gdb) bt
#0  0x77f84b9a in waddch () from /lib64/libncurses.so.6
#1  0x00415c78 in attr_clear (win=0xcdf820, height=49, width=299,
attr=) at lxdialog/util.c:250
#2  0x00415cfc in dialog_clear () at lxdialog/util.c:262
#3  0x00416274 in init_dialog (backtitle=backtitle@entry=0x0) at
lxdialog/util.c:336
#4  0x0040272c in main (ac=2, av=0x7ffefd78) at mconf.c:1017

... second loop pass. Height = 0 passes the width loop. Height = 1, Width =
0 segfaults.

(gdb) print j
$8 = 298
(gdb) n
250waddch(win, ' ');
(gdb) n
249for (j = 0; j < width; j++)
(gdb) n
247for (i = 0; i < height; i++) {
(gdb) n
248wmove(win, i, 0);
(gdb) print i
$9 = 1
(gdb) n
249for (j = 0; j < width; j++)
(gdb) n
250waddch(win, ' ');
(gdb) n
Program received signal SIGSEGV, Segmentation fault.

I am not sure what to blame here or if I understand things.
Or if it's resonable that ncurses should explode like this.

Seems pkg-config cflags answers:
pkg-config --cflags ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600

But if I understand things >= 600 = wide char header?
the pkg-config answers the same for ncursesw.


I see the same pkg-config results here on Debian.
I have no idea how this is supposed to work.


So the program will compile and link just fine.
If I use xterm and rxvt as $TERM the mconf program crashes, but is fine with
vt100.

Is this related to