Re: Is it possible to pass extra device-tree include directory?

2020-06-26 Thread Denis Osterland-Heim
t; On Mon, Jun 22, 2020 at 07:42:11AM +, Denis Osterland-Heim wrote: > > Hi, > > > > is it possible to pass extra device-tree include directory? > > For instance "${PTXDIST_PLATFORMCONFIGDIR}/dts" to have a out-of-tree dts > > only in one place? >

Is it possible to pass extra device-tree include directory?

2020-06-22 Thread Denis Osterland-Heim
Hi, is it possible to pass extra device-tree include directory? For instance "${PTXDIST_PLATFORMCONFIGDIR}/dts" to have a out-of-tree dts only in one place? Regards, Denis Diehl Connectivity Solutions GmbH Geschäftsführung: Horst Leonberger Sitz der Gesellschaft: Nürnberg - Registergericht:

[PATCH] dtc_cpp: allow to pass options per target

2020-07-20 Thread Denis Osterland-Heim
This patch adds support to pass extra option per target to DTC CPP. For example: DTC_CPP_FLAGS_my-board-name.dtb := -DMY_DEFINE=extra lwl-dtb-$(CONFIG_MACH_MY_BOARD_NAME) += my-board-name.dtb.o Signed-off-by: Denis Osterland-Heim --- scripts/Makefile.lib | 1 + 1 file changed, 1

Re: Is it possible to pass extra device-tree include directory?

2020-07-01 Thread Denis Osterland-Heim
Hi, so, when I got your point right, only the first option is acceptable. The other two would be too open. Regards, Denis Am Montag, den 29.06.2020, 10:26 +0200 schrieb Ahmad Fatoum: > Hello, > > On 6/26/20 9:12 AM, Denis Osterland-Heim wrote: > > Hi Sascha, > > >

Re: [PATCH] nvmem: ocotp: add support to revoke keys

2021-03-12 Thread Denis Osterland-Heim
021-03-11 at 17:07 +0000, Denis Osterland-Heim wrote: > > From: Denis Osterland-Heim > > > > Add device tree property 'barebox,key-revoke' with the syntax: > > < key_phandle fuse_offset mask > > > > > An example: > > s

[PATCH] nvmem: ocotp: add support to revoke keys

2021-03-11 Thread Denis Osterland-Heim
From: Denis Osterland-Heim Add device tree property 'barebox,key-revoke' with the syntax: < key_phandle fuse_offset mask > An example: signature { key1: key-img1 { ... }; key2: key-srk1 { ... }; }; }; { barebox,key-revoke = < 0x660 1 0x6f0 1 >; }; Signed-off-by: Denis Os

[PATCH] arch: arm: mach-imx: print HAB ROM code version

2021-03-11 Thread Denis Osterland-Heim
From: Denis Osterland-Heim Add the two missing function pointers according to HAB4_API.pdf from cst-3.1.0 and print the version of ROM code. Signed-off-by: Denis Osterland-Heim --- drivers/hab/habv4.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/hab/habv4.c b/drivers/hab

[PATCH] image-fit: ignore rsa by image selection

2021-03-11 Thread Denis Osterland-Heim
From: Denis Osterland-Heim For hash algorithm selection, only the first argument of the tuple is needed. The ',' is included to avoid false-positive matches. Signed-off-by: Denis Osterland-Heim --- common/image-fit.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] scripts: imx: add support for additional hab Blocks

2021-03-11 Thread Denis Osterland-Heim
From: Denis Osterland-Heim This allows to specifiy additional singed blocks in the format `offset+size@address` within the imximg. It is needed by the uuu tool, which loads the image different to the imx-usb-loader. It loads the DCD always to 0x91 in the OCRAM. So this area have

Re: [PATCH] nvmem: ocotp: add support to revoke keys

2021-03-16 Thread Denis Osterland-Heim
Hi Sascha, Am Montag, den 15.03.2021, 09:04 +0100 schrieb Sascha Hauer: > Hi Denis, > > On Fri, Mar 12, 2021 at 02:39:40PM +0000, Denis Osterland-Heim wrote: > > Hi, > > > > It would be no problem to do it in a script. > > I did it as a fist prove of concept.

Re: [PATCH] scripts: imx: add support for additional hab Blocks

2021-03-22 Thread Denis Osterland-Heim
Hi Sasha, Am Montag, den 22.03.2021, 06:50 +0100 schrieb Sascha Hauer: > Hi Denis, > > On Thu, Mar 11, 2021 at 05:07:20PM +0000, Denis Osterland-Heim wrote: > > From: Denis Osterland-Heim > > > > This allows to specifiy additional singed blocks > > in the fo

Re: [PATCH] scripts: imx: add support for additional hab Blocks

2021-03-22 Thread Denis Osterland-Heim
Am Montag, den 22.03.2021, 13:02 +0100 schrieb Denis Osterland-Heim: > This allows to specifiy additional signed blocks > in the format `offset+size@address` within the imximg. > > It is needed by the uuu tool, which loads the image different to > the imx-usb-loader. It loads

Re: [PATCH] arch: arm: mach-imx: print HAB ROM code version

2021-03-12 Thread Denis Osterland-Heim
as inline. Hopefully this is true for Sasha, too. Regards, Denis Am Freitag, den 12.03.2021, 11:21 +0100 schrieb Rouven Czerwinski: > Hi Denis, > > On Thu, 2021-03-11 at 17:07 +0000, Denis Osterland-Heim wrote: > > From: Denis Osterland-Heim > > > > Add the two missing functi

Re: Not successful if statements returning error code

2021-07-29 Thread Denis Osterland-Heim
Hi, Am Donnerstag, den 29.07.2021, 11:22 +0200 schrieb Ahmad Fatoum: > On 28.07.21 11:38, Denis Osterland-Heim wrote: > > Hi, > > > > Am Mittwoch, den 28.07.2021, 10:56 +0200 schrieb Ahmad Fatoum: > > > > > I talked with Sascha once before (off-list) about a

Re: Not successful if statements returning error code

2021-07-28 Thread Denis Osterland-Heim
Hi, Am Mittwoch, den 28.07.2021, 10:56 +0200 schrieb Ahmad Fatoum: > Hello Andrej, > > On 23.07.21 12:18, Andrej Picej wrote: > > Hi all, > > > > I have a question about Hush shell and the use of its conditional > > statements. > > We have come upon an interesting behaviour with its return

Re: [PATCH v2 0/2] raspi: pass additional VC values via dtb

2023-09-28 Thread Denis Osterland-Heim
9:36PM +0200, Denis Osterland-Heim wrote: > > v2: fix whitespace error, add acked-by of Ahmad, fix line of 80 > > chars > > > > Denis OSTERLAND-HEIM (2): > >   raspi: support to read vc values via dt-2nd boot > >   raspi: fixup additional vc created nodes &

Re: [PATCH v2 2/2] fixup! raspi: fixup additional vc created nodes

2023-10-04 Thread Denis Osterland-Heim
Hi, Looks broken again, sorry. Regards, Denis Am Mittwoch, dem 04.10.2023 um 17:22 +0200 schrieb Denis Osterland- Heim: > From: Denis OSTERLAND-HEIM > > --- >  arch/arm/boards/raspberry-pi/rpi-common.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

[PATCH v2 1/2] fixup! raspi: support to read vc values via dt-2nd boot

2023-10-04 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM ---  arch/arm/boards/raspberry-pi/rpi-common.c | 4 ++--  1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c index 56887abbc0..ea3c72fb94 100644 --- a/arch/arm/boards

[PATCH v2 2/2] fixup! raspi: fixup additional vc created nodes

2023-10-04 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM ---  arch/arm/boards/raspberry-pi/rpi-common.c | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c index ea3c72fb94..713fad78c9 100644 --- a/arch/arm/boards/raspberry

[PATCH v2 1/2] raspi: support to read vc values via dt-2nd boot

2023-09-25 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM In case of boot via dt-2nd pbl does not copy dtb, because it is not executed. With this patch the values were read and registered as fix-ups. It also adds a inif function that only fix-ups the ethernet MAC address. Signed-off-by: Denis OSTERLAND-HEIM Acked-by: Ahmad

[PATCH v2 0/2] raspi: pass additional VC values via dtb

2023-09-25 Thread Denis Osterland-Heim
v2: fix whitespace error, add acked-by of Ahmad, fix line of 80 chars Denis OSTERLAND-HEIM (2):   raspi: support to read vc values via dt-2nd boot   raspi: fixup additional vc created nodes  arch/arm/boards/raspberry-pi/rpi-common.c | 69 ++-  1 file changed

[PATCH v2 2/2] raspi: fixup additional vc created nodes

2023-09-25 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM The video core creates some additional nodes. This code takes over this values. The /hat node is only there if an raspi hat with EEPROM is detected. Signed-off-by: Denis OSTERLAND-HEIM Acked-by: Ahmad Fatoum ---  arch/arm/boards/raspberry-pi/rpi-common.c | 39

[PATCH v2 1/2] fixup! raspi: support to read vc values via dt-2nd boot

2023-10-06 Thread Denis OSTERLAND-HEIM
--- arch/arm/boards/raspberry-pi/rpi-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c index 56887abbc0..ea3c72fb94 100644 --- a/arch/arm/boards/raspberry-pi/rpi-common.c +++

[PATCH v2 2/2] fixup! raspi: fixup additional vc created nodes

2023-10-06 Thread Denis OSTERLAND-HEIM
--- arch/arm/boards/raspberry-pi/rpi-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c index ea3c72fb94..713fad78c9 100644 --- a/arch/arm/boards/raspberry-pi/rpi-common.c +++

[PATCH 1/2] raspi: support to read vc values via dt-2nd boot

2023-08-02 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM In case of boot via dt-2nd pbl does not copy dtb, because it is not executed. With this patch the values were read and registered as fix-ups. It also adds a inif function that only fix-ups the ethernet MAC address. Signed-off-by: Denis OSTERLAND-HEIM ---  arch/arm

[PATCH 0/2] raspi: pass additional VC values via dtb

2023-08-02 Thread Denis Osterland-Heim
The first patch registers the same fixups as a boot of barebox-raspberry-pi.img when booting barebox-dt-2nd.img, too. The second patch adds fixups for additonal VC values. Denis OSTERLAND-HEIM (2):   raspi: support to read vc values via dt-2nd boot   raspi: fixup additional vc created

[PATCH 2/2] raspi: fixup additional vc created nodes

2023-08-02 Thread Denis Osterland-Heim
From: Denis OSTERLAND-HEIM The video core creates some additional nodes. This code takes over this values. The /hat node is only there if an raspi hat with EEPROM is detected. Signed-off-by: Denis OSTERLAND-HEIM ---  arch/arm/boards/raspberry-pi/rpi-common.c | 38 +--  1

RE: [EXT] Re: [PATCH v2 2/2] raspi: fixup additional vc created nodes

2024-02-20 Thread Denis OSTERLAND-HEIM
evice_node : root); Now rpi_vc_fdt_parse() is called in both cases. So, it should be: if (!IS_ERR(root)) rpi_vc_fdt_parse(root); > rpi_set_kernel_name(); > ... Or do I miss something? Regards, Denis -Original Message----- From: Ahmad Fatoum Sent: Monday, February 19,

RE: [EXT] Re: [EXT] Re: [PATCH v2 2/2] raspi: fixup additional vc created nodes

2024-02-20 Thread Denis OSTERLAND-HEIM
the patches, I guess I would have to find a way to do it in script. Regards, Denis -Original Message- From: Ahmad Fatoum Sent: Tuesday, February 20, 2024 4:33 PM To: Denis OSTERLAND-HEIM ; Roland Hieber ; Denis Osterland-Heim Cc: barebox@lists.infradead.org; Alexander Dahl Subject: [EXT] Re

RE: [EXT] Re: [EXT] Re: [EXT] Re: [PATCH v2 2/2] raspi: fixup additional vc created nodes

2024-02-28 Thread Denis OSTERLAND-HEIM
OSTERLAND-HEIM ; Roland Hieber ; Denis Osterland-Heim Cc: barebox@lists.infradead.org; Alexander Dahl Subject: [EXT] Re: [EXT] Re: [EXT] Re: [PATCH v2 2/2] raspi: fixup additional vc created nodes [EXTERNAL EMAIL] Hello Denis, On 21.02.24 08:46, Denis OSTERLAND-HEIM wrote: > Hi, > >

RE: [EXT] Re: [EXT] Re: [EXT] Re: [EXT] Re: [PATCH v2 2/2] raspi: fixup additional vc created nodes

2024-03-05 Thread Denis OSTERLAND-HEIM
Hi, Cool. Thanks for the trigger. Works fine on my side. You can add my Tested-by: Denis Osterland-Heim Regards, Denis -Original Message- From: Ahmad Fatoum Sent: Tuesday, March 5, 2024 11:34 AM To: Denis OSTERLAND-HEIM ; Roland Hieber ; Denis Osterland-Heim Cc: barebox