[PULL] u-boot-riscv/master

2023-08-01 Thread Leo Liang
Hi Tom, The following changes since commit 7755b2200777f72dca87dd169138e95f011bbcb9: Merge tag 'x86-pull-20230801' of https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-08-01 11:57:55 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot

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

2023-08-01 Thread John Clark
It appears that you had a transmission problem with this patch as I am missing 1/6, 4/6, and 6/6. I am pretty sure these are from your repo here: https://github.com/Kwiboo/u-boot-rockchip/tree/rk35xx-pcie-bifurcation-v1 (1/6) pci: pcie_dw_rockchip: Configure number of lanes and link width

Re: [PATCH 3/3] malloc: Enable SYS_MALLOC_RUNTIME_INIT by default in SPL

2023-08-01 Thread Sean Anderson
On 8/1/23 11:25, Tom Rini wrote: > On Mon, Jul 31, 2023 at 06:33:27PM -0400, Sean Anderson wrote: > >> On boards with size restrictions, 1-2k can be a significant fraction of >> the binary size. Add a new SPL version of SYS_MALLOC_RUNTIME_INIT and >> enable it by default. >> >> Signed-off-by:

[PATCH v3] gpio: Use separate bitfield array to indicate GPIO is claimed

2023-08-01 Thread Marek Vasut
The current gpio-uclass design uses name field in struct gpio_dev_priv as an indicator that GPIO is claimed by consumer. This overloads the function of name field and does not work well for named pins not configured as GPIO pins. Introduce separate bitfield array as the claim indicator. This

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

2023-08-01 Thread Marek Vasut
On 8/1/23 20:53, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Mon, 31 Jul 2023 16:40:04 +0200: On 7/31/23 16:25, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Mon, 31 Jul 2023 16:08:19 +0200: On 7/31/23 15:58, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on

[PATCH 5/6] phy: rockchip: snps-pcie3: Add support for RK3588

2023-08-01 Thread Jonas Karlman
Add support for the RK3588 variant to the driver. Code imported almost 1:1 from mainline linux driver. Signed-off-by: Jonas Karlman --- .../phy/rockchip/phy-rockchip-snps-pcie3.c| 85 +++ 1 file changed, 85 insertions(+) diff --git

[PATCH 0/6] rockchip: rk3568: Fix use of PCIe bifurcation

2023-08-01 Thread Jonas Karlman
This series add support for use of PCIe bifurcation on RK3568, and as a bonus support for the RK3588 PHY is also included. With PCIe bifurcation supported it is possible to enable PCIe on more RK3568 boards, e.g. on NanoPi R5C and NanoPi R5S. This series only include fixing the mini PCIe slot on

[PATCH 3/6] phy: rockchip: snps-pcie3: Refactor to use a phy_init ops

2023-08-01 Thread Jonas Karlman
Add a phy_init ops in preparation for upcoming support of a RK3588 variant in the driver. Signed-off-by: Jonas Karlman --- .../phy/rockchip/phy-rockchip-snps-pcie3.c| 40 +++ 1 file changed, 32 insertions(+), 8 deletions(-) diff --git

[PATCH 2/6] phy: rockchip: snps-pcie3: Refactor to use clk_bulk API

2023-08-01 Thread Jonas Karlman
Change to use clk_bulk API and syscon_regmap_lookup_by_phandle to simplify in preparation for upcoming support of a RK3588 variant. Signed-off-by: Jonas Karlman --- .../phy/rockchip/phy-rockchip-snps-pcie3.c| 58 +++ 1 file changed, 9 insertions(+), 49 deletions(-) diff

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

2023-08-01 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Mon, 31 Jul 2023 16:40:04 +0200: > On 7/31/23 16:25, Miquel Raynal wrote: > > Hi Marek, > > > > ma...@denx.de wrote on Mon, 31 Jul 2023 16:08:19 +0200: > > > >> On 7/31/23 15:58, Miquel Raynal wrote: > >>> Hi Marek, > >>> > >>> ma...@denx.de wrote on Mon,

[PATCH] doc/sphinx/requirements.txt: Bump certifi up

2023-08-01 Thread Tom Rini
Upgrade certifi to the latest version, to remove e-Tugra from the root store. Link: https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/C-HrP1SEq1A?pli=1 Signed-off-by: Tom Rini --- doc/sphinx/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/2] drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video

2023-08-01 Thread Anatolij Gustschin
On Thu, 27 Jul 2023 12:01:26 +0530 Nikhil M Jain n-ja...@ti.com wrote: > Perform removal of DSS if kconfigs VIDEO_REMOVE or SPL_VIDEO_REMOVE is > set by user. Otherwise if above Kconfigs are not selected, it is assumed > that user wants splash screen to be displayed until linux kernel boots > up.

Re: [PATCH 1/2] drivers: video: tidss: tidss_drv: Change remove method

2023-08-01 Thread Anatolij Gustschin
On Thu, 27 Jul 2023 12:01:25 +0530 Nikhil M Jain n-ja...@ti.com wrote: > Change remove method of DSS video driver to disable video port instead > of performing a soft reset, as soft reset takes longer duration. Video > port is disabled by setting enable bit of video port to 0. > > Signed-off-by:

[PATCH V3] doc: board: ti: k3: Add a guide to debugging with OpenOCD

2023-08-01 Thread Nishanth Menon
From: Jason Kacines Bootloader debug usually tends to be a bit dicey prior to DDR and serial port getting active in the system. JTAG typically remains the only practical debug option during the initial bringup. OpenOCD is one of the most popular environment for providing debug capability via a

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

2023-08-01 Thread Sughosh Ganu
The EFI capsule files can now be generated as part of u-boot build. This is done through binman. Add capsule entry nodes in the u-boot.dtsi for the sandbox architecture for generating the capsules. Remove the corresponding generation of capsules from the capsule update conftest file. The capsules

[PATCH v6 8/9] test: capsule: Remove public key embed logic from capsule update test

2023-08-01 Thread Sughosh Ganu
The embedding of the public key EFI Signature List(ESL) file into the platform's DTB is now done at the time of u-boot build. Remove this logic from the capsule update test' configuration. Include the public key for the sandbox and sandbox_flattree variant as part of the build. Signed-off-by:

[PATCH v6 7/9] doc: Add documentation to highlight capsule generation related updates

2023-08-01 Thread Sughosh Ganu
The EFI capsules can now be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- Changes since V5: * Remove the documentation for generating the capsule through config file, as that functionality is not added through

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

2023-08-01 Thread Sughosh Ganu
Add support in binman for generating EFI capsules. The capsule parameters can be specified through the capsule binman entry. Also add test cases in binman for testing capsule generation. Signed-off-by: Sughosh Ganu --- Changes since V5: * Add support for the oemflag parameter used in FWU A/B

[PATCH v6 5/9] test: capsule: Add files needed for testing EFI capsule updates

2023-08-01 Thread Sughosh Ganu
Add the files that would be needed for testing the EFI capsule update functionality. These include the keys needed for signing and authenticating the capsules with the capsule authentication functionality enabled. This includes the public key in form of the EFI Signature List(ESL) file which will

[PATCH v6 4/9] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-08-01 Thread Sughosh Ganu
Update the document to specify how the EFI Signature List(ESL) file can be embedded into the platform's dtb as part of the u-boot build. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass --- Changes since V5: None doc/develop/uefi/uefi.rst | 22 +- 1 file changed, 9

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

2023-08-01 Thread Sughosh Ganu
The EFI capsule authentication logic in u-boot expects the public key in the form of an EFI Signature List(ESL) to be provided as part of the platform's dtb. Currently, the embedding of the ESL file into the dtb needs to be done manually. Add a signature node in the u-boot dtsi file and include

[PATCH v6 2/9] nuvoton: npcm845-evb: Add a newline at the end of file

2023-08-01 Thread Sughosh Ganu
Add a newline at the end of the dts, without which the build fails when including the u-boot.dtsi file. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas --- Changes since V5: None arch/arm/dts/nuvoton-npcm845-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v6 1/9] binman: bintool: Build a tool from a list of commands

2023-08-01 Thread Sughosh Ganu
Add support to build a tool from source with a list of commands. This is useful when a tool can be built with multiple commands instead of a single command. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass --- Changes since V5: None tools/binman/bintool.py | 19 +++ 1 file

[PATCH v6 0/9] Integrate EFI capsule tasks into u-boot's build flow

2023-08-01 Thread Sughosh Ganu
This patchset aims to bring two capsule related tasks under the u-boot build flow. One is the embedding of the public key into the platform's dtb. The public key is in the form of an EFI Signature List(ESL) file and is used for capsule authentication. This is being achieved by adding the

Re: [PATCH 2/3] malloc: Don't statically initialize av_ if using malloc_init

2023-08-01 Thread Sean Anderson
On 8/1/23 12:56, Heinrich Schuchardt wrote: On 01.08.23 18:27, Sean Anderson wrote: On 8/1/23 12:23, Heinrich Schuchardt wrote: On 01.08.23 18:02, Sean Anderson wrote: On 8/1/23 03:04, Heinrich Schuchardt wrote: On 8/1/23 00:33, Sean Anderson wrote: When we enable malloc_init,

Re: [PATCH v5 03/12] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-01 Thread Sughosh Ganu
hi Simon, On Wed, 26 Jul 2023 at 19:56, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 26 Jul 2023 at 02:57, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Wed, 26 Jul 2023 at 04:22, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu > > >

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2023-08-01 Thread Marc Zyngier
On Tue, 01 Aug 2023 09:53:52 +0100, Oliver Graute wrote: > > On 14/02/23, Ying-Chun Liu (PaulLiu) wrote: > > From: Marc Zyngier > > > > In the add_map() function, for each level it populates, it iterates from > > the root of the PT tree, making it ineficient if a mapping needs to occur > >

Re: [PATCH 2/3] malloc: Don't statically initialize av_ if using malloc_init

2023-08-01 Thread Heinrich Schuchardt
On 01.08.23 18:27, Sean Anderson wrote: On 8/1/23 12:23, Heinrich Schuchardt wrote: On 01.08.23 18:02, Sean Anderson wrote: On 8/1/23 03:04, Heinrich Schuchardt wrote: On 8/1/23 00:33, Sean Anderson wrote: When we enable malloc_init, there is no need to statically initialize av_, since

Re: [PATCH 2/3] malloc: Don't statically initialize av_ if using malloc_init

2023-08-01 Thread Sean Anderson
On 8/1/23 12:23, Heinrich Schuchardt wrote: On 01.08.23 18:02, Sean Anderson wrote: On 8/1/23 03:04, Heinrich Schuchardt wrote: On 8/1/23 00:33, Sean Anderson wrote: When we enable malloc_init, there is no need to statically initialize av_, since we are going to do it manually. This

Re: [PATCH 2/3] malloc: Don't statically initialize av_ if using malloc_init

2023-08-01 Thread Heinrich Schuchardt
On 01.08.23 18:02, Sean Anderson wrote: On 8/1/23 03:04, Heinrich Schuchardt wrote: On 8/1/23 00:33, Sean Anderson wrote: When we enable malloc_init, there is no need to statically initialize av_, since we are going to do it manually. This lets us move av_ to .bss, saving around 1-2k of

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Tom Rini
On Tue, Aug 01, 2023 at 05:10:08PM +0100, Abdellatif El Khlifi wrote: > Hi guys, > > On Tue, Aug 01, 2023 at 11:00:57AM -0400, Tom Rini wrote: > > > > > > > > > ... > > > > > > > > > Changelog: > > > > > > > > > === > > > > > > > > > > > > > > > > > > v17: > > > > > > > > > > > > > >

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Abdellatif El Khlifi
Hi guys, On Tue, Aug 01, 2023 at 11:00:57AM -0400, Tom Rini wrote: > > > > > > > > ... > > > > > > > > Changelog: > > > > > > > > === > > > > > > > > > > > > > > > > v17: > > > > > > > > > > > > > > > > * show a debug message rather than an error when FF-A is not > > > > > > > >

Re: Please pull u-boot-x86

2023-08-01 Thread Tom Rini
-20230731' of > https://source.denx.de/u-boot/custodians/u-boot-rockchip (2023-07-31 > 11:33:51 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-x86.git > tags/x86-pull-20230801 > > for you to fetch changes up to db971a758

Re: [PATCH 2/3] malloc: Don't statically initialize av_ if using malloc_init

2023-08-01 Thread Sean Anderson
On 8/1/23 03:04, Heinrich Schuchardt wrote: On 8/1/23 00:33, Sean Anderson wrote: When we enable malloc_init, there is no need to statically initialize av_, since we are going to do it manually. This lets us move av_ to .bss, saving around 1-2k of data (depending on the pointer size).

Re: Please pull u-boot-video

2023-08-01 Thread Tom Rini
following changes since commit 4e619e8d4fd68095bc665a78f2651d8e478a4534: > > Merge tag 'u-boot-rockchip-20230731' of > https://source.denx.de/u-boot/custodians/u-boot-rockchip (2023-07-31 11:33:51 > -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodian

Re: Please pull u-boot-marvell/master

2023-08-01 Thread Tom Rini
On Tue, Aug 01, 2023 at 11:17:16AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following, partly Marvell MVEBU related patches into > master: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Please pull u-boot-x86

2023-08-01 Thread Bin Meng
) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-x86.git tags/x86-pull-20230801 for you to fetch changes up to db971a7587d04b3f1cf2e6d452f9e37f50c5b3ed: x86: Add a little more info to cbsysinfo (2023-08-01 10:08:49 +0800

Re: [PATCH 3/3] malloc: Enable SYS_MALLOC_RUNTIME_INIT by default in SPL

2023-08-01 Thread Tom Rini
On Mon, Jul 31, 2023 at 06:33:27PM -0400, Sean Anderson wrote: > On boards with size restrictions, 1-2k can be a significant fraction of > the binary size. Add a new SPL version of SYS_MALLOC_RUNTIME_INIT and > enable it by default. > > Signed-off-by: Sean Anderson > --- > > Kconfig | 11

Re: [PATCH 1/1] common: fix detection of SYS_MALLOC_F_LEN=0x0

2023-08-01 Thread Tom Rini
On Tue, Aug 01, 2023 at 03:33:41PM +0200, Heinrich Schuchardt wrote: > CONFIG_$(SPL_TPL_)SYS_MALLOC_F_LEN is defined as hex. If set to zero > manually, .config contains '0x0' and not '0' as value. > > The default value for CONFIG_SPL_SYS_MALLOC_F_LEN should not be set to 0 > but to 0x0 if

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Tom Rini
On Tue, Aug 01, 2023 at 11:24:46AM +0300, Ilias Apalodimas wrote: > Hi Abdellatif > > On Mon, 31 Jul 2023 at 14:46, Abdellatif El Khlifi > wrote: > > > > Hi Ilias, > > > > On Mon, Jul 31, 2023 at 12:38:16PM +0300, Ilias Apalodimas wrote: > > > > > > > ... > > > > > > > Changelog: > > > > > > >

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

2023-08-01 Thread Frieder Schrempf
From: Frieder Schrempf There are plenty of cases where the OS wants to know where the persistent environment is stored in order to print or manipulate it. In most cases a userspace tool like libubootenv [1] is used to handle the environment. It uses hardcoded settings in a config file in the

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-08-01 Thread Devarsh Thakkar
Hi Tom, Simon, Thanks for sharing all the information. On 01/08/23 02:39, Simon Glass wrote: > Hi Tom, > > On Mon, 31 Jul 2023 at 15:06, Tom Rini wrote: >> >> On Mon, Jul 31, 2023 at 02:49:06PM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On Mon, 31 Jul 2023 at 14:45, Tom Rini wrote:

Re: [PATCH] arm: moxa: add nport6600 platform

2023-08-01 Thread Tom Rini
On Tue, Aug 01, 2023 at 01:11:28PM +0300, Sergei Antonov wrote: > On Mon, 31 Jul 2023 at 21:59, Tom Rini wrote: > > > > On Mon, Jul 31, 2023 at 09:43:29PM +0300, Sergei Antonov wrote: > > > > > Support for NPort 6600 Series RS-232/422/485 secure terminal servers. > > > > > > Technical

Re: Re: [PATCH] rockchip: rk3399: nanopc-t4: use 1600MHz sdram config

2023-08-01 Thread Lu jicong
> Does the 1866M worked for your board before? 1866M ddr blobs from rkbin works fine on my board, but TPL works bad every time. I have never encountered an exception of this result. > I think this config should be fine for other people, it has been > submit for 4 years. For another tester, this

Re: [PATCH 0/4] imx93: add DWC EQoS MAC driver support

2023-08-01 Thread Fabio Estevam
Hi Sébastien, On Thu, Jul 27, 2023 at 5:33 AM Sébastien Szymanski wrote: > > This series makes the DWC EQos MAC work on i.MX93. > It depends on the i.MX93 CCF driver: > https://lore.kernel.org/u-boot/20230725080856.26567-1-sebastien.szyman...@armadeus.com/ > > Tested on i.MX93 EVK board: >

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

2023-08-01 Thread Devarsh Thakkar
When passing framebuffer address using bloblist, check that passed address is overlapping with current relocation address, if so move the relocation address after the framebuffer region to avoid overlap. Fixes: 5bc610a7d9d ("common: board_f: Pass frame buffer info from SPL to u-boot")

Re: [PATCH v4 32/45] fs: fat: Support reading from a larger block size

2023-08-01 Thread Bin Meng
Hi Simon, On Tue, Aug 1, 2023 at 9:26 PM Simon Glass wrote: > > Hi Bin, > > On Mon, 31 Jul 2023 at 04:54, Bin Meng wrote: > > > > On Mon, Jul 31, 2023 at 6:33 PM Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Fri, Jul 28, 2023 at 7:56 AM Simon Glass wrote: > > > > > > > > Hi Bin, > > >

Re: [PATCH 00/18] video: bochs: Remove the x86 limitation

2023-08-01 Thread Bin Meng
On Tue, Aug 1, 2023 at 9:03 PM Anatolij Gustschin wrote: > > Hi Bin, > > On Mon, 31 Jul 2023 13:26:23 +0800 > Bin Meng bmeng...@gmail.com wrote: > ... > > Looks the first half is assigned to Anatolij and the second half to Rick. > > > > I guess the first half should go first. > > > > Ping for

[PATCH 1/1] common: fix detection of SYS_MALLOC_F_LEN=0x0

2023-08-01 Thread Heinrich Schuchardt
CONFIG_$(SPL_TPL_)SYS_MALLOC_F_LEN is defined as hex. If set to zero manually, .config contains '0x0' and not '0' as value. The default value for CONFIG_SPL_SYS_MALLOC_F_LEN should not be set to 0 but to 0x0 if CONFIG_SPL_FRAMEWORK=n to match a manually set value. Fixes: c0126bd862a0 ("spl:

Re: [PATCH v4 32/45] fs: fat: Support reading from a larger block size

2023-08-01 Thread Simon Glass
Hi Bin, On Mon, 31 Jul 2023 at 04:54, Bin Meng wrote: > > On Mon, Jul 31, 2023 at 6:33 PM Bin Meng wrote: > > > > Hi Simon, > > > > On Fri, Jul 28, 2023 at 7:56 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Wed, 19 Jul 2023 at 01:58, Bin Meng wrote: > > > > > > > > Hi Simon, > > >

Re: [PATCH] event: Fix an wrong type_name from dm_post_init to dm_post_init_f

2023-08-01 Thread Simon Glass
On Tue, 1 Aug 2023 at 04:17, Jaehoon Chung wrote: > > DM_POST_INIT was changed to DM_POST_INIT_F. > To debug correct message, change type_name from dm_post_init to > dm_post_init_f. > > Signed-off-by: Jaehoon Chung > --- > common/event.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v2 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-08-01 Thread Roger Quadros
On 01/08/2023 15:37, Nishanth Menon wrote: > On 15:27-20230731, Roger Quadros wrote: >> Hi, >> >> This series syncs AM64 DT files from Linux v6.5-rc1. >> >> NOTE: I have only boot tested this on AM64-GP-EVM. >> I would appreciate a tested-by for AM64-sk EVM. Thanks. >> >> cheers, >> -roger >>

Re: [PATCH v4 06/12] binman: capsule: Add support for generating capsules

2023-08-01 Thread Simon Glass
Hi Sughosh, On Tue, 1 Aug 2023 at 06:29, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 26 Jul 2023 at 04:06, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 20 Jul 2023 at 03:20, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Thu, 20 Jul 2023 at 00:41, Simon Glass wrote: > >

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

2023-08-01 Thread Nishanth Menon
On 15:27-20230731, 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. > - drop cpsw3g custom DT

Re: [PATCH 00/18] video: bochs: Remove the x86 limitation

2023-08-01 Thread Anatolij Gustschin
Hi Bin, On Mon, 31 Jul 2023 13:26:23 +0800 Bin Meng bmeng...@gmail.com wrote: ... > Looks the first half is assigned to Anatolij and the second half to Rick. > > I guess the first half should go first. > > Ping for apply? I've applied patches 1/18 to 9/18 now, a pull request is pending. --

Re: [PATCH 09/18] video: bochs: Set the frame buffer size per configuration

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:32 +0800 Bin Meng bm...@tinylab.org wrote: > At present the uclass stored frame buffer size is set to a hard > coded value, but we can calculate the correct value based on what > is configured. > > Signed-off-by: Bin Meng > --- > > drivers/video/bochs.c | 4 ++-- > 1

Re: [PATCH 08/18] video: kconfig: Set default FB size for Bochs

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:31 +0800 Bin Meng bm...@tinylab.org wrote: > Set up a default frame buffer size of 8MiB for Bochs for non-x86 > architecturs as PCI is normally not enumerated before relocation > on these architectures. > > Signed-off-by: Bin Meng > --- > > drivers/video/Kconfig | 6

Re: [PATCH 07/18] video: kconfig: Drop the superfluous dependency

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:30 +0800 Bin Meng bm...@tinylab.org wrote: > PCI is always selected by X86 architecture hence "X86 && PCI" does > not make it better. > > Signed-off-by: Bin Meng > --- > > drivers/video/Kconfig | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) applied

Re: [PATCH 06/18] video: kconfig: Fix wrong text for the PCI default FB size

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:29 +0800 Bin Meng bm...@tinylab.org wrote: > There is an example in the VIDEO_PCI_DEFAULT_FB_SIZE help text to > tell people how to calculate its value but the resolution given > does not match the value. Fix it. > > Signed-off-by: Bin Meng > --- > >

Re: [PATCH 04/18] video: bochs: Avoid using IO instructions to access VGA IO port

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:27 +0800 Bin Meng bm...@tinylab.org wrote: > At present the driver uses IO instructions to access the legacy > VGA IO ports, which unfortunately limits the driver to work only > on x86. It turns out the IO instruction is not necessary as Bochs > VGA card remaps the

Re: [PATCH 02/18] video: bochs: Drop inclusion of

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:25 +0800 Bin Meng bm...@tinylab.org wrote: > The driver does not call any MTRR APIs. > > Signed-off-by: Bin Meng > --- > > drivers/video/bochs.c | 1 - > 1 file changed, 1 deletion(-) applied to u-boot-video/master, thanks! -- Anatolij

Re: [PATCH 01/18] dm: video: Cosmetic style fix

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:24 +0800 Bin Meng bm...@tinylab.org wrote: > Some coding convention fixes for video_post_bind(). > > Signed-off-by: Bin Meng > --- > > drivers/video/video-uclass.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) applied to u-boot-video/master, thanks!

Please pull u-boot-video

2023-08-01 Thread Anatolij Gustschin
-boot/custodians/u-boot-rockchip (2023-07-31 11:33:51 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230801 for you to fetch changes up to b8d3a6c7d12fc6101f99cde0acedb4a799fdb5f3: drivers: video: tidss: tidss_drv: Use

Re: [PATCH v2 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-08-01 Thread Nishanth Menon
On 15:27-20230731, Roger Quadros wrote: > Hi, > > This series syncs AM64 DT files from Linux v6.5-rc1. > > NOTE: I have only boot tested this on AM64-GP-EVM. > I would appreciate a tested-by for AM64-sk EVM. Thanks. > > cheers, > -roger > > Changelog: > > v2: > - Sync with v6.5-rc1 > - Rebase

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

2023-08-01 Thread Nishanth Menon
On 15:27-20230731, 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. As we discussed in IRC, we

Re: [PATCH v4 06/12] binman: capsule: Add support for generating capsules

2023-08-01 Thread Sughosh Ganu
hi Simon, On Wed, 26 Jul 2023 at 04:06, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 20 Jul 2023 at 03:20, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Thu, 20 Jul 2023 at 00:41, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Wed, 19 Jul 2023 at 02:42, Sughosh Ganu > > >

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Jens Wiklander
Hi Abdellatif, On Mon, Jul 31, 2023 at 1:46 PM Abdellatif El Khlifi wrote: > > Hi Ilias, > > On Mon, Jul 31, 2023 at 12:38:16PM +0300, Ilias Apalodimas wrote: > > > > > > ... > > > > > > Changelog: > > > > > > === > > > > > > > > > > > > v17: > > > > > > > > > > > > * show a debug

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2023-08-01 Thread Oliver Graute
On 01/08/23, Oliver Graute wrote: > On 14/02/23, Ying-Chun Liu (PaulLiu) wrote: > > From: Marc Zyngier > > > > In the add_map() function, for each level it populates, it iterates from > > the root of the PT tree, making it ineficient if a mapping needs to occur > > past level 1. > > > >

Data abort when starting DFU on SAMA5D2

2023-08-01 Thread Alexis Lothoré
Hi, I am currently using an ATSAMA5D27-WLSOM1-EK1. This boards embeds an ATSAMA5D27-WLSOM1, which in turns holds an ATSAMA5D27 and a 8MB QSPI flash. I have been wanting to program u-boot in the QSPI flash thanks to DFU, since the board is able to boot from QSPI and is supported in uboot. To do so,

Re: [PATCH v2 05/10] usb: dwc3: Increase DWC3 controller halt timeout

2023-08-01 Thread Marek Vasut
On 8/1/23 09:28, Eugen Hristev wrote: Since EP0 transactions need to be completed before the controller halt sequence is finished, this may take some time depending on the host and the enabled functions. Increase the controller halt timeout, so that we give the controller sufficient time to

Re: [PATCH v2 04/10] usb: dwc3: core: Only handle soft-reset in DCTL

2023-08-01 Thread Marek Vasut
On 8/1/23 09:28, Eugen Hristev wrote: From: Venkatesh Yadav Abbarapu [ Nguyen/Greg: Ported from Linux kernel commit f4fd84ae0765a ("usb: dwc3: core: Only handle soft-reset in DCTL") ] Make sure not to set run_stop bit or link state change request while initiating soft-reset. Register

Re: [PATCH v2 03/10] usb: dwc3: gadget: Don't send unintended link state change

2023-08-01 Thread Marek Vasut
On 8/1/23 09:28, Eugen Hristev wrote: From: Venkatesh Yadav Abbarapu [ Nguyen/Felipe/Greg: Ported from Linux kernel commit 5b738211fb59 ("usb: dwc3: gadget: Don't send unintended link state change") ] DCTL.ULSTCHNGREQ is a write-only field. When doing a

Re: [PATCH v2 02/10] usb: dwc3: core: improve reset sequence

2023-08-01 Thread Marek Vasut
On 8/1/23 09:28, Eugen Hristev wrote: From: Venkatesh Yadav Abbarapu [ Felipe: Ported from Linux kernel commit f59dcab17629 ("usb: dwc3: core: improve reset sequence") ] According to Synopsys Databook, we shouldn't be relying on GCTL.CORESOFTRESET bit as that's only for debugging

Re: [PATCH] fs: btrfs: Prevent error pointer dereference in list_subvolums()

2023-08-01 Thread Dan Carpenter
On Tue, Aug 01, 2023 at 11:05:11AM +0200, Marek Behún wrote: > nice catch :) Dan, I always wanted to ask, since I've seen many such > "nice catches" over different subsystems from you. Do you write some > tools to find these? Or do you use coccinelle, or something? > Thanks! I'm using Smatch.

Re: [PATCH 2/2] drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video

2023-08-01 Thread Devarsh Thakkar
On 27/07/23 12:01, Jain, Nikhil wrote: > Perform removal of DSS if kconfigs VIDEO_REMOVE or SPL_VIDEO_REMOVE is > set by user. Otherwise if above Kconfigs are not selected, it is assumed > that user wants splash screen to be displayed until linux kernel boots > up. In such scenario, leave the

[PATCH] event: Fix an wrong type_name from dm_post_init to dm_post_init_f

2023-08-01 Thread Jaehoon Chung
DM_POST_INIT was changed to DM_POST_INIT_F. To debug correct message, change type_name from dm_post_init to dm_post_init_f. Signed-off-by: Jaehoon Chung --- common/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/event.c b/common/event.c index

Re: [PATCH] arm: moxa: add nport6600 platform

2023-08-01 Thread Sergei Antonov
On Mon, 31 Jul 2023 at 21:59, Tom Rini wrote: > > On Mon, Jul 31, 2023 at 09:43:29PM +0300, Sergei Antonov wrote: > > > Support for NPort 6600 Series RS-232/422/485 secure terminal servers. > > > > Technical specifications: > > FA526 ARMv4 CPU, 64 MB of RAM, 16 MB NOR flash, 100 Mbit/s Ethernet,

Re: [PATCH 1/2] drivers: video: tidss: tidss_drv: Change remove method

2023-08-01 Thread Devarsh Thakkar
On 27/07/23 12:01, Jain, Nikhil wrote: > Change remove method of DSS video driver to disable video port instead > of performing a soft reset, as soft reset takes longer duration. Video > port is disabled by setting enable bit of video port to 0. > > Signed-off-by: Nikhil M Jain Reviewed-by:

Please pull u-boot-marvell/master

2023-08-01 Thread Stefan Roese
Hi Tom, please pull the following, partly Marvell MVEBU related patches into master: - i2c-gpio: Correctly handle new {sda, scl}-gpios bindings (Chris) - mvebu: x240: Use i2c-gpio instead of built in controller (Chris)

Re: [PATCH v2 1/2] i2c: i2c-gpio: Correctly handle new {sda, scl}-gpios bindings

2023-08-01 Thread Stefan Roese
On 7/26/23 01:13, Chris Packham wrote: gpio_request_list_by_name() returns the number of gpios requested. Notably it swallows the underlying -ENOENT when the "gpios" property does not exist. Update the i2c-gpio driver to check for ret == 0 before trying the new sda-gpios/scl-gpios properties.

Re: [PATCH v2 2/2] arm: mvebu: x240: Use i2c-gpio instead of built in controller

2023-08-01 Thread Stefan Roese
On 7/26/23 01:13, Chris Packham wrote: There is an Errata with the built-in I2C controller where various I2C hardware errors cause a complete lockup of the CPU (which eventually results in an watchdog reset). Put the I2C MPP pins into GPIO mode and use the i2c-gpio driver instead. This uses a

Re: [PATCH] fs: btrfs: Prevent error pointer dereference in list_subvolums()

2023-08-01 Thread Qu Wenruo
On 2023/7/26 14:59, Dan Carpenter wrote: If btrfs_read_fs_root() fails with -ENOENT, then we go to the next entry. Fine. But if it fails for a different reason then we need to clean up and return an error code. In the current code it doesn't clean up but instead dereferences "root" and

Re: [PATCH] fs: btrfs: Prevent error pointer dereference in list_subvolums()

2023-08-01 Thread Marek Behún
On Wed, 26 Jul 2023 09:59:04 +0300 Dan Carpenter wrote: > If btrfs_read_fs_root() fails with -ENOENT, then we go to the next > entry. Fine. But if it fails for a different reason then we need > to clean up and return an error code. In the current code it > doesn't clean up but instead

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2023-08-01 Thread Oliver Graute
On 14/02/23, Ying-Chun Liu (PaulLiu) wrote: > From: Marc Zyngier > > In the add_map() function, for each level it populates, it iterates from > the root of the PT tree, making it ineficient if a mapping needs to occur > past level 1. > > Instead, replace it with a recursive (and much simpler)

Re: [PATCH v3] board: rockchip: Add Radxa E25 Carrier Board

2023-08-01 Thread Jonas Karlman
Hi, On 2023-07-31 11:27, FUKAUMI Naoki wrote: > hi, > > one thing in defconfig, > > On 7/30/23 21:30, Jonas Karlman wrote: >> Radxa E25 is a network application carrier board for the Radxa CM3I SoM >> with a RK3568 SoC. It features dual 2.5G ethernet, mini PCIe, M.2 B Key, >> USB3, eMMC, SD,

Re: [PATCH v3] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-08-01 Thread Jonas Karlman
On 2023-07-31 03:11, Andy Yan wrote: > > Hi Jonas: > Thanks for you kindly review。 > > At 2023-07-30 21:22:36, "Jonas Karlman" wrote: >> Hi Andy, >> >> On 2023-07-29 13:58, Andy Yan wrote: >>> LubanCat2 is a rk3568 based SBC from EmbedFire. >>> >>> Specification: >>> - Rockchip rk3568 >>> -

Re: [PATCH] i2c: mvtwsi: reset controller if stuck in "bus error" state

2023-08-01 Thread Stefan Roese
On 7/26/23 00:13, Sam Edwards wrote: The MVTWSI controller can act either as a master or slave device. When acting as a master, the FSM is driven by the CPU. As a slave, the FSM is driven by the bus directly. In what is (apparently) a safety mechanism, if the bus transitions our FSM in any

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Ilias Apalodimas
Hi Abdellatif On Mon, 31 Jul 2023 at 14:46, Abdellatif El Khlifi wrote: > > Hi Ilias, > > On Mon, Jul 31, 2023 at 12:38:16PM +0300, Ilias Apalodimas wrote: > > > > > > ... > > > > > > Changelog: > > > > > > === > > > > > > > > > > > > v17: > > > > > > > > > > > > * show a debug

[PATCH v2 10/10] configs: rockchip: rock5b-rk3588: enable DFU and related configs

2023-08-01 Thread Eugen Hristev
Enable DFU and related configs, expand stack and buffers to hold downloaded image. Signed-off-by: Eugen Hristev --- Changes in v2: - added # CONFIG_SPL_BINMAN_UBOOT_SYMBOLS is not set because with the configs enabled here, this is automatically set as =y and this causes a build failure.

[PATCH v2 09/10] rockchip: rk3588: prepare env for DFU

2023-08-01 Thread Eugen Hristev
Prepare env variables for DFU Signed-off-by: Eugen Hristev --- include/configs/rk3588_common.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/configs/rk3588_common.h b/include/configs/rk3588_common.h index 46389d087d29..48414fe946a0 100644 ---

[PATCH v2 08/10] ARM: mach-rockchip: rk3588: add gadget device to the boot order

2023-08-01 Thread Eugen Hristev
In case SPL was booted from USB, add the gadget as the boot device for the 'same-as-spl' boot order next device. Signed-off-by: Eugen Hristev --- arch/arm/mach-rockchip/rk3588/rk3588.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/rk3588/rk3588.c

[PATCH v2 07/10] ARM: mach-rockchip: spl-boot-order: add possibility to DFU

2023-08-01 Thread Eugen Hristev
Add DFU as a possible SPL boot media if the boot device is a gadget device. Signed-off-by: Eugen Hristev --- arch/arm/mach-rockchip/spl-boot-order.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c index

[PATCH v2 05/10] usb: dwc3: Increase DWC3 controller halt timeout

2023-08-01 Thread Eugen Hristev
Since EP0 transactions need to be completed before the controller halt sequence is finished, this may take some time depending on the host and the enabled functions. Increase the controller halt timeout, so that we give the controller sufficient time to handle EP0 transfers. Signed-off-by:

[PATCH v2 06/10] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add bootph-all to gadget nodes

2023-08-01 Thread Eugen Hristev
Add bootph-all to gadget nodes to have the gadget available in SPL. Signed-off-by: Eugen Hristev --- arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi b/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi index

[PATCH v2 04/10] usb: dwc3: core: Only handle soft-reset in DCTL

2023-08-01 Thread Eugen Hristev
From: Venkatesh Yadav Abbarapu [ Nguyen/Greg: Ported from Linux kernel commit f4fd84ae0765a ("usb: dwc3: core: Only handle soft-reset in DCTL") ] Make sure not to set run_stop bit or link state change request while initiating soft-reset. Register read-modify-write operation may

[PATCH v2 03/10] usb: dwc3: gadget: Don't send unintended link state change

2023-08-01 Thread Eugen Hristev
From: Venkatesh Yadav Abbarapu [ Nguyen/Felipe/Greg: Ported from Linux kernel commit 5b738211fb59 ("usb: dwc3: gadget: Don't send unintended link state change") ] DCTL.ULSTCHNGREQ is a write-only field. When doing a read-modify-write to DCTL, the driver

[PATCH v2 02/10] usb: dwc3: core: improve reset sequence

2023-08-01 Thread Eugen Hristev
From: Venkatesh Yadav Abbarapu [ Felipe: Ported from Linux kernel commit f59dcab17629 ("usb: dwc3: core: improve reset sequence") ] According to Synopsys Databook, we shouldn't be relying on GCTL.CORESOFTRESET bit as that's only for debugging purposes. Instead, let's use DCTL.CSFTRST

[PATCH v2 01/10] rockchip: allow env defines for SPL build

2023-08-01 Thread Eugen Hristev
For environment in SPL, all these defines are required, otherwise build fails: [...] include/env_default.h:120:9: note: in expansion of macro ‘CFG_EXTRA_ENV_SETTINGS’ 120 | CFG_EXTRA_ENV_SETTINGS | ^~ In file included from env/common.c:32: [...]

[PATCH v2 00/10] rockchip: rk3588: add support for DFU in SPL

2023-08-01 Thread Eugen Hristev
This series adds support for DFU in SPL for rockchip rk3588 on rock5b board. Namely, when SPL is loaded via rockusb (thus via USB), having the `same-as-spl` boot order item, after having detected that it was loaded from USB, it will lookup the gadget USB node in DT and boot via DFU. Some changes

[PATCH v4 2/2] xilinx: board: Add support to pick bootscr address from DT

2023-08-01 Thread Michal Simek
From: Algapally Santosh Sagar The bootscript is expected at a default address specific to each platform. When high speed memory like Programmable Logic Double Data Rate RAM (PL DDR RAM) or Higher Bandwidth Memory RAM (HBM) is used the boot.scr may be loaded at a different offset. The offset

  1   2   >