Re: [PATCH 06/15] sandbox: Add a way to show the sandbox memory-mapping

2024-10-29 Thread Ilias Apalodimas
Hi Simon This seems completely unrelated to the series. Please send it as a separate patch Thanks /Ilias On Mon, 28 Oct 2024 at 14:48, Simon Glass wrote: > > This is mostly hidden in the background, but it is sometimes useful to > look at it. Add a function to allow this. > > Signed-off-by: Si

[PATCH 2/4] board/BuR/common: add parameter for reset controller I2C bus selection

2024-10-29 Thread Bernhard Messerklinger
Normally B&R reset controllers are located at I2C bus 0. This patch adds the possibility to change this bus number with BR_RESETC_I2CBUS. Signed-off-by: Bernhard Messerklinger --- board/BuR/common/br_resetc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/board/BuR

Re: [GIT PULL] u-boot-riscv/next

2024-10-29 Thread Leo Liang
Hi Tom, On Mon, Oct 28, 2024 at 09:20:10AM -0600, Tom Rini wrote: > [EXTERNAL MAIL] > Date: Mon, 28 Oct 2024 09:20:10 -0600 > From: Tom Rini > To: Leo Liang > Cc: u-boot@lists.denx.de, r...@andestech.com > Subject: Re: [GIT PULL] u-boot-riscv/next > > On Mon, Oct 28, 2024 at 08:25:55PM +0800, L

[PATCH v2 1/3] menu: fix the logic checking whether ESC key is pressed

2024-10-29 Thread Weijie Gao
It's observed that the bootmenu on a serial console sometimes incorrectly quitted with superfluous characters filled to command line input: > *** U-Boot Boot Menu *** > > 1. Startup system (Default) > 2. Upgrade firmware > 3. Upgrade ATF BL2 > 4. Upgrade ATF FIP > 5. Load

Re: [PATCH v2 1/2] arm64: dts: rockchip: add (but disabled) SFC node for Radxa ROCK 5A

2024-10-29 Thread FUKAUMI Naoki
Hi, dts/upstream/src/ inclues this change now, please ignore this patch. -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. On 8/25/24 07:33, FUKAUMI Naoki wrote: This commit adds SFC node for Radxa ROCK 5A. since sdhci and sfc on RK3588s share pins(i.e. exclusive), it cannot be enabled bot

Re: [PATCH 1/2] rockchip: rk356x: Implement checkboard() to print SoC variant

2024-10-29 Thread Kever Yang
Hi Jonas, On 2024/10/19 00:34, Jonas Karlman wrote: Implement checkboard() to print current SoC model, e.g. one of: SoC: RK3566 v1 SoC: RK3566 v2 SoC: RK3566T v2 SoC: RK3568 v2 SoC: RK3568B2 v2 SoC: RK3568J v2 Did you get these types from different board, or is 

Re: [PATCH v3 1/2] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-10-29 Thread Kever Yang
On 2024/10/26 17:34, Andy Yan wrote: Cool Pi CM5 GenBook works as a carrier board connect with CM5 [0]. Specification: - Rockchip RK3588 - LPDDR5X 8/32 GB - eMMC 64 GB - HDMI Type A out x 1 - USB 3.0 Host x 1 - USB-C 3.0 with DisplayPort AltMode - PCIE M.2 E Key for RTL8852BE Wireless connecti

Re: [PATCH v3 2/2] board: rockchip: Add support for rk3588 GenBook

2024-10-29 Thread Kever Yang
On 2024/10/26 17:34, Andy Yan wrote: Add support for Cool Pi GenBook, it works as a carrier board connect with CM5 SOM. Specification: - Rockchip RK3588 - LPDDR5X 8/32 GB - eMMC 64 GB - HDMI Type A out x 1 - USB 3.0 Host x 1 - USB-C 3.0 with DisplayPort AltMode - PCIE M.2 E Key for RTL8852BE W

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

2024-10-29 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 v9 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 21 + 1 file changed, 21 inserti

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

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c |

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

2024-10-29 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 Acked-by: Michal Simek --- arch/arm/dts/zynqmp

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

2024-10-29 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 Acked-by: Michal Simek --- configs/xilinx_zynqmp_kria_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

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

2024-10-29 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 v9 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/usb_onboard_hub.c b/common

[PATCH v3] rockchip: add support for Radxa ROCK 5A with SPI NOR flash module

2024-10-29 Thread FUKAUMI Naoki
on Radxa ROCK 5A, sdhci(eMMC) and fspim0(SPI NOR flash) share pins (i.e. eMMC and SPI NOR flash are exclusive), new defconfig and dts specifically for SPI NOR flash is required. Signed-off-by: FUKAUMI Naoki --- Changes in v3 - drop first patch - fix copyright - run savedefconfig - sync with chang

Re: [PATCH v3 18/18] board: rockchip: add support for Qnap TS433 devices

2024-10-29 Thread Kever Yang
On 2024/10/29 03:00, Heiko Stuebner wrote: The Qnap TS433 is a 4-bay NAS based around the RK3568. Two SATA bays are connected to the RK3568's own SATA controllers while the other two are connected to a JMicron SATA controller living on the PCIe bus. It provides one 2.5Gb and one 1Gb ethernet

Re: [PATCH v3] rockchip: add support for Radxa ROCK 5A with SPI NOR flash module

2024-10-29 Thread Kever Yang
Hi Naoki, On 2024/10/30 14:07, FUKAUMI Naoki wrote: on Radxa ROCK 5A, sdhci(eMMC) and fspim0(SPI NOR flash) share pins (i.e. eMMC and SPI NOR flash are exclusive), new defconfig and dts specifically for SPI NOR flash is required. Signed-off-by: FUKAUMI Naoki --- Changes in v3 - drop first patc

Re: [PATCH v2 2/2] rockchip: add support for Radxa ROCK 5A with SPI NOR flash module

2024-10-29 Thread FUKAUMI Naoki
Hi, could you review this patch, anyone? Best regards, -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. On 8/25/24 07:33, FUKAUMI Naoki wrote: on Radxa ROCK 5A, sdhci(eMMC) and fspim0(SPI NOR flash) share pins (i.e. eMMC and SPI NOR flash are exclusive), new defconfig and dts specifically

Re: [PATCH v7 04/11] test: Introduce the concept of a role

2024-10-29 Thread Tom Rini
On Wed, Oct 09, 2024 at 07:51:38PM -0600, Simon Glass wrote: > In Labgrid there is the concept of a 'role', which is similar to the > U-Boot board ID in U-Boot's pytest subsystem. > > The role indicates both the target and information about the U-Boot > build to use. It can also provide any amoun

Re: [GIT PULL] Please pull u-boot-imx-master-20241029

2024-10-29 Thread Tom Rini
-29 > 10:05:30 -0600) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20241029 > > for you to fetch changes up to d88bcd6d247a2b5d1683e393d8c9dc0259cd29f0: > > net: dwc_eth_qos:

Re: [PATCH 0/6] memory: ti-aemif: Add DM support

2024-10-29 Thread Tom Rini
On Mon, 21 Oct 2024 17:13:24 +0200, Bastien Curutchet wrote: > This patch series aims to add DM support for the AEMIF controller that > can be found in the DaVinci SoCs. > > This controller has already a driver used by the Keystone SoCs so I > add my work to it. > > As we can now easily import L

RE: [PATCH] test/py: spi: prevent overwriting relocation memory

2024-10-29 Thread Begari, Padmarao
> From: Tom Rini > Sent: Wednesday, October 30, 2024 12:43 AM > To: Begari, Padmarao > Cc: u-boot@lists.denx.de; git (AMD-Xilinx) ; Simek, Michal > ; Kumar, Love > Subject: Re: [PATCH] test/py: spi: prevent overwriting relocation memory > > On Tue, Oct 29, 2024 at 05:17:09PM +0530, Padmarao Beg

Re: [PATCH] test/py: spi: prevent overwriting relocation memory

2024-10-29 Thread Love Kumar
Hi Tom, On 30/10/24 12:42 am, Tom Rini wrote: On Tue, Oct 29, 2024 at 05:17:09PM +0530, Padmarao Begari wrote: Update spi negative test case to prevent SF command from overwriting relocation memory area. Signed-off-by: Padmarao Begari --- test/py/tests/test_spi.py | 12 1 fi

Re: [PATCH] test/py: spi: prevent overwriting relocation memory

2024-10-29 Thread Love Kumar
On 29/10/24 5:17 pm, Padmarao Begari wrote: Update spi negative test case to prevent SF command from overwriting relocation memory area. Signed-off-by: Padmarao Begari --- test/py/tests/test_spi.py | 12 1 file changed, 12 insertions(+) diff --git a/test/py/tests/test_spi.py

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

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_

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

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/usb_onboard_hub.c b/common

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

2024-10-29 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 Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 21 + 1 file changed, 21 inserti

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

2024-10-29 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 Acked-by: Michal Simek --- arch/arm/dts/zynqmp

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

2024-10-29 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 Acked-by: Michal Simek --- configs/xilinx_zynqmp_kria_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

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

2024-10-29 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 v8 0/7] Add the USB5744 hub driver as per new DT binding

2024-10-29 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 v8 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-29 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 | 42 +++

Re: [PATCH v1 1/1] drivers: bootcount: Add ZynqMP specific bootcount support

2024-10-29 Thread Heiko Schocher
Hello Vasileios, On 29.10.24 19:58, Vasileios Amoiridis wrote: From: Vasileios Amoiridis Add native support of the bootcount mechanism in the ZynqMP by utilising internal PMU registers. The Persistent Global Storage Registers of the Platform Management Unit can keep their value during reboot

<    1   2