Re: [PATCH v3 1/6] binman: ti-secure: Add support for firewalling entities

2023-10-09 Thread Manorit Chawdhry
Hi Simon, On 11:56-20231009, Simon Glass wrote: > Hi Manorit, > > On Mon, 9 Oct 2023 at 01:43, Manorit Chawdhry wrote: > > > > Hi Simon, > > > > On 17:10-20231007, Simon Glass wrote: > > > Hi Manorit, > > > > > > On Wed, 4 Oct 2023 a

Re: [PATCH v2 22/27] efi: Depend on CMDLINE for efi_loader

2023-10-09 Thread AKASHI Takahiro
Hi Simon, On Sat, Oct 07, 2023 at 05:12:41PM -0600, Simon Glass wrote: > This features currently requires the command line, so make this > explicit. Future work could adjust this, but it needs effort within > the booting support first, like the bootm command. I a bit doubt this dependency.

[PATCH v2] net: phy: xilinx_phy: Get rid of using property xlnx, phy-type

2023-10-09 Thread Venkatesh Yadav Abbarapu
As the xlnx,phy-type device tree property is deprecated and phy-mode is being used, so removing the code references of xlnx,phy-type. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Removed phytype variable. --- drivers/net/phy/xilinx_phy.c | 5 - 1 file changed, 5 deletions(-)

Re: [PATCH 07/25] tegra: Change #ifdef for nop

2023-10-09 Thread Sean Anderson
On 10/9/23 11:32, Simon Glass wrote: Hi Sean, On Sat, 7 Oct 2023 at 17:21, Sean Anderson wrote: On 10/7/23 19:10, Simon Glass wrote: Hi Tom. On Sun, 24 Sept 2023 at 18:43, Tom Rini wrote: On Sun, Sep 24, 2023 at 02:39:25PM -0600, Simon Glass wrote: This code is normally compiled for

[PATCH] ARM: dts: stm32mp: Repair damage from alignment with v6.3

2023-10-09 Thread Marek Vasut
The patch fixed by this commit renders ST STM32MP15xx EV1 board and all DHSOM SoM based boards unbootable from SPI NOR. Fix the damage by updating -u-boot.dtsi to match the stm32mp15-pinctrl.dtsi update. Fixes: 08002ffd083d ("ARM: dts: stm32mp: alignment with v6.3") Signed-off-by: Marek Vasut

[PATCH] cmd: mmc: Add mmc reg read command for reading card registers

2023-10-09 Thread Marek Vasut
Add extension to the 'mmc' command to read out the card registers. Currently, only the eMMC OCR/CID/CSD/EXTCSD/RCA/DSR register are supported. A register value can either be displayed or read into an environment variable. Signed-off-by: Marek Vasut --- Cc: Abdellatif El Khlifi Cc: Heinrich

[PATCH v4 3/3] dt-bindings: mtd: binman-partitions: Add alignment properties

2023-10-09 Thread Simon Glass
Add three properties for controlling alignment of partitions, aka 'entries' in binman. For now there is no explicit mention of hierarchy, so a 'section' is just the 'binman' node. These new properties are inputs to the packaging process, but are also needed if the firmware is repacked, to ensure

[PATCH v4 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles

2023-10-09 Thread Simon Glass
Add two compatible for binman entries, as a starting point for the schema. Note that, after discussion on v2, we decided to keep the existing meaning of label so as not to require changes to existing userspace software when moving to use binman nodes to specify the firmware layout.

[PATCH v4 1/3] dt-bindings: mtd: partitions: Add binman compatible

2023-10-09 Thread Simon Glass
Add a compatible string for binman, so we can extend fixed-partitions in various ways. Signed-off-by: Simon Glass --- Changes in v4: - Change subject line Changes in v3: - Drop fixed-partition additional compatible string - Drop fixed-partitions from the example - Mention use of compatible

Re: [PATCH v3 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles

2023-10-09 Thread Simon Glass
Hi Rob, On Mon, 9 Oct 2023 at 15:18, Rob Herring wrote: > > > On Mon, 09 Oct 2023 14:10:00 -0600, Simon Glass wrote: > > Add two compatible for binman entries, as a starting point for the > > schema. > > > > Note that, after discussion on v2, we decided to keep the existing > > meaning of label

Re: [PATCH v3 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles

2023-10-09 Thread Rob Herring
On Mon, 09 Oct 2023 14:10:00 -0600, Simon Glass wrote: > Add two compatible for binman entries, as a starting point for the > schema. > > Note that, after discussion on v2, we decided to keep the existing > meaning of label so as not to require changes to existing userspace > software when

[PATCH v3] rockchip: rk3568-radxa-e25: Enable pcie3x1 node

2023-10-09 Thread Jonas Karlman
Enable mini PCIe slot, pcie3x1 node, now that the PCIe PHY driver support bifurcation. A pinctrl is assigned for reset-gpios or the device may freeze running pci enum and nothing is connected to the mini PCIe slot. Also drop the AHCI_PCI Kconfig option as this option is not required for a

[PATCH] RFC: x86: serial: ns16550: Allow the UART to be silently disabled

2023-10-09 Thread Simon Glass
U-Boot normally requires a UART. When booting from coreboot it is sometimes just not available, e.g. when no sysinfo or DBG2 information is provided. In this case we need to continue running, since the display can be used. Add a flag to disable serial for this case. This allows U-Boot to start

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-09 Thread Simon Glass
Hi all, On Fri, 6 Oct 2023 at 18:03, Simon Glass wrote: > > Hi Ard, > > On Fri, 6 Oct 2023 at 17:00, Ard Biesheuvel wrote: > > > > On Fri, 6 Oct 2023 at 20:17, Simon Glass wrote: > > > > > > Hi Ard, > > > > > > On Fri, 6 Oct 2023 at 11:33, Ard Biesheuvel wrote: > > > > > > > > On Mon, 2 Oct

[PATCH v3 3/3] dt-bindings: mtd: binman-partitions: Add alignment properties

2023-10-09 Thread Simon Glass
Add three properties for controlling alignment of partitions, aka 'entries' in binman. For now there is no explicit mention of hierarchy, so a 'section' is just the 'binman' node. These new properties are inputs to the packaging process, but are also needed if the firmware is repacked, to ensure

[PATCH v3 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles

2023-10-09 Thread Simon Glass
Add two compatible for binman entries, as a starting point for the schema. Note that, after discussion on v2, we decided to keep the existing meaning of label so as not to require changes to existing userspace software when moving to use binman nodes to specify the firmware layout.

[PATCH v3 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-09 Thread Simon Glass
Add a compatible string for binman, so we can extend fixed-partitions in various ways. Signed-off-by: Simon Glass --- Changes in v3: - Drop fixed-partition additional compatible string - Drop fixed-partitions from the example - Mention use of compatible instead of label Changes in v2: - Drop

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-09 Thread Simon Glass
Hi Rob, On Fri, 6 Oct 2023 at 10:11, Rob Herring wrote: > > On Fri, Oct 06, 2023 at 10:37:41AM +0200, Michael Walle wrote: > > Hi, > > > > > > I'm still not sure why that compatible is needed. Also I'd need to > > > > change > > > > the label which might break user space apps looking for that

Re: [PATCH 3/5] binman: capsule: Use dumped capsule header contents for verification

2023-10-09 Thread Sughosh Ganu
hi Simon, On Mon, 9 Oct 2023 at 23:27, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 9 Oct 2023 at 01:46, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sun, 8 Oct 2023 at 04:41, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 1/2] schemas: memory: Add ECC properties

2023-10-09 Thread Simon Glass
Hi Rob, On Tue, 26 Sept 2023 at 13:42, Simon Glass wrote: > > Some memories provide ECC detection and/or correction. For software which > wants to check memory, it is helpful to see which regions provide this > feature. > > Add this as a property of the /memory nodes, since it presumably follows

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-09 Thread Simon Glass
Hi Ben, On Sun, 8 Oct 2023 at 15:55, Ben Wolsieffer wrote: > > Hi Simon, > > On Sat, Oct 07, 2023 at 02:18:48PM -0600, Simon Glass wrote: > > Hi Ben, > > > > On Sat, 7 Oct 2023 at 09:55, Ben Wolsieffer wrote: > > > > > > Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to > > >

Re: [PATCH v4 1/4] common: add prototype & rename populate_serial_number()

2023-10-09 Thread Simon Glass
On Mon, 9 Oct 2023 at 08:42, Artur Rojek wrote: > > Rename populate_serial_number() to a more descriptive > serial_read_from_eeprom() and provide the missing function prototype. > > This is useful for boards that wish to read their serial number from > EEPROM at init. > > Signed-off-by: Artur

Re: [PATCH v4 2/4] event: add new EVT_SETTINGS_R event

2023-10-09 Thread Simon Glass
On Mon, 9 Oct 2023 at 08:42, Artur Rojek wrote: > > Introduce EVT_SETTINGS_R, triggered post-relocation and before console > init. > > This event gives an option to perform any platform-dependent setup, > which needs to take place before show_board_info(). Usage examples > include readout of

Re: [PATCH v3 1/6] binman: ti-secure: Add support for firewalling entities

2023-10-09 Thread Simon Glass
Hi Manorit, On Mon, 9 Oct 2023 at 01:43, Manorit Chawdhry wrote: > > Hi Simon, > > On 17:10-20231007, Simon Glass wrote: > > Hi Manorit, > > > > On Wed, 4 Oct 2023 at 06:32, Manorit Chawdhry wrote: > > > > > > We can now firewall entities while loading them through our secure > > > entity TIFS,

Re: [PATCH 3/5] binman: capsule: Use dumped capsule header contents for verification

2023-10-09 Thread Simon Glass
Hi Sughosh, On Mon, 9 Oct 2023 at 01:46, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 8 Oct 2023 at 04:41, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > > > > > The various fields of a generated capsule are currently verified > > > through

Re: [RFC PATCH v10 00/24] Modernize U-Boot shell

2023-10-09 Thread Simon Glass
Hi Francis, On Wed, 4 Oct 2023 at 10:42, Francis Laniel < francis.lan...@amarulasolutions.com> wrote: > > Hi. > > > During 2021 summer, Sean Anderson wrote a contribution to add a new shell, based > on LIL, to U-Boot [1, 2]. > While one of the goals of this contribution was to address the fact

[PATCH v2 19/19] board: rzg2l: Add RZ/G2L SMARC EVK board

2023-10-09 Thread Paul Barker
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 bootloader as an argument in the same was

[PATCH v2 18/19] arm: dts: Import RZ/G2L SMARC EVK device tree

2023-10-09 Thread Paul Barker
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 (commit 52e12027d50affbf60c6c9c64db8017391b0c22e). Signed-off-by: Paul

[PATCH v2 17/19] arm: rmobile: Support RZ/G2L memory map

2023-10-09 Thread Paul Barker
The memory map for the RZ/G2L family differs from that of previous R-Car Gen3/Gen4 SoCs. 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 (note that this is a 34-bit address space): *

[PATCH v2 16/19] arm: rmobile: Add CPU detection for RZ/G2L

2023-10-09 Thread Paul Barker
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 previous R-Car Gen3/Gen4 SoCs. This blob contains a compatible string which can be used to identify the particular SoC we are running on. We do this as reading

[PATCH v2 15/19] arm: rmobile: Include in header

2023-10-09 Thread Paul Barker
We don't want to rely on source files including before . Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar Reviewed-by: Marek Vasut --- v1->v2: * Added Marek's Reviewed-by. arch/arm/mach-rmobile/include/mach/rmobile.h | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 14/19] mmc: renesas-sdhi: Initialize module on RZ/G2L

2023-10-09 Thread Paul Barker
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 --- v1->v2: * Move RZ/G2L specific

[PATCH v2 13/19] mmc: renesas-sdhi: Refactor probe function

2023-10-09 Thread Paul Barker
Move the assignment of priv->quirks earlier in the function. This allows us to drop the quirks local variable and makes it easier to maintain clean error handling when we add RZ/G2L support in the next patch. Signed-off-by: Paul Barker --- v1->v2: * New patch to support breaking out

[PATCH v2 12/19] serial: sh: Add RZ/G2L SCIF support

2023-10-09 Thread Paul Barker
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 Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar

[PATCH v2 11/19] serial: sh: Fix error handling

2023-10-09 Thread Paul Barker
The current SCIF error handling is broken for the RZ/G2L. After a break condition has been triggered, the current code is unable to clear the error and serial port output never resumes. The RZ/G2L datasheet says that most error conditions are cleared by resetting the relevant error bits in the

[PATCH v2 10/19] pinctrl: renesas: Add RZ/G2L PFC driver

2023-10-09 Thread Paul Barker
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 --- v1->v2: * Split GPIO into separate file. * Drop unnecessary

[PATCH v2 09/19] cmd: gpio: Skip output on -ENOENT

2023-10-09 Thread Paul Barker
On the Renesas RZ/G2L SoC family, valid GPIO numbers are not contiguous. This is determined by the device tree, where a fixed number of bits are used for the 'pin' number within a 'port', even though not all ports have the same number of pins. The device tree can't be changed here without breaking

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

2023-10-09 Thread Paul Barker
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 Reviewed-by: Marek Vasut --- v1->v2: * Added Marek's Reviewed-by. arch/arm/mach-rmobile/Kconfig | 3

[PATCH v2 07/19] clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver

2023-10-09 Thread Paul Barker
This driver provides clock and reset control for the Renesas R9A07G044L (RZ/G2L) and R9A07G044C (RZ/G2LC) 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 R9A07G044{L,C}

[PATCH v2 06/19] arm: rmobile: Add basic R9A07G044L SoC support

2023-10-09 Thread Paul Barker
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 --- v1->v2: * Reword config R9A07G044L description to improve clarity.

[PATCH v2 05/19] arm: rmobile: Add basic RZ/G2L family support

2023-10-09 Thread Paul Barker
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 Barker Reviewed-by: Biju Das

[PATCH v2 04/19] dt-bindings: Add RZ/G2L IRQC bindings

2023-10-09 Thread Paul Barker
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 (commit 52e12027d50affbf60c6c9c64db8017391b0c22e). Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar Reviewed-by: Marek

[PATCH v2 03/19] dt-bindings: Add RZ/G2L PFC bindings

2023-10-09 Thread Paul Barker
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 (commit 52e12027d50affbf60c6c9c64db8017391b0c22e). Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar Reviewed-by: Marek

[PATCH v2 02/19] dt-bindings: Add RZ/G2L CPG bindings

2023-10-09 Thread Paul Barker
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 (commit 52e12027d50affbf60c6c9c64db8017391b0c22e). Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar Reviewed-by: Marek

[PATCH v2 01/19] serial: sh: Fix compile error when lacking HSCIF support

2023-10-09 Thread Paul Barker
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 ‘sh_serial_init_generic’: drivers/serial/serial_sh.h:429:35:

[PATCH v2 00/19] Add support for the Renesas RZ/G2L SMARC EVK

2023-10-09 Thread Paul Barker
These patches add initial support for the RZ/G2L SMARC Evaluation board kit (EVK), consisting of the RZ/G2L System-on-Module (SOM) based on the R9A07G044L2 SoC, and a common SMARC carrier board. Support is included for the CPG (clock & reset control module), PFC (pinctrl & gpio module), SDHI (eMMC

Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-10-09 Thread Felix Brack
On 24.09.23 21:24, Simon Glass wrote: > We like to put the SPL first so it is clear that it relates to SPL. Rename > various malloc-related options which have crept in, to stick to this > convention. > > Signed-off-by: Simon Glass > Reviewed-by: Marcel Ziswiler > Reviewed-by: Martyn Welch >

Re: [PATCH 07/25] tegra: Change #ifdef for nop

2023-10-09 Thread Simon Glass
Hi Sean, On Sat, 7 Oct 2023 at 17:21, Sean Anderson wrote: > > On 10/7/23 19:10, Simon Glass wrote: > > Hi Tom. > > > > On Sun, 24 Sept 2023 at 18:43, Tom Rini wrote: > >> > >> On Sun, Sep 24, 2023 at 02:39:25PM -0600, Simon Glass wrote: > >> > >>> This code is normally compiled for Tegra, but

[PATCH v4 4/4] board: Add support for Conclusive KSTR-SAMA5D27

2023-10-09 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- v4: - utilize EVT_SETTINGS_R in order to read MAC and serial number from

[PATCH v4 3/4] arm: dts: at91: sama5: Add flexcom4 node

2023-10-09 Thread Artur Rojek
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v3-v4: no change v2: new patch arch/arm/dts/sama5d2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi

[PATCH v4 2/4] event: add new EVT_SETTINGS_R event

2023-10-09 Thread Artur Rojek
Introduce EVT_SETTINGS_R, triggered post-relocation and before console init. This event gives an option to perform any platform-dependent setup, which needs to take place before show_board_info(). Usage examples include readout of EEPROM stored settings. Signed-off-by: Artur Rojek --- v4: new

[PATCH v4 1/4] common: add prototype & rename populate_serial_number()

2023-10-09 Thread Artur Rojek
Rename populate_serial_number() to a more descriptive serial_read_from_eeprom() and provide the missing function prototype. This is useful for boards that wish to read their serial number from EEPROM at init. Signed-off-by: Artur Rojek --- v4: - revert to the approach found in v2 - keep

[PATCH v4 0/4] Conclusive KSTR-SAMA5D27 support

2023-10-09 Thread Artur Rojek
Hi all, this is v4 of the Conclusive KSTR-SAMA5D27 support series. Patch [1/4] now reverts to the approach found in v2. Simon, while the behavior is now identical to the one from v2, I retained the serial_read_from_eeprom() function name from v3 (it makes it more consistent with the existing

Re: [PATCH v2 04/27] bootstd: Correct dependencies on CMDLINE

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 05:45:17PM -0600, Simon Glass wrote: > Hi Tom, > > On Sat, 7 Oct 2023 at 17:32, Tom Rini wrote: > > > > On Sat, Oct 07, 2023 at 05:12:23PM -0600, Simon Glass wrote: > > > > > With recent changes in boot/Kconfig it is no-longer possible to disable > > > CMDLINE. It results

Re: [PATCH v2 08/27] sifive: Change #ifdef for nop

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 05:12:27PM -0600, Simon Glass wrote: > This code is normally compiled for sifive, but sandbox can also compile > it. We should not use UNIT_TEST as a synonym for SANDBOX, since it is > possible to disable UNIT_TEST for sandbox. > > Correct the condition. > >

Re: [PATCH v2 07/27] test: Make UNIT_TEST depend on CMDLINE

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 05:12:26PM -0600, Simon Glass wrote: > Many tests make some use of the command line, so require it for all test > code. > > This could be teased apart, perhaps with a test flag indicating that ut > uses the command line. Leave that for later. > > Signed-off-by: Simon

Re: [PATCH v2 06/27] cmd: Add a few more dependencies on CMDLINE

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 05:12:25PM -0600, Simon Glass wrote: > Add this to some more commands to avoid build errors with sandbox. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > cmd/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/cmd/Kconfig

Re: [PATCH v2 05/27] autoboot: Correct dependencies on CMDLINE

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 05:12:24PM -0600, Simon Glass wrote: > Make AUTOBOOT depend on CMDLINE since it is mostly meaningless without it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Pull request: u-boot-rockchip-20231007

2023-10-09 Thread Tom Rini
On Sat, Oct 07, 2023 at 06:26:58PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the updates for rockchip platform: > - Add Board: rk3568 Bananapi R2Pro; > - Update pcie bifurcation support; > - dwc_eth_qos controller support for rk3568 and rk3588; > - Compressed binary support for U-Boot

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

2023-10-09 Thread Michal Simek
On 10/3/23 14:46, Love Kumar wrote: 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

[PATCH] cli: Consume invalid escape sequences early

2023-10-09 Thread Yurii Monakov
Hi Simon, On Sun, Oct 8, 2023 at 2:10=E2=80=AFAM Simon Glass wrote: > > Hi Yurii, > > On Fri, 6 Oct 2023 at 15:32, Yurii Monakov wrote: > > > > This commit fixes some issues with extra 'Esc' keys entered by user: > > > > 1. Sequence right after autoboot stop gives: > > =3D> > > nknown command

Re: [PATCH v3 3/3] mx28evk: Add USB Mass Storage support

2023-10-09 Thread Marek Vasut
On 10/9/23 15:15, Fabio Estevam wrote: From: Fabio Estevam Select the USB options to allow running "ums 0 mmc 0". Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut Thanks !

[PATCH v3 3/3] mx28evk: Add USB Mass Storage support

2023-10-09 Thread Fabio Estevam
From: Fabio Estevam Select the USB options to allow running "ums 0 mmc 0". Signed-off-by: Fabio Estevam --- Changes since v2: - Removed further unrelated options. (Marek) Changes since v1: - Remove unrelated config options. (Marek) configs/mx28evk_defconfig | 12 1 file changed,

[PATCH v3 2/3] usb: ehci: mxs: Use regulator_set_enable_if_allowed()

2023-10-09 Thread Fabio Estevam
From: Fabio Estevam Since commit 4fcba5d556b4 ("regulator: implement basic reference counter") the return value of regulator_set_enable() may be EALREADY or EBUSY for fixed/GPIO regulators. Switch to using the more relaxed regulator_set_enable_if_allowed() to continue if regulator already was

[PATCH v3 1/3] usb: ehci: mxs: Fix the USB node pointer retrieval

2023-10-09 Thread Fabio Estevam
From: Fabio Estevam Use dev_ofnode() to retrieve the USB node pointer from the udevice structure. This fixes the following build error: drivers/usb/host/ehci-mxs.c:143:38: error: 'struct udevice' has no member named 'node_' Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut --- Changes

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-10-09 Thread Alan Kay
Hi Lukasz, On Mon, Oct 9, 2023 at 8:49 AM Lukasz Majewski wrote: > > Hi Fabio, Alan, > > > Hi Alan, > > > > [Adding Lukasz and Cody] > > > > On Tue, Aug 30, 2022 at 2:49 PM Alan Kay wrote: > > > > > > mxs_power_enable_4p2() was added to mxs_batt_boot() in > > > 'commit a0f97610757d ("ARM: mxs:

[PATCH RESEND v3 1/1] arm: dts: icnova-a20-adb4006: Add board support

2023-10-09 Thread Ludwig Kormann
Add board support for ICnova A20 SomPi compute module on ICnova ADB4006 development board. Specification: SoM - Processor: Allwinner A20 Cortex-A7 Dual Core at 1GHz - 512MB DDR3 RAM - Fast Ethernet (Phy: Realtek RTL8201CP) ADB4006 - I2C - 2x USB 2.0 - 1x Fast Ethernet port - 1x SATA - 2x buttons

[PATCH v2] doc: Migrate Renesas board docs to rst

2023-10-09 Thread Paul Barker
Some of the information in README.rmobile is obsolete, references defconfigs which no longer exist in u-boot or has broken links. The information which is still relevant is moved into the reStructuredText documentation under `doc/board/renesas`, and `doc/README.rmobile` is dropped. The list of

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

2023-10-09 Thread Michal Simek
On 10/3/23 11:02, Love Kumar wrote: 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

Re: [PATCH] net: phy: xilinx_phy: Get rid of using property xlnx,phy-type

2023-10-09 Thread Michal Simek
On 10/9/23 12:15, Michal Simek wrote: On 10/5/23 05:02, Venkatesh Yadav Abbarapu wrote: As the xlnx,phy-type device tree property is deprecated and phy-mode is being used, so removing the code references of xlnx,phy-type. Signed-off-by: Venkatesh Yadav Abbarapu ---  

Re: [PATCH v4] arm64: versal: Add SelectMAP boot mode identification

2023-10-09 Thread Michal Simek
On 10/8/23 16:34, Polak, Leszek wrote: 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

Re: [PATCH] net: phy: xilinx_phy: Get rid of using property xlnx,phy-type

2023-10-09 Thread Michal Simek
On 10/5/23 05:02, Venkatesh Yadav Abbarapu wrote: As the xlnx,phy-type device tree property is deprecated and phy-mode is being used, so removing the code references of xlnx,phy-type. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/net/phy/xilinx_phy.c | 4 1 file changed, 4

Re: [PATCH] arm64: xilinx: Do not use '_' in si5335 DT node names

2023-10-09 Thread Michal Simek
On 9/27/23 12:05, Michal Simek wrote: Character '_' not recommended in node name. Use '-' instead. Pretty much run sed below for node names. s/si5335_/si5335-/ Signed-off-by: Michal Simek --- Till now I didn't heard back that different style should be used that's why also sending this

Re: [PATCH] Revert "clk: versal: Enable clock driver for Versal NET"

2023-10-09 Thread Michal Simek
On 9/27/23 12:02, Michal Simek wrote: This partially reverts commit ff33227819f579ffb963e0dac6bc6a6566b89563. Versal NET clock node should use "xlnx,versal-net-clk", "xlnx,versal-clk" compatible string that's why it is not necessary to define Versal NET specific compatible string if there is

Re: [PATCH] arm64: zynqmp: Do not use '_' in DT node names

2023-10-09 Thread Michal Simek
On 9/27/23 11:57, Michal Simek wrote: Using '_' is not recommended for node names. Use '-' instead. Pretty much run seds below for node names. s/heartbeat_led/heartbeat-led/ s/gtr_sel/gtr-sel/ s/zynqmp_ipi/zynqmp-ipi/ s/nvmem_firmware/nvmem-firmware/ s/soc_revision/soc-revision/

Re: [PATCH] arm: dts: xilinx: Remove undocumented is-dual property

2023-10-09 Thread Michal Simek
On 9/27/23 11:56, Michal Simek wrote: Xilinx was using in past is-dual property for QSPIs to reflect their configurations. But handling for them never reached upstream code that's why better to remove them. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cc108.dts

Re: [PATCH 00/11] xilinx: add missing boards/SC descriptions

2023-10-09 Thread Michal Simek
On 9/27/23 11:53, Michal Simek wrote: Hi, I am sending series of zynqmp boards mostly related to system controller. System controller is small ZynqMP board sitting on Versal/Versal NET board doing board management. There is a internal spec about connection outside but pretty much DT

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-10-09 Thread Wu, Fei
On 9/14/2023 2:05 PM, Heinrich Schuchardt wrote: > > > Am 14. September 2023 07:30:55 MESZ schrieb Fei Wu : >> In order to enable PCIe passthrough on qemu riscv, the physical memory >> range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, >> two ranges are created as [2G, 3G)

Re: [PATCH v1 1/2] mtd: spinand: rework detect procedure for different READ_ID operation

2023-10-09 Thread Frieder Schrempf
On 04.10.23 17:07, Igor Prusov wrote: > Adaptation of Linux commit f1541773af49. > > Currently there are 3 different variants of read_id implementation: > 1. opcode only. Found in GD5FxGQ4xF. > 2. opcode + 1 addr byte. Found in GD5GxGQ4xA/E > 3. opcode + 1 dummy byte. Found in other currently

Re: [PATCH 5/5] binman: capsule: Add support for generating EFI empty capsules

2023-10-09 Thread Sughosh Ganu
hi Simon, On Sun, 8 Oct 2023 at 04:41, Simon Glass wrote: > > Hi Sugosh, > > On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > > > Add support in binman for generating EFI empty capsules. These > > capsules are used in the FWU A/B update feature. Also add test cases > > in binman for the

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-10-09 Thread Lukasz Majewski
Hi Fabio, Alan, > Hi Alan, > > [Adding Lukasz and Cody] > > On Tue, Aug 30, 2022 at 2:49 PM Alan Kay wrote: > > > > mxs_power_enable_4p2() was added to mxs_batt_boot() in > > 'commit a0f97610757d ("ARM: mxs: Enable DCDC converter for battery > > boot")' to enable DCDC converter when board is

Re: [PATCH 4/5] btool: mkeficapsule: Add support for EFI empty capsule generation

2023-10-09 Thread Sughosh Ganu
hi Simon, On Sun, 8 Oct 2023 at 04:42, Simon Glass wrote: > > Hi Sugosh, > > On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > > > Add a method to the mkeficapsule bintool to generate empty > > capsules. These are capsules needed for the FWU A/B update feature. > > > > Signed-off-by: Sughosh

Re: [PATCH 3/5] binman: capsule: Use dumped capsule header contents for verification

2023-10-09 Thread Sughosh Ganu
hi Simon, On Sun, 8 Oct 2023 at 04:41, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > > > The various fields of a generated capsule are currently verified > > through hard-coded offsets. Use the dump-capsule feature for dumping > > the capsule header

Re: [PATCH v3 1/6] binman: ti-secure: Add support for firewalling entities

2023-10-09 Thread Manorit Chawdhry
Hi Simon, On 17:10-20231007, Simon Glass wrote: > Hi Manorit, > > On Wed, 4 Oct 2023 at 06:32, 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 10/16] serial: sh: Add RZ/G2L SCIF support

2023-10-09 Thread Paul Barker
On Sat, Oct 07, 2023 at 11:14:06PM +0200, Marek Vasut wrote: > On 10/5/23 14:08, Paul Barker wrote: > > The case we're interested in here is the Receive Error (ER) & Break > > Detect (BRK) conditions. I've done some further datasheet digging... > > > > RZ/G2L datasheet says these are cleared by

Re: [PATCH] doc: Add a short intro video

2023-10-09 Thread Paul Barker
On Sun, Oct 08, 2023 at 03:35:56PM -0600, Simon Glass wrote: > This video covers the basics in a short time, so add a link to it. > > Signed-off-by: Simon Glass > --- > > doc/learn/talks.rst | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/doc/learn/talks.rst b/doc/learn/talks.rst