Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Manorit Chawdhry
On 09:57-20230503, Tom Rini wrote: > On Wed, May 03, 2023 at 12:57:13PM +0530, Neha Malcom Francis wrote: > > Hi Tom > > > > On 27/04/23 04:07, Tom Rini wrote: > > > On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: > > > > &

[PATCH v2 3/3] configs: j7200: Merge the HS and non-HS defconfigs

2023-05-03 Thread Manorit Chawdhry
K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS

[PATCH v2 2/3] Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-05-03 Thread Manorit Chawdhry
On K3 HS-SE devices all the firewalls are locked by default until sysfw comes up. Rom configures some of the firewall for its usage along with the SRAM for R5 but the PSRAM region is still locked. The K3 MCU Scratchpad for j721s2 was set to a PSRAM region triggering the firewall exception before

[PATCH v2 1/3] configs: j721s2: Merge the HS and non-HS defconfigs

2023-05-03 Thread Manorit Chawdhry
K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS

[PATCH v2 0/3] J7 merge HS configs

2023-05-03 Thread Manorit Chawdhry
This series depends on the fixes provided for j721e as that series also includes some base support for running the other HS platforms. Link for dependent series - https://lore.kernel.org/u-boot/20230324-j721e-upstream-hs-v6-0-5aa43a481...@ti.com/ ( This can be ignored due to the change on how

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Jan, On 03/05/23 22:04, Jan Kiszka wrote: On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to eliminate

Re: [PATCH 2/2] CI: Make use of buildman requirements.txt

2023-05-03 Thread Neha Malcom Francis
Hi Tom, On 03/05/23 18:34, Tom Rini wrote: On Wed, May 03, 2023 at 11:27:20AM +0530, Neha Malcom Francis wrote: Hi Tom Thanks for these patches! On 27/04/23 01:14, Tom Rini wrote: Now that buildman has a requirements.txt file we need to make use of it. Signed-off-by: Tom Rini ---

Mainline Linux on gru / bob

2023-05-03 Thread Simon Glass
Hi, I haven't had any luck booting mainline U-Boot and Linux on Bobafter booting Linux the display shows a strange pattern and I don't see anything on the serial console despite trying various earlycon things. Does anyone know a recipe that works? Thanks, Simon

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-03 Thread yanhong wang
On 2023/5/2 21:24, Heinrich Schuchardt wrote: > On 5/2/23 15:11, Andreas Schwab wrote: >> On Mai 02 2023, Matthias Brugger wrote: >> >>> I'm not sure I get your point. The devicetree will be passed to the kernel >>> via a pointer in a register, the kernel does not need to load the >>>

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 04:56:18PM -0600, Simon Glass wrote: > Hi Rasmus, > > On Wed, 3 May 2023 at 02:25, Rasmus Villemoes > wrote: > > > > On 01/05/2023 18.32, Simon Glass wrote: > > > Hi Rasmus, > > > > > > On Mon, 1 May 2023 at 02:49, Rasmus Villemoes > > > wrote: > > >> > > >> On

Re: [PATCH] usb: ehci-mx6: replace regulator_set_enable with *_if_allowed

2023-05-03 Thread Marek Vasut
On 5/2/23 13:18, Eugen Hristev wrote: On 5/2/23 13:53, Marek Vasut wrote: On 5/2/23 12:41, Eugen Hristev wrote: On 5/2/23 12:18, Marek Vasut wrote: On 5/2/23 08:51, Eugen Hristev wrote: regulator_set_enable_if_allowed already handles cases when the regulator is already enabled, or already

Re: [PATCH] usb: ehci-mx6: replace regulator_set_enable with *_if_allowed

2023-05-03 Thread Marek Vasut
On 5/2/23 18:13, Tim Harvey wrote: On Mon, May 1, 2023 at 11:51 PM Eugen Hristev wrote: regulator_set_enable_if_allowed already handles cases when the regulator is already enabled, or already disabled, and does not treat these as errors. With this change, the driver can work correctly even if

Re: [PATCH 1/1] doc: man-page for cp

2023-05-03 Thread Simon Glass
On Wed, 3 May 2023 at 10:47, Heinrich Schuchardt wrote: > > Add a man-page for the cp command. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > replace the 'word' by 'chunk' > fix typos > --- > doc/usage/cmd/cp.rst | 83 >

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Simon Glass
Hi Rasmus, On Wed, 3 May 2023 at 02:25, Rasmus Villemoes wrote: > > On 01/05/2023 18.32, Simon Glass wrote: > > Hi Rasmus, > > > > On Mon, 1 May 2023 at 02:49, Rasmus Villemoes > > wrote: > >> > >> On 27/04/2023 19.31, Tom Rini wrote: > > Well, I'm not sure there's a use case for

[PATCH] bk4r1: Enable LTO

2023-05-03 Thread Tom Rini
In order to allow for general platform growth due to fixes, enable LTO here to give us more room. Signed-off-by: Tom Rini --- configs/bk4r1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bk4r1_defconfig b/configs/bk4r1_defconfig index 66adeac725ce..95f0c30cde63 100644 ---

Re: [PATCH] usb: gadget: Compile USB ethernet gadget only if NET is enabled

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 11:43:57PM +0200, Marek Vasut wrote: > On 5/1/23 23:18, Tom Rini wrote: > > On Mon, May 01, 2023 at 10:49:37PM +0200, Marek Vasut wrote: > > > On 5/1/23 20:53, Tom Rini wrote: > > > > On Mon, May 01, 2023 at 07:40:57PM +0200, Marek Vasut wrote: > > > > > On 5/1/23 19:23,

Re: [PATCH] usb: gadget: Compile USB ethernet gadget only if NET is enabled

2023-05-03 Thread Marek Vasut
On 5/1/23 23:18, Tom Rini wrote: On Mon, May 01, 2023 at 10:49:37PM +0200, Marek Vasut wrote: On 5/1/23 20:53, Tom Rini wrote: On Mon, May 01, 2023 at 07:40:57PM +0200, Marek Vasut wrote: On 5/1/23 19:23, Tom Rini wrote: On Mon, May 01, 2023 at 06:53:52PM +0200, Marek Vasut wrote: On 5/1/23

Re: Pull request: please pull u-boot-imx-20230503

2023-05-03 Thread Fabio Estevam
Hi Tom, On Wed, May 3, 2023 at 4:01 PM Tom Rini wrote: > So, both my HW test and CI is fine, so I've applied this. But please > note we now have this scary message to fix: > +(imx8qm_dmsse20a1) aarch64-linux-ld.bfd: invalid origin for memory region > .sdram I compared the imx8qm_dmsse20a1

[RFC PATCH v2 6/7] clk: treewide: switch to clock dump from clk_ops

2023-05-03 Thread Igor Prusov
Switch to using new dump operation in clock provider drivers instead of overriding soc_clk_dump. Signed-off-by: Igor Prusov --- arch/mips/mach-pic32/cpu.c | 23 --- drivers/clk/aspeed/clk_ast2600.c | 13 - drivers/clk/clk_k210.c | 11

[RFC PATCH v2 7/7] cmd: clk: Remove __weak from soc_clk_dump

2023-05-03 Thread Igor Prusov
After introducing dump to clk_ops there is no need to override this symbol anymore. Signed-off-by: Igor Prusov --- cmd/clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/clk.c b/cmd/clk.c index 55fb96e631..54491ac577 100644 --- a/cmd/clk.c +++ b/cmd/clk.c @@ -59,7

[RFC PATCH v2 5/7] cmd: clk: Use dump function from clk_ops

2023-05-03 Thread Igor Prusov
Add another loop to dump additional info from clock providers that implement dump operation. Signed-off-by: Igor Prusov --- cmd/clk.c | 9 + 1 file changed, 9 insertions(+) diff --git a/cmd/clk.c b/cmd/clk.c index ff7c7649a1..55fb96e631 100644 --- a/cmd/clk.c +++ b/cmd/clk.c @@ -62,6

[RFC PATCH v2 4/7] clk: Add dump operation to clk_ops

2023-05-03 Thread Igor Prusov
This adds dump function to struct clk_ops which should replace soc_clk_dump. It allows clock drivers to provide custom dump implementation without overriding generic CCF dump function. Signed-off-by: Igor Prusov --- include/clk-uclass.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[RFC PATCH v2 3/7] clk: k210: Move soc_clk_dump function

2023-05-03 Thread Igor Prusov
Move clock dump function to avoid forward declaration after switching to dump in clk_ops. Signed-off-by: Igor Prusov --- drivers/clk/clk_k210.c | 92 +- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/drivers/clk/clk_k210.c

[RFC PATCH v2 2/7] clk: ast2600: Move soc_clk_dump function

2023-05-03 Thread Igor Prusov
Move clock dump function to avoid forward declaration after switching to dump in clk_ops. Signed-off-by: Igor Prusov --- drivers/clk/aspeed/clk_ast2600.c | 70 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/drivers/clk/aspeed/clk_ast2600.c

[RFC PATCH v2 0/7] clk: Switch from soc_clk_dump to clk_ops function

2023-05-03 Thread Igor Prusov
Currently clock providers may override default implementation of soc_clk_dump function to replace clk dump command output. This causes confusing behaviour when u-boot is built with one of such drivers enabled but still has clocks defined using CCF. For example, enabling CMD_CLK and using clk dump

[RFC PATCH v2 1/7] clk: zynq: Move soc_clk_dump to Zynq clock driver

2023-05-03 Thread Igor Prusov
Move clock dump function in preparation for switching to dump function in clk_ops. Signed-off-by: Igor Prusov --- arch/arm/mach-zynq/clk.c | 57 --- drivers/clk/clk_zynq.c | 58 2 files changed, 58 insertions(+), 57

Re: [PATCH] pci: ecm generic: use dev_read_() interface

2023-05-03 Thread Tom Rini
On Sat, Feb 18, 2023 at 05:55:25PM +0530, Mayuresh Chitale wrote: > Use dev_read_() api instead of the fdtdec API to fetch the host > controller's reg property value. This is similar to the other host > controller drivers such as Sifive, Rockchip etc. Without this change, > enabling

Re: [PATCH] build_bug.h: Also define static_assert() when __CHECKER__ is defined

2023-05-03 Thread Tom Rini
On Thu, Jan 26, 2023 at 07:17:48PM +0100, Christophe Leroy wrote: > When doing a build with C=2, the following failure is encountered on > several files: > > CHECK arch/powerpc/cpu/mpc8xxx/fsl_lbc.c > arch/powerpc/cpu/mpc8xxx/fsl_lbc.c: note: in included file (through >

Re: Pull request: please pull u-boot-imx-20230503

2023-05-03 Thread Tom Rini
todians/u-boot-spi (2023-05-01 13:29:52 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20230503 > > for you to fetch changes up to bb6ea0fe9290b4d64df8e716b58515b5325c2ea5: > > u

Re: [PATCH v11 06/10] arm_ffa: introduce sandbox FF-A support

2023-05-03 Thread Abdellatif El Khlifi
Hi Simon, > Hi Abdellatif, > > On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi > wrote: > > > > Emulate Secure World's FF-A ABIs and allow testing U-Boot FF-A support > > > > Features of the sandbox FF-A support: > > > > - Introduce an FF-A emulator > > - Introduce an FF-A device driver for

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-03 Thread Rob Herring
On Wed, May 3, 2023 at 9:37 AM Ilias Apalodimas wrote: > > Hi Krzysztof, > > On Tue, Apr 11, 2023 at 07:38:11AM +0200, Krzysztof Kozlowski wrote: > > On 11/04/2023 01:21, jaswinder.si...@linaro.org wrote: > > > From: Jassi Brar > > > > > > Any requirement of FWU should not require changes to

Re: Please pull u-boot-marvell/master

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 11:18:39AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this next batch of mostly Marvell related patches: NAK. With commit: commit 461fa17970de418a93832f734a595031c0b72128 Author: Pali Rohár Date: Thu Apr 13 22:57:48 2023 +0200 mmc: Read eMMC partition

[PATCH 1/1] doc: man-page for cp

2023-05-03 Thread Heinrich Schuchardt
Add a man-page for the cp command. Signed-off-by: Heinrich Schuchardt --- v2: replace the 'word' by 'chunk' fix typos --- doc/usage/cmd/cp.rst | 83 doc/usage/index.rst | 1 + 2 files changed, 84 insertions(+) create mode 100644

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Jan Kiszka
On 03.05.23 14:56, Neha Malcom Francis wrote: > Hi Jan, > > On 03/05/23 12:57, Neha Malcom Francis wrote: >> Hi Tom >> >> On 27/04/23 04:07, Tom Rini wrote: >>> On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: >>> This series aims to eliminate the use of additional custom

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-03 Thread Krzysztof Kozlowski
On 03/05/2023 18:26, Tom Rini wrote: I think we do not review U-Boot bindings usually, except these put in the Linux kernel. There were few targeting U-Boot specifically (e.g. Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml and

Re: [PATCH 1/1] arm64: dts: ti: k3-j721s2: Add reserved status in msmc

2023-05-03 Thread Krzysztof Kozlowski
On 03/05/2023 16:51, Nishanth Menon wrote: > On 20:17-20230503, Udit Kumar wrote: >> Mark atf, l3-cache and tifs node as reserved. > > why? (I am not reading the cover-letter for a 1 patch) And you should not have to. :) The commit msg should explain why it is useful. Best regards, Krzysztof

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 04:54:45PM +0200, Krzysztof Kozlowski wrote: > On 03/05/2023 16:37, Ilias Apalodimas wrote: > > Hi Krzysztof, > > > > On Tue, Apr 11, 2023 at 07:38:11AM +0200, Krzysztof Kozlowski wrote: > >> On 11/04/2023 01:21, jaswinder.si...@linaro.org wrote: > >>> From: Jassi Brar >

Re: [PATCH 2/3] arm: dts: imx8mn: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:08 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Sync imx8mn.dtsi with Linux 6.3. > > Signed-off-by: Fabio Estevam > --- > arch/arm/dts/imx8mn.dtsi | 46 ++-- > 1 file changed, 35 insertions(+), 11 deletions(-) > > diff --git

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:09 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Sync imx8mp.dtsi and imx8mp-clock.h with Linux 6.3. > > Signed-off-by: Fabio Estevam > --- > arch/arm/dts/imx8mp.dtsi | 374 --- > include/dt-bindings/clock/imx8mp-clock.h |

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
On Fri, Apr 28, 2023 at 11:19 AM Fabio Estevam wrote: > > Hi Tim, > > On Fri, Apr 28, 2023 at 2:59 PM Tim Harvey wrote: > > > I believe the fix we need is the following which moves phy setup > > before the register access (where it should have been along with the > > case for

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-03 Thread Krzysztof Kozlowski
On 03/05/2023 16:37, Ilias Apalodimas wrote: > Hi Krzysztof, > > On Tue, Apr 11, 2023 at 07:38:11AM +0200, Krzysztof Kozlowski wrote: >> On 11/04/2023 01:21, jaswinder.si...@linaro.org wrote: >>> From: Jassi Brar >>> >>> Any requirement of FWU should not require changes to bindings >>> of other

Re: [PATCH v2 30/30] CI: Enable sandbox build for Windows

2023-05-03 Thread Bin Meng
Hi Simon, On Sun, Apr 30, 2023 at 9:30 AM Simon Glass wrote: > > Add a new rule to build sandbox for Windows. For now, no tests are run in > this configuration. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Update the cover letter to better explain the motivation > >

Re: [PATCH 05/14] arch: arm: dts: k3-j7200: Configure pinctrl for timer IO pad

2023-05-03 Thread Kumar, Udit
Thanks Nishanth On 5/3/2023 8:01 PM, Nishanth Menon wrote: On 09:43-20230503, Udit Kumar wrote: [..] Needs to get to k.org master. Noted for whole series

Re: [PATCH 02/14] arch: arm: dts: k3-j7200: Fix physical address of pin

2023-05-03 Thread Kumar, Udit
Thanks Nishanth On 5/3/2023 7:46 PM, Nishanth Menon wrote: On 09:43-20230503, Udit Kumar wrote: [..] Not in upstream k.org. NAK. i will hold this series till updated in k.org

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 09:51:58AM -0400, Tom Rini wrote: > On Mon, May 01, 2023 at 10:49:22AM +0200, Rasmus Villemoes wrote: > > On 27/04/2023 19.31, Tom Rini wrote: > > >> > > >> Well, I'm not sure there's a use case for building all of the extra > > >> device trees. I think what I'll do right

Re: [PATCH 01/14] arm: dts: k3-j7200: Update devicetree to sync with v6.3-rc6

2023-05-03 Thread Kumar, Udit
On 5/3/2023 7:45 PM, Nishanth Menon wrote: On 09:43-20230503, Udit Kumar wrote: From: Nishanth Menon Sync with Kernel.org v6.3-rc6 tag. we are few days away from rc1 tag. I'd rather we refresh. Thanks [..]

Re: [PATCH 1/1] arm64: dts: ti: k3-j721s2: Add reserved status in msmc

2023-05-03 Thread Nishanth Menon
On 20:17-20230503, Udit Kumar wrote: > Mark atf, l3-cache and tifs node as reserved. why? (I am not reading the cover-letter for a 1 patch) > > Signed-off-by: Udit Kumar > --- > arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > >

[PATCH 1/1] arm64: dts: ti: k3-j721s2: Add reserved status in msmc

2023-05-03 Thread Udit Kumar
mark atf, l3-cache and tifs node as reserved. Signed-off-by: Udit Kumar --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 2dd7865f7654..791993060f44

[RFC PATCH 0/1] arm64: dts: ti: k3-j721s2: handling subnode of msmc node

2023-05-03 Thread Udit Kumar
TI K3 SOCs have msmc sram, part of it can be configured as L3 cache depending upon system firmware configuration file. This could be possible to have no L3 cache or variable size of L3 cache. In either case top of 64KB of SRAM has to be reserved for system firmware called tifs.

Re: [PATCH] configs: j7200: correct mmc offset

2023-05-03 Thread Nishanth Menon
On 10:58-20230503, Udit Kumar wrote: > This patch corrects the MMC raw mode sector offset as > per documentation. > > https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/08_06_00_11/exports/docs/j7200/linux/Foundational_Components/U-Boot/UG-Memory.html > > Se

Re: [PATCH 14/14] arch: arm: dts: k3-j7200: Add MCSPI nodes

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > From: Vaishnav Achath > > Upstream Linux commit id 8f6c475f4ca7a > > J7200 has 8 MCSPI instances in the main domain and 3 instances > in the MCU domain. Add the DT nodes for all the 11 instances and > keep them disabled. MAIN_MCSPI4 is

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-03 Thread Ilias Apalodimas
Hi Krzysztof, On Tue, Apr 11, 2023 at 07:38:11AM +0200, Krzysztof Kozlowski wrote: > On 11/04/2023 01:21, jaswinder.si...@linaro.org wrote: > > From: Jassi Brar > > > > Any requirement of FWU should not require changes to bindings > > of other subsystems. For example, for mtd-backed storage we >

Re: [PATCH 06/14] arch: arm: dts: k3-j7200 move main_pmx to common file

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > This patch moves pin mux from r5 dts to common dts file. > Along with removing duplicated defines. > > Signed-off-by: Udit Kumar > --- > arch/arm/dts/k3-j7200-common-proc-board.dts | 16 -- > .../arm/dts/k3-j7200-r5-commo

Re: [PATCH 05/14] arch: arm: dts: k3-j7200: Configure pinctrl for timer IO pad

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > There are timer IO pads in the MCU domain, and in the MAIN domain. These > pads can be muxed for the related timers. > > There are timer IO control registers for input and output. The registers > for CTRLMMR_TIMER*_CTRL and CTRLMMR_MCU_TIMER

Re: [PATCH 04/14] arch: arm: dts: k3-j7200: Add general purpose timers

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > There are 20 general purpose timers on j7200 that can be used for things > like PWM using pwm-omap-dmtimer driver. There are also additional ten > timers in the MCU domain. > > MCU timer 0 is used by R5 uboot as always on. So change propert

Re: [PATCH] Revert "mmc: rockchip_sdhci: Limit number of blocks read in a single command"

2023-05-03 Thread Simon Glass
Hi Jonas, On Wed, 3 May 2023 at 08:17, Jonas Karlman wrote: > > Hi Simon, > > On 2023-05-03 14:41, Simon Glass wrote: > > This makes MMC extremely slow on bob. Even reading the environment takes > > ages. > > > > If there is a bug on a particular controller, it should be worked around > > using

Re: [PATCH 03/14] arch: arm: dts: k3-j7200-som: Enable I2C

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > Upstream linux patch posted at > https://lore.kernel.org/all/20230419040007.3022780-3-u-kum...@ti.com/ > a) link here does'nt belong to commit message. b) Let this be accepted into k.org master prior to u-boot sync. > > This patch enables

Re: [PATCH 02/14] arch: arm: dts: k3-j7200: Fix physical address of pin

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > From: Keerthy > > wkup_pmx splits into multiple regions. Like > > wkup_pmx0 -> 13 pins (WKUP_PADCONFIG 0 - 12) > wkup_pmx1 -> 2 pins (WKUP_PADCONFIG 14 - 15) > wkup_pmx2 -> 59 pins (WKUP_PADCONFIG 26 -

Re: [PATCH] Revert "mmc: rockchip_sdhci: Limit number of blocks read in a single command"

2023-05-03 Thread Jonas Karlman
Hi Simon, On 2023-05-03 14:41, Simon Glass wrote: > This makes MMC extremely slow on bob. Even reading the environment takes > ages. > > If there is a bug on a particular controller, it should be worked around > using the compatible string, e.g. with ->flags in struct sdhci_data - > althought I

Re: [PATCH 01/14] arm: dts: k3-j7200: Update devicetree to sync with v6.3-rc6

2023-05-03 Thread Nishanth Menon
On 09:43-20230503, Udit Kumar wrote: > From: Nishanth Menon > > Sync with Kernel.org v6.3-rc6 tag. we are few days away from rc1 tag. I'd rather we refresh. > > Signed-off-by: Nishanth Menon > --- > arch/arm/dts/k3-j7200-common-proc-board.dts | 63 +++--- >

Re: [PATCH 1/4] arm: add support for Hisilicon HiSTB family SoCs

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 09:39:41PM +0800, Yang Xiwen wrote: > On 5/3/2023 9:26 PM, Tom Rini wrote: > > On Sat, Apr 01, 2023 at 07:17:33PM +0800, Yang Xiwen wrote: > > > >> First supported chip is hi3798mv200 (which is similar to Hi3798cv200 > >> used by poplar). > >> > >> Signed-off-by: Yang

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 12:57:13PM +0530, Neha Malcom Francis wrote: > Hi Tom > > On 27/04/23 04:07, Tom Rini wrote: > > On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: > > > > > This series aims to eliminate the use of additional custom repositories > > > such as

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Tom Rini
On Mon, May 01, 2023 at 10:49:22AM +0200, Rasmus Villemoes wrote: > On 27/04/2023 19.31, Tom Rini wrote: > >> > >> Well, I'm not sure there's a use case for building all of the extra > >> device trees. I think what I'll do right now is fire off a CI run (or a > >> few, in the event of problems)

Re: [PATCH] net: phy: Request rgmii-id phy reset gpio as output

2023-05-03 Thread Michal Simek
On 5/2/23 14:50, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Request the reset gpio of the rgmii-id phy as output to be consistent with the eth-phy-uclass driver. Signed-off-by: Stefan Herbrechtsmeier --- drivers/net/phy/ethernet_id.c | 2 +- 1 file changed, 1

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 10:25:21AM +0200, Rasmus Villemoes wrote: [snip] > That said, there's another thing "Linux does", at least right now for > arm64 and soonish also for arm32, namely putting dts files in individual > vendor directories. _That_ I'd really love to see happen in U-Boot as >

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-05-03 Thread Tom Rini
On Mon, May 01, 2023 at 10:32:44AM -0600, Simon Glass wrote: > Hi Rasmus, > > On Mon, 1 May 2023 at 02:49, Rasmus Villemoes > wrote: > > > > On 27/04/2023 19.31, Tom Rini wrote: > > >> > > >> Well, I'm not sure there's a use case for building all of the extra > > >> device trees. I think what

Re: [PATCH v2 0/2] Update mailmap ids

2023-05-03 Thread Michal Simek
On 4/26/23 08:01, Ashok Reddy Soma wrote: In this patch series - Sort mailmap ids according to dictionary order - Update all Xilinx users mail ids to AMD Changes in v2: - Updated the missing mailids - Removed the space after mail id - Added closing brace for Vikhyat Goyal email

Re: [PATCH 1/4] arm: add support for Hisilicon HiSTB family SoCs

2023-05-03 Thread Yang Xiwen
On 5/3/2023 9:26 PM, Tom Rini wrote: > On Sat, Apr 01, 2023 at 07:17:33PM +0800, Yang Xiwen wrote: > >> First supported chip is hi3798mv200 (which is similar to Hi3798cv200 >> used by poplar). >> >> Signed-off-by: Yang Xiwen > > For the series, applied to u-boot/master, thanks! > Oops, I

Re: [PATCH v4 1/3] dm: extcon: add an uclass for extcon

2023-05-03 Thread Tom Rini
On Tue, Apr 25, 2023 at 10:57:20AM +0300, Svyatoslav Ryhel wrote: > Add a new simple uclass for extcon. Currently all setup is done > in the probe. Uclass struct and ops are empty for now. > > Signed-off-by: Svyatoslav Ryhel > Reviewed-by: Simon Glass For the series, applied to u-boot/master,

Re: [PATCH] pinctrl: mediatek: set R1/R0 in case pullen/pullsel succeeded

2023-05-03 Thread Tom Rini
On Wed, Apr 12, 2023 at 09:36:43PM +0100, Daniel Golle wrote: > Commit dafe0fbfb0f3 ("pinctrl: mediatek: rewrite mtk_pinconf_set and > related functions") changed the logic deciding to set R0 and R1 > registers for V1 devices. > > Before: > /* Also set PUPD/R0/R1 if the pin has them */ >

Re: [PATCH v2 2/2] configs: change bpi-r3 to board specific dts and change prompt

2023-05-03 Thread Tom Rini
On Tue, Apr 11, 2023 at 05:19:47PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Use own devicetree for the board and change the prompt. > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-05-03 Thread Tom Rini
On Tue, Apr 11, 2023 at 05:19:46PM +0200, Frank Wunderlich wrote: > From: Daniel Golle > > Add board specific devicetree for Bananapi R3 SBC. > > Signed-off-by: Daniel Golle > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH v5 1/3] arm: dts: Import device tree for Broadcom Northstar

2023-05-03 Thread Tom Rini
On Mon, Apr 24, 2023 at 09:38:28AM +0200, Linus Walleij wrote: > This brings in the main SoC device tree used by the > Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. > This is taken from the v6.3 Linux kernel. > > Cc: Rafał Miłecki > Signed-off-by: Linus Walleij For the series,

Re: [PATCH v3 1/9] misc: add Qualcomm GENI SE QUP device driver

2023-05-03 Thread Tom Rini
On Fri, Apr 21, 2023 at 08:50:33PM +0300, Vladimir Zapolskiy wrote: > This change adds a Qualcomm GENI SE QUP device driver as a wrapper for > actually enabled and used serial devices found on a board. > > At the moment the driver is pretty simple, its intention is to populate > childred devices

Re: [PATCH 2/2] board: Fix documentation for Snapdragon based Samsung and Qualcomm boards

2023-05-03 Thread Tom Rini
On Thu, Apr 20, 2023 at 04:58:48PM +0530, Bhupesh Sharma wrote: > The current documentation for Snapdragon based Samsung > and Qualcomm boards is vague in the sense that at one place > it mentions that u-boot can be used as a replacement for ABL > bootloader and at another it mentions that

Re: [PATCH 1/2] board: Fix board file path for sdm845.c for Samsung and Qualcomm boards

2023-05-03 Thread Tom Rini
On Thu, Apr 20, 2023 at 04:58:47PM +0530, Bhupesh Sharma wrote: > Currently a few 'board/qualcomm/../Makefile' point to incorrect > path of sdm845 board file. > > Fix the same. > > Signed-off-by: Bhupesh Sharma Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] arm: mach-k3: common: Default to non fitImage boot on HS-FS

2023-05-03 Thread Tom Rini
On Thu, Apr 20, 2023 at 09:42:21PM +0530, Vignesh Raghavendra wrote: > Allow non fitImage bootflow on Field Securable (HS-FS) devices in > addition to GP, force fitImage boot only on Security enforced (HS-SE) > devices where signed images are necessary to maintain chain of trust. > >

Re: [PATCH] arm: mach-k3: common: don't reconfigure background firewalls

2023-05-03 Thread Tom Rini
On Thu, Apr 20, 2023 at 05:16:24PM +0530, Manorit Chawdhry wrote: > K3 devices have some firewalls set up by ROM that we usually remove so > that the development is easy in HS devices. > > While removing the firewalls disabling a background region before > disabling the foreground regions keeps

Re: [PATCH] arm: mach-k3: am62a7: Enable QoS for DSS

2023-05-03 Thread Tom Rini
On Fri, Apr 14, 2023 at 12:57:25PM +0530, Aradhya Bhatia wrote: > Enable Quality of Service (QoS) blocks for Display SubSystem (DSS), by > servicing the DSS - DDR traffic from the Real-Time (RT) queue. This is > done by setting the DSS DMA orderID to 8. > > The C7x and VPAC have been

Re: [PATCH] arm: mach-k3: j7200: Fix firewall warnings at boot time

2023-05-03 Thread Tom Rini
On Mon, Apr 17, 2023 at 12:04:09PM +0530, Manorit Chawdhry wrote: > J721E and J7200 have same file j721e_init.c which had the firewall > configs for J721E being applied on J7200 causing the warnings. Split the > firewalls for both the boards to remove those warnings. > > Signed-off-by: Manorit

Re: [PATCH] configs: j7200_evm_a72: Enhance bootcmd to configure ethernet PHY

2023-05-03 Thread Tom Rini
On Tue, Apr 11, 2023 at 03:18:37PM +0530, Siddharth Vadapalli wrote: > From: Kishon Vijay Abraham I > > Update the default BOOTCOMMAND to provide an automatic and easier way > to configure ethernet PHY before loading the firmware. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by:

Re: [PATCH] arm: mach-k3: Workaround errata ID i2331

2023-05-03 Thread Tom Rini
On Thu, Apr 06, 2023 at 01:29:36PM +0530, Vignesh Raghavendra wrote: > From: Nitin Yadav > > Errata doc: https://www.ti.com/lit/pdf/sprz457 > Errata ID i2331 CPSW: Device lockup when reading CPSW registers > > Details: A device lockup can occur during the second read of any CPSW > subsystem

Re: [PATCH] board: ti: j721s2: Add support to detect daughtercards

2023-05-03 Thread Tom Rini
On Mon, Apr 10, 2023 at 11:40:15AM +0530, Siddharth Vadapalli wrote: > From: Kishon Vijay Abraham I > > Add support to detect daughtercards (GESI Ethernet card) in-order > to set the MAC address of the main CPSW2G interface. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Siddharth

Re: [PATCH] arm: Remove omap5_uevm board

2023-05-03 Thread Tom Rini
On Tue, Apr 04, 2023 at 11:47:25AM -0400, Tom Rini wrote: > This platform is unsupported by TI and was never widely distributed. As > this is untested for a long while and missing some DM conversions, > remove it and related device tree files. > > Signed-off-by: Tom Rini Applied to

Re: [PATCH 1/4] arm: add support for Hisilicon HiSTB family SoCs

2023-05-03 Thread Tom Rini
On Sat, Apr 01, 2023 at 07:17:33PM +0800, Yang Xiwen wrote: > First supported chip is hi3798mv200 (which is similar to Hi3798cv200 > used by poplar). > > Signed-off-by: Yang Xiwen For the series, applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/3] starqltechn: use 16x32 font

2023-05-03 Thread Tom Rini
On Sat, Apr 01, 2023 at 12:28:42PM +0300, Dzmitry Sankouski wrote: > This font is more readable on high ppi display > > Signed-off-by: Dzmitry Sankouski > Reviewed-by: Simon Glass For the series, applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/3] configs: j721s2: Merge the HS and non-HS defconfigs

2023-05-03 Thread Tom Rini
On Mon, Apr 10, 2023 at 01:11:45PM +0530, Manorit Chawdhry wrote: > K3 devices have runtime type board detection. Make the default defconfig > include the secure configuration. Then remove the HS specific config. > > Non-HS devices will continue to boot due to runtime device type detection. > If

Re: Pull request for tpm-master-02052023

2023-05-03 Thread Tom Rini
On Tue, May 02, 2023 at 03:26:47PM +0300, Ilias Apalodimas wrote: > Hi Tom, > > The following changes since commit 50f64026f7a4c2d0a101c93916e01782e4fbbe7f: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-spi (2023-05-01 13:29:52 > -0400) > > are available in

Re: [PATCH 2/2] CI: Make use of buildman requirements.txt

2023-05-03 Thread Tom Rini
On Wed, May 03, 2023 at 11:27:20AM +0530, Neha Malcom Francis wrote: > Hi Tom > > Thanks for these patches! > > On 27/04/23 01:14, Tom Rini wrote: > > Now that buildman has a requirements.txt file we need to make use of it. > > > > Signed-off-by: Tom Rini > > --- > > .azure-pipelines.yml | 3

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and

[PATCH] Revert "mmc: rockchip_sdhci: Limit number of blocks read in a single command"

2023-05-03 Thread Simon Glass
This makes MMC extremely slow on bob. Even reading the environment takes ages. If there is a bug on a particular controller, it should be worked around using the compatible string, e.g. with ->flags in struct sdhci_data - althought I don't see any docs for the flags. This reverts commit

Pull request: please pull u-boot-imx-20230503

2023-05-03 Thread Stefano Babic
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20230503 for you to fetch changes up to bb6ea0fe9290b4d64df8e716b58515b5325c2ea5: usb: ehci-mx6: move phy setup before register access (2023-05-02 10:57:32 +0200) u-boot

Re: [PATCH v2 26/30] build: Disable weak symbols for MSYS2

2023-05-03 Thread Fangrui Song
On Tue, May 2, 2023 at 11:30 PM Bin Meng wrote: > > Hi Simon, > > On Sun, Apr 30, 2023 at 9:30 AM Simon Glass wrote: > > > > Weak symbols are not well supported by the PE format, so disable them. > > We need to manually ensure that only one function is present in the source > > code. > > > > Add

[PATCH] scripts: dtc-version: support git version strings too

2023-05-03 Thread Martin Hundebøll
Building dtc from git causes the version number to start with a 'v' (e.g. v1.7.0). printf then fails to parse 'v1' as a decimal value, and prints '000700' instead of '010700'. Subsequently, the build fails, because '000700' is less than the required '010400' version. Signed-off-by: Martin

Re: [PATCH v2 u-boot-mvebu 4/4] arm: mvebu: clearfog: Update eMMC/SD/SATA instructions

2023-05-03 Thread Stefan Roese
On 5/3/23 12:01, Eugen Hristev wrote: So CI build fails and I can't send a pull request. I'm sending a patch though, to fix this image overflow by enabling LTO. Stay tuned... I see... LTO helped. So can be this patch series now applied? No problems with this series now in master, so:

Re: [PATCH v2 u-boot-mvebu 4/4] arm: mvebu: clearfog: Update eMMC/SD/SATA instructions

2023-05-03 Thread Eugen Hristev
On 5/3/23 12:57, Stefan Roese wrote: Hi Eugen, On 5/3/23 11:43, Eugen Hristev wrote: On 5/3/23 12:17, Stefan Roese wrote: On 4/29/23 13:08, Pali Rohár wrote: On Thursday 27 April 2023 10:56:17 Stefan Roese wrote: Hi Pali, On 4/27/23 01:44, Pali Rohár wrote: On Thursday 13 April 2023

Re: [PATCH v2 u-boot-mvebu 4/4] arm: mvebu: clearfog: Update eMMC/SD/SATA instructions

2023-05-03 Thread Stefan Roese
Hi Eugen, On 5/3/23 11:43, Eugen Hristev wrote: On 5/3/23 12:17, Stefan Roese wrote: On 4/29/23 13:08, Pali Rohár wrote: On Thursday 27 April 2023 10:56:17 Stefan Roese wrote: Hi Pali, On 4/27/23 01:44, Pali Rohár wrote: On Thursday 13 April 2023 22:43:25 Martin Rowe wrote: On Thu, 13 Apr

Re: [PATCH] configs: at91: sama5d2_icp_mmc: Enable CONFIG_LTO

2023-05-03 Thread Eugen Hristev
On 4/27/23 19:55, Pali Rohár wrote: On Thursday 27 April 2023 12:30:43 Stefan Roese wrote: On 4/27/23 11:51, Eugen Hristev wrote: On 4/27/23 12:26, Stefan Roese wrote: Hi Eugen, On 4/27/23 11:19, Eugen Hristev wrote: Hi Stefan, Thank you for the patch. This I guess is a workaround such

Re: [PATCH v2 u-boot-mvebu 4/4] arm: mvebu: clearfog: Update eMMC/SD/SATA instructions

2023-05-03 Thread Eugen Hristev
On 5/3/23 12:17, Stefan Roese wrote: On 4/29/23 13:08, Pali Rohár wrote: On Thursday 27 April 2023 10:56:17 Stefan Roese wrote: Hi Pali, On 4/27/23 01:44, Pali Rohár wrote: On Thursday 13 April 2023 22:43:25 Martin Rowe wrote: On Thu, 13 Apr 2023 at 20:58, Pali Rohár wrote: BootROM and

Re: [PATCH 2/2] board: Fix documentation for Snapdragon based Samsung and Qualcomm boards

2023-05-03 Thread Sumit Garg
On Thu, 20 Apr 2023 at 16:59, Bhupesh Sharma wrote: > > The current documentation for Snapdragon based Samsung > and Qualcomm boards is vague in the sense that at one place > it mentions that u-boot can be used as a replacement for ABL > bootloader and at another it mentions that u-boot is

  1   2   >