Re: [RFC PATCH 15/31] efi_memory: add an event handler to update memory map

2024-06-12 Thread Sughosh Ganu
On Wed, 12 Jun 2024 at 12:16, Ilias Apalodimas wrote: > > On Mon, 10 Jun 2024 at 18:54, Simon Glass wrote: > > > > Hi, > > > > On Mon, 10 Jun 2024 at 09:42, Sughosh Ganu wrote: > > > > > > On Mon, 10 Jun 2024 at 20:47, Heinrich Schuchardt > > > wrote: > > > > > > > > On 07.06.24 20:52, Sughosh

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Michael Nazzareno Trimarchi
Hi Tom On Mon, Jun 3, 2024 at 5:08 PM Patrick Barsanti wrote: > > Always prioritizing u-boot includes causes problems when trying to migrate > boards to OF_UPSTREAM that have different local devicetree files with > respect to the upstream ones, if local DT headers are not dropped. > At the same t

Re: [PATCH 14/42] initcall: Correct use of relocation offset

2024-06-12 Thread Caleb Connolly
Hi Simon, On 11/06/2024 22:01, Simon Glass wrote: The relocation offset can change in some initcall sequences. Handle this and make sure it is used for all debugging statements in init_run_list() Update the trace test to match. Signed-off-by: Simon Glass --- lib/initcall.c | 6

Re: [PATCH] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-12 Thread Phil Sutter
Hi, On Sun, Jun 09, 2024 at 01:51:34PM -0700, Tony Dinh wrote: > On Sat, Jun 8, 2024 at 4:32 PM Phil Sutter wrote: > > On Fri, Jun 07, 2024 at 04:14:26PM -0700, Tony Dinh wrote: > > > On Fri, Jun 7, 2024 at 6:45 AM Phil Sutter wrote: > > > > On Thu, Jun 06, 2024 at 04:44:36PM -0700, Tony Dinh wr

[PATCH v2 01/14] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-06-12 Thread Jayesh Choudhary
Sort CONFIG_SOC* and K3_SOC_ID alphabetically. Signed-off-by: Jayesh Choudhary Reviewed-by: Andrew Davis Reviewed-by: Neha Malcom Francis --- arch/arm/mach-k3/include/mach/hardware.h | 37 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-k3

[PATCH v2 03/14] soc: add info to identify the J722S SoC family

2024-06-12 Thread Jayesh Choudhary
Include the part number for TI's j722s family of SoC to identify it during boot. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/a

[PATCH v2 04/14] clk: ti: clk-k3: use IS_ENABLED macro and fix the clock-data order

2024-06-12 Thread Jayesh Choudhary
Use IS_ENABLED macro for the platform clock-data list and add them in alphabetical order. Reviewed-by: Bryan Brattlof Signed-off-by: Jayesh Choudhary --- drivers/clk/ti/clk-k3.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drive

[PATCH v2 00/14] Add basic U-Boot Support for J722S-EVM

2024-06-12 Thread Jayesh Choudhary
Hello there, This series add the U-Boot support for our new platform of K3-SOC family - J722S-EVM which is a superset of AM62P. It shares the same memory map and thus the nodes are being reused from AM62P includes instead of duplicating the definitions. Some highlights of J722S SoC (in addition t

[PATCH v2 05/14] power: domain: ti: Fix the order for platform data entries

2024-06-12 Thread Jayesh Choudhary
Add the power domain platform data entries in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/power/domain/ti-power-domain.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/power/domain/ti-

[PATCH v2 02/14] soc: ti: k3-socinfo: Fix SOC JTAG entry order

2024-06-12 Thread Jayesh Choudhary
Add JTAG_ID_PARTNO_* in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/soc/soc_ti_k3.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index b58

[PATCH v2 06/14] arm: mach-k3: r5: Makefile: Fix the order for entries

2024-06-12 Thread Jayesh Choudhary
Add the entries in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- arch/arm/mach-k3/r5/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-k3/r5/Makefile b/arch/arm/mach-k3/r5/Makefile index 1cfc8e3ade..f1e61c

[PATCH v2 07/14] arm: mach-k3: j722s: introduce clock and device files for wkup spl

2024-06-12 Thread Jayesh Choudhary
Include the clock and lpsc tree files needed for the wkup spl to initialize the proper PLLs and power domains to boot the SoC. Reviewed-by: Bryan Brattlof Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/j722

[PATCH v2 08/14] ram: k3-ddrss: Enable the am62ax's DDR controller for J722S

2024-06-12 Thread Jayesh Choudhary
The J722S family of SoCs uses the same DDR controller as found on the AM62A family. Enable this option when building for the J722S family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion

[PATCH v2 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-06-12 Thread Jayesh Choudhary
Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile

[PATCH v2 11/14] firmware: ti_sci_static_data: Add static DMA channel

2024-06-12 Thread Jayesh Choudhary
Include the static DMA channel data for using DMA at SPL stage for J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/firmware/ti_sci_static_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci_static_data.h

[PATCH v2 10/14] board: ti: Introduce basic board files for the J722S family

2024-06-12 Thread Jayesh Choudhary
Introduce the basic files needed to support the TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- board/ti/j722s/Kconfig | 26 + board/ti/j722s/MAINTAINERS |9 + board/ti/j722s/Makefile |

[PATCH v2 13/14] configs: introduce configs needed for the J722S

2024-06-12 Thread Jayesh Choudhary
Introduce the initial configs needed to support the J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- configs/j722s_evm_a53_defconfig | 172 configs/j722s_evm_r5_defconfig | 131 include/configs/j722s_

[PATCH v2 14/14] doc: board: ti: Add J722S-EVM documentation

2024-06-12 Thread Jayesh Choudhary
Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- doc/board/ti/j722s_evm.rst | 260 + doc/board/ti/k3.rst| 1 + 2 files changed, 261 insertions(+) create mode 100644 doc/board/ti/j

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Marek Vasut
On 6/3/24 5:07 PM, Patrick Barsanti wrote: Always prioritizing u-boot includes causes problems when trying to migrate boards to OF_UPSTREAM that have different local devicetree files with respect to the upstream ones, if local DT headers are not dropped. At the same time if local and upstream fil

Re: [PATCH 18/42] meson: Correct driver declaration for meson_axg_gpio

2024-06-12 Thread Neil Armstrong
On 11/06/2024 22:01, Simon Glass wrote: This should use the driver macros so that the driver appears in the linker list. Fix this. Fixes: 8587839f19d ("pinctrl: meson: add axg support") Signed-off-by: Simon Glass --- drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c | 2 +- drivers/pinctrl/mes

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Michael Nazzareno Trimarchi
Hi Marek On Wed, Jun 12, 2024 at 11:32 AM Marek Vasut wrote: > > On 6/3/24 5:07 PM, Patrick Barsanti wrote: > > Always prioritizing u-boot includes causes problems when trying to migrate > > boards to OF_UPSTREAM that have different local devicetree files with > > respect to the upstream ones, if

Re: [PATCH 5/6] bootstd: Add a bootmeth for Android

2024-06-12 Thread Mattijs Korpershoek
Hi Simon, Thank you for your review. On mar., juin 11, 2024 at 12:52, Simon Glass wrote: > Hi Mattijs, > > On Thu, 6 Jun 2024 at 06:24, Mattijs Korpershoek > wrote: >> >> Android boot flow is a bit different than a regular Linux distro. >> Android relies on multiple partitions in order to boot

Shutting down of the git-daemon (git protocol, https and ssh still remain)

2024-06-12 Thread Claudius Heine
Hi everyone, in the past we used cgit, which provided cloning the u-boot repo via http, https, ssh and the git protocol. When we migrated to gitlab, which doesn't support the git protocol, we implemented some additional service files to continue to support it for some of our git repositories

Re: Shutting down of the git-daemon (git protocol, https and ssh still remain)

2024-06-12 Thread Quentin Schulz
Hi Claudius, On 6/12/24 12:20 PM, Claudius Heine wrote: Hi everyone, in the past we used cgit, which provided cloning the u-boot repo via http, https, ssh and the git protocol. When we migrated to gitlab, which doesn't support the git protocol, we implemented some additional service files t

[PATCH v2 0/2] Enable ICSSG Driver for AM64x

2024-06-12 Thread MD Danish Anwar
This series adds config changes and env changes to enable ICSSG Ethernet Driver on AM64x. Changes since v1: *) Dropped the patch [0] as this needs to be fixed in driver as suggested by Andrew Davis *) Rebased on latest u-boot/next. v1 https://lore.kernel.org/all/20240522063652.3759497-1-danis

[PATCH v2 1/2] configs: am64x_evm_a53: Enable ICSSG Driver

2024-06-12 Thread MD Danish Anwar
Enable ICSSG driver, DP83869 phy driver, REMOTEPROC and PRU_REMOTEPROC in am64x_evm_a53_defconfig. All these configs are needed for ICSSG driver. Signed-off-by: MD Danish Anwar --- configs/am64x_evm_a53_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/am64x_evm_a53_defc

[PATCH v2 2/2] board: ti: am64x: Set storage_interface and fw_dev_part ENVs

2024-06-12 Thread MD Danish Anwar
When ICSSG driver is enabled (CONFIG_TI_ICSSG_PRUETH=y) set storage_interface and fw_dev_part env variables. These variables need be set appropriately in order to load different ICSSG firmwares needed for ICSSG driver. By default the storage interface is mmc and the partition is 1:2. User can modi

Re: Shutting down of the git-daemon (git protocol, https and ssh still remain)

2024-06-12 Thread Rasmus Villemoes
On 12/06/2024 12.20, Claudius Heine wrote: > Hi everyone, > > in the past we used cgit, which provided cloning the u-boot repo via > http, https, ssh and the git protocol. > > When we migrated to gitlab, which doesn't support the git protocol, we > implemented some additional service files to con

Re: [PATCH 00/42] labgrid: Provide an integration with Labgrid

2024-06-12 Thread Ilias Apalodimas
Hi Simon On Tue, 11 Jun 2024 at 23:02, Simon Glass wrote: > > Labgrid provides access to a hardware lab in an automated way. It is > possible to boot U-Boot on boards in the lab without physically touching > them. It relies on relays, USB UARTs and SD muxes, among other things. > > By way of back

Re: [PATCH 42/42] CI: Allow running tests on sjg lab

2024-06-12 Thread Andrejs Cainikovs
On Tue, Jun 11, 2024 at 02:01:56PM -0600, Simon Glass wrote: > Add a way to run tests on a real hardware lab. This is in the very early > experimental stages. There are only 23 boards and 3 of those are broken! > (bob, ff3399, samus). A fourth fails due to problems with the TPM tests. > > To try t

[PATCH v2 12/14] arm: dts: Introduce J722S U-Boot dts files

2024-06-12 Thread Jayesh Choudhary
Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-j722s-binman.dtsi | 172 ++ arch/arm/dts/k3-j722s-ddr

[PATCH] arm: dts: corstone1000: enable secondary cores for FVP

2024-06-12 Thread harsimransingh . tungal
From: Harsimran Singh Tungal Add the secondary cores nodes in the dts file Signed-off-by: Harsimran Singh Tungal Cc: Tom Rini Cc: Rui Miguel Silva --- arch/arm/dts/corstone1000-fvp.dts | 25 + arch/arm/dts/corstone1000.dtsi| 2 +- 2 files changed, 26 insertions(+

Where to put DTB file for UEFI support on ARM

2024-06-12 Thread Leith Bade
Hi all, I have a BananaPi BPI-R3 board that I am setting up to boot Ubuntu or Debian. After figuring out the required config options I have managed to get Uboot to boot the Ubuntu USB installer, and also boot off an SD card once I installed Ubuntu there. I set up the bootmeth/bootdev/bootflow stu

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Michal Simek
Hi Vasileios, út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis napsal: > > From: Vasileios Amoiridis > > Changes in v2: > - Remove duplication of custom hardcoded env_locations[] code. > - Add implementation with general arch_env_get_location(op, prio) > > v1: > https://lore

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Vasileios Amoiridis
On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote: > Hi Vasileios, > > út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis > napsal: > > > > From: Vasileios Amoiridis > > > > Changes in v2: > >     - Remove duplication of custom hardcoded env_locations[] > > code. > >     - Add im

Re: [U-boot] [PATCH 01/13] arch: arm: dts: k3-am625-phyboard-lyra: Add fixed partitions

2024-06-12 Thread Wadim Egorov
Am 11.06.24 um 10:08 schrieb Teresa Remmet: Hello Wadim, Am Montag, dem 10.06.2024 um 15:33 +0200 schrieb Wadim Egorov: From: Nathan Morrisson Add a fixed partitions node to the AM62x device tree so that it can be used to fixup the Linux device tree. for which branch is this series? T

[PATCH 0/2] rockchip: puma-rk3399/ringneck-px30: make closer to Jaguar/Tiger defconfigs

2024-06-12 Thread Quentin Schulz
ase-commit: 787eaa9c8df2660c748358eb689de916f991e22e change-id: 20240612-ringneck-bootd-ea9126a0e108 Best regards, -- Quentin Schulz

[PATCH 1/2] rockchip: ringneck-px30: get closer to other Theobroma defconfigs

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz RK3588 Jaguar and Tiger, and RK3399 Puma use standard boot with the full feature set, so let's do that as well for PX30 Ringneck. Disable support for unused OSes as Linux is the primary target. Enable a bunch of commands: - boot/bootd - erofs - gpio - iminfo - imxtract

[PATCH 2/2] rockchip: puma-rk3399: get closer to other Theobroma defconfigs

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz Disable support for unused OSes as Linux is the primary target. Disable support for bootz as zImage isn't a format compatible with Aarch64 machines so it should never be attempted to be booted. Enable a bunch of commands: - erofs - gpio - squashfs that could be useful a

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Michal Simek
On 6/12/24 15:57, Vasileios Amoiridis wrote: On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote: Hi Vasileios, út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis napsal: From: Vasileios Amoiridis Changes in v2:     - Remove duplication of custom hardcoded env_locations[] code.

[PATCH 0/4] boot: fix crash in bootflow menu with EFI BOOTMGR support + typos

2024-06-12 Thread Quentin Schulz
ions(-) --- base-commit: 1ebd659cf020843fd8e8ef90d85a66941cbab6ec change-id: 20240612-bootflow-efi-crash-c52449ef643e Best regards, -- Quentin Schulz

[PATCH 1/4] cmd: fix typo in CMD_BOOTMETH help text

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz It's bootmeths and not bootmethds. Signed-off-by: Quentin Schulz --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index b026439c773..57929d4462d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -308,7 +308,7 @@ conf

[PATCH 4/4] boot: bootflow_menu: fix crash for EFI BOOTMGR global bootmeth

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz The global bootmeths don't set the dev in bootflow struct which means the dev_get_parent(bflow->dev) triggers a NULL-pointer dereference and crash U-Boot. So before trying to handle a bootflow, check that the associated bootmeth isn't global, otherwise skip it. Suggested-by

[PATCH 3/4] doc: bootstd: fix typos

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz This fixes a few syntactic issues as well as typos and grammar. Signed-off-by: Quentin Schulz --- doc/develop/bootstd.rst | 50 - 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/doc/develop/bootstd.rst b/doc/d

[PATCH 2/4] boot: fix typos in help text of Kconfig configs

2024-06-12 Thread Quentin Schulz
From: Quentin Schulz This fixes a handful of typos in various help texts in Kconfig configs. Signed-off-by: Quentin Schulz --- boot/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 6f3096c15a6..de277d2ba50 10

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Vasileios Amoiridis
On Wed, 2024-06-12 at 16:47 +0200, Michal Simek wrote: > > > On 6/12/24 15:57, Vasileios Amoiridis wrote: > > On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote: > > > Hi Vasileios, > > > > > > út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis > > > napsal: > > > > > > > > From: Vasileio

Re: Where to put DTB file for UEFI support on ARM

2024-06-12 Thread E Shattow
Hi Leith, On Wed, Jun 12, 2024 at 5:50 AM Leith Bade wrote: > > Hi all, > > I have a BananaPi BPI-R3 board that I am setting up to boot Ubuntu or > Debian. After figuring out the required config options I have managed to > get Uboot to boot the Ubuntu USB installer, and also boot off an SD card >

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Michal Simek
On 6/12/24 17:11, Vasileios Amoiridis wrote: On Wed, 2024-06-12 at 16:47 +0200, Michal Simek wrote: On 6/12/24 15:57, Vasileios Amoiridis wrote: On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote: Hi Vasileios, út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis napsal: From: Vasi

Re: [PATCH v2 0/1] xilinx: Add option to load environment from outside of

2024-06-12 Thread Vasileios Amoiridis
On Wed, 2024-06-12 at 17:32 +0200, Michal Simek wrote: > > > On 6/12/24 17:11, Vasileios Amoiridis wrote: > > On Wed, 2024-06-12 at 16:47 +0200, Michal Simek wrote: > > > > > > > > > On 6/12/24 15:57, Vasileios Amoiridis wrote: > > > > On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote: > >

Re: [PATCH] arm: dts: corstone1000: enable secondary cores for FVP

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 11:04:21AM +0100, harsimransingh.tun...@arm.com wrote: > From: Harsimran Singh Tungal > > Add the secondary cores nodes in the dts file > > Signed-off-by: Harsimran Singh Tungal > Cc: Tom Rini > Cc: Rui Miguel Silva > --- > arch/arm/dts/corstone1000-fvp.dts | 25 +

Re: [PATCH 00/20] New CI image and fixes

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:03:59PM +0100, Jiaxun Yang wrote: > Hi all, > > This series build a new CI image based on Ubuntu focal with LoongArch64 > support, fixed various python scripts for python 3.12, fixed various > problems popped up when testing againt latest software. > > This change must

Re: [u-boot-test-hooks PATCH 1/2] Create a common file for test scripts

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 02:07:26PM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 11 Jun 2024 at 10:07, Tom Rini wrote: > > > > On Mon, Jun 10, 2024 at 04:27:42PM -0600, Simon Glass wrote: > > > > > The top part of each of the u-boot-test-* files is common. Put it in > > > a common script file t

Re: [PATCH 12/20] cyclic: Rise default CYCLIC_MAX_CPU_TIME_US to 5000

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:04:11PM +0100, Jiaxun Yang wrote: > The default value CYCLIC_MAX_CPU_TIME_US was 1000, which is > a little bit too low for slower hardware and sandbox. > > On my MIPS Boston FPGA board with interaptiv CPU, wdt_cyclic > can easily take 3200 us to run. > > On azure pipel

Re: [PATCH 13/20] CI: Ensure pip install is always performed in venv

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:04:12PM +0100, Jiaxun Yang wrote: > Since Ubuntu focal it's nolonger permitted to perform global > pip install. > > Ensure that pip install is always performed in venv. > For buildman alone, all dependencies are already in docker > so there is no need to perform pip ins

Re: [PATCH 14/20] CI: GitLab: Split build_world tasks

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:04:13PM +0100, Jiaxun Yang wrote: > Current build_world task runs for too long on public gitlab > runner. > > Split the job as what we've done to azure pipeline. > > Signed-off-by: Jiaxun Yang > --- > .gitlab-ci.yml | 103 > +-

Re: [PATCH 16/20] CI: Dockerfile: Bump various software version

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:04:15PM +0100, Jiaxun Yang wrote: > Bump base OS to Ubuntu noble, grub to 2.12, QEMU to 9.0 (drop > cherry-pick for m68k as it's already in 9.0) and other tools > to latest version. > > Remove unsupported python2. > > Install some required python packages for buildman/

Re: [u-boot-test-hooks PATCH 1/4] qemu-vexpress*: Pass -audio none

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:22PM +0100, Jiaxun Yang wrote: > Those boards have build in sound card which cause > problems on CI runner. > > Pass -audio none to disable sound card backends. > > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signatu

Re: [u-boot-test-hooks PATCH 2/4] qemu-arm64be: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:23PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH 4/4] qemu-loongarch64: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:25PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH 3/4] qemu-xtensa-dc233c: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:24PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 23/42] test: Release board after tests complete

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 02:01:37PM -0600, Simon Glass wrote: > When a board is finished with, the lab may want to power it off, or > perform some other function. Add a new script which is called when tests > are complete. > > Signed-off-by: Simon Glass > --- > > test/py/u_boot_console_exec_att

Re: [PATCH 12/20] cyclic: Rise default CYCLIC_MAX_CPU_TIME_US to 5000

2024-06-12 Thread Jiaxun Yang
在2024年6月12日六月 下午5:00,Tom Rini写道: [...] >> configs/octeon_nic23_defconfig | 1 - >> 2 files changed, 1 insertion(+), 2 deletions(-) > > This seems similar to: > https://patchwork.ozlabs.org/project/uboot/patch/20240524210817.1953298-1-rasmus.villem...@prevas.dk/ > > at least for CI. And for outs

Re: [PATCH 14/20] CI: GitLab: Split build_world tasks

2024-06-12 Thread Jiaxun Yang
在2024年6月12日六月 下午5:01,Tom Rini写道: > On Tue, Jun 11, 2024 at 10:04:13PM +0100, Jiaxun Yang wrote: > >> Current build_world task runs for too long on public gitlab >> runner. >> >> Split the job as what we've done to azure pipeline. >> >> Signed-off-by: Jiaxun Yang >> --- >> .gitlab-ci.yml | 10

Re: [PATCH 16/20] CI: Dockerfile: Bump various software version

2024-06-12 Thread Jiaxun Yang
在2024年6月12日六月 下午5:02,Tom Rini写道: [...] >> --- a/tools/docker/Dockerfile >> +++ b/tools/docker/Dockerfile >> @@ -2,7 +2,7 @@ >> # This Dockerfile is used to build an image containing basic stuff to be >> used >> # to build U-Boot and run our test suites. >> >> -FROM ubuntu:jammy-20240227 >>

Re: [PATCH v2 13/14] configs: introduce configs needed for the J722S

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 02:41:22PM +0530, Jayesh Choudhary wrote: > Introduce the initial configs needed to support the J722S SoC family. > > Signed-off-by: Vaishnav Achath > Signed-off-by: Jayesh Choudhary > --- > configs/j722s_evm_a53_defconfig | 172 > confi

Re: [PATCH 12/20] cyclic: Rise default CYCLIC_MAX_CPU_TIME_US to 5000

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 05:13:37PM +0100, Jiaxun Yang wrote: > > > 在2024年6月12日六月 下午5:00,Tom Rini写道: > [...] > >> configs/octeon_nic23_defconfig | 1 - > >> 2 files changed, 1 insertion(+), 2 deletions(-) > > > > This seems similar to: > > https://patchwork.ozlabs.org/project/uboot/patch/20240524

Re: [PATCH 14/20] CI: GitLab: Split build_world tasks

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 05:14:46PM +0100, Jiaxun Yang wrote: > > > 在2024年6月12日六月 下午5:01,Tom Rini写道: > > On Tue, Jun 11, 2024 at 10:04:13PM +0100, Jiaxun Yang wrote: > > > >> Current build_world task runs for too long on public gitlab > >> runner. > >> > >> Split the job as what we've done to azu

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: [snip] > Also IMO there is only really one LMB list today. We create it at the > start of bootm and then it is done when we boot. The file-loading > stuff is what makes all this confusing...and with bootstd that is > under control as wel

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 10:17:12AM +0200, Michael Nazzareno Trimarchi wrote: > Hi Tom > > On Mon, Jun 3, 2024 at 5:08 PM Patrick Barsanti > wrote: > > > > Always prioritizing u-boot includes causes problems when trying to migrate > > boards to OF_UPSTREAM that have different local devicetree file

Re: [PATCH 00/13] *** Various fixes & improvements for phycore-AM6* SoMs ***

2024-06-12 Thread Daniel Schultz
For all 13 patches, Reviewed-by: Daniel Schultz On 10.06.24 15:33, Wadim Egorov wrote: This patch set is for u-boot/next. It includes various fixes and improvements for phyCORE-AM62x and phyCORE-AM64x SoMs. Notable is the last patch which prepares for use with future ECC memory fixups. Nathan

Re: [PATCH 00/42] labgrid: Provide an integration with Labgrid

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 09:08:32AM +0300, Ilias Apalodimas wrote: > Hi Simon > > On Tue, 11 Jun 2024 at 23:02, Simon Glass wrote: > > > > Labgrid provides access to a hardware lab in an automated way. It is > > possible to boot U-Boot on boards in the lab without physically touching > > them. It

[PATCH 1/3] doc: board: phytec: phycore-am62x: Fix Link to Documentation

2024-06-12 Thread Daniel Schultz
We moved our documentation to another hoster and therefore the URL changed. Point to the latest documentation instead of release versions to not link out-dated documentation. Signed-off-by: Daniel Schultz --- doc/board/phytec/phycore-am62x.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 3/3] doc: board: phytec: phycore-am64: Fix phyBOARD Name

2024-06-12 Thread Daniel Schultz
The Carrier-Board for the pyhCORE-AM64x is called phyBOARD-Electra. Signed-off-by: Daniel Schultz --- doc/board/phytec/phycore-am64x.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/phytec/phycore-am64x.rst b/doc/board/phytec/phycore-am64x.rst index c99d8f6dd58.

[PATCH 2/3] doc: board: phytec: phycore-am64x: Fix Link to Documentation

2024-06-12 Thread Daniel Schultz
We moved our documentation to another hoster and therefore the URL changed. Point to the latest documentation instead of release versions to not link out-dated documentation. Signed-off-by: Daniel Schultz --- doc/board/phytec/phycore-am64x.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Michael Nazzareno Trimarchi
HI On Wed, Jun 12, 2024 at 7:25 PM Tom Rini wrote: > > On Wed, Jun 12, 2024 at 10:17:12AM +0200, Michael Nazzareno Trimarchi wrote: > > Hi Tom > > > > On Mon, Jun 3, 2024 at 5:08 PM Patrick Barsanti > > wrote: > > > > > > Always prioritizing u-boot includes causes problems when trying to migrate

Re: [PATCH 1/4] cmd: fix typo in CMD_BOOTMETH help text

2024-06-12 Thread Simon Glass
On Wed, 12 Jun 2024 at 08:58, Quentin Schulz wrote: > > From: Quentin Schulz > > It's bootmeths and not bootmethds. > > Signed-off-by: Quentin Schulz > --- > cmd/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH 3/4] doc: bootstd: fix typos

2024-06-12 Thread Simon Glass
On Wed, 12 Jun 2024 at 08:58, Quentin Schulz wrote: > > From: Quentin Schulz > > This fixes a few syntactic issues as well as typos and grammar. > > Signed-off-by: Quentin Schulz > --- > doc/develop/bootstd.rst | 50 > - > 1 file changed, 25 inse

Re: [PATCH 2/4] boot: fix typos in help text of Kconfig configs

2024-06-12 Thread Simon Glass
On Wed, 12 Jun 2024 at 08:58, Quentin Schulz wrote: > > From: Quentin Schulz > > This fixes a handful of typos in various help texts in Kconfig configs. > > Signed-off-by: Quentin Schulz > --- > boot/Kconfig | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) Revie

Re: [PATCH 23/42] test: Release board after tests complete

2024-06-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 10:02, Tom Rini wrote: > > On Tue, Jun 11, 2024 at 02:01:37PM -0600, Simon Glass wrote: > > > When a board is finished with, the lab may want to power it off, or > > perform some other function. Add a new script which is called when tests > > are complete. > > > > S

Re: [PATCH 4/4] boot: bootflow_menu: fix crash for EFI BOOTMGR global bootmeth

2024-06-12 Thread Simon Glass
On Wed, 12 Jun 2024 at 08:58, Quentin Schulz wrote: > > From: Quentin Schulz > > The global bootmeths don't set the dev in bootflow struct which means > the dev_get_parent(bflow->dev) triggers a NULL-pointer dereference and > crash U-Boot. > > So before trying to handle a bootflow, check that the

Re: [PATCH 14/20] CI: GitLab: Split build_world tasks

2024-06-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 11:07, Tom Rini wrote: > > On Wed, Jun 12, 2024 at 05:14:46PM +0100, Jiaxun Yang wrote: > > > > > > 在2024年6月12日六月 下午5:01,Tom Rini写道: > > > On Tue, Jun 11, 2024 at 10:04:13PM +0100, Jiaxun Yang wrote: > > > > > >> Current build_world task runs for too long on public

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: > > [snip] > > Also IMO there is only really one LMB list today. We create it at the > > start of bootm and then it is done when we boot. The file-loading > > stuff is what makes

Re: [PATCH 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-12 Thread Simon Glass
Hi Heinrich, On Tue, 4 Jun 2024 at 22:15, Heinrich Schuchardt wrote: > > On 6/5/24 05:25, Simon Glass wrote: > > It does not make sense to enable all SHA algorithms unless they are > > needed. It bloats the code and in this case, causes chromebook_link to > > fail to build. > > Why would chromebo

Re: [PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-12 Thread Simon Glass
Hi Ilias, On Wed, 12 Jun 2024 at 00:02, Ilias Apalodimas wrote: > > [...] > > > > > >> --- > > > > >> > > > > >> lib/fdtdec.c | 12 ++-- > > > > >> 1 file changed, 10 insertions(+), 2 deletions(-) > > > > >> > > > > >> diff --git a/lib/fdtdec.c b/lib/fdtdec.c > > > > >> index b2c59ab3818

Re: [RFC PATCH 15/31] efi_memory: add an event handler to update memory map

2024-06-12 Thread Simon Glass
Hi Ilias, On Tue, 11 Jun 2024 at 23:49, Ilias Apalodimas wrote: > > [...] > > > > > > > > > > + struct event_lmb_map_update *lmb_map = > > > > > > > > > &event->data.lmb_map; > > > > > > > > > + > > > > > > > > > + addr = (uintptr_t)map_sysmem(lmb_map->base, 0); > > > > > > > > > + pages =

Re: [RFC PATCH 15/31] efi_memory: add an event handler to update memory map

2024-06-12 Thread Simon Glass
Hi Heinrich, On Wed, 12 Jun 2024 at 00:11, Heinrich Schuchardt wrote: > > > > Am 12. Juni 2024 04:42:00 MESZ schrieb Simon Glass : > >Hi Tom, > > > >On Tue, 11 Jun 2024 at 16:54, Tom Rini wrote: > >> > >> On Tue, Jun 11, 2024 at 04:22:25PM -0600, Simon Glass wrote: > >> > Hi Tom, > >> > > >> > O

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > > > On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: > > > > [snip] > > > Also IMO there is only really one LMB list today. We create it at the > > > start of b

Re: [PATCH 00/42] labgrid: Provide an integration with Labgrid

2024-06-12 Thread Simon Glass
Hi Ilias, On Wed, 12 Jun 2024 at 00:09, Ilias Apalodimas wrote: > > Hi Simon > > On Tue, 11 Jun 2024 at 23:02, Simon Glass wrote: > > > > Labgrid provides access to a hardware lab in an automated way. It is > > possible to boot U-Boot on boards in the lab without physically touching > > them. It

Re: [PATCH 00/42] labgrid: Provide an integration with Labgrid

2024-06-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 10:03, Tom Rini wrote: > > On Wed, Jun 12, 2024 at 09:08:32AM +0300, Ilias Apalodimas wrote: > > Hi Simon > > > > On Tue, 11 Jun 2024 at 23:02, Simon Glass wrote: > > > > > > Labgrid provides access to a hardware lab in an automated way. It is > > > possible to boo

Re: Where to put DTB file for UEFI support on ARM

2024-06-12 Thread Leith Bade
Hi E Shattow, Thanks for the quick response. On Thu, 13 Jun 2024 at 01:12, E Shattow wrote: > > Correct, this is a limitation and the fix is not yet released with > U-Boot; It is now queued up for U-Boot -next, but only for EFI > bootmanager (not the global EFI boot). > Do you have a link to

[u-boot-test-hooks PATCH v2 0/2] Add support for Labgrid

2024-06-12 Thread Simon Glass
This adds hooks for use with Labgrid. The only existing hook that really does anything now is the 'console' one. There is also a new 'getrole' hook which looks up a role to find various things about it, such as the U-Boot board name. Changes in v2: - Make use of the common script (only) to set bin

[u-boot-test-hooks PATCH v2 1/2] Create a common file for test scripts

2024-06-12 Thread Simon Glass
The top part of each of the u-boot-test-* files is common. Put it in a common script file to avoid duplication and to allow it to be replaced for the Labgrid integration. Signed-off-by: Simon Glass --- Changes in v2: - Make use of the common script (only) to set bin_dir bin/u-boot-test-common

[u-boot-test-hooks PATCH v2 2/2] Provide some basic scripts for Labgrid integration

2024-06-12 Thread Simon Glass
With Labgrid we don't need to specify the various methods, except for the console, which simply calls labgrid-client. This allows supporting any boards in your lab, without adding per-board configuration to these hooks. Provide ellesmere files as an example. Signed-off-by: Simon Glass --- Chan

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Tony Dinh
Hi Michael, On Wed, Jun 12, 2024 at 12:46 PM Michael Nazzareno Trimarchi wrote: > > HI > > On Wed, Jun 12, 2024 at 7:25 PM Tom Rini wrote: > > > > On Wed, Jun 12, 2024 at 10:17:12AM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi Tom > > > > > > On Mon, Jun 3, 2024 at 5:08 PM Patrick Barsanti