Re: [PATCH 0/2] lmb: rework logic to validate load address for network commands

2024-09-30 Thread Vaishnav Achath
Hi Tom, On 21/09/24 08:09, Tom Rini wrote: On Mon, 16 Sep 2024 20:50:23 +0530, Sughosh Ganu wrote: Rework the logic to verify the load address so that address re-use is not an issue. Note: To be applied on next, on top of https://patchwork.ozlabs.org/project/uboot/patch/20240913073251.228652

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Heiko Schocher
Hello Michael, On 01.10.24 07:14, Heiko Schocher wrote: Hi Micahel, On 01.10.24 07:01, Michael Nazzareno Trimarchi wrote: Hi Heko On Tue, Oct 1, 2024 at 6:23 AM Heiko Schocher wrote: Hi Dario, On 30.09.24 15:20, Dario Binacchi wrote: Hello Heiko, On Tue, Sep 24, 2024 at 11:07 AM Heiko S

[PATCH v3 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-09-30 Thread Venkatesh Yadav Abbarapu
USB host support on ZYNQMP KRIA SOM needs onboard USB hub driver for handling reset GPIO and for i2c initialization sequence. Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_zynqmp_kria_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configs/x

[PATCH v3 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-09-30 Thread Venkatesh Yadav Abbarapu
Updating the usb5744 hub node as per the latest upstream DT binding https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8 Signed-off-by: Venkatesh Yadav Abbarapu --- arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 48

[PATCH v3 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-09-30 Thread Venkatesh Yadav Abbarapu
The .bind function is implemented to bind the correct "half" of the hub that the driver wants to bind, and returning -ENODEV for the other "half". Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 21 + 1 file changed, 21 insertions(+) diff --git a/commo

RE: [PATCH v2 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-09-30 Thread Abbarapu, Venkatesh
Hi Marek, > -Original Message- > From: Marek Vasut > Sent: Saturday, September 28, 2024 2:12 AM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de > Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git > (AMD-Xilinx) > Subject: Re: [PATCH v2 5/7] usb: onboard-hub: Bail out if peer hub is a

[PATCH v3 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-09-30 Thread Venkatesh Yadav Abbarapu
Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub. The usb5744 driver trigger hub reset signal after soft reset. The usb5744 hub need to reset after the phy initialization, which toggles the gpio. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 16 ++-

[PATCH v3 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-09-30 Thread Venkatesh Yadav Abbarapu
Don't error out if there is no vdd regulator supply, as these are optional properties. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 9

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Heiko Schocher
Hi Micahel, On 01.10.24 07:01, Michael Nazzareno Trimarchi wrote: Hi Heko On Tue, Oct 1, 2024 at 6:23 AM Heiko Schocher wrote: Hi Dario, On 30.09.24 15:20, Dario Binacchi wrote: Hello Heiko, On Tue, Sep 24, 2024 at 11:07 AM Heiko Schocher wrote: Hello Dario, On 13.09.24 11:55, Dario B

[PATCH v3 0/7] Add the USB5744 hub driver as per new DT binding

2024-09-30 Thread Venkatesh Yadav Abbarapu
Add the usb5744/usb2744 hub driver which does the reset gpio toggling and the i2c initialization sequence. Tested the USB5744/USB2744 usb hub for usb0, usb1 with the DT nodes on KR260 board. Changes in v2: - Added the power_on_reset_us variable, for post-reset time. - Removed the DM_REGULATOR ifd

[PATCH v3 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-09-30 Thread Venkatesh Yadav Abbarapu
Add i2c initialization hook and set usb5744 platform data with function having required i2c initialization sequence. Apart from the USB command attach, prevent the hub from suspend. when the “USB Attach with SMBUS (0xAA56)” command is issued to the hub, the hub is getting enumerated and then it pu

[PATCH v3 1/7] usb: onboard-hub: Add reset-gpio support

2024-09-30 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 35 +++

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Michael Nazzareno Trimarchi
Hi Heko On Tue, Oct 1, 2024 at 6:23 AM Heiko Schocher wrote: > > Hi Dario, > > On 30.09.24 15:20, Dario Binacchi wrote: > > Hello Heiko, > > > > On Tue, Sep 24, 2024 at 11:07 AM Heiko Schocher wrote: > >> > >> Hello Dario, > >> > >> On 13.09.24 11:55, Dario Binacchi wrote: > >>> From: Michael Tr

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Heiko Schocher
Hi Dario, On 30.09.24 15:20, Dario Binacchi wrote: Hello Heiko, On Tue, Sep 24, 2024 at 11:07 AM Heiko Schocher wrote: Hello Dario, On 13.09.24 11:55, Dario Binacchi wrote: From: Michael Trimarchi Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and mediamix on iMX8MP. To supp

Re: [PATCH v6 08/12] efi_loader: Disable ANSI output for tests

2024-09-30 Thread Heinrich Schuchardt
On 10/1/24 02:24, Tom Rini wrote: On Tue, Oct 01, 2024 at 01:38:56AM +0200, Heinrich Schuchardt wrote: On 26.09.24 23:59, Simon Glass wrote: We don't want ANSI characters written in tests since it is a pain to check the output with ut_assert_nextline() et al. Provide a way to tests to request

Re: [PATCH v6 08/12] efi_loader: Disable ANSI output for tests

2024-09-30 Thread Tom Rini
On Tue, Oct 01, 2024 at 01:38:56AM +0200, Heinrich Schuchardt wrote: > On 26.09.24 23:59, Simon Glass wrote: > > We don't want ANSI characters written in tests since it is a pain to > > check the output with ut_assert_nextline() et al. > > > > Provide a way to tests to request that ANSI characters

Re: [PATCH v6 08/12] efi_loader: Disable ANSI output for tests

2024-09-30 Thread Heinrich Schuchardt
On 26.09.24 23:59, Simon Glass wrote: We don't want ANSI characters written in tests since it is a pain to check the output with ut_assert_nextline() et al. Provide a way to tests to request that ANSI characters not be sent. Add a proper function comment while we are here, to encourage others.

Re: [PATCH v6 06/12] efi: Use the same filename for all sandbox builds

2024-09-30 Thread Heinrich Schuchardt
On 26.09.24 23:59, Simon Glass wrote: Sandbox is not a real architecture, but within U-Boot it is real enough. We should not need to pretend it is x86 or ARM anywhere in the code. Also we want to be able to locate the sandbox app using a single filename, 'bootsbox.efi', to avoid needing tests to

[ANN] U-Boot v2024.10-rc6 released

2024-09-30 Thread Tom Rini
Hey all, It's release day and the final rc is here. There's been a number of last minute bug fixes getting posted, but I'm still overall confident in the state of things that we'll be releasing on schedule. In terms of a changelog, git log --merges v2024.10-rc5..v2024.10-rc6 contains what I've p

Re: [PATCH] cmd: Make bootvx independent of bootelf

2024-09-30 Thread Simon Glass
Hi Daniel, On Sun, 29 Sept 2024 at 03:27, Daniel Palmer wrote: > > There are lots of usecases for running baremetal ELF > binaries via bootelf but if you enable bootelf you > get bootvx as well and you probably don't want or need > it. > > Hide bootvx behind it's own configuration option. > > Sig

[PATCH v1 09/12] riscv: dts: jh7110: Add u-boot device tree for JH7110 based boards

2024-09-30 Thread Hal Feng
To support the other JH7110 based boards, add u-boot device tree for them. Signed-off-by: Hal Feng --- arch/riscv/dts/jh7110-milkv-mars-u-boot.dtsi | 11 +++ arch/riscv/dts/jh7110-pine64-star64-u-boot.dtsi | 6 ++ .../jh7110-starfive-visionfive-2-v1.2a-u-boot.dtsi

Re: [PATCH 3/3] binman: Add a tutorial on resolving test-coverage bugs

2024-09-30 Thread Heinrich Schuchardt
Am 30. September 2024 20:51:38 MESZ schrieb Simon Glass : >Provide a short description of how tests work, why they are so critical >and how to resolve gaps in Binman's test coverage. This is really a nice piece of documentation. Acked-by: Heinrich Schuchardt > >Signed-off-by: Simon Glass >-

[PATCH] ARM: stm32: Add script to install U-Boot from SD/eMMC to SPI NOR on DH STM32MP15xx DHSOM

2024-09-30 Thread Marek Vasut
Make the dh_update_sd_to_sf script generic, rename it to dh_update_sdmmc_to_sf and implement two specific dh_update_sd_to_sf and dh_update_emmc_to_sf scripts which load U-Boot from either SD or eMMC and install it into SPI NOR. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delau

Re: [PATCH v3 2/2] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Simon Glass
Hi Brian, On Mon, 30 Sept 2024 at 10:10, Brian Ruley wrote: > > Using the PKI tree with SRKs as intermediate CA isn't necessary or even > desirable in some situations (boot time, for example). Add the possibility spelling > to use the "fast authentication" method where the image and CSF are bot

[PATCH 2/3] binman: Support getting test-coverage on just one test

2024-09-30 Thread Simon Glass
Pass the arguments through to test_util so that a single test can be used. Update the docs and add some missing backquotes in the same section. Signed-off-by: Simon Glass --- tools/binman/binman.rst | 5 - tools/binman/main.py| 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-)

Re: [PATCH 3/4] rockchip: rk3399-rockpro64: Disable bootstage instrumentation config

2024-09-30 Thread Paul Kocialkowski
Hi, Le Mon 30 Sep 24, 12:52, Simon Glass a écrit : > On Mon, 30 Sept 2024 at 03:03, Peter Robinson wrote: > > On Thu, 26 Sept 2024 at 19:32, Paul Kocialkowski wrote: > > > The boot timing and reporting (bootstage) infrastructure is useful for > > > performance analysis and debug but adds overhea

[PATCH 1/3] u_boot_pylib: Support running coverage on selected functions

2024-09-30 Thread Simon Glass
At present run_test_coverage() assumes you want code coverage for the entire code base. This is the normal situation, but sometimes it is useful to see the coverage provided by just a single test. Add support for this. Signed-off-by: Simon Glass --- tools/u_boot_pylib/test_util.py | 13

Re: [PATCH v3 1/2] binman: cosmetic: code formatting fixes

2024-09-30 Thread Simon Glass
Hi Brian, On Mon, 30 Sept 2024 at 10:10, Brian Ruley wrote: > > Conform to the style guide used in the project by making the following > changes: > * Use single quotes for multiline strings (except docstrings) > * Fix line width to 79 cols > * Use f-string instead of formatting a regular string >

Re: [PATCH] Extend usage for OF_OVERLAY_LIST beyond SPL

2024-09-30 Thread Simon Glass
On Mon, 30 Sept 2024 at 06:05, Sumit Garg wrote: > > On Mon, 30 Sept 2024 at 15:50, Jan Kiszka wrote: > > > > From: Jan Kiszka > > > > Allow to use OF_OVERLAY_LIST also for the case that the overlays just > > need be built, e.g. when they will be picked up by binman as artifacts > > of the final

Re: [PATCH 3/4] rockchip: rk3399-rockpro64: Disable bootstage instrumentation config

2024-09-30 Thread Simon Glass
Hi, On Mon, 30 Sept 2024 at 03:03, Peter Robinson wrote: > > On Thu, 26 Sept 2024 at 19:32, Paul Kocialkowski wrote: > > > > From: Paul Kocialkowski > > > > The boot timing and reporting (bootstage) infrastructure is useful for > > performance analysis and debug but adds overhead and console no

Re: [PATCH v1] mailbox: support timeout when sending

2024-09-30 Thread Simon Glass
Hi, On Sun, 29 Sept 2024 at 06:54, wrote: > > From: Peng Fan > > Add timeout support for mbox_send. > > Signed-off-by: Peng Fan > Signed-off-by: Alice Guo > Reviewed-by: Ye Li > --- > drivers/mailbox/mailbox-uclass.c | 19 ++- > include/mailbox.h| 2 ++ > 2 f

[PATCH 3/3] binman: Add a tutorial on resolving test-coverage bugs

2024-09-30 Thread Simon Glass
Provide a short description of how tests work, why they are so critical and how to resolve gaps in Binman's test coverage. Signed-off-by: Simon Glass --- MAINTAINERS | 1 + doc/develop/binman_tests.rst | 734 +++ doc/develop/index.rst|

Re: [PATCH v1 00/12] Support OF_UPSTREAM for StarFive JH7110

2024-09-30 Thread Heinrich Schuchardt
On 30.09.24 17:59, Hal Feng wrote: This patchset add OF_STREAM support for StarFive JH7110 based boards. All the JH7110 based boards can use the DT from upstreaming linux kernel. The v1.3b board device tree is set as the default device tree. This patchset should be applied after the DT from dts/

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-30 Thread Marek Vasut
On 9/30/24 8:10 AM, Jan Kiszka wrote: On 30.09.24 08:02, Sumit Garg wrote: + Jan Hi Marek, On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: Currently the enablement of OF_UPSTREAM results on the build system searching for DTs only in dts/upstream/ . There are platforms which use U-Boot spe

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-30 Thread Marek Vasut
On 9/30/24 8:02 AM, Sumit Garg wrote: + Jan Hi Marek, Hi, On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: Currently the enablement of OF_UPSTREAM results on the build system searching for DTs only in dts/upstream/ . There are platforms which use U-Boot specific DTBOs applied on top of U

[PATCH v1 05/12] riscv: dts: jh7110: Make u-boot device trees adapting to upstream DT

2024-09-30 Thread Hal Feng
Add u-boot features to the U-Boot device tree. Signed-off-by: Hal Feng --- ...10-starfive-visionfive-2-v1.3b-u-boot.dtsi | 49 +-- arch/riscv/dts/jh7110-u-boot.dtsi | 36 +- 2 files changed, 80 insertions(+), 5 deletions(-) diff --git a/arch/riscv/dts/jh7

[PATCH v1 02/12] dts: starfive: Switch to using upstream DT

2024-09-30 Thread Hal Feng
Enable OF_UPSTREAM to use upstream DT and add starfive/ prefix to the DEFAULT_DEVICE_TREE. Rename jh7110-starfive-visionfive-2-u-boot.dtsi to jh7110-starfive-visionfive-2-v1.3b-u-boot.dtsi and set the v1.3b device tree as the default device tree. Signed-off-by: Hal Feng --- arch/riscv/cpu/jh7110

[PATCH v1 03/12] riscv: dts: jh7110: Drop redundant devicetree files

2024-09-30 Thread Hal Feng
JH7110 boards switch to using upstream DT, so drop redundant DT files from arch/riscv/dts/. Signed-off-by: Hal Feng --- arch/riscv/dts/Makefile | 1 - .../dts/jh7110-starfive-visionfive-2.dts | 11 - .../dts/jh7110-starfive-visionfive-2.dtsi | 380 - arc

[PATCH v1 00/12] Support OF_UPSTREAM for StarFive JH7110

2024-09-30 Thread Hal Feng
This patchset add OF_STREAM support for StarFive JH7110 based boards. All the JH7110 based boards can use the DT from upstreaming linux kernel. The v1.3b board device tree is set as the default device tree. This patchset should be applied after the DT from dts/upstream/ updating to the latest vers

[PATCH v1 11/12] configs: visionfive2: Add OF_LIST for JH7110 based board DT

2024-09-30 Thread Hal Feng
So all the JH7110 based board DT will be built by default. Signed-off-by: Hal Feng --- configs/starfive_visionfive2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index 0068ea4d93..3002e75468 100644 -

[PATCH v1 07/12] pcie: starfive: Make the driver compatible with upstream DT

2024-09-30 Thread Hal Feng
There are difference between upstream DT and the old DT in terms of reg base, reset gpio and syscon. Make the driver compatible with upstream DT. Signed-off-by: Hal Feng --- drivers/pci/pcie_starfive_jh7110.c | 59 +++--- 1 file changed, 30 insertions(+), 29 deletions(-)

[PATCH v1 01/12] Makefile: Add OF_UPSTREAM Makefile for RISC-V

2024-09-30 Thread Hal Feng
This makes RISC-V DT buildable with OF_UPSTREAM. Signed-off-by: Hal Feng --- dts/upstream/src/riscv/Makefile | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 dts/upstream/src/riscv/Makefile diff --git a/dts/upstream/src/riscv/Makefile b/dts/upstream/src/riscv/Makefile n

[PATCH v1 06/12] clk: starfive: jh7110: Sync clock definitions with upstream dt-bindings

2024-09-30 Thread Hal Feng
JH7110 switch to use upstream dt-bindings, so update the clock definitions in drivers accordingly. Signed-off-by: Hal Feng --- drivers/clk/starfive/clk-jh7110-pll.c | 6 ++-- drivers/clk/starfive/clk-jh7110.c | 44 +-- 2 files changed, 25 insertions(+), 25 deletions(

[PATCH v1 04/12] dt-bindings: Remove StarFive JH7110 clock and reset definitions

2024-09-30 Thread Hal Feng
As JH7110 switch to use OF_UPSTREAM dt-bindings, remove the redundant clock and reset definitions. Signed-off-by: Hal Feng --- .../dt-bindings/clock/starfive,jh7110-crg.h | 258 -- .../dt-bindings/reset/starfive,jh7110-crg.h | 183 - 2 files changed, 441 deletions

[PATCH v1 08/12] riscv: dts: jh7110: Move common code to the new jh7110-common-u-boot.dtsi

2024-09-30 Thread Hal Feng
To support JH7110 based boards besides v1.3B, add a common dtsi and add common code to it. Signed-off-by: Hal Feng --- arch/riscv/dts/jh7110-common-u-boot.dtsi | 150 ++ ...10-starfive-visionfive-2-v1.3b-u-boot.dtsi | 146 + 2 files changed, 151 insertions(+)

[PATCH v3 2/2] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Brian Ruley
Using the PKI tree with SRKs as intermediate CA isn't necessary or even desirable in some situations (boot time, for example). Add the possbility to use the "fast authentication" method where the image and CSF are both signed using the SRK [1, p.63]. [1] https://community.nxp.com/pwmxy87654/attac

[PATCH v3 1/2] binman: cosmetic: code formatting fixes

2024-09-30 Thread Brian Ruley
Conform to the style guide used in the project by making the following changes: * Use single quotes for multiline strings (except docstrings) * Fix line width to 79 cols * Use f-string instead of formatting a regular string Signed-off-by: Brian Ruley --- tools/binman/etype/nxp_imx8mcst.py | 28 +

[PATCH v1 10/12] board: starfive: spl: Drop the unneeded DT modification code

2024-09-30 Thread Hal Feng
As OF_UPSTREAM is implemented, these code are redundant. Signed-off-by: Hal Feng --- board/starfive/visionfive2/spl.c | 358 --- 1 file changed, 358 deletions(-) diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c index f55c6b5d34..38132e

[PATCH v1 12/12] doc: board: starfive: Update the building guide

2024-09-30 Thread Hal Feng
After implementing OF_UPSTREAM, v1.3b DT is set as the default DT, so if you need to build a u-boot for the other boards, specify DEVICE_TREE in your compilation commands. Signed-off-by: Hal Feng --- doc/board/starfive/milk-v_mars.rst| 2 +- doc/board/starfive/milk-v_mars_cm.rst | 2 +- do

Re: [PATCH] usb: gadget: cdns3: Fix missing cache operations for non-zero Endpoints

2024-09-30 Thread Tom Rini
On Mon, 30 Sep 2024 15:04:07 +0530, Siddharth Vadapalli wrote: > Transfer initiation and completion for the non-zero Endpoints are > handled by cdns3_ep_run_transfer() and cdns3_transfer_completed() > respectively. > > Failing to flush the cache associated with the TRB Pool within > cdns3_ep_run_

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

2024-09-30 Thread Tom Rini
; The following changes since commit 596465138175cd7e4171cad1e68a2ef7c5c002bc: > > regulator: rk8xx: Fix buck get and set enabled state on RK806 (2024-09-27 > 18:20:49 +0800) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-rockchip.g

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Simon Glass
Hi Brian, On Mon, 30 Sept 2024 at 08:47, Brian Ruley wrote: > > On Mon, Sep 30, 2024 at 08:10:49AM -0600, Simon Glass wrote: > > > > WARNING: This email originated from outside of GE HealthCare. Please > > validate the sender's email address before clicking on links or attachments > > as they m

Re: [PATCH v2 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-09-30 Thread Mattijs Korpershoek
Hi Dmitry, Thank you for the patch. On jeu., sept. 12, 2024 at 00:49, Dmitry Rokosov wrote: > It's really helpful to have the ability to dump BCB block for debugging > A/B logic on the board supported this partition schema. > > Command 'bcb ab_dump' prints all fields of bootloader_control stru

Re: [PATCH v2 3/6] cmd: bcb: change strcmp() usage style in the do_bcb_ab_select()

2024-09-30 Thread Mattijs Korpershoek
Hi Dmitry, Thank you for the patch. On jeu., sept. 12, 2024 at 00:49, Dmitry Rokosov wrote: > In the entire cmd/bcb.c file, the return value of strcmp() is not > directly compared to 0. Therefore, it would be better to maintain this > style in the new do_bcb_ab_select() function as well. > > S

Re: [PATCH] usb: gadget: cdns3: Fix missing cache operations for non-zero Endpoints

2024-09-30 Thread Mattijs Korpershoek
Hi Siddharth, Thank you for the patch. On lun., sept. 30, 2024 at 15:04, Siddharth Vadapalli wrote: > Transfer initiation and completion for the non-zero Endpoints are > handled by cdns3_ep_run_transfer() and cdns3_transfer_completed() > respectively. > > Failing to flush the cache associated

[GIT PULL] Please pull u-boot-dfu-20240930

2024-09-30 Thread Mattijs Korpershoek
ng changes since commit 5f044932413694475422d4b16607dfcf9aff8781: scripts/Makefile.lib: do not include CONFIG_DEVICE_TREE_INCLUDES in dtsi_include_list (2024-09-10 11:31:54 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-df

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Brian Ruley
On Mon, Sep 30, 2024 at 08:10:49AM -0600, Simon Glass wrote: > > WARNING: This email originated from outside of GE HealthCare. Please validate > the sender's email address before clicking on links or attachments as they > may not be safe. > > Hi Brian, > > On Mon, 30 Sept 2024 at 07:01, Brian

Re: [PATCH 00/26] Support display (and even more) on the BSH SMM S2/PRO boards

2024-09-30 Thread Dario Binacchi
Hi Miquel, On Mon, Sep 30, 2024 at 11:43 AM Miquel Raynal wrote: > > Hi Dario, > > dario.binac...@amarulasolutions.com wrote on Fri, 13 Sep 2024 11:55:42 > +0200: > > > This series was created out of the need to supportsimple-framebuffer for > > BSH boards SMM_S2 and SMM_S2PRO. To achieve this go

[PATCH] xilinx: common: fix board_late_init() for Microblaze

2024-09-30 Thread Padmarao Begari
Fix the issue introduced by commit 067e0294806e ("board: xilinx: Remove conditional check for Microblaze"). The scriptaddr should be physical location not really offset from start of DDR. It is assigned initially with offset. When U-Boot is not found boot.scr script address in device tree, then it

Re: [PATCH 0/2] board: libre-computer: Add support for Libre Computer aml-a311d-cc & aml-s905d3-cc boards

2024-09-30 Thread Neil Armstrong
Hi, On Fri, 20 Sep 2024 15:33:32 +0200, Neil Armstrong wrote: > Add support for the Libre Computer aml-a311d-cc "Alta" & aml-s905d3-cc > "Solitude" boards: > https://libre.computer/products/aml-a311d-cc/ > https://libre.computer/products/aml-s905d3-cc/ > > The Alta & Solitude boards have a Credit

Re: [PATCH v2 0/2] ARM: meson: libretech-ac: add support for EFI Capsules Update

2024-09-30 Thread Neil Armstrong
Hi, On Tue, 17 Sep 2024 14:34:44 +0200, Neil Armstrong wrote: > The necessary changes were made in U-Boot to easily support > EFI Capsules Update and be compliant with Arm SystemReady IR. > > Let's add support for the libretech-ac/AML-S805X-CC since > it's an easy well-supported target having a d

Re: [PATCH] usb: gadget: cdns3: Fix missing cache operations for non-zero Endpoints

2024-09-30 Thread Marek Vasut
On 9/30/24 11:34 AM, Siddharth Vadapalli wrote: Transfer initiation and completion for the non-zero Endpoints are handled by cdns3_ep_run_transfer() and cdns3_transfer_completed() respectively. Failing to flush the cache associated with the TRB Pool within cdns3_ep_run_transfer() results in the

Re: [PATCH v6 09/12] efi_loader: Add a test app

2024-09-30 Thread Simon Glass
Hi Heinrich, On Mon, 30 Sept 2024 at 06:05, Heinrich Schuchardt wrote: > > On 27.09.24 18:50, Simon Glass wrote: > > Hi Ilias, > > > > On Fri, 27 Sept 2024 at 07:51, Ilias Apalodimas > > wrote: > >> > >> Hi Simon, > >> > >> On Fri, 27 Sept 2024 at 01:04, Simon Glass wrote: > >>> > >>> Add a sim

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Simon Glass
Hi Brian, On Mon, 30 Sept 2024 at 07:01, Brian Ruley wrote: > > On Sun, Sep 29, 2024 at 06:46:23PM -0600, Tom Rini wrote: > > On Sun, Sep 29, 2024 at 04:49:17PM -0600, Simon Glass wrote: > > > Hi Fabio, > > > > > > On Sun, 29 Sept 2024 at 14:53, Fabio Estevam wrote: > > > > > > > > Hi Simon, Mar

Re: [PATCH] usb: gadget: cdns3: Fix missing cache operations for non-zero Endpoints

2024-09-30 Thread Roger Quadros
On 30/09/2024 12:34, Siddharth Vadapalli wrote: > Transfer initiation and completion for the non-zero Endpoints are > handled by cdns3_ep_run_transfer() and cdns3_transfer_completed() > respectively. > > Failing to flush the cache associated with the TRB Pool within > cdns3_ep_run_transfer() re

Re: [PATCH 2/4] arm: dts: bcm: Update bcm6846 and bcm96846

2024-09-30 Thread neil . armstrong
Hi, On 30/09/2024 15:24, Linus Walleij wrote: Update the devicetrees for the BCM6846 and the reference design BCM96846 from the Linux kernel so we get support for NAND. (Linux v6.11-rc7). Maybe time to switch to OF_UPSTREAM instead of syncing ? Neil Signed-off-by: Linus Walleij --- arch

[PATCH 3/4] drivers: nand: bcmbca: Enable on BCM6846

2024-09-30 Thread Linus Walleij
The BCM6846 has the BRCMBCA NAND controller so enable it. Signed-off-by: Linus Walleij --- arch/arm/mach-bcmbca/bcm6846/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-bcmbca/bcm6846/Kconfig b/arch/arm/mach-bcmbca/bcm6846/Kconfig index 229ab88dbb0d..5ef9535369ec 100

[PATCH 4/4] board: bcm96846: Enable NAND options

2024-09-30 Thread Linus Walleij
This adds reasonable NAND options to the BCM96846 reference design: - CMD_NAND, MTD_RAW_NAND - Disable SYS_NAND_ONFI_DETECTION as this just give error messages - MTD, MTDPARTS with DM and related config options - CMD_UBI and CMD_UBIFS as this is likely used with ubi/ubifs What I didn't add was so

[PATCH 1/4] mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver

2024-09-30 Thread Linus Walleij
The Broadcom BCA platforms are broadband access SoCs. This is a port of the upstream Linux driver to U-Boot. Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/Kconfig| 7 ++ drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 1

[PATCH 2/4] arm: dts: bcm: Update bcm6846 and bcm96846

2024-09-30 Thread Linus Walleij
Update the devicetrees for the BCM6846 and the reference design BCM96846 from the Linux kernel so we get support for NAND. (Linux v6.11-rc7). Signed-off-by: Linus Walleij --- arch/arm/dts/bcm6846.dtsi | 34 ++ arch/arm/dts/bcm96846.dts | 14 ++ 2 files

[PATCH 0/4] mtd: rawnand: brcmnand: Add BCMBCA support

2024-09-30 Thread Linus Walleij
: cd87faf0067493f97b3c0c83daccb2dc124fdd42 change-id: 20240930-bcmbca-nand-support-4447e176bbbd Best regards, -- Linus Walleij

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Dario Binacchi
Hello Heiko, On Tue, Sep 24, 2024 at 11:07 AM Heiko Schocher wrote: > > Hello Dario, > > On 13.09.24 11:55, Dario Binacchi wrote: > > From: Michael Trimarchi > > > > Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and > > mediamix on iMX8MP. > > > > To support blk ctrl driver, the pow

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Brian Ruley
On Sun, Sep 29, 2024 at 06:46:23PM -0600, Tom Rini wrote: > On Sun, Sep 29, 2024 at 04:49:17PM -0600, Simon Glass wrote: > > Hi Fabio, > > > > On Sun, 29 Sept 2024 at 14:53, Fabio Estevam wrote: > > > > > > Hi Simon, Marek, and Tom, > > > > > > On Fri, Sep 27, 2024 at 5:47???PM Tom Rini wrote: >

[PATCH v2] binman: add fast authentication method for i.MX8M signing

2024-09-30 Thread Brian Ruley
Using the PKI tree with SRKs as intermediate CA isn't necessary or even desirable in some situations (boot time, for example). Add the possbility to use the "fast authentication" method where the image and CSF are both signed using the SRK [1, p.63]. [1] https://community.nxp.com/pwmxy87654/attac

Re: [PATCH 00/26] Support display (and even more) on the BSH SMM S2/PRO boards

2024-09-30 Thread Miquel Raynal
Hi Dario, dario.binac...@amarulasolutions.com wrote on Fri, 13 Sep 2024 11:55:42 +0200: > This series was created out of the need to supportsimple-framebuffer for > BSH boards SMM_S2 and SMM_S2PRO. To achieve this goal, it was necessary > to develop additional code and/or drivers for all the requ

Re: [PATCH v2] usb: gadget: usbhs: Add Renesas USBHS device driver

2024-09-30 Thread Mattijs Korpershoek
Hi Marek, Thank you for the patch. On lun., sept. 09, 2024 at 01:06, Marek Vasut wrote: > From: Vitaliy Vasylskyy > > Add UDC driver for Renesas USBHS controller found in R-Car Gen3 SoCs. > This is mostly ported from the Linux kernel, with additional porting > glue. The code has been synchron

Re: [PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux

2024-09-30 Thread Linus Walleij
On Sat, Sep 28, 2024 at 2:51 AM Michael Nazzareno Trimarchi wrote: > I have already seen all of them and I follow the thread > > We will pick them up Thanks Michael, I will send out the remaining patches adding BCMBCA support to the NAND driver as well. Yours, Linus Walleij

[PATCH v3 01/13] ufs: allocate descriptors with size aligned with DMA_MINALIGN

2024-09-30 Thread Neil Armstrong
Align the allocation size with DMA_MINALIGN to make sure we do not flush/invalidate data from following allocations. Reviewed-by: Neha Malcom Francis Tested-by: Venkatesh Yadav Abbarapu Signed-off-by: Neil Armstrong --- drivers/ufs/ufs.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletio

[PATCH v3 13/13] MAINTAINERS: Add myself to the list of UFS maintainers

2024-09-30 Thread Neil Armstrong
Adding myself to continue Bhupesh's work to enhance and fix UFS support in U-Boot, especially for Qualcomm SoCs, and help review patches and maintain the UFS subsystem. Reviewed-by: Neha Malcom Francis Tested-by: Venkatesh Yadav Abbarapu Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 + 1 f

[PATCH v3 12/13] ufs: core: remove link_startup_again logic

2024-09-30 Thread Neil Armstrong
The link_startup_again logic was added in Linux to handle device that were set in LinkDown state, which should not be the case since U-boot doesn't set LinkDown state are init, and Linux sets the device active in ufshcd_init() for the first link startup. ufshcd_set_ufs_dev_active(hba) is called at

[PATCH v3 10/13] ufs: Add missing memory barriers

2024-09-30 Thread neil . armstrong
From: Bhupesh Sharma Add missing wmb() and mb() barriers in the u-boot UFS core framework driver to allow registers updates to happen before follow-up read operations. This makes the barrier placement similar to the Linux UFS driver, synced from the Linux v6.9 release. Starting from the v6.10 r

[PATCH v3 11/13] ufs: Fix debug message in 'ufs_start'

2024-09-30 Thread neil . armstrong
From: Bhupesh Sharma Minor typo fix and rewording of printf message inside 'ufs_start' which announces the availability of the UFS device. Signed-off-by: Bhupesh Sharma Tested-by: Venkatesh Yadav Abbarapu --- drivers/ufs/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 09/13] ufs: Sync possible UFS Quirks with Linux UFS driver

2024-09-30 Thread neil . armstrong
From: Bhupesh Sharma Sync u-boot UFS driver to add all possible UFS Quirks as supported by Linux UFS driver as well. Synced with include/ufs/ufshcd.h from Linux v6.11 release Signed-off-by: Bhupesh Sharma Tested-by: Venkatesh Yadav Abbarapu --- drivers/ufs/ufs.h | 197 +++

[PATCH v3 08/13] ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP

2024-09-30 Thread neil . armstrong
From: Bhupesh Sharma Clear UECPA once in u-boot UFS driver due to LINERESET has happened during LINK_STARTUP. This makes the u-boot ufs driver behavior related to UECPA similar to Linux UFS driver. Ported from Linux kernel commit: 2355b66ed20c ("scsi: ufs: Handle LINERESET indication in err hand

[PATCH v3 07/13] ufs/ufs.h: Add definition of 'ufshcd_rmwl()'

2024-09-30 Thread neil . armstrong
From: Bhupesh Sharma Add definition of 'ufshcd_rmwl()' helper function which would be later used by Qualcomm UFS driver to read-modify-write registers. Ported from Linux kernel commits: e785060ea3a1 ("ufs: definitions for phy interface") cff91daf52d3 ("scsi: ufs: Fix kernel-doc syntax in ufshcd.

[PATCH v3 06/13] ufs: Add UFSHCD_QUIRK_HIBERN_FASTAUTO

2024-09-30 Thread neil . armstrong
From: Marek Vasut Add UFSHCD_QUIRK_HIBERN_FASTAUTO quirk for host controllers which supports auto-hibernate the capability but only FASTAUTO mode. Ported from Linux kernel commit 2f11bbc2c7f3 ("scsi: ufs: core: Add UFSHCD_QUIRK_HIBERN_FASTAUTO") Signed-off-by: Marek Vasut Tested-by: Venkatesh

[PATCH v3 03/13] ufs: split flush and invalidate to only invalidate when required

2024-09-30 Thread Neil Armstrong
There is no need to flush and invalidate all data updated by the driver, mainly because on ARM platforms flush also invalidates the cachelines. Split the function in two and add the appropriate cacheline invalidates after the UFS DMA operation finishes to make sure we read from memory. Flushing t

[PATCH v3 05/13] ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS

2024-09-30 Thread neil . armstrong
From: Marek Vasut Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS for host controllers which do not support 64-bit addressing. Ported from Linux kernel commit 6554400d6f66 ("scsi: ufs: core: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS") with ufs_scsi_buffer_aligned() based on U-Boot generic bounce buffer. Sign

[PATCH v3 04/13] ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary

2024-09-30 Thread Neil Armstrong
Now we have proper flush and invalidate helpers, we can use them directly to operate on the scsi_cmd data. Likewise, we do not need to flush then invalidate, just flush _or_ invalidate depending on the data direction. Reviewed-by: Neha Malcom Francis Tested-by: Venkatesh Yadav Abbarapu Signed-o

[PATCH v3 02/13] ufs: fix dcache flush and invalidate range calculation

2024-09-30 Thread Neil Armstrong
The current calculation will omit doing a flush/invalidate on the last cacheline if the base address is not aligned with DMA_MINALIGN. This causes commands failures and write corruptions on Qualcomm platforms. Reviewed-by: Neha Malcom Francis Tested-by: Venkatesh Yadav Abbarapu Signed-off-by: N

[PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers

2024-09-30 Thread Neil Armstrong
This serie regroups all the fixes and base enhancements required to support the Qualcomm UFS controllers in U-Boot. This syncs headers & defines from Linux, and includes 2 set of fixes that were sent separately: - ufs: core: remove link_startup_again logic - ufs: properly fix cache operations Wit

Re: [PATCH] Extend usage for OF_OVERLAY_LIST beyond SPL

2024-09-30 Thread Sumit Garg
On Mon, 30 Sept 2024 at 15:50, Jan Kiszka wrote: > > From: Jan Kiszka > > Allow to use OF_OVERLAY_LIST also for the case that the overlays just > need be built, e.g. when they will be picked up by binman as artifacts > of the final U-Boot image. The IOT2050 boards have such a need when > switchin

Re: [PATCH 0/4] rockchip: Skip serial pinctrl at pre-reloc phase

2024-09-30 Thread Quentin Schulz
Hi Kever, On 9/30/24 12:11 PM, Kever Yang wrote: Hi Quentin, On 2024/8/12 18:44, Quentin Schulz wrote: Hi Jonas, On 8/5/24 2:22 PM, Jonas Karlman wrote: Hi Quentin, On 2024-08-05 12:23, Quentin Schulz wrote: Hi Jonas, On 8/5/24 10:43 AM, Jonas Karlman wrote: UART pinctrl for serial is ty

Re: [PATCH v6 09/12] efi_loader: Add a test app

2024-09-30 Thread Heinrich Schuchardt
On 27.09.24 18:50, Simon Glass wrote: Hi Ilias, On Fri, 27 Sept 2024 at 07:51, Ilias Apalodimas wrote: Hi Simon, On Fri, 27 Sept 2024 at 01:04, Simon Glass wrote: Add a simple app to use for testing. This is intended to do whatever it needs to for testing purposes. For now it just prints

Re: [PATCH v2 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-09-30 Thread Mattijs Korpershoek
Hi Dmitry, Thank you for the patch. On jeu., sept. 12, 2024 at 00:49, Dmitry Rokosov wrote: > To enhance code organization, it is beneficial to consolidate all A/B > BCB management routines into a single super-command. > The 'bcb' command is an excellent candidate for this purpose. > > This pa

[PATCH 2/2] arm64: versal: Wire USB0 in distro boot

2024-09-30 Thread Michal Simek
For unknown reason USB host hasn't been described for distro boot that's why wire it now. Signed-off-by: Michal Simek --- include/configs/xilinx_versal.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h index 212dc9df2a

Re: [PATCH 1/5] mmc: fsl_esdhc_imx: Enable AHB/IPG clk

2024-09-30 Thread Fabio Estevam
Hi Peng, On Mon, Sep 30, 2024 at 2:47 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Only enable PER clk is not enough, also need to enable AHB/IPG clk. Currently, the driver is working and now extra clocks need to be turned on. Please provide more details here as to why this is a problem now

[PATCH 1/2] arm64: versal: Remove description for USB1

2024-09-30 Thread Michal Simek
There is only one USB controller that's why remove description for USB1. Signed-off-by: Michal Simek --- include/configs/xilinx_versal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h index dc3f41b94a29..

[PATCH] Extend usage for OF_OVERLAY_LIST beyond SPL

2024-09-30 Thread Jan Kiszka
From: Jan Kiszka Allow to use OF_OVERLAY_LIST also for the case that the overlays just need be built, e.g. when they will be picked up by binman as artifacts of the final U-Boot image. The IOT2050 boards have such a need when switching to OF_UPSTREAM. Signed-off-by: Jan Kiszka --- While waitin

Re: [PATCH 0/4] rockchip: Skip serial pinctrl at pre-reloc phase

2024-09-30 Thread Kever Yang
Hi Quentin, On 2024/8/12 18:44, Quentin Schulz wrote: Hi Jonas, On 8/5/24 2:22 PM, Jonas Karlman wrote: Hi Quentin, On 2024-08-05 12:23, Quentin Schulz wrote: Hi Jonas, On 8/5/24 10:43 AM, Jonas Karlman wrote: UART pinctrl for serial is typically applied multiple times: - in external TPL o

  1   2   >