[PATCH v3 8/8] MAINTAINERS: Update Starfive visionfive2 maintain files.

2024-07-18 Thread Minda Chen
Add USB related files to Starfive visionfive2 MAINTAINERS. Signed-off-by: Minda Chen Reviewed-by: Marek Vasut --- board/starfive/visionfive2/MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/starfive/visionfive2/MAINTAINERS b/board/starfive/visionfive2/MAINTAINERS index d

[PATCH v3 6/8] configs: starfive: Add visionfive2 cadence USB configuration

2024-07-18 Thread Minda Chen
Add cadence USB confiuration. Signed-off-by: Minda Chen --- configs/starfive_visionfive2_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index 174ac24dc7..35137eec59 100644 --- a/configs/starf

[PATCH v3 7/8] dts: starfive: Add JH7110 Cadence USB dts node

2024-07-18 Thread Minda Chen
Add Jh7110 Cadence USB dts node, Visionfive2 default setting is USB 2.0 device. Signed-off-by: Minda Chen --- .../dts/jh7110-starfive-visionfive-2.dtsi | 5 ++ arch/riscv/dts/jh7110.dtsi| 52 +++ 2 files changed, 57 insertions(+) diff --git a/arch/riscv/

[PATCH v3 5/8] pinctrl: starfive: Setup USB default disable overcurrent pin

2024-07-18 Thread Minda Chen
For some JH7110 boards, USB host overcurent pin is not reserved, To make USB host work, overcurrent pin must be disabled. So set the pin default disabled. Signed-off-by: Minda Chen --- drivers/pinctrl/starfive/pinctrl-jh7110-sys.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[PATCH v3 4/8] usb: cdns: starfive: Add cdns USB driver

2024-07-18 Thread Minda Chen
Add cdns USB3 wrapper driver. Signed-off-by: Minda Chen --- drivers/usb/cdns3/Kconfig | 7 ++ drivers/usb/cdns3/Makefile | 2 + drivers/usb/cdns3/cdns3-starfive.c | 191 + 3 files changed, 200 insertions(+) create mode 100644 drivers/usb/cdns3/cd

[PATCH v3 3/8] phy: starfive: Add Starfive JH7110 PCIe 2.0 PHY driver

2024-07-18 Thread Minda Chen
Add Starfive JH7110 PCIe 2.0 PHY driver, which is generic PHY driver and can be used as USB 3.0 driver. Signed-off-by: Minda Chen --- drivers/phy/starfive/Kconfig | 7 + drivers/phy/starfive/Makefile | 1 + drivers/phy/starfive/phy-jh7110-pcie.c | 237 +

[PATCH v3 2/8] phy: starfive: Add Starfive JH7110 USB 2.0 PHY driver

2024-07-18 Thread Minda Chen
Add Starfive JH7110 USB 2.0 PHY driver, which is generic PHY driver. Signed-off-by: Minda Chen Reviewed-by: Roger Quadros --- drivers/phy/Kconfig| 1 + drivers/phy/Makefile | 1 + drivers/phy/starfive/Kconfig | 14 +++ drivers/phy/starfive/Ma

[PATCH v3 1/8] usb: cdns3: Set USB PHY mode in cdns3_drd_update_mode()

2024-07-18 Thread Minda Chen
USB PHY maybe need to set PHY mode in different USB dr mode. So translate USB PHY mode to generic PHY mode and call generic_phy_set_mode(). Signed-off-by: Minda Chen --- drivers/usb/cdns3/drd.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/usb/cdns3/drd.c b/drivers/

[PATCH v3 0/8] Add Starfive JH7110 Cadence USB driver

2024-07-18 Thread Minda Chen
Add Starfive JH7110 Cadence USB driver and related PHY driver. So the codes can be used in visionfive2 and star64 7110 board. The driver is almost the same with kernel driver. Test with Star64 JH7110 board USB 3.0 + USB 2.0 host. The code can work. - Star64 using USB 3.0 and USB 2.0 host must ad

回复: [PATCH v2 0/7] Add Starfive JH7110 Cadence USB driver

2024-07-18 Thread Minda Chen
> > On 7/4/24 07:50, Minda Chen wrote: > > Add Starfive JH7110 Cadence USB driver and related PHY driver. > > So the codes can be used in visionfive2 and star64 7110 board. > > > > The driver is almost the same with kernel driver. > > > > Test with Star64 JH7110 board USB 3.0 + USB 2.0 host. > >

Re: [PATCH v2 3/8] phy: starfive: Add Starfive JH7110 PCIe 2.0 PHY driver

2024-07-18 Thread Minda Chen
> > > > On 04/07/2024 08:50, Minda Chen wrote: > > Add Starfive JH7110 PCIe 2.0 PHY driver, which is generic PHY driver > > and can be used as USB 3.0 driver. > > > > Signed-off-by: Minda Chen > > --- > > drivers/phy/starfive/Kconfig | 7 + > > drivers/phy/starfive/Makefile

Re: [PATCH v2 04/21] sandbox: Enable SPL_LOAD_BLOCK

2024-07-18 Thread Sean Anderson
On 7/18/24 09:28, Sean Anderson wrote: On 7/13/24 03:00, Simon Glass wrote: Enable this option for all sandbox boards so that the FIT-loading code can be used without generating an error about block devices not being supported. Signed-off-by: Simon Glass --- (no changes since v1)   common/sp

Re: [PATCH v3 0/5] bootstd: Add Android support

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 10:40:01 +0200, Mattijs Korpershoek wrote: > Android boot flow is a bit different than a regular Linux distro. > Android relies on multiple partitions in order to boot. > > A typical boot flow would be: > 1. Parse the Bootloader Control Block (BCB, misc partition) > 2. If BCB

Re: [PATCH v2 0/5] finish using .dtso for overlay source files

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 09:16:07 +0200, Rasmus Villemoes wrote: > This is a followup to the patches that landed in 2024.01 and nearly > made sure that source files for producing .dtbo files use the .dtso > extension. In the same release, a few new .dts files snuck in, and > there was also some test co

RE: [PATCH] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-07-18 Thread Zixun Li
On 10/07/2024 09:28, Alexander Dahl wrote: > Despite the missing space between 'if' and the opening bracket (checkpatch > should have told you?) this looks very much like what got into linux with > v4.11 > but was changed/reworked multiple times afterwards. I wonder why this was > not ported to

[PATCH 1/1] Squashed 'dts/upstream/' changes from 7e08733c96c8..20e0f0897ea2

2024-07-18 Thread Tom Rini
20e0f0897ea2 Merge tag 'v6.10-dts-raw' 9881d733059f Merge tag 'v6.10-rc7-dts-raw' 63c31204aa11 Merge tag 'sunxi-fixes-for-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes 23e9298c3dde Merge tag 'qcom-drivers-fixes-for-6.10' of https://git.kernel.org/pub/scm/linu

[PATCH 00/20] i2c: Chip away at some old code

2024-07-18 Thread Simon Glass
This series aims to remove some of the older contents of i2c.h so that we can move towards having just the dm API. It removes four boards which are getting in the way. Simon Glass (20): arm: Remove pg_wcom boards i2c: Remove board_i2c_init() i2c: Remove IC2_xxx enum i2c: Remove CFG_I2C_M

[PATCH v2 2/2] spi: sunxi: fix clock divider calculation for max frequency setting

2024-07-18 Thread Michael Walle
If the maximum frequency is requested, we still fall into the CDR2 handling. But there the minimal divider is 2. For the sun6i and sun8i we can do better with the CDR1 setting where the minimal divider is 1: SPI_CLK = MOD_CLK / 2 ^ cdr with cdr = 0 Thus, handle the div = 1 case specially. While

[PATCH v2 1/2] spi: sunxi: fix CDR2 calculation

2024-07-18 Thread Michael Walle
The CDR2 divider calculation always yield a frequency greater than the requested one. Use DIV_ROUND_UP() to keep the frequency equal or below the requested one. This way, we can also drop the "if div > 0" check because we know for a fact that div cannot be zero. FWIW, this aligns the CDR2 calculat

Re: [PATCH v4 17/29] mbedtls: add public key porting layer

2024-07-18 Thread Raymond Mao
Hi Ilias, On Wed, 3 Jul 2024 at 07:47, Ilias Apalodimas wrote: > On Tue, 2 Jul 2024 at 21:30, Raymond Mao wrote: > > > > Add porting layer for public key on top of MbedTLS X509 library. > > Introduce _LEGACY and _MBEDTLS kconfigs for public key legacy and > > MbedTLS implementations respectivel

Re: [PATCH 1/1] efi_loader: find distro device-path for media devices

2024-07-18 Thread E Shattow
On Sat, Jul 13, 2024 at 4:30 AM Heinrich Schuchardt wrote: > > The auto-generated load options for media device do not contain a partition > node. We cannot expect the simple file protocol here. > > Get the partition device-path via the loaded image protocol. > > Fixes: e91b68fd6b83 ("efi_loader:

Re: [PATCH v4 09/29] makefile: add mbedtls include directories

2024-07-18 Thread Raymond Mao
Hi Ilias, On Wed, 3 Jul 2024 at 07:35, Ilias Apalodimas wrote: > On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote: > > > > Add the mbedtls include directories into the build system. > > > > Signed-off-by: Raymond Mao > > --- > > Changes in v2 > > - None. > > Changes in v3 > > - Remove changes fo

Re: [PATCH v4 09/29] makefile: add mbedtls include directories

2024-07-18 Thread Raymond Mao
Hi Ilias, On Wed, 3 Jul 2024 at 07:35, Ilias Apalodimas wrote: > On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote: > > > > Add the mbedtls include directories into the build system. > > > > Signed-off-by: Raymond Mao > > --- > > Changes in v2 > > - None. > > Changes in v3 > > - Remove changes fo

Re: [PATCH] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-07-18 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jul 18, 2024 at 9:40 PM Zixun Li wrote: > > On 10/07/2024 09:28, Alexander Dahl wrote: > > > Despite the missing space between 'if' and the opening bracket (checkpatch > > should have told you?) this looks very much like what got into linux with > > v4.11 > > but was changed/reworked

[PATCH 20/20] i2c: Remove CFG_SYS_I2C_DIRECT_BUS

2024-07-18 Thread Simon Glass
Now that this is always 1, remove it and the associated dead code. Signed-off-by: Simon Glass --- README | 7 +-- drivers/i2c/i2c_core.c | 104 - include/i2c.h | 35 -- 3 files changed, 1 insertion(+), 145 deletions

[PATCH 19/20] i2c: Remove CFG_SYS_I2C_MAX_HOPS

2024-07-18 Thread Simon Glass
Now that this is always 0, remove it and the associated dead code. Signed-off-by: Simon Glass --- README | 10 +- cmd/i2c.c | 23 --- drivers/i2c/i2c_core.c | 37 - include/i2c.h | 7 ---

[PATCH 18/20] i2c: Drop i2c_get_bus_num_fdt() and i2c_reset_port_fdt()

2024-07-18 Thread Simon Glass
These functions are 11 years old and are not actually used by any board, even though one board (cl-som-imx7) does enable CONFIG_PCA953X Drop them. Signed-off-by: Simon Glass --- arch/mips/mach-octeon/octeon_fdt.c | 15 --- include/i2c.h | 18 --

[PATCH 17/20] i2c: Drop CFG_SYS_MAX_I2C_BUS

2024-07-18 Thread Simon Glass
Only one board uses this option and it is very old. Let's drop it. Signed-off-by: Simon Glass --- include/configs/ethernut5.h | 3 --- include/i2c.h | 14 -- 2 files changed, 17 deletions(-) diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index

[PATCH 16/20] i2c: Remove I2C_GET_BUS()

2024-07-18 Thread Simon Glass
This is very old, predating even the legacy I2C support, so drop it. Signed-off-by: Simon Glass --- include/i2c.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/i2c.h b/include/i2c.h index 1d1430b74a6..b6727bb2a73 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -947,13 +947

[PATCH 15/20] i2c: Remove I2C_SET_BUS()

2024-07-18 Thread Simon Glass
This is very old, predating even the legacy I2C support, so drop it. Signed-off-by: Simon Glass --- drivers/power/power_i2c.c | 5 - include/i2c.h | 7 --- 2 files changed, 12 deletions(-) diff --git a/drivers/power/power_i2c.c b/drivers/power/power_i2c.c index a871fc41987.

[PATCH 14/20] octeon: Drop OCTEON_I2C_FDT dead code

2024-07-18 Thread Simon Glass
This option is not defined by any board, so drop the code. Signed-off-by: Simon Glass --- arch/mips/mach-octeon/octeon_fdt.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/mips/mach-octeon/octeon_fdt.c b/arch/mips/mach-octeon/octeon_fdt.c index c74fe9d9fb8..15ce292be95 100644 -

[PATCH 13/20] i2c: Drop reference to SYS_I2C_INIT_BOARD

2024-07-18 Thread Simon Glass
This is not now used by any boards, so drop it. Signed-off-by: Simon Glass --- doc/I2C_Edge_Conditions | 10 -- drivers/i2c/soft_i2c.c | 11 --- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/doc/I2C_Edge_Conditions b/doc/I2C_Edge_Conditions index f4a99687011..

[PATCH 12/20] i2c: mxc: pg_wcom: Drop legacy I2c

2024-07-18 Thread Simon Glass
Drop use of this feature, but keep the board building. This will allow removal of very old common I2C code. Signed-off-by: Simon Glass --- drivers/ddr/fsl/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c index 31091bb44

[PATCH 11/20] keymile: Remove use of legacy I2C

2024-07-18 Thread Simon Glass
Drop this old code to permit removal of legacy I2C code. Signed-off-by: Simon Glass --- board/keymile/Kconfig | 3 -- board/keymile/common/common.c | 69 --- 2 files changed, 72 deletions(-) diff --git a/board/keymile/Kconfig b/board/keymile/Kconfig ind

[PATCH 10/20] date: Drop the legacy I2C code

2024-07-18 Thread Simon Glass
Drop two generations of old code in this command. All boards should use driver model for I2C from 2021. Signed-off-by: Simon Glass --- cmd/date.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/cmd/date.c b/cmd/date.c index bdb3e199b43..8614f022761 100644 --- a/cm

[PATCH 09/20] rtc: Drop CFG_SYS_RTC_BUS_NUM

2024-07-18 Thread Simon Glass
This option is very old and the migration deadline was years ago. Drop it so that the I2C system can be simplified. Signed-off-by: Simon Glass --- README| 5 - cmd/date.c| 6 -- include/configs/ls1028aqds.h | 1 - include/configs/ls1028ardb.h

[PATCH 08/20] MPC837XERDB: ethernut5: work_92105: Drop CMD_DATE

2024-07-18 Thread Simon Glass
These use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by: Simon Glass --- configs/MPC837XERDB_defconfig | 1 - configs/ethernut5_defconfig | 1 - configs/work_92105_defconfig | 1 - 3

[PATCH 07/20] mx28 / mx51: Drop CMD_DATE

2024-07-18 Thread Simon Glass
These use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by: Simon Glass --- configs/mx28evk_defconfig | 1 - configs/mx51evk_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/c

[PATCH 06/20] armv8: ls2085a: Drop CMD_DATE

2024-07-18 Thread Simon Glass
These boards use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by: Simon Glass --- configs/ls2080aqds_nand_defconfig | 1 - configs/ls2080aqds_qspi_defconfig | 1 - configs/ls2080ardb_nand_

[PATCH 04/20] i2c: Remove CFG_I2C_MULTI_BUS

2024-07-18 Thread Simon Glass
This is used by a few boards but we are years past the migration date, so let's drop it now. Signed-off-by: Simon Glass --- README | 7 --- include/configs/omap3_beagle.h | 3 --- include/configs/sniper.h | 14 -- include/configs/tqma6.h|

[PATCH 05/20] mips: malta: Drop CMD_DATE

2024-07-18 Thread Simon Glass
These boards use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by: Simon Glass --- configs/malta64_defconfig | 1 - configs/malta64el_defconfig | 1 - configs/malta_defconfig | 1 - c

[PATCH 03/20] i2c: Remove IC2_xxx enum

2024-07-18 Thread Simon Glass
This is only used by devkit3250 which is being removed. Drop it. Signed-off-by: Simon Glass --- drivers/usb/host/ohci-lpc32xx.c | 4 include/i2c.h | 6 -- 2 files changed, 10 deletions(-) diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/host/ohci-lpc32xx.c

[PATCH 01/20] arm: Remove pg_wcom boards

2024-07-18 Thread Simon Glass
These board has not been converted to CONFIG_DM_I2C by the deadline: pg_wcom_expu1 pg_wcom_expu1_update pg_wcom_seli8 pg_wcom_seli8_update Remove them. Signed-off-by: Simon Glass --- arch/arm/dts/ls1021a-pg-wcom-expu1.dts| 141 --- arch/arm/dts/ls1021a-pg-wcom-seli

[PATCH 02/20] i2c: Remove board_i2c_init()

2024-07-18 Thread Simon Glass
This function is not used, so drop it. Signed-off-by: Simon Glass --- include/i2c.h | 8 1 file changed, 8 deletions(-) diff --git a/include/i2c.h b/include/i2c.h index 4e59009cd93..8d91b24b43b 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -972,14 +972,6 @@ enum { I2C_8, I

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

2024-07-18 Thread Tom Rini
urris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20240718 > > for you to fetch changes up to e8b3f6c1018e1401bcc697a8aed8120061e4f189:

Re: [PATCH] ARM: dts: remove leftover Amlogic GX/G12 bindings headers

2024-07-18 Thread Tom Rini
On Thu, 18 Jul 2024 10:28:37 +0200, Neil Armstrong wrote: > Remove the leftover Amlogic GX/G12 bindings headers that > maked the v6.10 upstream DT fail to build. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN

2024-07-18 Thread Fabio Estevam
Hi Ye Li, On Tue, Jul 2, 2024 at 6:09 AM Paul Geurts wrote: > > Thanks for confirm. I also cross checked with teams. 8MP must burn a > > pattern. Otherwise HAB won't covert to field return. > > Okay, thanks for checking, I will wait for the details and make the necessary > adjustments Please l

[PATCH] imx93-u-boot: Describe the CPU clocks in the devicetree

2024-07-18 Thread Fabio Estevam
Currently, there is an error when the i.MX93 CPU frequency is read: Could not read CPU frequency: -2 CPU: NXP i.MX93(52) Rev1.1 A55 at 0 MHz Fix it by describing the A55 clock nodes in the devicetree, like done on other i.MX SoCs. With this change, the CPU frequency error is gone and it can be

Re: [PATCH v4 08/29] hash: integrate hash on mbedtls

2024-07-18 Thread Raymond Mao
Hi Ilias, On Wed, 3 Jul 2024 at 04:56, Ilias Apalodimas wrote: > Hi Raymond > > On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote: > > > > Integrate common/hash.c on the hash shim layer so that hash APIs > > from mbedtls can be leveraged by boot/image and efi_loader. > > > > Signed-off-by: Raymond

Re: [PATCH v4 08/29] hash: integrate hash on mbedtls

2024-07-18 Thread Raymond Mao
Hi Simon, On Fri, 5 Jul 2024 at 04:36, Simon Glass wrote: > Hi, > > On Wed, Jul 3, 2024, 09:56 Ilias Apalodimas > wrote: > > > > Hi Raymond > > > > On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote: > > > > > > Integrate common/hash.c on the hash shim layer so that hash APIs > > > from mbedtls ca

Re: [PATCH v2 00/21] Universal Payload initial series

2024-07-18 Thread Tom Rini
On Thu, Jul 18, 2024 at 10:23:21AM +0200, Heinrich Schuchardt wrote: > On 16.07.24 21:08, Tom Rini wrote: > > On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote: > > > > > > > > > Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis > > > : > > > > > From: Simon Glass > > > > >

Re: [PATCH v2 10/21] upl: Add support for reading a upl handoff

2024-07-18 Thread Heinrich Schuchardt
On 13.07.24 09:00, Simon Glass wrote: Universal Payload provides a standard way of handing off control between two firmware phases. Add support for reading the handoff information into a structure. Signed-off-by: Simon Glass --- (no changes since v1) MAINTAINERS | 7 + boot

Re: [PATCH 00/18] New CI image and fixes

2024-07-18 Thread Tom Rini
On Wed, Jul 17, 2024 at 10:29:11PM +0800, Jiaxun Yang wrote: > Hi all, > > This series build a new CI image based on Ubuntu focal with LoongArch64 > support, fixed various python scripts for python 3.12, fixed various > problems popped up when testing againt latest software. > > Last two commits

Re: [PATCH v2 20/21] sandbox: Add an SPL loader for UPL

2024-07-18 Thread Sean Anderson
On 7/13/24 03:00, Simon Glass wrote: Add support for loading a UPL image from SPL. This uses the simple FIT implementation, but also loads the full FIT just to permit more testing. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 49 +

Re: [PATCH v2 03/21] test: Move some SPL-loading test-code into sandbox common

2024-07-18 Thread Sean Anderson
On 7/13/24 03:00, Simon Glass wrote: This code is useful for loading an image in sandbox_spl so move it into a place where it can be called as needed. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 67 ++ arch/sandbox/i

Re: [PATCH v2 15/21] spl: Plumb in the Universal Payload handoff

2024-07-18 Thread Sean Anderson
On 7/13/24 03:00, Simon Glass wrote: Specify the FIT and include information about each loaded image, as required by the UPL handoff. Write the UPL handoff into the bloblist before jumping to the next phase. Control this using a runtime flag to avoid conflicting with other handoff mechanisms.

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-18 Thread Tom Rini
On Wed, Jul 17, 2024 at 03:32:00PM -0300, Walter Lozano wrote: > > > On 7/17/24 12:44, Tom Rini wrote: > > On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote: > > > On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: > > > > > > > > On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano

Re: [PATCH v4] bloblist: fix bloblist convention check.

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 14:53:20 +0100, Levi Yun wrote: > According to recently firmware handsoff spec [1]'s "Register usage at handoff > boundary", Transfer List's signature value was changed from 0x40_b10b > (3 bytes) to 4a0f_b10b (4 bytes). > > As updating of TL's signature, register value of x1/r

Re: [PATCH] test/py/requirements.txt: Bump zipp to current release

2024-07-18 Thread Tom Rini
On Tue, 09 Jul 2024 17:07:09 -0600, Tom Rini wrote: > A security issue exists with zipp before v3.19.1, and the current > release is now v3.19.2. While the change in versions numbers is large, a > manual inspection of the changelog shows that it's not as big as might > be implied. > > Applied t

Re: [PATCH] driver: rng: Do not check ARM_SMCCC_TRNG_VERSION

2024-07-18 Thread Tom Rini
On Tue, 09 Jul 2024 17:23:09 +0100, Leo Yan wrote: > As described in the document SMC Calling Convention (ARM DEN 0028 1.5 F), > section 7 "Arm Architecture Calls", the SMC call SMCCC_ARCH_FEATURES is > not expected to support the function ID ARM_SMCCC_TRNG_VERSION. Trusted > Firmware-A follows up

Re: [PATCH] ti: omap: am3517evm: Move environment definition to env file

2024-07-18 Thread Tom Rini
On Mon, 08 Jul 2024 21:38:57 -0500, Adam Ford wrote: > Instead of cluttering up a header file with a bunch of defines, > move the default environmental variables to a file called > am3517evm.env and reference it from the defconfig. Also > remove dead comments. > > Applied to u-boot/master, tha

Re: [PATCH] timer: mtk: skip setting parent with dummy fixed-clock

2024-07-18 Thread Tom Rini
On Sat, 06 Jul 2024 18:13:02 +0200, Christian Marangi wrote: > Skip setting parent with dummy fixed-clock. Upstream linux might declare > an additional clock for the mtk timer and that additional clock might > also be a fixed-clock defined in DT. Setting parent of a dummy fixed-clock > resulta in

Re: [PATCH v2 0/2] Respin bootstd cros patch into a series of two

2024-07-18 Thread Tom Rini
On Wed, 03 Jul 2024 13:37:54 +0200, Vincent Stehlé wrote: > This is a respin of this patch [1] after discussion [2]. Thanks to > Simon and Heinrich for their reviews. > > To use the guidcmp() function, as suggested by Heinrich, we need to > make it available to bootmeth_cros.c and I think that th

Re: [PATCH v1] verdin-am62: add DFU, USB and UUU fastboot support

2024-07-18 Thread Tom Rini
On Thu, 04 Jul 2024 16:49:32 +0100, Vitor Soares wrote: > Enable USB host as well as USB gadget and DFU support for a53 and r5 > configs. Also, enable UUU fastboot support to download files with > the UUU tool from a53. > > Additionally, configure usb0 to peripheral mode and add extra > environme

Re: [PATCH v2 04/21] sandbox: Enable SPL_LOAD_BLOCK

2024-07-18 Thread Sean Anderson
On 7/13/24 03:00, Simon Glass wrote: Enable this option for all sandbox boards so that the FIT-loading code can be used without generating an error about block devices not being supported. Signed-off-by: Simon Glass --- (no changes since v1) common/spl/Kconfig | 1 + 1 file changed, 1 inse

[PATCH 1/1] efi_loader: require EFI boot manager for EBBR compliance

2024-07-18 Thread Heinrich Schuchardt
A system has to support booting via the boot manager to be EBBR compliant. See the reference to variables Boot in the specification. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconf

Re: [PATCH V5 4/6] doc: ti: k3: Add TIFS Stub documentation

2024-07-18 Thread Nishanth Menon
On 16:05-20240718, Dhruva Gole wrote: > On Jul 17, 2024 at 13:47:19 -0500, Nishanth Menon wrote: > > On 22:18-20240705, Dhruva Gole wrote: > > > Add documentation to briefly explain the role of TIFS Stub in relevant > > > K3 SoC's. > > > This also sheds

Re: [PATCH V5 0/6] Low Power Mode: Package TIFS Stub in BeaglePlay

2024-07-18 Thread Dhruva Gole
On Jul 17, 2024 at 13:49:07 -0500, Nishanth Menon wrote: > On 22:18-20240705, Dhruva Gole wrote: > > This series includes the binman related changes required to package TIFS > > Stub to support Low Power Modes on BeaglePlay. > > It also documents the boot flow and tispl packaging details regarding

Re: [PATCH V5 4/6] doc: ti: k3: Add TIFS Stub documentation

2024-07-18 Thread Dhruva Gole
On Jul 17, 2024 at 13:47:19 -0500, Nishanth Menon wrote: > On 22:18-20240705, Dhruva Gole wrote: > > Add documentation to briefly explain the role of TIFS Stub in relevant > > K3 SoC's. > > This also sheds light on why TIFS Stub isn't package with the DM firmware > > itself. > > > > Signed-off-by:

[PATCH] arm64: zynqmp: dts: Add rts delay property for rs485 mode on KD240

2024-07-18 Thread Michal Simek
From: Manikanta Guntupalli Add "rs485-rts-delay" property to uartps node with delay_rts_before_send and delay_rts_after_send values as 10ms for rs485 mode on KD240. 10ms rts delay values have been chosen based on testing with rs485 temperature sensor (which is part of the kit) as safe minimum va

[PATCH v2 26/26] qconfig: Support a 'list' format

2024-07-18 Thread Simon Glass
Add a flag to output the found list in a more user-friendly format, with one board per line. Omit the board count. This can be useful with grep, for example. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to support a 'list' format tools/qconfig.py | 14 ++ 1 file c

[PATCH v2 25/26] qconfig: Sort the boards by name when finding

2024-07-18 Thread Simon Glass
There is no particular ordering of the board list at present, since it is generated by a multi-threaded process. Sort them by name to make it easier to see if a particular board is present. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to sort the boards by name when finding

[PATCH v2 24/26] qconfig: Allow searching for CONFIG values

2024-07-18 Thread Simon Glass
Add basic support for searching for matching of non-matching values. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/20 --- Changes in v2: - Drop debugging doc/develop/qconfig.rst | 14 ++ tools/qconfig.py| 15 +++

[PATCH v2 00/26] qconfig: Tidy up main() and add a small feature

2024-07-18 Thread Simon Glass
This series improves the code a little by reducing the size of the main() function. It also allows searching for CONFIG values. Changes in v2: - Drop debugging - Add a new patch to sort the boards by name when finding - Add new patch to support a 'list' format Simon Glass (26): qconfig: Fix pyl

Re: [PATCH v2 00/21] Universal Payload initial series

2024-07-18 Thread Heinrich Schuchardt
On 16.07.24 21:08, Tom Rini wrote: On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote: Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis : From: Simon Glass Date: Sat, 13 Jul 2024 08:00:34 +0100 Universal Payload (UPL) is an Industry Standard for firmware components[1].

[PATCH v7 3/3] spinand: bind mtdblock

2024-07-18 Thread Alexey Romanov
Bind SPI-NAND driver to MTD block driver. Reviewed-by: Frieder Schrempf Signed-off-by: Alexey Romanov --- drivers/mtd/nand/spi/core.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c index ef50237f10..54a90ff295

[PATCH v7 2/3] drivers: introduce mtdblock abstraction

2024-07-18 Thread Alexey Romanov
MTD block - abstraction over MTD subsystem, allowing to read and write in blocks using BLK UCLASS. Signed-off-by: Alexey Romanov --- drivers/block/blk-uclass.c | 1 + drivers/mtd/Kconfig| 8 ++ drivers/mtd/Makefile | 1 + drivers/mtd/mtdblock.c | 227 +

[PATCH v7 1/3] disk: support MTD partitions

2024-07-18 Thread Alexey Romanov
Add new MTD partition driver, which can be useful with mtdblock driver combination. Signed-off-by: Alexey Romanov --- disk/part.c | 3 +- drivers/mtd/Kconfig | 1 + drivers/mtd/mtdpart.c | 76 +++ include/part.h| 3 ++ 4 files change

[PATCH v7 0/3] Introduce mtdblock device

2024-07-18 Thread Alexey Romanov
Hello! This series adds support for the mtdblock device, which allows to read/write data block by block. For example, it can now be used for BCB or Android AB command: $ bcb load mtd 0 part_name Tested only on SPI NAND, so bind is made only for SPI NAND drivers. --- Changes V1 -> V2 [1]:

[PATCH v6 6/6] spinand: bind UBI block

2024-07-18 Thread Alexey Romanov
UBI block is virtual block device, which is an abstraction over MTD layer. Therefore it is logical to use it in combination with MTD drivers. Signed-off-by: Alexey Romanov Reviewed-by: Frieder Schrempf --- drivers/mtd/nand/spi/core.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deleti

[PATCH v6 5/6] disk: support UBI partitions

2024-07-18 Thread Alexey Romanov
UBI partition is abstraction over UBI volumes. Can be used by UBI block device. Signed-off-by: Alexey Romanov Reviewed-by: Heiko Schocher --- drivers/mtd/ubi/Makefile | 2 +- drivers/mtd/ubi/part.c | 99 include/part.h | 2 + 3 files change

[PATCH v6 3/6] drivers: introduce UBI block abstraction

2024-07-18 Thread Alexey Romanov
UBI block is an virtual device, that runs on top of the MTD layer. The blocks are UBI volumes. Intended to be used in combination with other MTD drivers. Despite the fact that it, like mtdblock abstraction, it used with UCLASS_MTD, they can be used together on the system without conflicting. For e

[PATCH v6 4/6] disk: don't try search for partition type if already set

2024-07-18 Thread Alexey Romanov
Block devices can already set partition type at initialization stage, so, in this case is no point in searching for partition type. Signed-off-by: Alexey Romanov Reviewed-by: Heiko Schocher --- disk/part.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/disk/part.c b/disk/part.c inde

[PATCH v6 2/6] ubi: allow to write to volume with offset

2024-07-18 Thread Alexey Romanov
Introduce ubi_volume_offset_write() helper, which allow to write to ubi volume with specified offset. Signed-off-by: Alexey Romanov Reviewed-by: Heiko Schocher Acked-by: Heiko Schocher --- cmd/ubi.c | 72 +++-- env/ubi.c | 10 +++

[PATCH v6 1/6] ubi: allow to read from volume with offset

2024-07-18 Thread Alexey Romanov
Now user can pass an additional parameter 'offset' to ubi_volume_read() function. Signed-off-by: Alexey Romanov Reviewed-by: Heiko Schocher Acked-by: Heiko Schocher --- cmd/ubi.c | 6 +++--- env/ubi.c | 6 +++--- include/ubi_uboot.h | 2 +- 3 files changed, 7 insertions(+),

[PATCH v6 0/6] Introduce UBI block device

2024-07-18 Thread Alexey Romanov
Hello! This series adds support for the UBI block device, which allows to read/write data block by block. For example, it can now be used for BCB or Android AB command: $ bcb load ubi 0 part_name Tested only on SPI NAND, so bind is made only for SPI NAND drivers. Can be used with mtdblock devi

Pull request: u-boot-rockchip-20240718

2024-07-18 Thread Kever Yang
tags/u-boot-rockchip-20240718 for you to fetch changes up to e8b3f6c1018e1401bcc697a8aed8120061e4f189: configs: rockchip: imply OF_LIBFDT_OVERLAY for rk3308 and rk3328 (2024-07-17 16:26:55 +0800) FUKAUMI Naoki (5): rockchip

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

2024-07-18 Thread Kever Yang
Hi Quentin, On 2024/7/18 16:03, Quentin Schulz wrote: Hi Kever, On 7/18/24 5:52 AM, Kever Yang wrote: Hi Tom, Please pull the fixex for rockchip platform: - pmic fix for rk8xx; - pinctrl fix for rk3188/rv1126/rk3588; - mkimage fix for rockcihp "-l" option; I think this is a mistake? All c

[PATCH] ARM: dts: remove leftover Amlogic GX/G12 bindings headers

2024-07-18 Thread Neil Armstrong
74b3850fdba4163ec260dbcee8ec183a change-id: 20240718-u-boot-fix-v6-10-upstream-build-e3def1f6630d Best regards, -- Neil Armstrong

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

2024-07-18 Thread Quentin Schulz
Hi Kever, On 7/18/24 5:52 AM, Kever Yang wrote: Hi Tom, Please pull the fixex for rockchip platform: - pmic fix for rk8xx; - pinctrl fix for rk3188/rv1126/rk3588; - mkimage fix for rockcihp "-l" option; I think this is a mistake? All commits are already merged. I assume you picked the wrong

Re: [PATCH v2 02/21] sandbox: Fix a comment in os_find_u_boot()

2024-07-18 Thread Mattijs Korpershoek
Hi Simon, Thank you for the patch. On sam., juil. 13, 2024 at 08:00, Simon Glass wrote: > Fix a missing dot in a comment, since '..' is confusing. > > Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek > --- > > (no changes since v1) > > arch/sandbox/cpu/os.c | 2 +- > 1 file chan

Re: [PATCH v2 01/21] sandbox: Use const in os_jump_to_file()

2024-07-18 Thread Mattijs Korpershoek
Hi Simon, Thank you for the patch. On sam., juil. 13, 2024 at 08:00, Simon Glass wrote: > The argument array is not changed by the callee, so mark it const. > > Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek > --- > > (no changes since v1) > > arch/sandbox/cpu/os.c | 4 ++-- >