[PATCH] ARM: renesas: Consistently enable ENV_OVERWRITE on Renesas R-Car

2024-12-21 Thread Marek Vasut
Move CONFIG_ENV_OVERWRITE=y into commont renesas_rcar.config to make sure this configuration option is consistently enabled on all of Renesas R-Car Gen2, Gen3, Gen4. Currently this option is not enabled on Gen4, this fix corrects that omission. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: No

Re: [PATCH 1/9] Docker/CI: Only test Xtensa on amd64 hosts

2024-12-21 Thread Tom Rini
On Sun, Dec 08, 2024 at 11:07:24AM -0600, Tom Rini wrote: > The xtensa architecture is interesting in that the platforms we support > are only valid on the binary-only toolchains as the DC233C instruction > set requires those toolchains (and not the FSF instruction set). Only > install the binary

Re: [PATCH 01/16] pinctrl: renesas: Add Kconfig symbol for conditional build of full PFC tables

2024-12-21 Thread Tom Rini
On Sat, Dec 21, 2024 at 10:34:00PM +0100, Marek Vasut wrote: > By default the pin multiplexing tables used by U-Boot are reduced > to keep the size of the bootloader low. This option allows build of > full pin multiplexing tables the same way they are included in the > Linux kernel. This includes

[PATCH] net: rswitch: Do not register disabled ports as ethernet devices

2024-12-21 Thread Marek Vasut
In case an rswitch port is described as disabled in DT, do not register it as ethernet device in U-Boot. This way, such ports cannot be accessed from U-Boot command line. Signed-off-by: Marek Vasut --- Cc: Enric Balletbo i Serra Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu Cc: Ramon Fried Cc: To

[PATCH v2] arm64: renesas: Make bottom 128 MiB of DRAM available in EL3

2024-12-21 Thread Marek Vasut
In case U-Boot runs in EL3, which is the highest privilege level on ARM64, there can be no firmware running that would restrict access to the bottom 128 MiB of DRAM. In fact, it is likely that U-Boot would have to load that firmware into those bottom 128 MiB of DRAM and start that firmware. Make t

[PATCH 16/16] pinctrl: renesas: Minimize R8A779H0 V4M PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - INTC/INTC-EX - MSIOF - PWM - SSI Signed-off-by: Marek Vas

[PATCH 15/16] pinctrl: renesas: Minimize R8A779G0 V4H PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - INTC-EX - MSIOF - PWM - SSI Signed-off-by: Marek Vas

[PATCH 14/16] pinctrl: renesas: Minimize R8A779F0 S4 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - INTC-EX - MSIOF Signed-off-by: Marek Vasut --- Cc: Hai Pham Cc: Nobuhiro Iw

[PATCH 11/16] pinctrl: renesas: Minimize R8A77990 E3 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - INTC/INTC-EX - MSIOF - PWM - SSI - VIN Signed-off-by

[PATCH 13/16] pinctrl: renesas: Minimize R8A779A0 V3U PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - CAN/CANFD - DU - INTC-EX - MSIOF - PWM Signed-off-by: Marek Vasut --- Cc: Ha

[PATCH 12/16] pinctrl: renesas: Minimize R8A77995 D3 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - MSIOF - PWM - SSI - VIN Signed-off-by: Marek Vasut

[PATCH 10/16] pinctrl: renesas: Minimize R8A77980 V3H PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - CANFD - DU - INTC-EX - MSIOF - PWM - VIN Signed-off-by: Marek Vasut --- Cc:

[PATCH 08/16] pinctrl: renesas: Minimize R8A77965 M3-N PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - INTC-EX - MSIOF - PWM - SSI - VIN Signed-off-by: Mar

[PATCH 09/16] pinctrl: renesas: Minimize R8A77970 V3M PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - CANFD - DU - INTC-EX - MSIOF - PWM - VIN Signed-off-by: Marek Vasut --- Cc:

[PATCH 07/16] pinctrl: renesas: Minimize R8A77960 M3-W and R8A77961 M3-W+ PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - INTC-EX - MSIOF - PWM - SSI - VIN Signed-off-by: Mar

[PATCH 06/16] pinctrl: renesas: Minimize R8A77951 H3 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN/CANFD - DU - INTC-EX - MSIOF - PWM - SSI - VIN Signed-off-by: Mar

[PATCH 05/16] pinctrl: renesas: Minimize R8A7794 E2 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN - DU - INTC - MSIOF - PWM - SSI - VIN Signed-off-by: Marek Vasut

[PATCH 04/16] pinctrl: renesas: Minimize R8A7792 V2H PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - CAN - DU - INTC - MSIOF - VIN Signed-off-by: Marek Vasut --- Cc: Hai Pham C

[PATCH 03/16] pinctrl: renesas: Minimize R8A7791 M2-W and R8A7793 M2-N PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN - DU - INTC - MSIOF - PWM - SSI - VIN Signed-off-by: Marek Vasut

[PATCH 02/16] pinctrl: renesas: Minimize R8A7790 H2 PFC tables

2024-12-21 Thread Marek Vasut
Reduce the PFC tables by ifdeffing out pinmux settings which are unlikely to be used by U-Boot. This helps reduce the size of the bootloader in the 10 kiB range. This includes conditional build of these PFC additions: - Audio - CAN - DU - INTC - MSIOF - PWM - SSI - VIN Signed-off-by: Marek Vasut

[PATCH 01/16] pinctrl: renesas: Add Kconfig symbol for conditional build of full PFC tables

2024-12-21 Thread Marek Vasut
By default the pin multiplexing tables used by U-Boot are reduced to keep the size of the bootloader low. This option allows build of full pin multiplexing tables the same way they are included in the Linux kernel. This includes pin multiplexing options for Audio, CAN, CANFD, DU, INTC, INTC-EX, MSI

Re: [PATCH 1/1] cmd/setexpr: support concatenation of direct strings

2024-12-21 Thread Marek Vasut
On 12/21/24 4:14 PM, Heinrich Schuchardt wrote: Up to now the setexpr command only supported concatenating string provided by reference. Allow directly passing stings. With this patch setexpr.s foo '1' + '3' sets variable $foo to the value '13'. How is this any different from setenv foo

[PATCHv2] doc/develop/distro.rst: Better document upstream definition of extlinux.conf

2024-12-21 Thread Tom Rini
First, the "Boot Loader Specification" link has moved to a new location, so link to that directly. Second, that link does not document as much of the extlinux.conf format as I recall the old version doing at least. However, the Syslinux Project wiki is the current location of the documentation link

Re: [PATCH] net: fec_mxc: add DM_FLAG_ACTIVE_DMA flag for FEC network driver

2024-12-21 Thread Fabio Estevam
On Fri, Dec 20, 2024 at 6:09 AM Meng Li wrote: > > From: Meng Li > > When FEC network card works as the prime one in u-boot, and is in > active status, kernel might crash during booting up stage, especially > working with grub. Because the DMA of FEC is still in active status, and > copy data int

Re: [PULL] u-boot-sh/master

2024-12-21 Thread Tom Rini
On Sat, Dec 21, 2024 at 02:28:32PM +0100, Marek Vasut wrote: > The following changes since commit 5c8ef70f0872399b3764b2addf1ed27e22dc61b0: > > Merge tag 'xilinx-for-v2025.01-rc5-v2' of > https://source.denx.de/u-boot/custodians/u-boot-microblaze (2024-12-20 > 08:26:16 -0600) > > are availab

[PATCH] Gitlab: Add DEFAULT_FAST_ARM64_TAG as well

2024-12-21 Thread Tom Rini
Upon further consideration, we should have both DEFAULT_FAST_ARM64_TAG and DEFAULT_ARM64_TAG values available. This will allow us to later run a matrix of some jobs, such as sandbox, on any arm64 host and still keep the world build to only fast arm64 hosts. Signed-off-by: Tom Rini --- This is ins

Re: [PATCH v2 07/17] clk: scmi: check the clock state/parent/rate control permissions

2024-12-21 Thread Fabio Estevam
On Thu, Dec 19, 2024 at 11:55 PM Alice Guo wrote: > + debug("SCMI clock management protocol version is less than 3.0.\n"); > + return -1; Nit: return -EINVAL would be better here.

Re: [PATCH v2 16/17] imx95_evk: add i.MX95 19x19 EVK board basic support

2024-12-21 Thread Fabio Estevam
Hi Alice On Thu, Dec 19, 2024 at 11:56 PM Alice Guo wrote: > > From: Ye Li > > This patch adds i.MX95 19x19 EVK board basic support. Do you know if this board boots without patch 17/17? If it doesn't boot, this patch should be the last one. > +Copy imx-boot-imx95.bin to the MicroSD card: > +

[PATCH 1/1] cmd/setexpr: support concatenation of direct strings

2024-12-21 Thread Heinrich Schuchardt
Up to now the setexpr command only supported concatenating string provided by reference. Allow directly passing stings. With this patch setexpr.s foo '1' + '3' sets variable $foo to the value '13'. Update the unit test for "setexpr.s fred 0". Add a new unit test for "setexpr.s fred '1' + '

[PULL] u-boot-sh/master

2024-12-21 Thread Marek Vasut
The following changes since commit 5c8ef70f0872399b3764b2addf1ed27e22dc61b0: Merge tag 'xilinx-for-v2025.01-rc5-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze (2024-12-20 08:26:16 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-b

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-21 Thread Jerome Forissier
Hi Ilias, On 12/21/24 09:10, Ilias Apalodimas wrote: > Hi Jerome > > [...] > >> + (INITCALL(board_postclk_init);)) >> + INITCALL(env_init); /* initialize environment */ >> + INITCALL(init_baud_rate); /* initialze baudrate settings */ >> +

Re: [PATCH v3 4/7] efi_loader: Add a version of efi_binary_run() with more parameters

2024-12-21 Thread Ilias Apalodimas
Hi Simon, On Thu, 19 Dec 2024 at 04:39, Simon Glass wrote: > > This uses a few global variables at present. With the bootflow we have > the required parameters, so add a function which accepts these. Update > the existing function to call the new one with the globals. > > - Rename efi_binary_run_

Re: [PATCH v3 3/7] efi_loader: Update efi_run_image() to accept image and device path

2024-12-21 Thread Ilias Apalodimas
On Thu, 19 Dec 2024 at 04:39, Simon Glass wrote: > > Provide these globals as parameters to this function, on the way to > making it possible to start an image without relying on the globals. > > Signed-off-by: Simon Glass > --- > > (no changes since v2) > > Changes in v2: > - Adjust argument ord

Re: [PATCH v3 1/7] efi_loader: Refactor device and image paths into a function

2024-12-21 Thread Ilias Apalodimas
On Sat, 21 Dec 2024 at 10:21, Ilias Apalodimas wrote: > > Hi Simon, > I don't see any of the requested changes from v2 on this one. Ah you changed it to static instead. That's fine we can move it to the dp helpers. if someone else needs it. Reviewed-by: Ilias Apalodimas > > Cheers > /Ilias > >

Re: [PATCH v3 1/7] efi_loader: Refactor device and image paths into a function

2024-12-21 Thread Ilias Apalodimas
Hi Simon, I don't see any of the requested changes from v2 on this one. Cheers /Ilias On Thu, 19 Dec 2024 at 04:39, Simon Glass wrote: > > Move this code into a function so it can be called from elsewhere. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Make calculate_paths() static

Re: [PATCH v2 3/5] board_init_f_r(): use static calls

2024-12-21 Thread Ilias Apalodimas
On Wed, 18 Dec 2024 at 17:54, Jerome Forissier wrote: > > Replace the init_sequence_f_r function array by direct calls. > > Signed-off-by: Jerome Forissier > --- > common/board_f.c | 18 +++--- > 1 file changed, 7 insertions(+), 11 deletions(-) > > diff --git a/common/board_f.c b/com

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-21 Thread Ilias Apalodimas
Hi Jerome [...] > + (INITCALL(board_postclk_init);)) > + INITCALL(env_init); /* initialize environment */ > + INITCALL(init_baud_rate); /* initialze baudrate settings */ > + INITCALL(serial_init); /* serial communications setup