[PATCH] ARM: imx: Select 2 DRAM banks on Data Modul i.MX8M Mini eDM SBC

2023-08-04 Thread Marek Vasut
U-Boot splits DRAM bank spanning addresses below and above the 32bit boundary into two DRAM banks. Since this platform may come with 4GiB of DRAM, increase the DRAM bank count to 2. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Fabio Estevam Cc: Stefano Babic ---

[PATCH] net: phy: broadcom: add support for BCM54210E

2023-08-04 Thread Marek Vasut
It's Broadcom PHY simply described as single-port RGMII 10/100/1000BASE-T PHY. It requires disabling delay skew and GTXCLK bits. Ported from Linux kernel commit 0fc9ae1076697 ("net: phy: broadcom: add support for BCM54210E") Signed-off-by: Marek Vasut --- Cc: Joe Hershberger Cc: Marek Vasut

[PATCH 2/3] fdt: kaslr seed from tpm entropy

2023-08-04 Thread seanedmond
From: Dhananjay Phadke Add support for KASLR seed from TPM device. Invokes tpm_get_random() API to read 8-bytes of random bytes for KASLR. Signed-off-by: Dhananjay Phadke Signed-off-by: Drew Kluemke Signed-off-by: Sean Edmond --- boot/image-fdt.c | 3 +++ common/fdt_support.c | 39

[PATCH 0/3] Populate kaslr seed with TPM

2023-08-04 Thread seanedmond
From: Sean Edmond This patch series creates a common API (fdt_fixup_kaslr_seed()) for populating the kaslr seed in the DTB. Existing users (kaslrseed, and ARMv8 sec firmware) have been updated to use this common API. New functionality has been introduced to populate the kaslr using the TPM

[PATCH 1/3] fdt: common API to populate kaslr seed

2023-08-04 Thread seanedmond
From: Dhananjay Phadke fdt_fixup_kaslr_seed() will update given FDT with random seed value. Source for random seed can be TPM or RNG driver in u-boot or sec firmware (ARM). Signed-off-by: Dhananjay Phadke --- arch/arm/cpu/armv8/sec_firmware.c | 32 +++

[PATCH 3/3] cmd: kaslrseed: Use common API to fixup FDT

2023-08-04 Thread seanedmond
From: Sean Edmond Use the newly introduced common API fdt_fixup_kaslr_seed() in the kaslrseed command. Signed-off-by: Sean Edmond --- cmd/kaslrseed.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/cmd/kaslrseed.c b/cmd/kaslrseed.c index

[PATCH] drivers: mtd: Add MT25QU128AB params

2023-08-04 Thread seanedmond
From: Godfrey Mwangi Add Micron MT25QU128AB flash. Signed-off-by: Godfrey Mwangi --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 4587215984..a99bb6125b 100644 ---

Re: [PATCH v5 3/3] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:11PM +0200, Marek Vasut wrote: > Move the ethernet gadget driver registration and removal from ethernet > bind and unbind callbacks into driver DM probe and remove callbacks. > This way, when the driver is bound, which is triggered deliberately > using 'bind'

Re: [PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:10PM +0200, Marek Vasut wrote: > Move the driver probe function above the driver structure, so it > can be placed alongside other related functions, like upcoming > remove function. No functional change. > > Signed-off-by: Marek Vasut > Tested-by: Tom Rini >

Re: [PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:09PM +0200, Marek Vasut wrote: > These functions here are only ever called once since drop of non-DM > networking code. Inline them. No functional change. > > Signed-off-by: Marek Vasut > Tested-by: Tom Rini > Tested-by: Miquel Raynal Reviewed-by: Tom Rini --

Re: [PATCH v6 1/4] toradex: tdx-cfg-block: add verdin am62 skus

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 12:08:05PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add initial Verdin AM62 Quad 1GB WB IT prototype and launch > configuration SKUs to ConfigBlock handling. > > 0069: Verdin AM62 Quad 1GB WB IT > 0071: Verdin AM62 Solo 512MB > 0072: Verdin AM62 Solo

Re: [PATCH v1 1/3] toradex: tdx-cfg-block: add yavia carrier cfg block info

2023-08-04 Thread Tom Rini
On Tue, Jul 18, 2023 at 11:07:32AM +0200, Andrejs Cainikovs wrote: > From: Max Krummenacher > > Add the Yavia Carrier board name string to the known carrier > board list. > > Signed-off-by: Max Krummenacher > Signed-off-by: Andrejs Cainikovs For the series, applied to u-boot/master, thanks!

Re: [PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:41:10 +0200: > Move the driver probe function above the driver structure, so it > can be placed alongside other related functions, like upcoming > remove function. No functional change. > > Signed-off-by: Marek Vasut > --- > Cc: Kevin Hilman

Re: [PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:41:10 +0200: > Move the driver probe function above the driver structure, so it > can be placed alongside other related functions, like upcoming > remove function. No functional change. > > Signed-off-by: Marek Vasut > --- > Cc: Kevin Hilman

Re: [PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:41:09 +0200: > These functions here are only ever called once since drop of non-DM > networking code. Inline them. No functional change. > > Signed-off-by: Marek Vasut > --- > Cc: Kevin Hilman > Cc: Lukasz Majewski > Cc: Miquel Raynal >

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, tr...@konsulko.com wrote on Fri, 4 Aug 2023 14:51:07 -0400: > On Fri, Aug 04, 2023 at 08:01:56PM +0200, Miquel Raynal wrote: > > Hi Tom, > > > > tr...@konsulko.com wrote on Fri, 4 Aug 2023 13:20:29 -0400: > > > > > On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > >

[PATCH] doc: ti: Explain how the various gadget devices can be used

2023-08-04 Thread Miquel Raynal
Describe the current situation wrt the handling of USB devices on AM33xx based boards, taking the example of a common board (the Beagle Bone Black) and explaining how the different USB gadgets can be used. Signed-off-by: Miquel Raynal --- I've tried to be as transparent and honnest as I could

[PATCH 2/2] usb: udc: Try to clarify an error message

2023-08-04 Thread Miquel Raynal
At some point when trying to use USB gadgets, two situations may arise and lead to a failure. Either the UDC (USB Device Controller) is not available at all (not described or not probed) or the UDC is already in use. For instance, as the USB Ethernet gadget remains bound to the UDC, the use of any

[PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-04 Thread Miquel Raynal
While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the command, I did not make a direct link

Re: [PATCH] usb: xhci: pet watchdog during transfers

2023-08-04 Thread Marek Vasut
On 8/4/23 21:00, seanedm...@linux.microsoft.com wrote: From: Godfrey Mwangi On some platforms with low USB throughput, tranfers of huge files take a long time and watchdog timer can expire resulting in hardware reset. Avoid this by petting the watchdog as long as we have pending transfers.

Re: [PATCH v6 3/9] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-04 Thread Tom Rini
On Thu, Aug 03, 2023 at 06:18:24PM -0600, Simon Glass wrote: > Hi Sughosh, > > On Thu, 3 Aug 2023 at 05:12, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Wed, 2 Aug 2023 at 19:04, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Wed, 2 Aug 2023 at 06:52, Simon Glass wrote: > > > >

Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-08-04 Thread John Clark
1) Tested rk3568 NanpPi-R5s with Samsung 980 NVMe using linux 6.4.7 device tree. MMC boot media. 2) Tested rk3588 ROCK 5B with Samsung 980 and Samsung 970 EVO Plus NVMe using Sebastian Reichel's rk3588 device tree:

[PATCH] usb: xhci: pet watchdog during transfers

2023-08-04 Thread seanedmond
From: Godfrey Mwangi On some platforms with low USB throughput, tranfers of huge files take a long time and watchdog timer can expire resulting in hardware reset. Avoid this by petting the watchdog as long as we have pending transfers. Signed-off-by: Godfrey Mwangi ---

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 08:01:56PM +0200, Miquel Raynal wrote: > Hi Tom, > > tr...@konsulko.com wrote on Fri, 4 Aug 2023 13:20:29 -0400: > > > On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > > > Hi Tom, > > > > > > > > > >>> Well, what's needed / is it possible to get to the

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
On August 4, 2023 8:43:13 PM GMT+02:00, Nishanth Menon wrote: >On 14:35-20230804, Tom Rini wrote: >[..] >> > > +Output: >> > > + >> > > +.. code-block:: bash >> [snip] >> > I think you missed adding white space here. >> > &

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 14:35-20230804, Tom Rini wrote: [..] > > > +Output: > > > + > > > +.. code-block:: bash > [snip] > > I think you missed adding white space here. > > > > It renders as this: > > https://usercontent.irccloud-cdn.com/file/625Dsdcq/image.p

Re: [PATCH v19 0/9] introduce Arm FF-A support

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 02:33:36PM +0100, Abdellatif El Khlifi wrote: > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > FF-A specifies interfaces that enable a pair of software execution > environments aka partitions to > communicate with each other. A partition

Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 02:33:44PM +0100, Abdellatif El Khlifi wrote: > Add MM communication support using FF-A transport > > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 01:20:03PM -0500, Nishanth Menon wrote: > On 12:08-20230804, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > > V1.0A module and subsequent V1.1 launch configuration

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > V1.0A module and subsequent V1.1 launch configuration SKUs. They are > strapped to boot from their on-module eMMC. U-Boot supports

Re: [PATCH] common: board_f: Move relocation address after framebuffer

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 01:10:10PM +0530, Devarsh Thakkar wrote: > Hi Simon, Tom, Bin, > > Thanks for the quick feedback. > > On 04/08/23 04:58, Simon Glass wrote: > > Hi Devarsh, > > > > On Thu, 3 Aug 2023 at 08:28, Devarsh Thakkar wrote: > >> > >> Hi Simon, > >> > >> On 03/08/23 19:32, Simon

Re: [PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really > point to pm-cfg.yaml which likely is the intention. > > While at it also add labels for the remaining items like custmpk_pem, > dkey

Re: [PATCH v6 2/4] arm: mach-k3: am62: fix 2nd mux option of clkout0

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix second mux option of clkout0 which should really be > DEV_BOARD0_CLKOUT0_IN_PARENT_HSDIV4_16FFT_MAIN_2_HSDIVOUT1_CLK10 > rather than twice the same according to [1]. > > [1] > https://software-dl

Re: [PATCH v6 1/4] toradex: tdx-cfg-block: add verdin am62 skus

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add initial Verdin AM62 Quad 1GB WB IT prototype and launch > configuration SKUs to ConfigBlock handling. > > 0069: Verdin AM62 Quad 1GB WB IT > 0071: Verdin AM62 Solo 512MB > 0072: Verdin AM62 Solo 51

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-04 Thread Sean Edmond
On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, tr...@konsulko.com wrote on Fri, 4 Aug 2023 13:20:29 -0400: > On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > > Hi Tom, > > > > > > > >>> Well, what's needed / is it possible to get to the point where we > > > > > >>> don't > > > > > >>> _need_ to call bind/unbind

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:46, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 19:31:50 +0200: On 8/4/23 19:24, Miquel Raynal wrote: Hi, exit not allowed from main input shell. => unbind /ocp/usb@4740/usb@47401000 usb_ether Does => unbind ethernet 0 work ? If so,

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 19:31:50 +0200: > On 8/4/23 19:24, Miquel Raynal wrote: > > Hi, > > >>> exit not allowed from main input shell. > >>> => unbind /ocp/usb@4740/usb@47401000 usb_ether > >> > >> Does > >> => unbind ethernet 0

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:24, Miquel Raynal wrote: Hi, exit not allowed from main input shell. => unbind /ocp/usb@4740/usb@47401000 usb_ether Does => unbind ethernet 0 work ? If so, 1/4 in this series can be skipped altogether. You likely won't even need the rebinding of ti-musb-peripheral

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > On 8/4/23 17:12, Miquel Raynal wrote: > > Hi, > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > >> On 8/4/23 17:01, Tom Rini wrote: > >>> On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: >

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:04:31PM +0200, Miquel Raynal wrote: > Hi Tom, > > > > > > Cannot find a device with path /ocp/usb@4740/usb@47401000 > > > > > => unbind /ocp/usb@4740/usb@47401000 > > > > > => dm tree > > > > > misc 0 [ + ] ti-musb-wrapper

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > Hi Tom, > > > > > >>> Well, what's needed / is it possible to get to the point where we > > > > >>> don't > > > > >>> _need_ to call bind/unbind for each of these cases? Is there > > > > >>> something > > > > >>> we're supposed to

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:04, Miquel Raynal wrote: Hi Tom, Cannot find a device with path /ocp/usb@4740/usb@47401000 => unbind /ocp/usb@4740/usb@47401000 => dm tree misc 0 [ + ] ti-musb-wrapper | |-- usb@4740 usb 0 [ ] ti-musb-host | |

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:01, Miquel Raynal wrote: Hi Tom, Well, what's needed / is it possible to get to the point where we don't _need_ to call bind/unbind for each of these cases? Is there something we're supposed to be setting in the DT that we aren't? You do need to unbind the ethernet before using

Re: [PATCH] cmd: Enable BIND by default if we have USB_ETHER

2023-08-04 Thread Miquel Raynal
Hi Tom, tr...@konsulko.com wrote on Fri, 4 Aug 2023 12:06:21 -0400: > The nature of the network stack means that if we are going to use the > gadget mode USB network driver there's no easy path to implicitly > bind/unbind the driver. Enable the "bind" command by default here so > that we can

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, > > > > Cannot find a device with path /ocp/usb@4740/usb@47401000 > > > > => unbind /ocp/usb@4740/usb@47401000 > > > > => dm tree > > > > misc 0 [ + ] ti-musb-wrapper | |-- > > > > usb@4740 > > > > usb 0 [

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, > > > >>> Well, what's needed / is it possible to get to the point where we > > > >>> don't > > > >>> _need_ to call bind/unbind for each of these cases? Is there something > > > >>> we're supposed to be setting in the DT that we aren't? > > > >> > > > >> You do need to unbind the

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 06:00:12PM +0200, Miquel Raynal wrote: > Hi Marek, > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > > > On 8/4/23 17:12, Miquel Raynal wrote: > > > Hi, > > > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > > > >> On 8/4/23 17:01, Tom

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 06:00:12PM +0200, Miquel Raynal wrote: > Hi Marek, > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > > > On 8/4/23 17:12, Miquel Raynal wrote: > > > Hi, > > > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > > > >> On 8/4/23 17:01, Tom

Re: [PATCH v5 3/3] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:11PM +0200, Marek Vasut wrote: > Move the ethernet gadget driver registration and removal from ethernet > bind and unbind callbacks into driver DM probe and remove callbacks. > This way, when the driver is bound, which is triggered deliberately > using 'bind'

Re: [PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:10PM +0200, Marek Vasut wrote: > Move the driver probe function above the driver structure, so it > can be placed alongside other related functions, like upcoming > remove function. No functional change. > > Signed-off-by: Marek Vasut Tested-by: Tom Rini -- Tom

Re: [PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:09PM +0200, Marek Vasut wrote: > These functions here are only ever called once since drop of non-DM > networking code. Inline them. No functional change. > > Signed-off-by: Marek Vasut Tested-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] cmd: Enable BIND by default if we have USB_ETHER

2023-08-04 Thread Tom Rini
The nature of the network stack means that if we are going to use the gadget mode USB network driver there's no easy path to implicitly bind/unbind the driver. Enable the "bind" command by default here so that we can bind/unbind this as needed. Signed-off-by: Tom Rini --- Cc: Marek Vasut Cc:

Re: [PATCH v2] ARM: dts: stm32: Switch DWMAC RMII clock to MCO2 on DHCOM

2023-08-04 Thread Patrice CHOTARD
On 7/27/23 01:58, Marek Vasut wrote: > The DHCOM SoM has two options for supplying ETHRX clock to the DWMAC > block and PHY. Either (1) ETHCK_K generates 50 MHz clock on ETH_CLK > pad for the PHY and the same 50 MHz clock are fed back to ETHRX via > internal eth_clk_fb clock connection OR (2)

Re: [PATCH 2/2] ARM: dts: sm32mp13: remove shmem for scmi-optee

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > CFG_STM32MP1_SCMI_SHM_SYSRAM will be disabled by default for STM32MP13x > SoCs in next OP-TEE version and the OP-TEE SMCI server uses the OP-TEE > native shared memory registered by clients. > > To be compatible by default with this configuration

Re: [PATCH 1/2] ARM: dts: sm32mp15: remove shmem for scmi-optee

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > Since OP-TEE commit 89ba3422ee80 ("plat-stm32mp1: scmi_server: default > use OP-TEE shared memory"), integrated in OP-TEE 3.22.0-rc1 > the default configuration for STM32MP15x SoCs changes, > CFG_STM32MP1_SCMI_SHM_SYSRAM is disabled by default and the

Re: [PATCH] ARM: dts: stm32mp: alignment with v6.4

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:38, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v6.4. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp13-pinctrl.dtsi | 129 > arch/arm/dts/stm32mp131.dtsi| 99 - >

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > On 8/4/23 17:12, Miquel Raynal wrote: > > Hi, > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > >> On 8/4/23 17:01, Tom Rini wrote: > >>> On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: >

[PATCH] cmd: cyclic: Remove duplicate command name in help text

2023-08-04 Thread Alexander Dahl
Function 'cmd_usage()' already prints one command in usage before printing out the help text given to the U_BOOT_CMD_WITH_SUBCMDS macro. Wrong previous output: Usage: cyclic cyclic demo - register cyclic demo function cyclic list - list cyclic functions Signed-off-by: Alexander

Re: [PATCH] clk: stm32mp1: remove error for disabled clock in stm32mp1_clk_get_parent

2023-08-04 Thread Patrice CHOTARD
On 6/23/23 15:05, Patrick Delaunay wrote: > To disabled a clock in clock tree initialization for a mux of STM32MP15, > the selected clock source index is set with the latest possible index for > the number of bit used. Today this valid configuration cause a error > in U-Boot messages, for

[PATCH v5 3/3] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-08-04 Thread Marek Vasut
Move the ethernet gadget driver registration and removal from ethernet bind and unbind callbacks into driver DM probe and remove callbacks. This way, when the driver is bound, which is triggered deliberately using 'bind' command, the USB ethernet gadget driver is instantiated and bound to the

[PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Marek Vasut
Move the driver probe function above the driver structure, so it can be placed alongside other related functions, like upcoming remove function. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Miquel Raynal Cc: Simon Glass --- V2: No change V3:

[PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Marek Vasut
These functions here are only ever called once since drop of non-DM networking code. Inline them. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Miquel Raynal Cc: Simon Glass --- V2: No change V3: No change V4: No change V5: No change ---

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 17:12, Miquel Raynal wrote: Hi, ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: On 8/4/23 17:01, Tom Rini wrote: On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi, ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > On 8/4/23 17:01, Tom Rini wrote: > > On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > >> On 8/4/23 09:00, Miquel Raynal wrote: > >>> Hi Marek, > >>> > >>> ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: > >>>

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 17:01, Tom Rini wrote: On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: Extend the driver core to perform lookup by both OF node and driver bound to the node. Use

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > On 8/4/23 09:00, Miquel Raynal wrote: > > Hi Marek, > > > > ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: > > > > > Extend the driver core to perform lookup by both OF node and driver > > > bound to the node. Use this to

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: Extend the driver core to perform lookup by both OF node and driver bound to the node. Use this to look up specific device instances to unbind from nodes in the unbind command. One example

Re: [PATCH v6 6/9] binman: capsule: Add support for generating EFI capsules

2023-08-04 Thread Simon Glass
Hi Sughosh, On Fri, 4 Aug 2023 at 00:44, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 4 Aug 2023 at 08:32, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 3 Aug 2023 at 05:08, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 2 Aug 2023 at 18:23, Simon Glass wrote: > > > >

Re: [PATCH v6 9/9] sandbox: capsule: Generate capsule related files through binman

2023-08-04 Thread Simon Glass
Hi Sughosh, On Fri, 4 Aug 2023 at 01:03, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 4 Aug 2023 at 08:32, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 3 Aug 2023 at 05:18, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 2 Aug 2023 at 18:23, Simon Glass wrote: > > > >

[PATCH] serial: stm32: extend TC timeout

2023-08-04 Thread Patrice Chotard
From: Valentin Caron Waiting 150us TC bit couldn't be enough. If TFA lets 16 bits in USART fifo, we has to wait 16 times 87 us (time of 10 bits (1 byte in most use cases) at a baud rate of 115200). Fixes: b4dbc5d65a67 ("serial: stm32: Wait TC bit before performing initialization")

Re: [PATCH 1/1] video: avoid build failure on veyron board

2023-08-04 Thread Alvaro Fernando García
Hello Simon, El vie, 4 ago 2023 a la(s) 00:02, Simon Glass (s...@google.com) escribió: > Hi, > > On Thu, 3 Aug 2023 at 18:37, Alvaro Fernando García > wrote: > > > > 533ad9dc avoided an overflow but causes compilation > > failure on 32bit boards (eg. veyron speedy) > > > > this commit uses

Re: [PATCH] arm: dts: medaitek: convert gmac link mode to 2500base-x for mt7986a-bpi-r3-sd

2023-08-04 Thread Daniel Golle
On Fri, Aug 04, 2023 at 09:01:55AM +0800, Weijie Gao wrote: > The mt7531 of bpi-r3 is connected to mt7986 with 2.5Gbps HSGMII, not the > regular 1Gbps SGMII. > > Signed-off-by: Weijie Gao Reviewed-by: Daniel Golle > --- > This is a supplement to commit: > aef54ea1 (arm: dts: medaitek: convert

Re: [PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:04:48PM +0800, Macpaul Lin wrote: > From: Fabien Parent > > Add mt8195-demo board support. > This demo purpose board uses MediaTek's MT8195 SoC. > > Signed-off-by: Fabien Parent > Signed-off-by: Amjad Ouled-Ameur > Signed-off-by: Macpaul Lin [snip] > diff --git

Re: [RFC PATCH] env: Export environment config to OS devicetree

2023-08-04 Thread Stefano Babic
Hi Simon, On 04.08.23 05:42, Simon Glass wrote: Hi, On Thu, 3 Aug 2023 at 07:21, Stefano Babic wrote: Hi Frieder, On 03.08.23 14:51, Frieder Schrempf wrote: Hi Stefano, On 03.08.23 10:14, Stefano Babic wrote: Hi Frieder, On 01.08.23 16:46, Frieder Schrempf wrote: From: Frieder

[PATCH v19 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-04 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Changes made are generated using savedefconfig. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens

[PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-04 Thread Abdellatif El Khlifi
Add MM communication support using FF-A transport This feature allows accessing MM partitions services through EFI MM communication protocol. MM partitions such as StandAlonneMM or smm-gateway secure partitions which reside in secure world. An MM shared buffer and a door bell event are used to

[PATCH v19 7/9] arm_ffa: introduce armffa command

2023-08-04 Thread Abdellatif El Khlifi
Provide armffa command showcasing the use of the U-Boot FF-A support armffa is a command showcasing how to invoke FF-A operations. This provides a guidance to the client developers on how to call the FF-A bus interfaces. The command also allows to gather secure partitions information and ping

[PATCH v19 6/9] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-08-04 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc:

[PATCH v19 5/9] arm_ffa: introduce sandbox FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Emulate Secure World's FF-A ABIs and allow testing U-Boot FF-A support Features of the sandbox FF-A support: - Introduce an FF-A emulator - Introduce an FF-A device driver for FF-A comms with emulated Secure World - Provides test methods allowing to read the status of the inspected ABIs The

[PATCH v19 4/9] arm_ffa: introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Add Arm FF-A support implementing Arm Firmware Framework for Armv8-A v1.0 The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1] describes interfaces (ABIs) that standardize communication between the Secure World and Normal World leveraging TrustZone technology. This driver uses

[PATCH v19 3/9] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-08-04 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 +

[PATCH v19 2/9] lib: uuid: introduce uuid_str_to_le_bin function

2023-08-04 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v19 1/9] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-08-04 Thread Abdellatif El Khlifi
add support for x0-x17 registers used by the SMC calls In SMCCC v1.2 [1] arguments are passed in registers x1-x17. Results are returned in x0-x17. This work is inspired from the following kernel commit: arm64: smccc: Add support for SMCCCv1.2 extended input/output registers [1]:

[PATCH v19 0/9] introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. FF-A specifies interfaces that enable a pair of software execution environments aka partitions to communicate with each other. A partition could be a VM in the Normal or Secure world, an application in S-EL0, or a

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
Hi Nishanth On Fri, 2023-08-04 at 05:50 -0500, Nishanth Menon wrote: > On 12:08-20230804, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > > V1.0A module and subsequent V1.

Re: [PATCH] efi_loader: Increase default variable store size to 32K

2023-08-04 Thread Alper Nebi Yasak
Hi Ilias, On 2023-07-28 14:15 +03:00, Ilias Apalodimas wrote: > On Sat, 8 Jul 2023 at 18:21, Alper Nebi Yasak > wrote: >> >> Debian's arm64 UEFI Secure Boot shim makes the EFI variable store run >> out of space while mirroring its MOK database to variables. This can be >> observed in QEMU

Re: [PATCH] common: board_f: Move relocation address after framebuffer

2023-08-04 Thread Devarsh Thakkar
Hi, On 04/08/23 13:10, Devarsh Thakkar wrote: > Hi Simon, Tom, Bin, > > Thanks for the quick feedback. > > On 04/08/23 04:58, Simon Glass wrote: >> Hi Devarsh, >> >> On Thu, 3 Aug 2023 at 08:28, Devarsh Thakkar wrote: >>> >>> Hi Simon, >>> >>> On 03/08/23 19:32, Simon Glass wrote: +Bin

Re: [PATCH v4 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, Roger Quadros wrote: > Sync all am642-evm/am642-sk related DT files > with Linux v6.5-rc1. > > - drop timer1 in favor of main_timer0 in am64-main.dtsi. > Need to delete clock & power domain properties of > main_timer1 in -r5.dts else won't boot. This is because > timer_init is

Re: [PATCH v4 3/4] doc: board: ti: am64: Add boot flow diagram

2023-08-04 Thread Nishanth Menon
$subject: Add documentation for am64-evm On 19:06-20230803, Roger Quadros wrote: > Add boot flow diagram for AM64 SoC. and documentation for AM64-evm > > Suggested-by: Nishanth Menon > Signed-off-by: Roger Quadros Other than that: Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon

Re: [PATCH v4 2/4] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, Roger Quadros wrote: > This reverts commit 28a4c3113445d4400639f357fae0def007a41093. > > This node should be in the board DT file and should come from upstream. > Moreover, this PMIC is no present on all variants of am642-sk > and will need a separate board DT file. > >

Re: [PATCH v4 1/4] board: ti: am64x: Recognize AM64-HSEVM

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, Roger Quadros wrote: > AM64-HSEVM is AM64-GPEVM with High Security Device. > > Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". > > Signed-off-by: Roger Quadros > Acked-by: Andrew Davis > --- > board/ti/am64x/evm.c | 3 ++- > 1 file changed, 2

[PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-04 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 +

[PATCH v5 1/2] arm: mediatek: add mt8195 SOC support

2023-08-04 Thread Macpaul Lin
From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options. Signed-off-by: Fabien Parent

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > V1.0A module and subsequent V1.1 launch configuration SKUs. They are > strapped to boot from their on-module eMMC. U-Boot supports

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:38, Marcel Ziswiler wrote: From: Marcel Ziswiler This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module and subsequent V1.1 launch configuration SKUs. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the

Re: [PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:38, Marcel Ziswiler wrote: From: Marcel Ziswiler Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really point to pm-cfg.yaml which likely is the intention. While at it also add labels for the remaining items like custmpk_pem, dkey_pem, bcfg_yaml_sysfw,

[PATCH v6 0/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler This series adds initial support for the Toradex Verdin AM62 SoM [1]. The first commit adds resp. PID4s to the ConfigBlock, the second one fixes an early clocking issue confirmed to be a weird bug in TI's scripting, the third one fixes some binman labeling issue. And last

[PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really point to pm-cfg.yaml which likely is the intention. While at it also add labels for the remaining items like custmpk_pem, dkey_pem, bcfg_yaml_sysfw, scfg_yaml_sysfw, pcfg_yaml_sysfw and rcfg_yaml_sysfw.

[PATCH v6 2/4] arm: mach-k3: am62: fix 2nd mux option of clkout0

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix second mux option of clkout0 which should really be DEV_BOARD0_CLKOUT0_IN_PARENT_HSDIV4_16FFT_MAIN_2_HSDIVOUT1_CLK10 rather than twice the same according to [1]. [1] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html#clocks-for-board0-device

  1   2   >