Re: [PATCH 3/4] efi_loader: use INCLUDE in EFI linker scripts

2025-01-15 Thread Ilias Apalodimas
On Tue, 14 Jan 2025 at 12:30, Heinrich Schuchardt wrote: > > Except for the architecture specific lines ARM and RISC-V can use the same > linker script. Move the common lines to an include. > > Signed-off-by: Heinrich Schuchardt > --- > arch/arm/lib/elf_aarch64_efi.lds | 68 +--

Re: [PATCH 4/4] efi_loader: use include in ARM EFI linker script

2025-01-15 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 10:53, Heinrich Schuchardt wrote: > > On 15.01.25 09:06, Ilias Apalodimas wrote: > > Hi Heinrich > > > > > > On Tue, 14 Jan 2025 at 12:30, Heinrich Schuchardt > > wrote: > >> > >> Use the same include as arm64 for the linker script. > >> > >> Adjust the 32-bit ARM PE-COFF h

Re: [PATCH 03/10] usb: dwc3-generic: Reorder include

2025-01-15 Thread Patrice CHOTARD
On 1/14/25 15:51, Marek Vasut wrote: > On 1/14/25 3:45 PM, Patrice Chotard wrote: >> Reorder include following rules available here : >> https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files >> >> Signed-off-by: Patrice Chotard >> Cc: Marek Vasut >> --- >> >>   drivers/usb/d

[PATCH] board: phytec: phycore-am62x: Add DDR size fixups if ECC is enabled

2025-01-15 Thread Wadim Egorov
With commit 22ce56a3ebdb ("ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue") we need to provide the detected RAM size in the device tree node prio to K3 DDRSS driver probe. This is done by calling fdt_fixup_memory_banks() in do_board_detect(

Re: [PATCH 2/3] image: Add support for starting TFA BL31 as fitImage loadables

2025-01-15 Thread Quentin Schulz
Hi Marek, Biju, On 1/13/25 2:31 PM, Biju Das wrote: Hi Marex, -Original Message- From: Marek Vasut Sent: 13 January 2025 12:40 Subject: Re: [PATCH 2/3] image: Add support for starting TFA BL31 as fitImage loadables On 1/13/25 1:15 PM, Biju Das wrote: Hi Marex, Thanks for the patch

Re: [PATCH 3/5] pxe_utils: Allow the FDT to be missing

2025-01-15 Thread Quentin Schulz
Hi Simon, On 1/15/25 2:16 AM, Simon Glass wrote: Hi Quentin, On Tue, 14 Jan 2025 at 08:13, Quentin Schulz wrote: Hi Simon, On 12/20/24 5:01 AM, Simon Glass wrote: The devicetree file may not be provided, so avoid a failure in that case. Can you provide a bit more information on when/why

[PATCH 1/2] .mailmap: update email address for Christopher Obbard

2025-01-15 Thread Christopher Obbard
Update my email address. Signed-off-by: Christopher Obbard --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 005e965b84f8ec441f7868664eeaf394076264a0..dc11775d4e7f8294f77f5bef55214c7f743e3202 100644 --- a/.mailmap +++ b/.mailmap @@ -36,6 +36,7 @@ Bin Me

[PATCH v2 4/4] board: vexpress64: enable bloblist for SPL handoff

2025-01-15 Thread Harrison Mutai
Enable bloblist on vexpress64 platforms to facilitate information passing from TF-A using the firmware handoff framework. Signed-off-by: Harrison Mutai --- board/armltd/vexpress64/Makefile| 3 ++- board/armltd/vexpress64/vexpress64.c| 4 configs/vexpress_fvp_bloblist_defconfi

[PATCH v2 1/4] bloblist: fix typo in code comments

2025-01-15 Thread Harrison Mutai
Fix the two typos in the spelling of same and set in common/Kconfig and include/bloblist.h. Signed-off-by: Harrison Mutai --- common/Kconfig | 2 +- include/bloblist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 0e8c44f3f7..7a8

[PATCH v2 3/4] bloblist: add support for CONFIG_BLOBLIST_PASSAGE

2025-01-15 Thread Harrison Mutai
When the configuration option CONFIG_BLOBLIST_PASSAGE is selected, the bloblist present in the incoming standard passage is utilised in-place. There is no need to specify the size of the bloblist as the system automatically detects it using the header information. Signed-off-by: Harrison Mutai --

[PATCH v2 2/4] board: vexpress64: default to hardware device tree

2025-01-15 Thread Harrison Mutai
When booting into the Linux kernel with semi-hosting, use the device tree provided by hardware unless one is provided in the current directory. Signed-off-by: Harrison Mutai --- include/configs/vexpress_aemv8.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/con

[PATCH v2 0/4] Enable bloblist support on Vexpress64

2025-01-15 Thread Harrison Mutai
This series of patches enhances the vexpress64 platform by enabling bloblist support. It also introduces support for CONFIG_BLOBLIST_PASSAGE. This is necessary to boot vexpress64 and other boards without manually specifying a fixed address and size for the bloblist. After this change, all the blob

Re: [PATCH 1/3] clk: rockchip: rk3328: use HDMIPHY PLL as a clock parent for VOP_DCLK

2025-01-15 Thread Matwey V. Kornilov
Thanks. Very interesting. I'll test it on my Rock64 at the weekend. вт, 14 янв. 2025 г. в 08:26, Vasily Khoruzhick : > > The only video mode that currently works on rk3328 in u-boot is 1080p, > because it uses GPLL for VOP_DCLK clock parent. > > Linux driver uses HDMIPHY PLL as a clock parent for

Re: [PATCH 1/8] ARM: renesas: Rename board/renesas/rcar-common to board/renesas/common

2025-01-15 Thread Quentin Schulz
Hi Marek, On 1/12/25 11:34 PM, Marek Vasut wrote: Rename directory board/renesas/rcar-common to board/renesas/common and move files. This allows the build system to use HAVE_VENDOR_COMMON_LIB which automatically includes board/$(VENDOR)/common/Makefile . This is Please mention this is NOT suff

Re: [PATCH 2/4] scripts/Makefile.lib: add -L option to LD command for EFI binaries

2025-01-15 Thread Ilias Apalodimas
On Tue, 14 Jan 2025 at 12:30, Heinrich Schuchardt wrote: > > The linker uses the path specified with -L to search for linker scripts > and for linker script includes. > > For out-of-tree builds specify the build directory with -L instead of > the absolute path of the linker script. This allows usi

Re: [PATCH] arm: Remove redundant loading of image copy start offset.Because the beginning is already computed

2025-01-15 Thread Quentin Schulz
Hi Liya, On 1/15/25 2:56 AM, 1425075...@qq.com wrote: [You don't often get email from 1425075...@qq.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] From: Liya Huang <1425075...@qq.com> Please have some commit log in there justifying the change. There seem

Re: [PATCH] linker_lists: Update the alignment using CONFIG_LINKER_LIST_ALIGN

2025-01-15 Thread Simon Glass
Hi Quentin, On Wed, 15 Jan 2025 at 03:58, Quentin Schulz wrote: > > Hi Liya, > > On 1/14/25 8:09 AM, 1425075...@qq.com wrote: > > [You don't often get email from 1425075...@qq.com. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > From: Liya Huang <142507

Re: [PATCH v3 05/13] power-domain: Add refcounting

2025-01-15 Thread Simon Glass
Hi Miquel, On Fri, 10 Jan 2025 at 11:43, Miquel Raynal wrote: > > It is very surprising that such an uclass, specifically designed to > handle resources that may be shared by different devices, is not keeping > the count of the number of times a power domain has been > enabled/disabled to avoid s

Re: [PATCH 04/10] usb: dwc3-generic: Add STih407 support

2025-01-15 Thread Patrice CHOTARD
On 1/14/25 15:53, Marek Vasut wrote: > On 1/14/25 3:45 PM, Patrice Chotard wrote: > >> +    /* glue init */ >> +    reg = readl(glue_base + CLKRST_CTRL); >> + >> +    reg |= AUX_CLK_EN | EXT_CFG_RESET_N | XHCI_REVISION; >> +    reg &= ~SW_PIPEW_RESET_N; >> + >> +    writel(reg, glue_base + CLKR

Re: [PATCH 1/2] efi_loader: efi_setup: Add efi_start_obj_list() to efi_setup.c

2025-01-15 Thread Simon Glass
Hi Heinrich, On Fri, 10 Jan 2025 at 08:13, Heinrich Schuchardt wrote: > > On 10.01.25 14:40, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 3 Jan 2025 at 12:55, Heinrich Schuchardt wrote: > >> > >> On 06.12.24 18:30, Adriano Cordova wrote: > >>> The command bootefi calls efi_init_obj_list t

Re: [PATCH v5 4/8] RFC: Revert "bootstd: Make efi_mgr bootmeth work for non-sandbox setups"

2025-01-15 Thread Simon Glass
Hi Tom, On Fri, 10 Jan 2025 at 10:05, Tom Rini wrote: > > On Fri, Jan 10, 2025 at 06:41:00AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 9 Jan 2025 at 08:22, Tom Rini wrote: > > > > > > On Thu, Jan 09, 2025 at 08:11:58AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

[PATCH v4 03/20] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-01-15 Thread Alice Guo
From: Alice Guo This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/pinctrl/nxp/Kconfig

[PATCH v4 05/20] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

2025-01-15 Thread Alice Guo
From: Peng Fan SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Re

[PATCH v4 06/20] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-01-15 Thread Alice Guo
From: Peng Fan SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan Signe

[PATCH v4 01/20] mailbox: add i.MX95 Messaging Unit (MU) driver

2025-01-15 Thread Alice Guo
From: Peng Fan i.MX95 Messaging Unit (MU) enables 2 processors on a chip to communicate and coordinate by passing messages (e.g. frame information, event notices and requests) through the MU interface. This patch provides a driver for i.MX95 MU using the common mailbox framework. Currently, SCMI

[PATCH v4 00/20] imx: add i.MX95 support

2025-01-15 Thread Alice Guo
Changes in v4: - split the SCMI pin controller driver and SCMI agent code - update i.MX95 SoC and clock related code, board basic support code and so on according to comments - move the function that loads ATF and tee.bin to spl_imx_container.c - add document for i.MX95 image container format S

[PATCH v4 04/20] firmware: scmi: add pin control protocol support to SCMI agent

2025-01-15 Thread Alice Guo
From: Alice Guo This patch adds SCMI pin control protocol support so that the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c

[PATCH v4 02/20] firmware: scmi: smt: Interrupt communication enable

2025-01-15 Thread Alice Guo
From: Viorel Suman i.MX95 System Manager uses interrupt driven communication which requires the caller to set Bit[0] of channel flags to 1. When transmission completes and the previous general purpose interrupt has been processed by the other core, i.MX95 System Manager will set General Purpose I

[PATCH v4 17/20] tools: imx8image: add i.MX95 support

2025-01-15 Thread Alice Guo
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is comsisted of ARM Trusted firmware

[PATCH v4 12/20] imx9: scmi: add i.MX95 SoC and clock related code

2025-01-15 Thread Alice Guo
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Ye Li Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h| 2 + arch/arm/incl

[PATCH v4 14/20] imx9: add i.MX95 Kconfig and Makefile

2025-01-15 Thread Alice Guo
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 8 arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) d

[PATCH v4 16/20] binman: add a new entry type for packing DDR PHY firmware images

2025-01-15 Thread Alice Guo
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 ++ tools/binman/etype/nxp_header_ddrfw.py| 32

[PATCH v4 11/20] scmi: add the macro SCMI_MSG

2025-01-15 Thread Alice Guo
From: Peng Fan This patch adds the macro SCMI_MSG for protocols that do not need _in_array. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- include/scmi_agent.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/scmi_agent.h b/include/scmi_agent.

[PATCH v4 13/20] spl: imx: use trampoline buffer to load images to secure region

2025-01-15 Thread Alice Guo
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v4 15/20] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-01-15 Thread Alice Guo
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

Re: [PATCH 3/5] pxe_utils: Allow the FDT to be missing

2025-01-15 Thread Simon Glass
Hi Quentin, On Wed, 15 Jan 2025 at 04:59, Quentin Schulz wrote: > > Hi Simon, > > On 1/15/25 2:16 AM, Simon Glass wrote: > > Hi Quentin, > > > > On Tue, 14 Jan 2025 at 08:13, Quentin Schulz > > wrote: > >> > >> Hi Simon, > >> > >> On 12/20/24 5:01 AM, Simon Glass wrote: > >>> The devicetree fil

[PATCH v4 08/20] clk: scmi: check the clock state/parent/rate control permissions

2025-01-15 Thread Alice Guo
From: Alice Guo Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. When using common clock framework (CCF), use the clock signal ID to get the clock registered by clk

Re: dtc: "syntax error" linked to &{label/subnode} syntax

2025-01-15 Thread Simon Glass
Hi Patrice, On Wed, 15 Jan 2025 at 03:19, Patrice CHOTARD wrote: > > Hi > > I am currently converting STM32MP platforms to OF_UPSTREAM. > As we use same binary for several boards, flags > CONFIG_OF_UPSTREAM_BUILD_VENDOR=y > and CONFIG_OF_UPSTREAM_VENDOR="st" are set. > > So all dts/upstream/src/

[PATCH v4 07/20] clk: scmi: add the command CLOCK_PARENT_SET

2025-01-15 Thread Alice Guo
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/clk/clk_scmi.c | 20 +

[PATCH v4 09/20] sandbox: add SCMI clock control permissions to sandbox

2025-01-15 Thread Alice Guo
This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 ++ drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3 deletions(-) dif

[PATCH v4 10/20] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-01-15 Thread Alice Guo
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. The number of elements of @protocols is specified by callee-side. Currently, set it to 4 is enough for i.MX95. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- include/scmi_protocols

[PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-15 Thread Alice Guo
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v4 19/20] doc: imx: add document for i.MX95 Image Container Format

2025-01-15 Thread Alice Guo
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) diff --git a/doc/imx/imx95_container.txt b/doc/imx/imx95_container.txt ne

[PATCH v4 18/20] imx: add V2X container support on i.MX95

2025-01-15 Thread Alice Guo
From: Teo Hall This patch adds V2X container support on i.MX95. Signed-off-by: Ye Li Signed-off-by: Teo Hall Signed-off-by: Alice Guo --- arch/arm/mach-imx/image-container.c | 63 +++-- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/arch/arm/m

[PATCH 01/43] test: Drop unused suite prototypes

2025-01-15 Thread Simon Glass
Drop some the prototypes for functions which were removed in earlier series. Signed-off-by: Simon Glass --- include/test/suites.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index 2ceef577f7f..e40ad634702 100644 --- a/include/test/suit

[PATCH 03/43] test: Add functions to init and uninit the test state

2025-01-15 Thread Simon Glass
Move these operations into separate functions so that it is clearer what is needed. These functions can also be called from somewhere other than ut_run_list(). Signed-off-by: Simon Glass --- test/test-main.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --gi

[PATCH 00/43] test: Improvements to ut command and test-suite running

2025-01-15 Thread Simon Glass
The current method of running unit tests relies on subcommands of the ut command. Only the code in each subcommand knows how to find the tests related to that subcomand. This is not ideal and we now have quite a few subcommands which do nothing but locate the relevant tests in a linker list, then

[PATCH 04/43] test: Pass the test-state into ut_run_list()

2025-01-15 Thread Simon Glass
Pass this into the function so that callers can inspect the state afterwards. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c | 5 - include/test/ut.h | 29 ++--- test/cmd_ut.c | 5 - test/test-main.c | 35 +

[PATCH 02/43] test: Rename test_get_state() to ut_get_state()

2025-01-15 Thread Simon Glass
Rename this function and test_set_state() so use the same ut_ prefix as other functions in ut.h Signed-off-by: Simon Glass --- include/test/ut.h | 8 test/dm/test-driver.c | 10 +- test/dm/test-uclass.c | 8 test/test-main.c | 8 4 files changed, 1

[PATCH 05/43] Improve support for linker lists in data structures

2025-01-15 Thread Simon Glass
A limitation of most linker_list macros is that they cannot easily be used in data structures. This is because they include code inside their expressions. Provide a way to support this, with new ll_start_decl() and ll_end_decl() macros. Signed-off-by: Simon Glass --- include/linker_lists.h | 5

[PATCH 06/43] test: Add newlines to hush-test messages

2025-01-15 Thread Simon Glass
A few messages lack a newline so the test output shows the next test-name on the same line. For example: Beware: this test sets local variable dollar_bar and dollar_quux and they cannot be unset!Test: hush_test_env_dollar: dollar.c This is confusing, so fix it. Signed-off-by: Simon Glas

[PATCH 09/43] test/py: Add a test which runs all unit tests

2025-01-15 Thread Simon Glass
Add a Python test which runs 'ut all' and then checks that the expected suites are present and all tests in each suite are run. This can help to check that nothing is missing. Update 'ut info' to ignore the 'all' suite when counting the number of suites, since that is really just a combination of

[PATCH 10/43] test: Drop the _test suffix on linker lists

2025-01-15 Thread Simon Glass
Most test suites have a _test suffix. This is not necessary as there is also a ut_ prefix. Drop the suffix so that (with future work) the suite name can be used as the linker-list name. Remove the suffix from the pytest regex as well, moving it to the top of the file, as it is a constant. Signed

[PATCH 08/43] test: Update ut info to show suites

2025-01-15 Thread Simon Glass
It is helpful to see a list of available suites. At present this is handled by the longhelp for the 'ut' command, but this is not in a format which can be easily parsed by python tests. Add a -s option to show this. At present it is not possible to show the number of tests in each suite, but futur

[PATCH 07/43] test: Rename test suites to match their linker-list name

2025-01-15 Thread Simon Glass
Some suites have a different name from that used in the linker list. That makes it hard to programmatically match the name printed when the suite runs to the linker-list name it has. Update the names so they are the same. Signed-off-by: Simon Glass --- include/test/cmd.h| 2 +- test/boot/u

[PATCH 11/43] test: Introduce a better array of test suites

2025-01-15 Thread Simon Glass
The current cmd_ut_sub[] array was fine when there were only a few test suites. But is quite unwieldy now: - it requires a separate do_ut_xxx for each suite, even though the code for most is almost identical - running more than one suite requires running multiple commands, and there is no reco

[PATCH 12/43] test: Drop the function for running bdinfo tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/bdinfo.c | 8 test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index c

[PATCH 14/43] test: Drop the function for running common tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/common/Makefile| 1 - test/common/cmd_ut_common.c | 21 - 4 files changed, 1 insertion(+), 24 deletions(

[PATCH 15/43] test: Drop the function for running dm tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/dm/Makefile | 2 -- test/dm/test-dm.c | 15 --- 4 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 test/d

[PATCH 16/43] test: Drop the function for running env tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/env/cmd_ut_env.c | 9 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 18/43] test: Drop the function for running fdt tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/fdt.c| 8 test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index 7

[PATCH 13/43] test: Drop the function for running cmd tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/Makefile | 2 -- test/cmd/cmd_ut_cmd.c | 20 test/cmd_ut.c | 2 +- 4 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 t

[PATCH 17/43] test: Drop the function for running exit tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/exit.c | 9 - test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 23/43] test: Drop the function for running mem tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/Makefile | 2 +- test/cmd/mem.c| 19 --- test/cmd_ut.c | 2 +- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 t

[PATCH 21/43] test: Drop the function for running log tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/log/Makefile | 2 -- test/log/log_ut.c | 20 4 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 t

[PATCH 22/43] test: Drop the function for running mbr tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/mbr.c| 8 test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index 7

[PATCH 19/43] test: Drop the function for running font tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/font.c | 8 test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index b

[PATCH 20/43] test: Drop the function for running lib tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/lib/Makefile | 1 - test/lib/cmd_ut_lib.c | 19 --- 4 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 tes

[PATCH 27/43] test: Drop the function for running bootm tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/boot/bootm.c | 9 - test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 24/43] test: Drop the function for running setexpr tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 2 -- test/cmd/setexpr.c| 9 - test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 30/43] test: Drop the function for running loadm tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/loadm.c | 9 - test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 33/43] test: Drop the function for running upl tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. It is not clear that these actually work, since they are not enabled on sandbox for some reason. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/boot/upl.c | 8 test/cmd_ut.c | 2 +- 3 files changed, 1

[PATCH 31/43] test: Drop the function for running pci_mps tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 2 -- test/cmd/pci_mps.c| 10 -- test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h i

[PATCH 29/43] test: Drop the function for running hush tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd_ut.c | 2 +- test/hush/Makefile | 1 - test/hush/cmd_ut_hush.c | 19 --- 4 files changed, 1 insertion(+), 22 deletions(-) delete mode 10

[PATCH 32/43] test: Drop the function for running seama tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. It is not clear that these actually work, since they are not enabled on sandbox for some reason. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/cmd/seama.c | 9 - test/cmd_ut.c | 2 +- 3 files changed,

[PATCH 28/43] test: Drop the function for running addrmap tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 2 -- test/cmd/addrmap.c| 9 - test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.h index

[PATCH 26/43] test: Drop the function for running bloblist tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 2 -- test/cmd_ut.c | 2 +- test/common/bloblist.c | 10 -- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/include/test/suites.h b/include/test/suites.

[PATCH 25/43] test: Drop the function for running measurement tests

2025-01-15 Thread Simon Glass
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- include/test/suites.h | 1 - test/boot/measurement.c | 10 -- test/cmd_ut.c | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/include/test/suites.h b/include/test/suite

[PATCH 37/43] test: Move stats into a struct

2025-01-15 Thread Simon Glass
Use a struct to hold the stats, since we also want to have the same stats for all runs as we have for each suite. Signed-off-by: Simon Glass --- include/test/test.h | 17 + test/test-main.c| 29 +++-- test/ut.c | 4 ++-- 3 files changed, 30

[PATCH 36/43] test: Pass the test state to cmd_ut_category()

2025-01-15 Thread Simon Glass
Update this function to access a unit-test state, so that the caller can collect results from running multiple suites. Signed-off-by: Simon Glass --- include/test/suites.h | 20 +++ test/boot/bootstd_common.c| 7 --- test/cmd_ut.c | 37 ++

[PATCH 35/43] test: Drop conditional compilation for suites

2025-01-15 Thread Simon Glass
This is not needed anymore. If a test suite is not built, then it will have no linker-list entries. So we can just check for that and know that the suite is not present. This allows removal of the #ifdefs and the need to keep them in sync with the associated Makefile rules, which has actually fail

[PATCH 38/43] test: Keep a track of the numbers of tests run

2025-01-15 Thread Simon Glass
This is useful information and is not always the same as the 'count' arg to ut_run_list() so add it as a separate stat. Signed-off-by: Simon Glass --- include/test/test.h | 3 +++ test/test-main.c| 2 ++ 2 files changed, 5 insertions(+) diff --git a/include/test/test.h b/include/test/test.

[PATCH 34/43] test: Drop the info test from the list

2025-01-15 Thread Simon Glass
The 'info' test is not a real test. With the new suite array we can drop this and the associated special-case code. Signed-off-by: Simon Glass --- test/cmd_ut.c | 4 +--- test/py/tests/test_suite.py | 13 + 2 files changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH 39/43] test: Move stat-printing into its own function

2025-01-15 Thread Simon Glass
Add a function to show the stats, so we can decide when to print it. This slightly adjusts the output, so that any 'test not found' message appears on its own line after all other output. The 'failures' message now appears in lower case so update pytest accordingly. Signed-off-by: Simon Glass -

[PATCH 42/43] test: Disable test_suite

2025-01-15 Thread Simon Glass
This fails at present, so disable it until it can pass. Signed-off-by: Simon Glass --- test/py/tests/test_suite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/py/tests/test_suite.py b/test/py/tests/test_suite.py index 1c248602199..d5d68502167 100644 --- a/test/py/

[PATCH 41/43] test: Sort the test suites

2025-01-15 Thread Simon Glass
Put the suites in order by name, for easier code-maintenance. This also helps find test results for a particular swuit in the 'ut all' output. Signed-off-by: Simon Glass --- test/cmd_ut.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --gi

[PATCH 40/43] test: Record and show the totals for all test runs

2025-01-15 Thread Simon Glass
With 'ut all' multiple test suites are run. Add a way to collect totals and show them at the end. Signed-off-by: Simon Glass --- include/test/test.h | 3 +++ test/cmd_ut.c | 2 ++ test/test-main.c| 9 +++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/include/te

[PATCH 43/43] test: Move help into the suite declaration

2025-01-15 Thread Simon Glass
Rather than having the help in the longhelp, put it in the suite info so 'ut info -s' can show it. This is tidier, particular due to the removal of #ifdefs This means that the help text is present in the image (although not displayed with 'ut info -s') so the image-size increases. But with UNIT_TE

[PATCH 2/2] board: rockpi4-rk3399: update email address for Christopher Obbard

2025-01-15 Thread Christopher Obbard
Update my email address. Signed-off-by: Christopher Obbard --- board/radxa/rockpi4-rk3399/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/radxa/rockpi4-rk3399/MAINTAINERS b/board/radxa/rockpi4-rk3399/MAINTAINERS index da5273fb9a39c38473272c388182b9c4f32caa

[PATCH 0/2] Update my email address

2025-01-15 Thread Christopher Obbard
.mailmap | 1 + board/radxa/rockpi4-rk3399/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- base-commit: 4eb937058ffd9d413929f566246eb684efe8eab5 change-id: 20250115-wip-obbardc-update-email-b78477a2d396 Best regards, -- Christopher Obbard

RE: Lab failure on JH7110 (StarFive VisionFive 2)

2025-01-15 Thread Hal Feng
> On 09.01.25 20:37, Simon Glass wrote: > Hi, > > I am seeing a lab failure on this board with the test_dm_compat test[1]: > > === FAILURES > === > 559 test_dm_compat >

Re: [PATCH] linker_lists: Update the alignment using CONFIG_LINKER_LIST_ALIGN

2025-01-15 Thread Quentin Schulz
Hi Liya, On 1/14/25 8:09 AM, 1425075...@qq.com wrote: [You don't often get email from 1425075...@qq.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] From: Liya Huang <1425075...@qq.com> This patch updates the alignment of linker lists to use the CONFIG_LINKE

Re: [PATCH 0/7] board: rockchip: add FriendlyElec NanoPi R3S

2025-01-15 Thread Quentin Schulz
Hi Tianling, On 1/14/25 5:14 PM, Tianling Shen wrote: Hi Quentin, On 2025/1/14 23:21, Quentin Schulz wrote: Hi Tianling, On 1/14/25 3:49 PM, Tianling Shen wrote: Hi Quentin, On 2025/1/14 22:39, Quentin Schulz wrote: Hi Tianling, On 12/26/24 10:20 AM, Tianling Shen wrote: The NanoPi R3S(a

Re: [PATCH] doc: coolpi: Fix the defconfig name

2025-01-15 Thread Quentin Schulz
Hi Andy, On 1/13/25 11:56 AM, Andy Yan wrote: The defconfig name should be: coolpi-cm5-genbook-rk3588_defconfig Signed-off-by: Andy Yan Reviewed-by: Quentin Schulz --- doc/board/coolpi/genbook_cm5_rk3588.rst | 2 +- What about renaming every file that are inconsistent in naming? boar

Re: [PATCH 01/15] vbe: Split out some VBE code into a common file

2025-01-15 Thread Simon Glass
Hi Tom, On Tue, 14 Jan 2025 at 19:48, Simon Glass wrote: > > Hi Tom, > > On Tue, 14 Jan 2025 at 18:41, Tom Rini wrote: > > > > On Tue, Jan 14, 2025 at 06:18:26PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 14 Jan 2025 at 10:33, Tom Rini wrote: > > > > > > > > On Tue, Jan 14, 202

Re: [PATCH v4 0/5] rpi: Tidy up booting

2025-01-15 Thread Simon Glass
Hi, On Thu, 19 Dec 2024 at 17:34, Simon Glass wrote: > > This series allows rpi to boot a compressed Ubuntu kernel with ~100MB > ramdisk, by expanding the available space. > > It also tidies up some strange behaviour with the provided FDT, where a > separate pointer is maintained to it, even thou

[PATCH v2 21/22] vbe: Support loading SPL images

2025-01-15 Thread Simon Glass
VBE needs to load different images from a FIT depending on the xPL phase in use. The IH_PHASE value is used to select the image to load. Add the required logic to handle this. For compatibility with the SPL-loader driver, fill out a struct spl_image_info with the details needed to boot the next ph

[PATCH v2 22/22] vbe: Update simple-fw to support using the SPL loader

2025-01-15 Thread Simon Glass
For a sandbox implementation, where code size is no object, it makes sense to use the full bootstd drivers to load images. For real boards, running from SRAM, this adds quite a bit of overhead. Add a way to load the next phase using just the underlying storage driver, to reduce code size. For now

[PATCH v2 20/22] vbe: Support loading an FDT with the relocating loader

2025-01-15 Thread Simon Glass
Add FDT support so that this can be copied down in memory after loading and made available to the new image. Signed-off-by: Simon Glass --- (no changes since v1) boot/vbe_common.c | 20 1 file changed, 20 insertions(+) diff --git a/boot/vbe_common.c b/boot/vbe_common.c in

[PATCH 11/13] net: fsl_enetc: Add initial netc-blk-ctrl driver support

2025-01-15 Thread Marek Vasut
The netc-blk-ctrl driver is used to configure Integrated Endpoint Register Block (IERB) and Privileged Register Block (PRB) of NETC. For i.MX platforms, it is also used to configure the NETCMIX block. The IERB contains registers that are used for pre-boot initialization, debug, and non-customer co

  1   2   3   >