Re: [PATCH v4 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-10-03 Thread Manorit Chawdhry
Hi Nishanth, On 11:01-20231002, Nishanth Menon wrote: > > diff --git a/arch/arm/mach-k3/j784s4_init.c b/arch/arm/mach-k3/j784s4_init.c [..] > > +struct fwl_data infra_cbass0_fwls[] = { > > + { "PSC0", 5, 1 }, > > + { "PLL_CTRL0", 6, 1 }, > > + { "PLL_MMR0", 8, 26 }, > > + { "CTRL_MMR0",

Re: [PATCH v4 1/3] binman: btool: Add Xilinx Bootgen btool

2023-10-03 Thread Simon Glass
Hi, On Sat, 5 Aug 2023 at 13:51, Simon Glass wrote: > > On Thu, 3 Aug 2023 at 09:22, wrote: > > > > From: Lukas Funke > > > > Add the Xilinx Bootgen as bintool. Xilinx Bootgen is used to create > > bootable SPL (FSBL in Xilinx terms) images for Zynq/ZynqMP devices. The > > btool creates a

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-10-03 Thread Simon Glass
Hi Rasmus, On Mon, 2 Oct 2023 at 13:02, Rasmus Villemoes wrote: > > On 29/09/2023 18.02, Tom Rini wrote: > > On Fri, Sep 29, 2023 at 09:15:00AM -0600, Simon Glass wrote: > > >> Honestly at this point I've forgotten what this is all about. > > Fair enough, let me try to recap, though even a

Re: [PATCH 03/25] autoboot: Correct dependencies on CMDLINE

2023-10-03 Thread Simon Glass
Hi Tom, On Sun, 24 Sept 2023 at 18:40, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 02:39:21PM -0600, Simon Glass wrote: > > > Make AUTOBOOT depend on CMDLINE since it is mostly meaningless without it. > > > > Signed-off-by: Simon Glass > > --- > > > > boot/Kconfig | 23 ++-

Re: [PATCH] Makefile: make u-boot-initial-env target depend explicitly on scripts_basic

2023-10-03 Thread Simon Glass
On Tue, 3 Oct 2023 at 04:02, Rasmus Villemoes wrote: > > We're seeing sporadic errors like > > ENVCinclude/generated/env.txt > HOSTCC scripts/basic/fixdep > ENVPinclude/generated/env.in > ENVTinclude/generated/environment.h > HOSTCC tools/printinitialenv > /bin/sh: 1:

Re: [PATCH 2/2] mkimage: allow internalization of data-position

2023-10-03 Thread Simon Glass
On Mon, 2 Oct 2023 at 02:01, Lars Feyaerts wrote: > > Make it possible for data that was externalized using a static external > position (-p) to be internalized. Enables the ability to convert > existing FIT images built with -p to be converted to a FIT image where the > data is internal, to be

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-03 Thread Simon Glass
Hi Sean, On Tue, 3 Oct 2023 at 11:58, Sean Edmond wrote: > > > On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: > > Replace original commands: ping, tftp, dhcp and wget. > > > > Signed-off-by: Maxim Uvarov > > --- > > boot/bootmeth_efi.c | 18 +++--- > > boot/bootmeth_pxe.c | 21 ++- >

Re: [PATCH] linker_list: Fix ll_entry_get alignment

2023-10-03 Thread Simon Glass
Hi Sean, On Sun, 1 Oct 2023 at 19:43, Sean Anderson wrote: > > On 10/1/23 21:16, Simon Glass wrote: > > Hi Sean, > > > > On Sat, 30 Sept 2023 at 09:23, Sean Anderson wrote: > >> > >> On 9/30/23 10:36, Sean Anderson wrote: > >>> When ll_entry_get is used on a list entry ll_entry_declare'd in the

Re: [PATCH v3 1/1] input: avoid NULL dereference

2023-10-03 Thread Simon Glass
On Mon, 2 Oct 2023 at 19:09, Heinrich Schuchardt wrote: > > Before using the result of env_get("stdin") we must check if it is NULL. > > Avoid #if. This resolves the -Wunused-but-set-variable issue and we don't > need a dummy assignment in the else branch. Anyway this warning is > disabled in the

Re: [PATCH v2 30/32] fdt: Allow the devicetree to come from a bloblist

2023-10-03 Thread Simon Glass
Hi Ilias, On Mon, 2 Oct 2023 at 01:33, Ilias Apalodimas wrote: > > Hi Simon > > On Mon, 2 Oct 2023 at 04:23, Simon Glass wrote: > > > > Hi Ilias, > > > > On Tue, 26 Sept 2023 at 07:13, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > [...] > > > > > > > > > > > > > > > > > So,

Re: [PATCH 1/1] sandbox: fix spl_board_init

2023-10-03 Thread Simon Glass
On Mon, 2 Oct 2023 at 19:00, Heinrich Schuchardt wrote: > > sandbox_spl_defconfig with CONFIG_SPL_UNIT_TEST=n fails to build. > > in function `spl_board_init': > arch/sandbox/cpu/spl.c:134:(.text.spl_board_init+0x4a): > undefined reference to `ut_run_list' > > Add the missing

Re: [PATCH v4 3/4] power: regulator: Perform regulator setup inside uclass

2023-10-03 Thread Simon Glass
Hi Svyatoslav, On Tue, 3 Oct 2023 at 00:21, Svyatoslav Ryhel wrote: > > Regulators initial setup was previously dependent on board call. > To move from this behaviour next solution is proposed: on post_bind > boot-on/always-on properties are checked, all regulators with > such props will be

Re: [PATCH] timer: starfive: Add Starfive timer support

2023-10-03 Thread Simon Glass
On Tue, 19 Sept 2023 at 06:08, Kuan Lim Lee wrote: > > Add timer driver in Starfive SoC. It is an timer that outside > of CPU core and inside Starfive SoC. > > Signed-off-by: Kuan Lim Lee > Reviewed-by: Wei Liang Lim > --- > drivers/timer/Kconfig | 7 +++ > drivers/timer/Makefile

Re: [RFC PATCH v2 2/8] binman: ti-secure: Add support for firewalling entities

2023-10-03 Thread Simon Glass
Hi Manorit, On Tue, 3 Oct 2023 at 05:21, Manorit Chawdhry wrote: > > Hi Simon, > > On 19:17-20231001, Simon Glass wrote: > > Hi Manorit, > > > > On Tue, 26 Sept 2023 at 01:58, Manorit Chawdhry wrote: > > > > > > We can now firewall entities while loading them through our secure > > > entity

Re: [PATCH v1 3/3] arm: npcm8xx: support dcache off

2023-10-03 Thread Jim Liu
Hi Tom Thanks for your reply. I will create another thread for this topic. Best regards, Jim On Mon, Oct 2, 2023 at 7:04 AM Tom Rini wrote: > > On Mon, Oct 02, 2023 at 12:40:54AM -0700, Jim Liu wrote: > > > Hi Tom > > > > I followed your suggestion to modify the code. > > but still have

[PATCH v2] i2c: nuvoton: remove standard mode only

2023-10-03 Thread Jim Liu
first version is only support standard mode. remove this judgment to support standard/fast/fast plus mode. Signed-off-by: Jim Liu Changes for v2: - add commit message --- drivers/i2c/npcm_i2c.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/i2c/npcm_i2c.c

[PATCH v2] pico-pi-imx7d: Unselect CONFIG_CONSOLE_MUX

2023-10-03 Thread Fabio Estevam
From: Fabio Estevam Unselect CONFIG_CONSOLE_MUX to fix the following error for the input, output and error interfaces: U-Boot 2023.10 (Oct 03 2023 - 21:23:18 -0300) ... In:No input devices available! Out: No output devices available! Err: No error devices available! Net: eth0:

[PATCH] pico-pi-imx7d: Unselect CONFIG_CONSOLE_MUX

2023-10-03 Thread Fabio Estevam
From: Fabio Estevam Unselect CONFIG_CONSOLE_MUX to fix the following error for the input, output and error interfaces: U-Boot 2023.10 (Oct 03 2023 - 21:23:18 -0300) CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) CPU: Commercial temperature grade (0C to 95C) at 42C Reset cause:

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-03 Thread Sean Edmond
On 2023-10-03 2:58 p.m., Peter Robinson wrote: On Tue, Oct 3, 2023 at 6:58 PM Sean Edmond wrote: On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: Replace original commands: ping, tftp, dhcp and wget. Signed-off-by: Maxim Uvarov --- boot/bootmeth_efi.c | 18 +++--- boot/bootmeth_pxe.c

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-03 Thread Peter Robinson
On Tue, Oct 3, 2023 at 6:58 PM Sean Edmond wrote: > > > On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: > > Replace original commands: ping, tftp, dhcp and wget. > > Signed-off-by: Maxim Uvarov > --- > boot/bootmeth_efi.c | 18 +++--- > boot/bootmeth_pxe.c | 21 ++- > cmd/net.c

[PATCH] arm: mach-imx: Makefile: Extend u-boot-nand.imx padding

2023-10-03 Thread Hiago De Franco
From: Hiago De Franco Extend the padding process of u-boot-nand.imx target by adding 10k bytes of zeros to the end of the binary using the 'dd' command. The existing padding method did not generate a functional binary, as discussed in more detail in this thread [1]. Instead, we adopt the

[PATCH v1 2/2] ARM: amlogic: ad401: enable SPIFC

2023-10-03 Thread Igor Prusov
From: Igor Prusov Enable Amlogic A1 SPI FLash Controller support. Signed-off-by: Igor Prusov --- configs/ad401_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ad401_defconfig b/configs/ad401_defconfig index 31752cc7f5..9a88e20a6a 100644 --- a/configs/ad401_defconfig +++

[PATCH v1 1/2] spi: add support for Amlogic A1 SPI Flash Controller

2023-10-03 Thread Igor Prusov
From: Igor Prusov Add A1 SPIFC driver from Linux. Slightly modified to use u-boot driver framework and accommodate to lack of ioread32_rep/iowrite32_rep. Based on Linux version 6.6-rc4 Signed-off-by: Igor Prusov Signed-off-by: Martin Kurbanov --- drivers/spi/Kconfig | 8 +

[PATCH v1 0/2] ARM: amlogic: Add A1 SPIFC support

2023-10-03 Thread Igor Prusov
A1 family boards have new version of SPIFC controller, that is incompatible with meson_spifc driver. This series ports A1 SPIFC driver from Linux and enables it for ad401 board. Igor Prusov (2): spi: add support for Amlogic A1 SPI Flash Controller ARM: amlogic: ad401: enable SPIFC

Re: [PATCH v5] board: rockchip: Add Bananapi R2Pro Board

2023-10-03 Thread Jonas Karlman
Hi Frank, On 2023-09-20 20:40, Frank Wunderlich wrote: > From: Frank Wunderlich > > Add Bananapi R2 Pro board. > > tested: > - sdcard > - both front usb-ports > - sata > - wan-port > > lan-ports are connected to mt7531 switch where driver needs to be > separated from mtk ethernet-driver. > >

[PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-03 Thread Jan Kiszka
From: Jan Kiszka Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes as 'bootph-all'. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after

Re: [PATCH 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

2023-10-03 Thread Sean Edmond
On 2023-09-26 9:11 p.m., Lothar Waßmann wrote: Hi, On Mon, 25 Sep 2023 13:29:34 -0700 seanedm...@linux.microsoft.com wrote: From: Sean Edmond This patch introduces 3 improvements to align with RFC 951: - retransmission backoff interval maximum is configurable - initial retranmission

Re: [PATCH 0/3] BOOTP/DHCPv4 enhancements

2023-10-03 Thread Sean Edmond
On 2023-09-26 9:45 a.m., Peter Robinson wrote: Hi Sean, In our datacenter application, a single DHCP server is servicing 36000+ clients. Improvements are required to the DHCPv4 retransmission behavior to align with RFC and ensure less pressure is exerted on the server: - retransmission

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-03 Thread Sean Edmond
On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: Replace original commands: ping, tftp, dhcp and wget. Signed-off-by: Maxim Uvarov --- boot/bootmeth_efi.c | 18 +++--- boot/bootmeth_pxe.c | 21 ++- cmd/net.c | 86 + cmd/pxe.c

[PATCH v3] arm64: versal: Add SelectMAP boot mode identification

2023-10-03 Thread Polak, Leszek
The SelectMAP configuration interface provides an 8-bit, 16-bit or 32-bit bidirectional data bus interface to the Versal FPGA configuration logic that can be used for both configuration and readback. A connected microcontoller to the SelectMAP interface can load boot image with bitstream, TF-A

Re: [PATCH] board: rockchip: add Pine64 QuartzPro64 RK3588 board

2023-10-03 Thread Tom Fitzhenry
Tom Fitzhenry writes: > QuartzPro64 is a Rockchip RK3588 based SBC by Pine64. > > UART and booting over SD card are tested to work. I've found a few issues with this patch, incl. confusion over the relationship between rk3588-quartzpro64.dts and rk3588-quartzpro64-u-boot.dtsi . I will rework

Re: [PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200

2023-10-03 Thread Tom Rini
On Tue, Oct 03, 2023 at 07:57:04PM +0530, Kumar, Udit wrote: > > On 10/3/2023 1:40 PM, Keerthy wrote: > > Enable ESM initialization for J7200 > > > > Signed-off-by: Keerthy > > --- > > board/ti/j721e/evm.c | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git

Re: [PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200

2023-10-03 Thread Kumar, Udit
On 10/3/2023 1:40 PM, Keerthy wrote: Enable ESM initialization for J7200 Signed-off-by: Keerthy --- board/ti/j721e/evm.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 42fa94b7a5..070b28326f 100644 ---

Re: [PATCH v4 3/4] power: regulator: Perform regulator setup inside uclass

2023-10-03 Thread Jonas Karlman
On 2023-10-03 08:21, Svyatoslav Ryhel wrote: > Regulators initial setup was previously dependent on board call. > To move from this behaviour next solution is proposed: on post_bind > boot-on/always-on properties are checked, all regulators with > such props will be probed just after binding which

Re: [PATCH v4 1/4] power: regulator: expand basic reference counter onto all uclass

2023-10-03 Thread Jonas Karlman
On 2023-10-03 08:21, Svyatoslav Ryhel wrote: > Commit is based on 4fcba5d ("regulator: implement basic reference > counter") but expands the idea to all regulators instead of just > fixed/gpio regulators. > > Signed-off-by: Svyatoslav Ryhel > Reviewed-by: Simon Glass > --- >

Re: [PATCH 16/16] board: rzg2l: Add RZ/G2L SMARC EVK board

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The Renesas RZ/G2L SMARC Evaluation Board Kit consists of the RZ/G2L System-on-Module (SOM) based on the R9A07G044L2 SoC, and a common SMARC carrier board. The ARM TrustedFirmware code for the Renesas RZ/G2L SoC family passes a devicetree blob to the

Re: [PATCH 15/16] arm: dts: Import RZ/G2L SMARC EVK device tree

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The Renesas RZ/G2L SMARC Evaluation Board Kit consists of the RZ/G2L System-on-Module (SOM) based on the R9A07G044L2 SoC, and a common SMARC carrier board. This patch is based on the corresponding Linux v6.5 device tree. Signed-off-by: Paul Barker

Re: [PATCH 14/16] arm: rmobile: Support RZ/G2L memory map

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The memory map for the RZ/G2L family differs from that of previous R-Car gen3/gen4 SoCs. Gen3 / Gen4 A high level memory map can be seen in figure 5.2 (section 5.2.1) of the RZ/G2L data sheet rev 1.30 published May 12, 2023. A summary is included here

Re: [PATCH 13/16] arm: rmobile: Add CPU detection for RZ/G2L

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The ARM TrustedFirmware code for the Renesas RZ/G2L SoC family passes a devicetree blob to the bootloader as an argument in the same was same way (typo) previous R-Car gen3/gen4 SoCs. Gen3 / Gen4 This blob contains a compatible string which can be

Re: [PATCH 12/16] arm: rmobile: Include in header

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: We don't want to rely on source files including before . What kind of error does this solve ?

Re: [PATCH 11/16] mmc: renesas-sdhi: Initialize module on RZ/G2L

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: On the Renesas RZ/G2L SoC family, we must ensure that the required clock signals are enabled and the reset signal is de-asserted before we try to communicate with the SDHI module. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar

Re: [PATCH 10/16] serial: sh: Add RZ/G2L SCIF support

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: Extend the existing driver to support the SCIF serial ports on the Renesas RZ/G2L (R9A07G044) SoC. This also requires us to ensure that the relevant reset signal is de-asserted before we try to talk to the SCIF module. Signed-off-by: Paul Barker

Re: [PATCH 09/16] pinctrl: renesas: Add RZ/G2L PFC driver

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: This driver provides pinctrl and gpio control for the Renesas RZ/G2L (R9A07G044) SoC. This patch is based on the corresponding Linux v6.5 driver. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar ---

Re: [PATCH 08/16] arm: rmobile: Restrict PINCTRL_PFC selection to R-Car gen3/gen4

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The RZ/G2L family uses CONFIG_RCAR_64 but does not share a common PFC driver with the R-Car gen3 & gen4 boards. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar --- arch/arm/mach-rmobile/Kconfig | 3 ++- 1 file changed, 2

Re: [PATCH 07/16] clk: renesas: Add RZ/G2L CPG driver

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: This driver provides clock and reset control for the Renesas RZ/G2L (R9A07G044) SoC. It consists of two parts: * driver code which is applicable to all SoCs in the RZ/G2L family * static data describing the clocks and resets which are specific to the

Re: [PATCH 06/16] arm: rmobile: Add basic R9A07G044L SoC support

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: Add a config option for the R9A07G044L SoC used in the RZ/G2L so that we can make use of this in the subsequent driver patches. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar --- arch/arm/mach-rmobile/Kconfig.rzg2l | 5 +

Re: [PATCH 05/16] arm: rmobile: Add basic RZ/G2L family support

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: The Renesas RZ/G2L family includes the following ARM SoCs: * RZ/G2L (r9a07g044l) * RZ/G2LC (r9a07g044c) * RZ/G2UL (r9a07g043u) * RZ/V2L (r9a07g054l) Support for individual SoCs and evaluation boards will be added in separate patches. Signed-off-by: Paul

Re: [PATCH 04/16] dt-bindings: Add RZ/G2L IRQC bindings

2023-10-03 Thread Marek Vasut
On 9/20/23 14:42, Paul Barker wrote: Import bindings for the Interrupt Controller (IRQC) module in the Renesas RZ/G2L SoC family. This patch is based on the dt-bindings in Linux v6.5. Please also include the exact commit ID in the remote project when importing files from it, see example in

Re: [PATCH 03/16] dt-bindings: Add RZ/G2L PFC bindings

2023-10-03 Thread Marek Vasut
On 9/20/23 14:41, Paul Barker wrote: Import bindings for the Port Function Control (PFC) module in the Renesas RZ/G2L SoC family. This patch is based on the dt-bindings in Linux v6.5. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar Please also include the

Re: [PATCH 02/16] dt-bindings: Add RZ/G2L CPG bindings

2023-10-03 Thread Marek Vasut
On 9/20/23 14:41, Paul Barker wrote: Import bindings for the Clock Pulse Generator (CPG) module in the Renesas RZ/G2L SoC family. This patch is based on the dt-bindings in Linux v6.5. Please also include the exact commit ID in the remote project when importing files from it, see example in

Re: [PATCH 01/16] serial: sh: Fix compile error when lacking HSCIF support

2023-10-03 Thread Marek Vasut
On 9/20/23 14:41, Paul Barker wrote: If we attempt to compile serial_sh.c for a system which lacks HSCIF support (e.g. R8A7740), we see the following compilation error: In file included from drivers/serial/serial_sh.c:20: drivers/serial/serial_sh.c: In function

Re: [PATCH] board: synquacer: set actual gd->ram_top and gd->ram_size

2023-10-03 Thread Jassi Brar
On Mon, 2 Oct 2023 at 21:31, Masahisa Kojima wrote: > > Current gd->ram_size and gd->ram_top reflect only the > first DRAM bank even if the SynQuacer Developerbox could > have up to three DRAM banks. > With the commit 06d514d77c37 ("lmb: consider EFI memory map"), > the first DRAM bank indicates

Re: [PATCH v2 8/8] ad401: enable USB stack

2023-10-03 Thread neil . armstrong
On 03/10/2023 13:28, Alexey Romanov wrote: Currently we have all drivers for use USB stack on A1-series SoC's. Let's enable USB options for the Amlogic AD401 reference A1 SoC board. Signed-off-by: Alexey Romanov --- configs/ad401_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH v2 6/8] a1: clk: Add missing USB_PHY_IN and USB_PHY gates

2023-10-03 Thread neil . armstrong
On 03/10/2023 13:28, Alexey Romanov wrote: From: Igor Prusov We use this clocks in dwc3 driver. Signed-off-by: Igor Prusov Signed-off-by: Alexey Romanov --- drivers/clk/meson/a1.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c

Re: [PATCH v2 5/8] phy: support Amlogic A1 family

2023-10-03 Thread neil . armstrong
On 03/10/2023 13:28, Alexey Romanov wrote: Setting G12A and A1 is similar, so we can use G12A phy driver with little changes. Signed-off-by: Alexey Romanov --- drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 79 --- 2 files changed, 66

[PATCH] test/py: net: Add a test for 'pxe get' command

2023-10-03 Thread Love Kumar
Execute the 'pxe get' command to download a pxe configuration file from the TFTP server and validate its interpretation. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 66 +++ 1 file changed, 66 insertions(+) diff --git a/test/py/tests/test_net.py

[PATCH] test/py: net: Add dhcp abort test

2023-10-03 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 44 +++ 1 file changed, 44 insertions(+) diff --git a/test/py/tests/test_net.py

[PATCH v2 7/8] dwc3: add support for Amlogic A1 family

2023-10-03 Thread Alexey Romanov
Now the driver supports also A1 phy layer. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/usb/dwc3/dwc3-meson-g12a.c | 73 ++ 1 file changed, 63 insertions(+), 10 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c

[PATCH v2 6/8] a1: clk: Add missing USB_PHY_IN and USB_PHY gates

2023-10-03 Thread Alexey Romanov
From: Igor Prusov We use this clocks in dwc3 driver. Signed-off-by: Igor Prusov Signed-off-by: Alexey Romanov --- drivers/clk/meson/a1.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c index 3aec42f33b..1075ba7333 100644 ---

[PATCH v2 8/8] ad401: enable USB stack

2023-10-03 Thread Alexey Romanov
Currently we have all drivers for use USB stack on A1-series SoC's. Let's enable USB options for the Amlogic AD401 reference A1 SoC board. Signed-off-by: Alexey Romanov --- configs/ad401_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/ad401_defconfig

[PATCH v2 4/8] phy: move clk enable/disable in init/exit

2023-10-03 Thread Alexey Romanov
It is better to place clk_enable() in phy_meson_g12a_usb2_init() and clk_disable() in phy_meson_g12a_usb2_exit(). For more detailed information, please see comments in the review of a similar driver in the Linux Kernel:

[PATCH v2 5/8] phy: support Amlogic A1 family

2023-10-03 Thread Alexey Romanov
Setting G12A and A1 is similar, so we can use G12A phy driver with little changes. Signed-off-by: Alexey Romanov --- drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 79 --- 2 files changed, 66 insertions(+), 15 deletions(-) diff --git

[PATCH v2 3/8] phy: get rid of raw hex values

2023-10-03 Thread Alexey Romanov
It is better to use defines instead of write raw hex values in regmap. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/phy/meson-g12a-usb2.c | 161 -- 1 file changed, 153 insertions(+), 8 deletions(-) diff --git

[PATCH v2 2/8] reset: add support for Amlogic A1 family

2023-10-03 Thread Alexey Romanov
This patch adds reset support for the Amlogic A1 family. We add the structure meson_reset_drvdata, which in the future will allow this driver to be used for other families by declaring only the correct parameters reg_count and level_offset. Signed-off-by: Alexey Romanov Reviewed-by: Neil

[PATCH v2 1/8] dt-bindings: reset: add Meson A1 reset bindings

2023-10-03 Thread Alexey Romanov
Get this from Linux 6.6-rc3. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- .../reset/amlogic,meson-a1-reset.h| 76 +++ 1 file changed, 76 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-reset.h diff --git

[PATCH v2 0/8] Support USB for Meson A1

2023-10-03 Thread Alexey Romanov
Hello! This patchset adds USB stack support for Amlogic A1 SoC's series. Made reset / phy / dwc3 drivers more flexible and added support for A1 board. V2: - Made power domain for PHY optional. - Add missing CLKID_USB_PHY gate. - Drop patch with USB stack initialization in board-a1.c. Instead

[PATCH v1 1/1] board: xen: introduce virtio-blk support

2023-10-03 Thread Andrii Chepurnyi
Added new xenguest_arm64_virtio_defconfig which enables support for virtio-blk using various types of transport like virtio-pci, vrtio-mmio. Currently supported: up to 2 PCI host bridges and 10 MMIO devices. Note: DT parsing code was partly taken from pci-uclass.c Limitation: All memory regions

[PATCH v1 0/1] virtio-blk support for xen board

2023-10-03 Thread Andrii Chepurnyi
Hello. This patch adds the ability to use virtio-blk in the guest domain under Xen hypervisor. To do such you need to build U-boot with xenguest_arm64_virtio_defconfig. The patch was tested on a specific build for rcar-gen3 hardware, with multiple Linux domains running under Xen and QEMU as a

RE: [PATCH] timer: starfive: Add Starfive timer support

2023-10-03 Thread WeiLiang Lim
Can anyone help review this patch please? > -Original Message- > From: KuanLim.Lee > Sent: Tuesday, September 19, 2023 3:31 PM > To: u-boot@lists.denx.de > Cc: WeiLiang Lim ; KuanLim.Lee > > Subject: [PATCH] timer: starfive: Add Starfive timer support > > Add timer driver in Starfive

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-10-03 Thread Nishanth Menon
On 16:11-20231003, Nitin Yadav wrote: [...] > >>> > >>> NAK. should come from board.dts. > >> > >> am62sip support is also in the queue where we have only 512M of RAM. > >> That's why I'm adding this node in r5-sk.dts > > > > N

Re: [RFC PATCH v2 4/8] binman: k3: add k3-security.h and include it in k3-binman.dtsi

2023-10-03 Thread Manorit Chawdhry
Hi Simon, On 19:17-20231001, Simon Glass wrote: > Hi Manorit, > > On Tue, 26 Sept 2023 at 01:59, Manorit Chawdhry wrote: > > > > For readability during configuring firewalls, adding k3-security.h file > > and including it in k3-binman.dtsi to be accessible across K3 SoCs > > > > Signed-off-by:

Re: [RFC PATCH v2 2/8] binman: ti-secure: Add support for firewalling entities

2023-10-03 Thread Manorit Chawdhry
Hi Simon, On 19:17-20231001, Simon Glass wrote: > Hi Manorit, > > On Tue, 26 Sept 2023 at 01:58, Manorit Chawdhry wrote: > > > > We can now firewall entities while loading them through our secure > > entity TIFS, the required information should be present in the > > certificate that is being

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-10-03 Thread Nitin Yadav
On 28/09/23 20:00, Nishanth Menon wrote: > On 15:00-20230928, Nitin Yadav wrote: >> Hi, >> >> On 27/09/23 17:22, Nishanth Menon wrote: >>> On 13:51-20230927, Nitin Yadav wrote: The AM62x LP SK board is similar to the AM62x SK board, but has some significant changes that requires

Re: [RFC PATCH v2 1/8] dtoc: openssl: Add GetHexOctet method

2023-10-03 Thread Manorit Chawdhry
Hi Simon, On 19:17-20231001, Simon Glass wrote: > Hi Manorit, > > On Tue, 26 Sept 2023 at 01:58, Manorit Chawdhry wrote: > > > > HexOctet format is used by openssl for FORMAT:HEX,OCT property in x509 > > certificates. Add a helper function to extract the integer numbers in > > HEX,OCT format to

[PATCH] Makefile: make u-boot-initial-env target depend explicitly on scripts_basic

2023-10-03 Thread Rasmus Villemoes
We're seeing sporadic errors like ENVCinclude/generated/env.txt HOSTCC scripts/basic/fixdep ENVPinclude/generated/env.in ENVTinclude/generated/environment.h HOSTCC tools/printinitialenv /bin/sh: 1: scripts/basic/fixdep: not found make[1]: *** [scripts/Makefile.host:95:

Re: [PATCH 1/1] sunxi: dram: Fix incorrect ram size detection for some H6 boards

2023-10-03 Thread Andre Przywara
On Mon, 02 Oct 2023 20:50:49 +0200 Jernej Škrabec wrote: Hi, > Dne ponedeljek, 02. oktober 2023 ob 13:26:26 CEST je Andre Przywara > napisal(a): > > On Sun, 1 Oct 2023 21:43:32 +0530 > > Gunjan Gupta wrote: > > > > (fixing Jernej's email) > > > > Hi Gunjan, > > > > thanks for sending a

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix Boot

2023-10-03 Thread Roger Quadros
On 02/10/2023 18:00, Nishanth Menon wrote: > Since commit [1] A53 u-boot proper is broken. This is because nodes > marked as 'bootph-pre-ram' are not available at u-boot proper before > relocation. > > To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. > > [1] > 9e644284ab812 ("dm:

[PATCH] test/py: net: Add a TFTP put test

2023-10-03 Thread Love Kumar
Execute tftpput command for uploading files to a server and validate its size & CRC32. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 69 +++ 1 file changed, 69 insertions(+) diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py index

[PATCH v2] wdt: nuvoton: fix reset/expire function error

2023-10-03 Thread Jim Liu
fix npcm845 watchdog halt for reset function and expire function. reset function is restart wdt. Signed-off-by: Jim Liu Changes for v2: - add commit message - fix no empty line problem - remove dts --- drivers/watchdog/npcm_wdt.c | 11 +-- 1 file changed, 9 insertions(+), 2

Re: [PATCH v1] i2c: nuvoton: add support fast mode

2023-10-03 Thread Jim Liu
Hi Heiko Thanks for your review. Our bmc HW can support standard / fast / fast plus mode but our first uboot version 2019 is only run on standard mode. so the first upstream version is the same as before. Now, some customer need to test other mode on uboot. So remove this judgment to support

[PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200

2023-10-03 Thread Keerthy
Enable ESM initialization for J7200 Signed-off-by: Keerthy --- board/ti/j721e/evm.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 42fa94b7a5..070b28326f 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@

[PATCH RFC 09/10] configs: j7200_evm_r5_defconfig: Enable the ESM configs

2023-10-03 Thread Keerthy
Enable the ESM configs. Signed-off-by: Keerthy --- configs/j7200_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig index c4dd33627b..7adc230fc1 100644 --- a/configs/j7200_evm_r5_defconfig +++

[PATCH RFC 08/10] arm: dts: k3-j7200-r5-common-proc-board: Add PMIC ESM node

2023-10-03 Thread Keerthy
Enable the TPS659413 has the ESM PMIC. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts index

[PATCH RFC 07/10] configs: j721s2_evm_r5_defconfig: Enable ESM & PMIC ESM configs

2023-10-03 Thread Keerthy
Enable ESM & PMIC ESM configs Signed-off-by: Keerthy --- configs/j721s2_evm_r5_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig index 1e66ac23d0..b9ac56f34d 100644 --- a/configs/j721s2_evm_r5_defconfig +++

[PATCH RFC 06/10] board: ti: j721s2: Initialize the ESM & PMIC ESM

2023-10-03 Thread Keerthy
Initialize the ESM & PMIC ESM Signed-off-by: Keerthy --- board/ti/j721s2/evm.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index 7795300abc..effa52ff5a 100644 --- a/board/ti/j721s2/evm.c +++

[PATCH RFC 05/10] board: ti: j721e: Initialize MCU ESM

2023-10-03 Thread Keerthy
Initialize MCU ESM. This is needed to propagate MAIN domain events to the PMIC. Signed-off-by: Keerthy --- board/ti/j721e/evm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 38fe447d8f..42fa94b7a5 100644 --- a/board/ti/j721e/evm.c +++

[PATCH RFC 04/10] arm64: dts: ti: k3-j721e: Add MCU domain ESM instance

2023-10-03 Thread Keerthy
Patch adds the ESM instance for MCU domian of j721e. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi b/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi index 22166c7942..66fdd6443f 100644 ---

[PATCH RFC 03/10] arm: dts: k3-j721s2-r5-common-proc-board: Add ESM PMIC and dependent nodes

2023-10-03 Thread Keerthy
PMIC ESM is part of tps6594x PMIC and connected to WKUP_I2C instance. Signed-off-by: Keerthy --- .../dts/k3-j721s2-r5-common-proc-board.dts| 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts

[PATCH RFC 02/10] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

2023-10-03 Thread Keerthy
Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index 1044ec6c4b..2b185fa350 100644 ---

[PATCH RFC 01/10] arm64: dts: ti: k3-j721s2: Add ESM instances

2023-10-03 Thread Keerthy
Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-main.dtsi | 7 +++ arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++ 2 files changed, 21 insertions(+)

[PATCH RFC 00/10] arm: dts: j7200/j721s2: Enable the ESM and PMIC ESM

2023-10-03 Thread Keerthy
This patch series is RFC. This is enabling ESM/PMIC_ESM modules needed for watchdog functionality. Keerthy (10): arm64: dts: ti: k3-j721s2: Add ESM instances arm64: dts: ti: k3-j7200: Add MCU domain ESM instance arm: dts: k3-j721s2-r5-common-proc-board: Add ESM PMIC and dependent nodes

Re: [PATCH v1 7/8] dwc3: add support for Amlogic A1 family

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: Now the driver supports also A1 phy layer. Signed-off-by: Alexey Romanov --- drivers/usb/dwc3/dwc3-meson-g12a.c | 73 ++ 1 file changed, 63 insertions(+), 10 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c

Re: [PATCH v1 6/8] a1: clk: Add missing CLKID_USB_PHY_IN gate

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: From: Igor Prusov We use this clock in dwc3 driver. Signed-off-by: Igor Prusov --- drivers/clk/meson/a1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c index 3aec42f33b..1540e1875b 100644

Re: [PATCH v1 5/8] phy: support Amlogic A1 family

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: Setting G12A and A1 is similar, so we can use G12A phy driver with little changes. Signed-off-by: Alexey Romanov --- drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 77 --- 2 files changed, 64

Re: [PATCH v1 4/8] phy: move clk enable/disable in init/exit

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: It is better to place clk_enable() in phy_meson_g12a_usb2_init() and clk_disable() in phy_meson_g12a_usb2_exit(). For more detailed information, please see comments in the review of a similar driver in the Linux Kernel:

Re: [PATCH v1 3/8] phy: get rid of raw hex values

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: It is better to use defines instead of write raw hex values in regmap. Signed-off-by: Alexey Romanov --- drivers/phy/meson-g12a-usb2.c | 161 -- 1 file changed, 153 insertions(+), 8 deletions(-) diff --git

Re: [PATCH v1 2/8] reset: add support for Amlogic A1 family

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: This patch adds reset support for the Amlogic A1 family. We add the structure meson_reset_drvdata, which in the future will allow this driver to be used for other families by declaring only the correct parameters reg_count and level_offset.

Re: [PATCH v1 1/8] dt-bindings: reset: add Meson A1 reset bindings

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: Get this from Linux 6.6-rc3. Signed-off-by: Alexey Romanov --- .../reset/amlogic,meson-a1-reset.h| 76 +++ 1 file changed, 76 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-reset.h diff

Re: [PATCH v1 8/8] arch: a1: introduce USB initialization functionality

2023-10-03 Thread neil . armstrong
Hi, On 02/10/2023 18:58, Alexey Romanov wrote: This is entrypoint for USB stack initialization. Function board_usb_init will be called from cmd/fastboot.c code. This should not be needed anymore, using DM_USB_GADGET should work, look how it was changed for G12A/SM1 and GXL/AXG:

[PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-10-03 Thread Kuan Lim Lee
From: Kuan Lim Lee Cadence SDMMC v6 controller has a lot of changes on initialize compared to v4 controller. PHY is needed by v6 controller. Signed-off-by: Kuan Lim Lee Reviewed-by: Alex Soo Reviewed-by: Wei Liang Lim --- drivers/mmc/Kconfig | 13 ++ drivers/mmc/Makefile

  1   2   >