Re: [PATCH v4 10/17] board: starfive: add StarFive VisionFive v2 board support

2023-03-21 Thread Leo Liang
Hi YanHong, There are some errors when "make htmldocs". I thought v4 was the final patch set and these are minor build errors, so I have fixed them up on my side. Now that since you are adding new defconfig and spinning a v5 patch set, could you also fix those build errors that came from "make

Re: [PATCH v4 16/17] riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree

2023-03-21 Thread yanhong wang
On 2023/3/21 5:25, Conor Dooley wrote: > On Thu, Mar 16, 2023 at 10:53:31AM +0800, Yanhong Wang wrote: >> Add initial device tree for StarFive VisionFive v2 board. >> >> Signed-off-by: Yanhong Wang >> Tested-by: Conor Dooley > > btw, are you running some sort of cc suppression argument to >

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-21 Thread yanhong wang
On 2023/3/21 21:51, Andreas Schwab wrote: > On Mär 21 2023, yanhong wang wrote: > >> Except for CONFIG_DEFAULT_DEVICE_TREE and CONFIG_DEFAULT_FDT_FILE, >> 1.2a and 1.3b versions use the same config. >> >> Version 1.3b uses the following configuration: >>

Re: [PATCH 1/3] net: mvpp2: Replace PHY_INTERFACE_MODE_SGMII_2500 with SGMII and speed

2023-03-21 Thread Marek Vasut
On 3/19/23 20:45, Marek Behún wrote: On Sun, 19 Mar 2023 18:06:45 +0100 Marek Vasut wrote: Replace PHY_INTERFACE_MODE_SGMII_2500 with PHY_INTERFACE_MODE_SGMII and phydev->speed check where applicable. The PHY_INTERFACE_MODE_SGMII_2500 does not exist in Linux, so remove it from U-Boot too.

Re: [PATCH 1/2] Dockerfile: Add m68k-softmmu to qemu

2023-03-21 Thread Marek Vasut
On 3/21/23 20:31, Tom Rini wrote: Given efforts to add an m68k target to CI, build qemu for it. Signed-off-by: Tom Rini --- Cc: Marek Vasut Reviewed-by: Marek Vasut +CC Angelo too.

Re: [PATCH v3 3/4] efi_loader: check lowest supported version in capsule update

2023-03-21 Thread Masahisa Kojima
On Tue, 21 Mar 2023 at 15:42, Heinrich Schuchardt wrote: > > On 3/20/23 06:54, Masahisa Kojima wrote: > > The FMP Payload Header which EDK2 capsule generation scripts > > insert contains lowest supported version. > > This commit reads the lowest supported version stored in the > > "FmpState"

Re: [PATCH v3 1/4] efi_loader: store firmware version into FmpState variable

2023-03-21 Thread Masahisa Kojima
On Tue, 21 Mar 2023 at 15:30, Heinrich Schuchardt wrote: > > On 3/20/23 06:54, Masahisa Kojima wrote: > > Firmware version management is not implemented in the current > > FMP protocol. > > EDK2 reference implementation capsule generation script inserts > > the FMP Payload Header right before the

[PATCH v2 3/4] rockchip: rk35xx: Fix boot with a large fdt blob

2023-03-21 Thread Jonas Karlman
The TF-A blobs used to boot RK3568 and RK3588 boards is based on atf v2.3. Mainline atf v2.3 contains an issue that could lead to a crash when it fails to parse the fdt blob being passed as the platform param. An issue that was fixed in atf v2.4. The vendor TF-A seem to suffer from a similar

[PATCH v2 4/4] rockchip: rk35xx: Enable fdtoverlay and kernel compression

2023-03-21 Thread Jonas Karlman
Add fdtoverlay_addr_r, kernel_comp_addr_r and imply use of OF_LIBFDT_OVERLAY on RK3568 and RK3588 to support fdtoverlay and kernel compression. Signed-off-by: Jonas Karlman Reviewed-by: Simon Glass --- v2: - Drop parts that convert to use bootstd - Collect r-b tag

[PATCH v2 2/4] rockchip: rk3588-rock-5b: Fix sdmmc boot

2023-03-21 Thread Jonas Karlman
Running U-Boot from a SD-card on ROCK 5 Model B fails to load atf using DMA and prints debug_uart messages. U-Boot SPL 2023.04-rc3 (Mar 12 2023 - 00:30:16 +) Trying to boot from MMC1 ## Checking hash(es) for config config-1 ... OK ## Checking hash(es) for Image atf-1 ...

[PATCH v2 1/4] rockchip: Use an external TPL binary on RK3588

2023-03-21 Thread Jonas Karlman
There is no support to initialize DRAM on RK3588 SoCs using U-Boot TPL and instead an external TPL binary must be used to generate a bootable u-boot-rockchip.bin image. Enable ROCKCHIP_EXTERNAL_TPL by default for RK3588, add build steps for RK3588 to documentation and clean up CONFIG_BINMAN_FDT

[PATCH v2 0/4] rockchip: Fixes for RK3568 and RK3588

2023-03-21 Thread Jonas Karlman
This series contains fixes for RK3568 and RK3588. Patch 1 imply use of ROCKCHIP_TPL for RK3588 to generate bootable firmware image. Patch 2 fixes sdmmc boot on rk3588-rock-5b. Patch 3 fixes boot of rk3568-rock-3a, an issue introduced in v1. Patch 4 add fdtoverlay and compressed kernel addresses

[PATCH v3 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-03-21 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the latest Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v1->v3: - Bundle with the iproc nand and algo select patches ---

[PATCH v3 4/5] arm: Add support for the Broadcom Northstar SoCs

2023-03-21 Thread Linus Walleij
The original Northstar is an ARM SoC series that comprise BCM4709x and BCM5301x and uses a dual-core Cortex A9, the global timer and a few other things. This series should not be confused with North Star Plus (NSP) which is partly supported by U-Boot already. The SoC is well supported by the

[PATCH v3 5/5] board: Add new Broadcom Northstar board

2023-03-21 Thread Linus Walleij
This adds a simple Northstar "BRCMNS" board to be used with the BCM4709x and BCM5301x chips. The main intention is to use this with the D-Link DIR-890L and DIR-885L routers for loading the kernel into RAM from NAND memory using the BCH-1 ECC and using the separately submitted SEAMA load command,

[PATCH v3 1/5] nand: brcmnand: add iproc support

2023-03-21 Thread Linus Walleij
Add support for the iproc Broadcom NAND controller, used in Northstar SoCs for example. Based on the Linux driver. Cc: Philippe Reynes Cc: Dario Binacchi Acked-by: William Zhang Reviewed-by: Michael Trimarchi Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collect William Zhang's ACK -

[PATCH v3 2/5] mtd: rawnand: nand_base: Handle algorithm selection

2023-03-21 Thread Linus Walleij
For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the D-Link DIR-885L and DIR-890L routers, we need to explicitly select the ECC like this in the device tree: nand-ecc-algo = "bch"; nand-ecc-strength = <1>; nand-ecc-step-size = <512>; This is handled by the Linux kernel but U-Boot

[PATCH v3 0/5] Add Broadcom Northstar basic support

2023-03-21 Thread Linus Walleij
This adds the device trees and minimal code needed to run U-Boot on Broadcom Northstar SoCs. This is needed to properly boot the D-Link DIR-890L router as it refuse to directly boot compressed kernels bigger than 2MB, and well our compressed kernel is bigger than 2MB so let's put in U-Boot.

Re: [PATCH 3/3] board: Add new Broadcom Northstar board

2023-03-21 Thread Linus Walleij
On Fri, Feb 10, 2023 at 6:49 PM Tom Rini wrote: > On Thu, Feb 02, 2023 at 12:37:45AM +0100, Linus Walleij wrote: > > > This adds a simple Northstar "BRCMNS" board to be used with > > the BCM4709x and BCM5301x chips. > > > > The main intention is to use this with the D-Link DIR-890L > > and

Re: [PATCH 2/3] CI: Ensure that vpl test is run

2023-03-21 Thread Tom Rini
On Tue, Feb 28, 2023 at 08:34:20PM -0700, Simon Glass wrote: > This is actually skipped at present due to the condition in the file. > Fix this by running all vpl tests. > > Signed-off-by: Simon Glass > --- > > .azure-pipelines.yml | 2 +- > .gitlab-ci.yml | 2 +- > 2 files changed, 2

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Pali Rohár
On Tuesday 21 March 2023 20:56:02 Pali Rohár wrote: > On Tuesday 21 March 2023 18:25:56 Pali Rohár wrote: > > On Tuesday 21 March 2023 08:34:24 Martin Rowe wrote: > > > On Mon, 20 Mar 2023 at 21:33, Pali Rohár wrote: > > > > > > > On Monday 20 March 2023 18:45:01 Pali Rohár wrote: > > > > > On

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Pali Rohár
On Tuesday 21 March 2023 18:25:56 Pali Rohár wrote: > On Tuesday 21 March 2023 08:34:24 Martin Rowe wrote: > > On Mon, 20 Mar 2023 at 21:33, Pali Rohár wrote: > > > > > On Monday 20 March 2023 18:45:01 Pali Rohár wrote: > > > > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > > > > On

Re: [PATCH] efi_loader: define allow_unaligned as 'asm volatile'

2023-03-21 Thread Heinrich Schuchardt
On 3/20/23 18:13, Ilias Apalodimas wrote: Tom reports that compiling with LTO & EFI breaks armv7 and arm11* builds. The reason is that LTO (maybe a binutils bug?) replaces the asm version of allow_unaligned() with the __weak definition of the function. As a result EFI code ends up running with

[PATCH 1/2] Dockerfile: Add m68k-softmmu to qemu

2023-03-21 Thread Tom Rini
Given efforts to add an m68k target to CI, build qemu for it. Signed-off-by: Tom Rini --- Cc: Marek Vasut --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index fdcb0c7f3d29..2d94ed9fbacf 100644

[PATCH 2/2] Dockerfile: Update to latest "Jammy" tag

2023-03-21 Thread Tom Rini
Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 2d94ed9fbacf..bd02531be249 100644 --- a/tools/docker/Dockerfile +++

[PATCH] CI: Move to clang-16

2023-03-21 Thread Tom Rini
As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini --- .azure-pipelines.yml| 6 +++--- .gitlab-ci.yml | 4 ++-- tools/docker/Dockerfile | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines.yml

Re: [PATCH 01/41] net: phy: aquantia: Staticize PHY driver entries

2023-03-21 Thread Vladimir Oltean
On Tue, Mar 21, 2023 at 03:39:16PM +0100, Michal Simek wrote: > Would be good if you also create cover letter which I can reply. > I have tested this series on Microblaze which is also using MANUAL > relocation (but we are removing it from 2023.07 release) and it is working > fine. Agree that a

[PATCH v2 2/3] net: mvpp2: Replace PHY_INTERFACE_MODE_SFI with 5GBASER/10GBASER/XAUI

2023-03-21 Thread Marek Vasut
Replace PHY_INTERFACE_MODE_SFI with PHY_INTERFACE_MODE_5GBASER, PHY_INTERFACE_MODE_10GBASER and PHY_INTERFACE_MODE_XAUI to match Linux PHY interface modes. Signed-off-by: Marek Vasut --- Cc: "Ariel D'Alessandro" Cc: "Marek Behún" Cc: Joe Hershberger Cc: Marek Vasut Cc: Ramon Fried Cc:

[PATCH v2 3/3] net: phy: Synchronize PHY interface modes with Linux

2023-03-21 Thread Marek Vasut
Synchronize PHY interface modes with Linux next 6.2.y commit: 0194b64578e90 ("net: phy: improve phy_read_poll_timeout") Retain LX2160A/LX2162A PHY modes as those are not yet supported by the Linux kernel, but isolate those with ifdeffery. Isolate NCSI which are also not supported by Linux

[PATCH v2 1/3] net: mvpp2: Drop PHY_INTERFACE_MODE_SGMII_2500 support

2023-03-21 Thread Marek Vasut
This mode does not seem to be well defined and used anywhere, remove support for it. Based on discussion: - 1000baseX does c37 AN of duplex+pause - SGMII does AN of duplex+pause+speed, at lower speed bytes are repeated 10x/100x - 2500baseX does not do AN, or does very different c73 AN - SGMII

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Pali Rohár
On Tuesday 21 March 2023 08:34:24 Martin Rowe wrote: > On Mon, 20 Mar 2023 at 21:33, Pali Rohár wrote: > > > On Monday 20 March 2023 18:45:01 Pali Rohár wrote: > > > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > > > On Sun, 19 Mar 2023 at 18:20, Pali Rohár wrote: > > > > > > > > > On

Re: [PATCH] serial: zynqmp: Fetch baudrate from dtb and update

2023-03-21 Thread Tom Rini
On Tue, Mar 14, 2023 at 02:16:27PM +0530, Venkatesh Yadav Abbarapu wrote: > From: Algapally Santosh Sagar > > The baudrate configured in .config is taken by default by serial. If > change of baudrate is required then the .config needs to changed and > u-boot recompilation is required or the

[PATCH 1/3] dm: adc: add iMX93 ADC support

2023-03-21 Thread Luca Ellero
This commit adds driver for iMX93 ADC. The driver is implemented using driver model and provides ADC uclass's methods for ADC single channel operations: - adc_start_channel() - adc_channel_data() - adc_stop() ADC features: - channels: 4 - resolution: 12-bit Signed-off-by:

[PATCH 3/3] imx93_evk: defconfig: add adc support

2023-03-21 Thread Luca Ellero
iMX93 ADC features: - 4 channels - 12 bit resolution Signed-off-by: Luca Ellero --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 477fb25807..fa929dd4ec 100644 ---

[PATCH 2/3] imx93_evk: add adc node to dts file

2023-03-21 Thread Luca Ellero
This node uses imx93_adc driver under drivers/adc. The node is added keeping dts file in sync with iMX9 evk Linux devicetree. Signed-off-by: Luca Ellero --- arch/arm/dts/imx93-11x11-evk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx93-11x11-evk.dts

[PATCH v5 0/3] imx93: add ADC support

2023-03-21 Thread Luca Ellero
Add ADC support for NXP iMX93 Changes for v2: - add "static" to functions - enable ADC in iMX93 EVK Changes for v3: - split in 3 commits - keep dts file in sync with Linux devicetree - add comments to commits Changes for v4: - add imx93_adc_power_down() in imx93_adc_stop() Changes for v5: -

Re: [PATCH v2 01/10] arm: dts: introduce j784s4 dtbs from linux kernel

2023-03-21 Thread Bryan Brattlof
Hi Hari! On March 21, 2023 thus sayeth Hari Nagalla: > Introduce the basic j784s4 SoC dtbs from the linux kernel along with > the new j784s4 specific pinmux definitions that we will use to generate > the dtbs for the u-boot-spl and u-boot binaries. > We should probably specify which kernel

Re: [PULL] u-boot-sh/master

2023-03-21 Thread Tom Rini
On Mon, Mar 20, 2023 at 11:51:26PM +0100, Marek Vasut wrote: > A single reset controller driver (part of the clock driver) fix > for v2023.04 release. > > The following changes since commit 318af47668aa2347ca9bbf2114cb9af1d8739aca: > > Merge branch 'master' of >

Re: [PATCH] fs: fat: do not mangle short filenames

2023-03-21 Thread Tom Rini
On Tue, Mar 21, 2023 at 04:53:22PM +0100, Stefan Herbrechtsmeier wrote: > > Am 21.03.2023 um 16:35 schrieb Tom Rini: > > On Tue, Mar 21, 2023 at 08:43:07AM +0100, Stefan Herbrechtsmeier wrote: > > > Am 20.03.2023 um 18:01 schrieb Tom Rini: > > > > On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan

Re: [PATCH] fs: fat: do not mangle short filenames

2023-03-21 Thread Stefan Herbrechtsmeier
Am 21.03.2023 um 16:35 schrieb Tom Rini: On Tue, Mar 21, 2023 at 08:43:07AM +0100, Stefan Herbrechtsmeier wrote: Am 20.03.2023 um 18:01 schrieb Tom Rini: On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Do not mangle lower or mixed case

Re: [PATCH v2 03/10] arm: K3: Add basic support for J784S4 SoC definition

2023-03-21 Thread Tom Rini
On Tue, Mar 21, 2023 at 09:10:21AM -0500, Hari Nagalla wrote: Please include at least the usual one line summary here. [snip] > diff --git a/include/configs/j784s4_evm.h b/include/configs/j784s4_evm.h > new file mode 100644 > index 00..3e429fb036 > --- /dev/null > +++

Re: [PATCH v2 02/10] arm: dts: introduce j784s4 u-boot dtbs

2023-03-21 Thread Tom Rini
On Tue, Mar 21, 2023 at 09:10:20AM -0500, Hari Nagalla wrote: > Introduce the base dts files needed for u-boot or to augment the linux > dtbs for use in the u-boot-spl and u-boot binaries. > > Signed-off-by: Apurva Nandan > Signed-off-by: Hari Nagalla > --- > arch/arm/dts/Makefile

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

2023-03-21 Thread Tom Rini
On Sun, Mar 19, 2023 at 02:52:22PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the fixes for rockchip platform: > - Fix for rockchip timer driver; > - Fix for rk3568 and rk3588 boot device and clock driver; > - Fix for rk3568 reset handler; > - Fix for rk3568 sdhci DLL at 52MHz; > > CI:

Re: [PULL] u-boot-sh/next

2023-03-21 Thread Tom Rini
On Sat, Mar 18, 2023 at 05:52:50PM +0100, Marek Vasut wrote: > The following changes since commit cefd0449d6df77eb0edb8a6800a441f9cd4e3653: > > Merge tag 'xilinx-for-v2023.07-rc1' of > https://source.denx.de/u-boot/custodians/u-boot-microblaze into next > (2023-03-16 12:18:30 -0400) > > are

Re: [PATCH] fs: fat: do not mangle short filenames

2023-03-21 Thread Tom Rini
On Tue, Mar 21, 2023 at 08:43:07AM +0100, Stefan Herbrechtsmeier wrote: > Am 20.03.2023 um 18:01 schrieb Tom Rini: > > On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan Herbrechtsmeier wrote: > > > > > From: Stefan Herbrechtsmeier > > > > > > Do not mangle lower or mixed case filenames which fit

Re: [PATCH] include: configs: am65x_evm: Change to using .env

2023-03-21 Thread Tom Rini
On Tue, Mar 21, 2023 at 06:23:30PM +0530, Nikhil M Jain wrote: > Move to using .env file for setting up environment variables for am65x. > > Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] fdt: Make fdt addr -q quieter

2023-03-21 Thread Marek Vasut
On 3/21/23 14:01, Peter Hoyes wrote: From: Peter Hoyes 64597346 "fdt: Add -q option to fdt addr for distro_bootcmd" introduced the -q option for fdt addr, which sets the current working fdt address without printing any output. baf41410 "fdt: Show a message when the working FDT changes" made

Re: [PATCH] serial: zynqmp: Fetch baudrate from dtb and update

2023-03-21 Thread Michal Simek
Hi Simon and Tom, On 3/14/23 09:46, Venkatesh Yadav Abbarapu wrote: From: Algapally Santosh Sagar The baudrate configured in .config is taken by default by serial. If change of baudrate is required then the .config needs to changed and u-boot recompilation is required or the u-boot

Re: [PATCH] configs: am62ax: enable secure device configs by default

2023-03-21 Thread Kamlesh Gurudasani
Bryan Brattlof writes: > TI's security enforcing SoCs will authenticate each binary it loads by > comparing it's signature with keys etched into the SoC during the boot > up process. The am62ax family of SoCs by default will have some level of > security enforcement checking. To keep things as

Re: [PATCH 01/41] net: phy: aquantia: Staticize PHY driver entries

2023-03-21 Thread Michal Simek
Hi, On 3/19/23 18:02, Marek Vasut wrote: These struct phy_driver ... instances are local to this source code file, staticize them. No functional change. Signed-off-by: Marek Vasut --- Cc: "Ariel D'Alessandro" Cc: "Cédric Le Goater" Cc: "Marek Behún" Cc: Alex Nemirovsky Cc: Haolin Li Cc:

Re: [PATCH v2 03/10] arm: K3: Add basic support for J784S4 SoC definition

2023-03-21 Thread Andrew Davis
On 3/21/23 9:10 AM, Hari Nagalla wrote: Signed-off-by: Apurva Nandan Signed-off-by: Bryan Bratloff Signed-off-by: Nishant Menon Signed-off-by: Hari Nagalla --- arch/arm/mach-k3/Kconfig | 16 +- arch/arm/mach-k3/Makefile | 2 +

[PATCH v2 05/10] clk: clk-k3: Add support for J784S4 SoC

2023-03-21 Thread Hari Nagalla
Add support for J784S4 SoC. Signed-off-by: Apurva Nandan Signed-off-by: Hari Nagalla --- arch/arm/mach-k3/j784s4/clk-data.c | 428 + drivers/clk/ti/clk-k3.c| 6 + include/k3-clk.h | 1 + 3 files changed, 435 insertions(+) create

[PATCH v2 01/10] arm: dts: introduce j784s4 dtbs from linux kernel

2023-03-21 Thread Hari Nagalla
Introduce the basic j784s4 SoC dtbs from the linux kernel along with the new j784s4 specific pinmux definitions that we will use to generate the dtbs for the u-boot-spl and u-boot binaries. Signed-off-by: Apurva Nandan Signed-off-by: Hari Nagalla --- arch/arm/dts/k3-j784s4-evm.dts |

[PATCH v2 03/10] arm: K3: Add basic support for J784S4 SoC definition

2023-03-21 Thread Hari Nagalla
Signed-off-by: Apurva Nandan Signed-off-by: Bryan Bratloff Signed-off-by: Nishant Menon Signed-off-by: Hari Nagalla --- arch/arm/mach-k3/Kconfig | 16 +- arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/arm64-mmu.c | 41 +++

[PATCH v2 07/10] ram: k3-ddrss: Add support for J784S4 SoC

2023-03-21 Thread Hari Nagalla
Add support for DDR subsystem in J784S4 SoC. Signed-off-by: Apurva Nandan Signed-off-by: Hari Nagalla --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index e085119963..fac8c9314b 100644 ---

[PATCH v2 04/10] drivers: dma: Add support for J784S4

2023-03-21 Thread Hari Nagalla
Add support for DMA in J784S4 SoC. Signed-off-by: Apurva Nandan Signed-off-by: Hari Nagalla --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j784s4.c | 166 ++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c

[PATCH v2 09/10] board: ti: j784s4: Add board support for J784S4 SoC

2023-03-21 Thread Hari Nagalla
Add board support for J784S4 SoC. Signed-off-by: Hari Nagalla --- board/ti/j784s4/Kconfig | 61 + board/ti/j784s4/MAINTAINERS | 7 + board/ti/j784s4/Makefile | 8 ++ board/ti/j784s4/evm.c| 105 +++ configs/j784s4_evm_a72_defconfig | 213

[PATCH v2 08/10] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2023-03-21 Thread Hari Nagalla
Add support for J784S4 SoC Identification. Signed-off-by: Hari Nagalla --- drivers/soc/soc_ti_k3.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 8af0ac7051..caf8db9574 100644 --- a/drivers/soc/soc_ti_k3.c +++

[PATCH v2 00/10] Introduce initial TI's J784S4 support

2023-03-21 Thread Hari Nagalla
Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. The J784S4 SoC device tree patches are taken from kernel patch submissions and will be updated as they are accepted and merged to the kernel tree. All other patches are specific to

[PATCH v2 06/10] power: domain: ti: Add support for J784S4 SoC

2023-03-21 Thread Hari Nagalla
Add support for J784S4 SoC. Signed-off-by: Apurva Nandan Signed-off-by: Hari Nagalla --- drivers/power/domain/ti-power-domain.c | 6 ++ include/k3-dev.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/power/domain/ti-power-domain.c

[PATCH v2 10/10] dt-bindings: ti-serdes-mux: Add defines for J784S4 SoC

2023-03-21 Thread Hari Nagalla
There are 4 instances of SERDES modules, with each instance supporting 4 lanes. Signed-off-by: Matthew Ranostay Signed-off-by: Hari Nagalla --- include/dt-bindings/mux/ti-serdes.h | 62 + 1 file changed, 62 insertions(+) diff --git

Re: [PATCH 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-21 Thread Michal Simek
On 3/21/23 13:58, Patrick Delaunay wrote: Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS and CONFIG_LMB_MEMORY_REGIONS are not

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-21 Thread Andreas Schwab
On Mär 21 2023, yanhong wang wrote: > Except for CONFIG_DEFAULT_DEVICE_TREE and CONFIG_DEFAULT_FDT_FILE, > 1.2a and 1.3b versions use the same config. > > Version 1.3b uses the following configuration: > CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2-v1.3b" >

Re: [PATCH 2/2] efi_loader: fix device-path for USB devices

2023-03-21 Thread Heinrich Schuchardt
On 3/20/23 19:39, Simon Glass wrote: Hi Heinrich, On Mon, 20 Mar 2023 at 09:58, Heinrich Schuchardt wrote: On 3/19/23 20:29, Simon Glass wrote: Hi Heinrich, On Mon, 20 Mar 2023 at 04:25, Heinrich Schuchardt wrote: EFI device paths for block devices must be unique. If a non-unique

Re: [PATCH 29/33] doc: boards: amlogic: update documentation for WeTek Core2

2023-03-21 Thread Christian Hewitt
> On 20 Mar 2023, at 10:40 pm, Simon Glass wrote: > > Hi Christian, > > On Tue, 21 Mar 2023 at 06:05, Christian Hewitt > wrote: >> >> Improve documentation. >> >> Signed-off-by: Christian Hewitt >> --- >> doc/board/amlogic/wetek-core2.rst | 83 +-- >> 1 file

[PATCH v2] fdt: Make fdt addr -q quieter

2023-03-21 Thread Peter Hoyes
From: Peter Hoyes 64597346 "fdt: Add -q option to fdt addr for distro_bootcmd" introduced the -q option for fdt addr, which sets the current working fdt address without printing any output. baf41410 "fdt: Show a message when the working FDT changes" made the utility function

[PATCH 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-21 Thread Patrick Delaunay
Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS and CONFIG_LMB_MEMORY_REGIONS are not defined, the implicit #else is empty and the required

[PATCH 2/2] lmb: add max number of region in lmb_dump_region() output

2023-03-21 Thread Patrick Delaunay
Add the max number of region in lmb dump; this patch allows to check the limit for usage of the LMB regions, memory or reserved. Result on STM32MP157C-DK2: STM32MP> bdinfo . lmb_dump_all: memory.cnt = 0x1 / max = 0x2 memory[0] [0xc000-0xdfff], 0x2000 bytes flags: 0

[PATCH] include: configs: am65x_evm: Change to using .env

2023-03-21 Thread Nikhil M Jain
Move to using .env file for setting up environment variables for am65x. Signed-off-by: Nikhil M Jain --- board/ti/am65x/am65x.env| 47 + include/configs/am65x_evm.h | 68 - 2 files changed, 47 insertions(+), 68 deletions(-) create

RE: [PATCH] i2c: correct I2C deblock logic

2023-03-21 Thread Bough Chen
> -Original Message- > From: Alexander Kochetkov > Sent: 2023年3月21日 17:50 > To: Bough Chen > Cc: h...@denx.de; ma...@denx.de; u-boot@lists.denx.de; dl-uboot-imx > ; xypron.g...@gmx.de; Simon Glass > > Subject: Re: [PATCH] i2c: correct I2C deblock logic > > Hi Haibo. > > Nice catch!

Re: [PATCH] i2c: correct I2C deblock logic

2023-03-21 Thread Alexander Kochetkov
Hi Haibo. Nice catch! Agree with you patch. But may be fix problem in general? I suggest to add GPIOD_ACTIVE_LOW to the GPIOD_MASK_DIR mask to fix problems 1, 2, 4. Not sure if that logically correct. What do you think? I grepped the code for ‘dm_gpio_set_dir_flags’ and found another places

RE: [PATCH] i2c: correct I2C deblock logic

2023-03-21 Thread Bough Chen
> -Original Message- > From: Alexander Kochetkov > Sent: 2023年3月20日 16:03 > To: h...@denx.de > Cc: Bough Chen ; ma...@denx.de; > u-boot@lists.denx.de; dl-uboot-imx ; > xypron.g...@gmx.de; Simon Glass > Subject: Re: [PATCH] i2c: correct I2C deblock logic > > Hello! > > The patch doesn’t

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Martin Rowe
On Mon, 20 Mar 2023 at 21:33, Pali Rohár wrote: > On Monday 20 March 2023 18:45:01 Pali Rohár wrote: > > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > > On Sun, 19 Mar 2023 at 18:20, Pali Rohár wrote: > > > > > > > On Sunday 19 March 2023 17:47:57 Pali Rohár wrote: > > > > > On Sunday

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Pali Rohár
On Tuesday 21 March 2023 08:03:45 Martin Rowe wrote: > On Mon, 20 Mar 2023 at 19:42, Pali Rohár wrote: > > > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > > Dedicated UART still works, patching an MMC for UART with kwboot still > > > hangs after finishing transfer; no change. > > > >

Re: [PATCH RFC u-boot-mvebu 0/2] arm: mvebu: Fix eMMC boot

2023-03-21 Thread Pali Rohár
On Tuesday 21 March 2023 08:01:16 Martin Rowe wrote: > On Mon, 20 Mar 2023 at 17:33, Pali Rohár wrote: > > > On Monday 20 March 2023 11:48:59 Martin Rowe wrote: > > > On Sun, 19 Mar 2023 at 16:22, Pali Rohár wrote: > > > > > > > On Sunday 19 March 2023 00:32:01 Martin Rowe wrote: > > > > > On

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-21 Thread Martin Rowe
On Mon, 20 Mar 2023 at 19:42, Pali Rohár wrote: > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > Dedicated UART still works, patching an MMC for UART with kwboot still > > hangs after finishing transfer; no change. > > One more question. Did you set boot mode HW switches to UART

Re: [PATCH RFC u-boot-mvebu 0/2] arm: mvebu: Fix eMMC boot

2023-03-21 Thread Martin Rowe
On Mon, 20 Mar 2023 at 17:33, Pali Rohár wrote: > On Monday 20 March 2023 11:48:59 Martin Rowe wrote: > > On Sun, 19 Mar 2023 at 16:22, Pali Rohár wrote: > > > > > On Sunday 19 March 2023 00:32:01 Martin Rowe wrote: > > > > On Mon, 6 Mar 2023 at 11:53, Pali Rohár wrote: > > > > > > > > > Could

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2023-03-21 Thread Christian Gmeiner
Am So., 4. Dez. 2022 um 22:22 Uhr schrieb Pierre-Clément Tosi : > > Hi, > > On Fri, Dec 02, 2022 at 08:38:37PM +0100, s...@geanix.com wrote: > > > > Quoting Pierre-Clément Tosi : > > > > > Add a check for calloc() failing to allocate the requested memory. > > > > > > Make decode_regions() return

Re: [PATCH] fs: fat: do not mangle short filenames

2023-03-21 Thread Stefan Herbrechtsmeier
Am 20.03.2023 um 18:01 schrieb Tom Rini: On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Do not mangle lower or mixed case filenames which fit into the upper case 8.3 short filename. This ensures FAT standard compatible short filenames

Re: [PATCH v3 3/4] efi_loader: check lowest supported version in capsule update

2023-03-21 Thread Heinrich Schuchardt
On 3/20/23 06:54, Masahisa Kojima wrote: The FMP Payload Header which EDK2 capsule generation scripts insert contains lowest supported version. This commit reads the lowest supported version stored in the "FmpState" EFI non-volatile variable, then check if the firmware version of ongoing

Re: [PATCH v3 1/4] efi_loader: store firmware version into FmpState variable

2023-03-21 Thread Heinrich Schuchardt
On 3/20/23 06:54, Masahisa Kojima wrote: Firmware version management is not implemented in the current FMP protocol. EDK2 reference implementation capsule generation script inserts the FMP Payload Header right before the payload, it contains the firmware version and lowest supported version.