[PATCH] phycore-imx8mp: Enable standard boot

2025-07-10 Thread Leonard Anderweit
Enable standard boot for the phycore-imx8mp and use it as default. Add all variables required for standard boot to the environment. Signed-off-by: Leonard Anderweit Tested-by: Martin Schwan --- .../phytec/phycore_imx8mp/phycore_imx8mp.env | 78 +++ configs/phycore

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-04-05 Thread Leonard Anderweit
Hi, Am Freitag, dem 28.03.2025 um 10:23 -0300 schrieb Fabio Estevam: > Hi Simon, > > On Fri, Mar 28, 2025 at 8:42 AM Simon Glass wrote: > > > Did you figure it out? > > > > I'm not really sure. It works fine in my tree and I just tested it > > now. Perhaps there are some other patches missing

[PATCH 2/2] CI: Build missing binman tools before binman tests

2025-04-05 Thread Leonard Anderweit
The CI image does not ship with all tools required for the binman tests. Have binman build the missing tools. Signed-off-by: Leonard Anderweit --- .azure-pipelines.yml | 1 + .gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml

Re: [PATCH 2/2] CI: Build missing binman tools before binman tests

2025-04-04 Thread Leonard Anderweit
Hi Fabio, Am Dienstag, dem 01.04.2025 um 08:12 -0300 schrieb Fabio Estevam: > Hi Leonard, > > On Tue, Apr 1, 2025 at 5:46 AM Leonard Anderweit > wrote: > > > > The CI image does not ship with all tools required for the binman > > tests. > > Have binman buil

[PATCH v2 2/2] doc: build: docker: Use code-block for syntax highlighting

2025-04-01 Thread Leonard Anderweit
Use ..code-block:: syntax highlighting instead of :: so all bash commands use the same syntax highlighting. Signed-off-by: Leonard Anderweit --- doc/build/docker.rst | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/build/docker.rst b/doc/build/docker.rst index

Re: [PATCH] doc: build: docker: Fix code-block formatting

2025-04-01 Thread Leonard Anderweit
Hi Quentin, Am Dienstag, dem 01.04.2025 um 12:07 +0200 schrieb Quentin Schulz: > Hi Leonard, > > On 4/1/25 11:49 AM, Leonard Anderweit wrote: > > Remove double : before code-block. While at it, use code-block for > > all > > Why? I just found it odd that th

[PATCH v2 1/2] doc: build: docker: Fix code highlighting syntax

2025-04-01 Thread Leonard Anderweit
Remove double :: before .. code-block:: bash to correctly highlight the following commands. Signed-off-by: Leonard Anderweit --- v2: split in two patches --- doc/build/docker.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/docker.rst b/doc/build/docker.rst

[PATCH] doc: build: docker: Fix code-block formatting

2025-04-01 Thread Leonard Anderweit
Remove double : before code-block. While at it, use code-block for all bash commands. Signed-off-by: Leonard Anderweit --- doc/build/docker.rst | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/build/docker.rst b/doc/build/docker.rst index 01ed35050908

[PATCH 1/2] Dockerfile: install byacc

2025-04-01 Thread Leonard Anderweit
Install byacc required to build cst from source. Signed-off-by: Leonard Anderweit --- tools/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 569912303fc9..60f63c2d73dc 100644 --- a/tools/docker/Dockerfile +++ b/tools

[PATCH v2 1/3] binman: build_from_git: Add argument specifying branch

2025-02-26 Thread Leonard Anderweit
Add optional argument git_branch to build_from_git. The new argument allows specifying which branch of the repo to use. Signed-off-by: Leonard Anderweit --- tools/binman/bintool.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/binman/bintool.py b/tools

[PATCH v2 2/3] binman: build_from_git: Add optional make path inside git repo

2025-02-26 Thread Leonard Anderweit
Add optional argument make_path to build_from git. The new argument allows specifying the path to a Makefile in case it is not in the root of the git repo. Also adjust the corresponding test. Signed-off-by: Leonard Anderweit --- v2: fix tests --- tools/binman/bintool.py | 9

[PATCH v2 3/3] binman: cst: Build from source

2025-02-26 Thread Leonard Anderweit
description and add a link to documentation. Signed-off-by: Leonard Anderweit --- v2: add documentation --- tools/binman/bintools.rst | 8 tools/binman/btool/cst.py | 37 + 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/tools/binman

[PATCH 2/3] binman: build_from_git: Add optional make path inside git repo

2025-02-25 Thread Leonard Anderweit
Add optional argument make_path to build_from git. The new argument allows specifying the path to a Makefile in case it is not in the root of the git repo. Signed-off-by: Leonard Anderweit --- tools/binman/bintool.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a

[PATCH 1/3] binman: build_from_git: Add argument specifying branch

2025-02-25 Thread Leonard Anderweit
Add optional argument git_branch to build_from_git. The new argument allows specifying which branch of the repo to use. Signed-off-by: Leonard Anderweit --- tools/binman/bintool.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/binman/bintool.py b/tools

[PATCH 3/3] binman: cst: Build from source

2025-02-25 Thread Leonard Anderweit
: Leonard Anderweit --- tools/binman/btool/cst.py | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/tools/binman/btool/cst.py b/tools/binman/btool/cst.py index 30e78bdbbd9d..0a23d12d3e2f 100644 --- a/tools/binman/btool/cst.py +++ b/tools/binman/btool

[PATCH] phycore-imx8mp: Enable CAAM in spl

2025-01-17 Thread Leonard Anderweit
Enable CAAM in spl. Signed-off-by: Leonard Anderweit --- board/phytec/phycore_imx8mp/spl.c | 2 ++ configs/phycore-imx8mp_defconfig | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c index 0610d8bbd0b8

[PATCH] doc: cosmetic: fwu_updates: Fix formatting

2024-12-13 Thread Leonard Anderweit
Remove one of the double colon so ..code-block is used for formatting. Signed-off-by: Leonard Anderweit --- doc/develop/uefi/fwu_updates.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/develop/uefi/fwu_updates.rst b/doc/develop/uefi/fwu_updates.rst index

[PATCH] configs: phycore-imx8mp_defconfig: Initialize caam

2024-07-05 Thread Leonard Anderweit
Initialize the Cryptographic Accelerator and Assurance Module. Signed-off-by: Leonard Anderweit --- configs/phycore-imx8mp_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index e84d761aeb8c

[PATCH v3 4/5] include: env: Add phytec RAUC boot logic

2024-03-12 Thread Leonard Anderweit
Add logic for booting systems with the RAUC update mechanism. This can be reused by other phytec boards. Signed-off-by: Leonard Anderweit Tested-by: Teresa Remmet --- include/env/phytec/rauc.env | 52 + 1 file changed, 52 insertions(+) create mode 100644

[PATCH v3 5/5] board: phytec: phycore_imx8mp: Add RAUC boot logic to environment

2024-03-12 Thread Leonard Anderweit
Add RAUC boot logic to the environment. This is the first board to utilize this environment. Signed-off-by: Leonard Anderweit Tested-by: Teresa Remmet --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/board/phytec

[PATCH v3 3/5] configs: phycore-imx8mp_defconfig: Use redundant environment

2024-03-12 Thread Leonard Anderweit
Add support for the redundant environment. Signed-off-by: Leonard Anderweit Tested-by: Teresa Remmet --- configs/phycore-imx8mp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index fd492eba3c10..6c67f14b5559

[PATCH v3 2/5] phycore_imx8mp: Move default bootcmd to board env

2024-03-12 Thread Leonard Anderweit
Move the default bootcmd from the defconfig to the board environment. No change in functionality. Signed-off-by: Leonard Anderweit Tested-by: Teresa Remmet --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 12 configs/phycore-imx8mp_defconfig | 2 -- 2 files

[PATCH v3 1/5] phycore_imx8mp: Move environment from include/config to board

2024-03-12 Thread Leonard Anderweit
Move the environment into the board directory and convert it from a C header to a text file. Sort the variables alphabetically. No functional changes. Signed-off-by: Leonard Anderweit Reviewed-by: Teresa Remmet Tested-by: Teresa Remmet --- .../phytec/phycore_imx8mp/phycore_imx8mp.env | 45

[PATCH v3 0/5] Add RAUC boot logic for phycore_imx8mp

2024-03-12 Thread Leonard Anderweit
third patch enables the redundant environment on phycore_imx8mp. Patch 4 adds RAUC boot logic common to all phytec boards. Patch 5 adds the RAUC boot logic to phycore_imx8mp. v3: - swap loadimage and loadfdt in first patch - add Tested-by and Reviewed-by v2: - rebase on next Leonard Anderweit (5

[PATCH v2 3/5] configs: phycore-imx8mp_defconfig: Use redundant environment

2024-03-12 Thread Leonard Anderweit
Add support for the redundant environment. Signed-off-by: Leonard Anderweit --- configs/phycore-imx8mp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index fd492eba3c10..6c67f14b5559 100644 --- a/configs

[PATCH v2 4/5] include: env: Add phytec RAUC boot logic

2024-03-12 Thread Leonard Anderweit
Add logic for booting systems with the RAUC update mechanism. This can be reused by other phytec boards. Signed-off-by: Leonard Anderweit --- include/env/phytec/rauc.env | 52 + 1 file changed, 52 insertions(+) create mode 100644 include/env/phytec/rauc.env

[PATCH v2 5/5] board: phytec: phycore_imx8mp: Add RAUC boot logic to environment

2024-03-12 Thread Leonard Anderweit
Add RAUC boot logic to the environment. This is the first board to utilize this environment. Signed-off-by: Leonard Anderweit --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/board/phytec/phycore_imx8mp

[PATCH v2 2/5] phycore_imx8mp: Move default bootcmd to board env

2024-03-12 Thread Leonard Anderweit
Move the default bootcmd from the defconfig to the board environment. No change in functionality. Signed-off-by: Leonard Anderweit --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 12 configs/phycore-imx8mp_defconfig | 2 -- 2 files changed, 12 insertions(+), 2

[PATCH v2 1/5] phycore_imx8mp: Move environment from include/config to board

2024-03-12 Thread Leonard Anderweit
Move the environment into the board directory and convert it from a C header to a text file. Sort the variables alphabetically. No functional changes. Signed-off-by: Leonard Anderweit --- .../phytec/phycore_imx8mp/phycore_imx8mp.env | 45 +++ include/configs/phycore_imx8mp.h

[PATCH v2 0/5] Add RAUC boot logic for phycore_imx8mp

2024-03-12 Thread Leonard Anderweit
third patch enables the redundant environment on phycore_imx8mp. Patch 4 adds RAUC boot logic common to all phytec boards. Patch 5 adds the RAUC boot logic to phycore_imx8mp. v2: - rebase on next Leonard Anderweit (5): phycore_imx8mp: Move environment from include/config to board phycore_imx8mp

Re: [PATCH 3/5] configs: phycore-imx8mp_defconfig: Use redundant environment

2024-03-11 Thread Leonard Anderweit
Hi Fabio, Am Montag, dem 11.03.2024 um 11:05 -0300 schrieb Fabio Estevam: > Hi Leonard, > > On Mon, Mar 11, 2024 at 10:04 AM Leonard Anderweit > wrote: > > > > Add support for the redundant environment. > > > > Signed-off-by: Leonard Anderweit > >

[PATCH 4/5] include: env: Add phytec RAUC boot logic

2024-03-11 Thread Leonard Anderweit
Add logic for booting systems with the RAUC update mechanism. This can be reused by other phytec boards. Signed-off-by: Leonard Anderweit --- include/env/phytec/rauc.env | 52 + 1 file changed, 52 insertions(+) create mode 100644 include/env/phytec/rauc.env

[PATCH 5/5] board: phytec: phycore_imx8mp: Add RAUC boot logic to environment

2024-03-11 Thread Leonard Anderweit
Add RAUC boot logic to the environment. This is the first board to utilize this environment. Signed-off-by: Leonard Anderweit --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/board/phytec/phycore_imx8mp

[PATCH 3/5] configs: phycore-imx8mp_defconfig: Use redundant environment

2024-03-11 Thread Leonard Anderweit
Add support for the redundant environment. Signed-off-by: Leonard Anderweit --- configs/phycore-imx8mp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index fd492eba3c10..6c67f14b5559 100644 --- a/configs

[PATCH 2/5] phycore_imx8mp: Move default bootcmd to board env

2024-03-11 Thread Leonard Anderweit
Move the default bootcmd from the defconfig to the board environment. No change in functionality. Signed-off-by: Leonard Anderweit --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 12 configs/phycore-imx8mp_defconfig | 2 -- 2 files changed, 12 insertions(+), 2

[PATCH 1/5] phycore_imx8mp: Move environment from include/config to board

2024-03-11 Thread Leonard Anderweit
Move the environment into the board directory and convert it from a C header to a text file. Sort the variables alphabetically. No functional changes. Signed-off-by: Leonard Anderweit --- .../phytec/phycore_imx8mp/phycore_imx8mp.env | 45 +++ include/configs/phycore_imx8mp.h

[PATCH 0/5] Add RAUC boot logic for phycore_imx8mp

2024-03-11 Thread Leonard Anderweit
third patch enables the redundant environment on phycore_imx8mp. Patch 4 adds RAUC boot logic common to all phytec boards. Patch 5 adds the RAUC boot logic to phycore_imx8mp. Leonard Anderweit (5): phycore_imx8mp: Move environment from include/config to board phycore_imx8mp: Move default bootcmd to