RE: i.MX8/9: question about unused DDR PHY trained CSR board array

2024-09-29 Thread Peng Fan
Hi Ahmad, > Subject: i.MX8/9: question about unused DDR PHY trained CSR board > array > > Hello Peng, > > Looking at the DDR setup code for i.MX8M and i.MX9 that you had > contributed, I am wondering about struct > dram_cfg_param::ddrphy_trained_csr and the global > ddrphy_trained_csr array. >

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-29 Thread Jan Kiszka
On 30.09.24 08:02, Sumit Garg wrote: > + Jan > > Hi Marek, > > On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: >> >> Currently the enablement of OF_UPSTREAM results on the build system >> searching for DTs only in dts/upstream/ . There are platforms which >> use U-Boot specific DTBOs applied o

Re: [PATCH 1/3] dts: Deduplicate dtbs target

2024-09-29 Thread Sumit Garg
On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: > > The dtbs: target is almost identical in all architecture Makefiles. > All architecture Makefiles include scripts/Makefile.dts . Deduplicate > the dtbs: target into scripts/Makefile.dts . No functional change. > > Signed-off-by: Marek Vasut > -

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-29 Thread Sumit Garg
+ Jan Hi Marek, On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: > > Currently the enablement of OF_UPSTREAM results on the build system > searching for DTs only in dts/upstream/ . There are platforms which > use U-Boot specific DTBOs applied on top of U-Boot control DT during > SPL stage, and

[PATCH 5/5] mmc: fsl_esdhc_imx: Reset tuning logic

2024-09-29 Thread Peng Fan (OSS)
From: Peng Fan When supporting partition reset for SoC such as i.MX95 , the Linux Kernel may have configured the tuning, while after force reset by wdog or else, uboot CMD0 will never pass unless config RSTT to reset tuning logic. Since RSTA and RSTT are independent, so need both to be reseted i

[PATCH 4/5] mmc: fsl_esdhc_imx: Avoid resource leak

2024-09-29 Thread Peng Fan (OSS)
From: Ye Li The memory of priv and plat are leaked if max_bus_width is wrong. Signed-off-by: Ye Li Reviewed-by: Peng Fan Signed-off-by: Peng Fan --- drivers/mmc/fsl_esdhc_imx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c ind

[PATCH 3/5] mmc: fsl_esdhc_imx: Fix host_caps issue for non-DM driver

2024-09-29 Thread Peng Fan (OSS)
From: Ye Li The plat->cfg is wrongly memset to 0, so the host_caps value configured in fsl_esdhc_initialize is reset. Remove the unnecessary memset since plat is allocated via calloc. Reviewed-by: Peng Fan Signed-off-by: Ye Li Signed-off-by: Peng Fan --- drivers/mmc/fsl_esdhc_imx.c | 2 -- 1

[PATCH 2/5] mmc: fsl_esdhc_imx: Send 80 clocks before IDLE command

2024-09-29 Thread Peng Fan (OSS)
From: Ye Li According to SD and MMC spec, 74 clocks must be sent to device after power stable. This is need in reinit ops for DM MMC or init ops for non-DM MMC after power cycle. So set the INTIA to send 80 clocks in esdhc_init_common and move its calling from probe to reinit. However, on 8MQ E

[PATCH 1/5] mmc: fsl_esdhc_imx: Enable AHB/IPG clk

2024-09-29 Thread Peng Fan (OSS)
From: Peng Fan Only enable PER clk is not enough, also need to enable AHB/IPG clk. Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/mmc/fsl_esdhc_imx.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c ind

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

2024-09-29 Thread Abbarapu, Venkatesh
Hi Marek, > -Original Message- > From: Marek Vasut > Sent: Saturday, September 28, 2024 2:05 AM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de > Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git > (AMD-Xilinx) > Subject: Re: [PATCH v2 1/7] usb: onboard-hub: Add reset-gpio support >

Re: [PATCH] usb: dwc3-generic: fix CONFIG_DM_REGULATOR-off case

2024-09-29 Thread Jan Kiszka
On 09.08.24 17:19, Caleb Connolly wrote: > > > On 09/08/2024 07:19, Jan Kiszka wrote: >> On 08.08.24 16:27, Caleb Connolly wrote: >>> Hi Jan, >>> >>> On 08/08/2024 10:51, Jan Kiszka wrote: From: Jan Kiszka When DM_REGULATOR is disabled, all calls will return -ENOSYS. Account

[PATCH v2 2/2] arm64: zynqmp: Fix tcminit mode value based on argv

2024-09-29 Thread Padmarao Begari
The RPU pytest introduced by commit e894c10c040b ("test/py: zynqmp_rpu: Add test for loading RPU apps") expects 3rd parameter as string not a number that's why extend command to actually handle both. The issue with existing code is that when any non number string is passed hextoul returns 0. For ba

[PATCH v2 1/2] arm64: zynqmp: Print an error for split to lock mode switch

2024-09-29 Thread Padmarao Begari
The zynqmp tcminit crashes the U-Boot when switching from r5-mode "split" to "lockstep" instead it should throw an error. When cpu is enabled, the check_tcm_mode() function checks if the previous mode is "split", switch mode is "lockstep" then it returns the error code and the initialize_tcm() func

[PATCH v2 0/2] arm64: zynqmp: Update zynqmp tcminit mode

2024-09-29 Thread Padmarao Begari
When cpu is enabled, the zynqmp tcminit throws an error message when switching from r5-mode "split" to "lockstep". When cpu is disabled, the zynqmp tcminit switch from r5-mode "split" to "lockstep". The mode value is assigned based on string compare for "lockstep", "0" or "split", "1". Changes in

[PATCH 1/4] power: pmic: Support pmic pf5300

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Support NXP pmic pf5300 Signed-off-by: Joy Zou Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/power/pmic/Kconfig | 15 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf5300.c | 168 include/power/pf5300.h | 100 +

[PATCH 4/4] power: regulator: ADD PMIC PF9453 support

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Add regulator support for NXP PMIC pf9453 for imx91 qsb. Reviewed-by: Ye Li Reviewed-by: Peng Fan Signed-off-by: Joy Zou Signed-off-by: Peng Fan --- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pf9453.c | 256

[PATCH 3/4] power: pmic: ADD PMIC PF9453 support

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Support NXP PMIC pf9453. Reviewed-by: Ye Li Reviewed-by: Peng Fan Signed-off-by: Joy Zou Signed-off-by: Peng Fan --- drivers/power/pmic/Kconfig | 15 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf9453.c | 173 include/pow

[PATCH 2/4] power: regulator: Support pmic pf5300

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Add regulator support for NXP pmic pf5300. Signed-off-by: Joy Zou Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pf5300.c | 247 +++ 3 files

[PATCH 2/2] power: regulator: Support pmic pf0900

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Add regulator driver for NXP PF0900 Signed-off-by: Joy Zou Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pf0900.c | 304 +++ 3 files changed

[PATCH 1/2] power: pmic: Support pmic pf0900

2024-09-29 Thread Peng Fan (OSS)
From: Joy Zou Support NXP pmic pf0900 Reviewed-by: Ye Li Signed-off-by: Joy Zou Signed-off-by: Peng Fan --- drivers/power/pmic/Kconfig | 15 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pf0900.c | 174 +++ include/power/pf0900.h | 269

[PATCH v3 25/33] drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD

2024-09-29 Thread Simon Glass
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass --- Changes in v3: - Split into several patches drivers/Makefile | 4 +- drivers/block/Makefile| 2 +- drivers/bus/Makefile

[PATCH v3 27/33] global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD

2024-09-29 Thread Simon Glass
Complete this rename for all directories outside arch/ board/ drivers/ and include/ Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass --- Changes in v3: - Drop the change in Makefile.xpl since XPL is already defined README

[PATCH v3 00/33] Tidy up use of 'SPL' and CONFIG_SPL_BUILD

2024-09-29 Thread Simon Glass
When the SPL build-phase was first created it was designed to solve a particular problem (the need to init SDRAM so that U-Boot proper could be loaded). It has since expanded to become an important part of U-Boot, with three phases now present: TPL, VPL and SPL Due to this history, the term 'SPL'

Re: [PATCH 2/9] ARM: dts: socfpga: add Enclustra Intel AA1

2024-09-29 Thread Lothar Rubusch
On Sun, Sep 29, 2024 at 6:55 PM Marek Vasut wrote: > > On 9/28/24 12:47 AM, Lothar Rubusch wrote: > > [...] > > >>> Ideally I like to setup some Kconfig choice for base board selection > >>> and one for boot-mode. > >> > >>> 1.) In the documentation control.rst I read that the u-boot.dts is > >>>

[PATCH v3 32/33] spl: Rename SPL_TPL_NAME and SPL_TPL_PROMPT

2024-09-29 Thread Simon Glass
Rename these to use the word PHASE instead. Signed-off-by: Simon Glass --- (no changes since v1) common/spl/spl.c| 36 ++-- common/spl/spl_fit.c| 2 +- common/spl/spl_legacy.c | 2 +- include/spl.h | 14 +++--- 4 files changed, 27

[PATCH v3 31/33] global: Rename SPL_TPL_ to PHASE_

2024-09-29 Thread Simon Glass
Use PHASE_ as the symbol to select a particular XPL build. This means that SPL_TPL_ is no-longer set. Update the comment in bootstage to refer to this symbol, instead of SPL_ Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 2 +- arch/arm/cpu/armv8

[PATCH v3 30/33] global: Rename SPL_ to XPL_

2024-09-29 Thread Simon Glass
Use XPL_ as the symbol to indicate an SPL build. This means that SPL_ is no-longer set. Signed-off-by: Simon Glass --- (no changes since v1) Makefile| 4 +-- arch/arm/config.mk | 6 ++-- arch/arm/cpu/arm920t/Makefile | 2 +- arc

[PATCH v3 29/33] kconfig: binman: Check for SPL instead of XPL

2024-09-29 Thread Simon Glass
Now that SPL means SPL (only) and is not defined for other phases, update kconfig rules. This is done in one patch since otherwise many Binman tests fail. Signed-off-by: Simon Glass --- (no changes since v1) include/linux/kconfig.h| 10 +- tools/binman/test/generated/a

[PATCH v3 33/33] qconfig: Update tool for new Makefile variables

2024-09-29 Thread Simon Glass
Take account of the new XPL_ and PHASE_ instead of the old SPL_ and SPL_TPL_ Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Drop patches not stricly necessary for the conversion - Rebase to -next - Update cover letter re code size tools/qconfig.py | 18 +

[PATCH v3 11/33] xpl: Rename u_boot_first_phase to xpl_is_first_phase()

2024-09-29 Thread Simon Glass
This is a better name for this function, so update it. Tidy up the function comment to mention VPL. Signed-off-by: Simon Glass --- Changes in v3: - Don't update to use SPL_BUILD in the SPL check arch/arm/mach-omap2/am33xx/board.c | 2 +- common/bloblist.c | 4 ++-- common/s

[PATCH v3 10/33] qconfig: Add XPL_BUILD to ignored symbols

2024-09-29 Thread Simon Glass
This now appears in the code base, so add it to the list of ignored symbols in qconfig Signed-off-by: Simon Glass --- (no changes since v1) tools/qconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 8c2fc9efc5f..71e911eeb3b 10

[PATCH v3 28/33] xpl: Define CONFIG_SPL_BUILD only for the SPL build

2024-09-29 Thread Simon Glass
Make this define mean SPL only, not TPL, VPL, etc. Signed-off-by: Simon Glass --- (no changes since v1) scripts/Makefile.autoconf | 4 ++-- scripts/Makefile.xpl | 7 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autocon

[PATCH v3 26/33] include: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD

2024-09-29 Thread Simon Glass
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass --- Changes in v3: - Split into several patches include/asm-generic/global_data.h | 2 +- include/bootcount.h| 4 ++-- include/config_distro_bootcmd.h

[PATCH v3 22/33] doc: Update init docs for the xPL changes

2024-09-29 Thread Simon Glass
Update the documentation here to cover the meaning of xPL Signed-off-by: Simon Glass --- (no changes since v1) doc/develop/init.rst | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/develop/init.rst b/doc/develop/init.rst index 2955d9bdbc3..ce985

[PATCH v3 21/33] doc: Move init-related things out of README

2024-09-29 Thread Simon Glass
Move this section to rst, changing it just enough so that it builds. Signed-off-by: Simon Glass --- Changes in v3: - Move to earlier in the series README| 82 -- doc/develop/index.rst | 1 + doc/develop/init.rst | 92 +++

[PATCH v3 20/33] README: Drop SoC-specific comment about SPL

2024-09-29 Thread Simon Glass
This should not be in the generic README file, so drop it. Signed-off-by: Simon Glass --- Changes in v3: - Move to earlier in the series README | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README b/README index c7ee06a21dd..78d91a2f62d 100644 --- a/README +++ b

[PATCH v3 17/33] xpl: Rename spl_phase_prefix() and spl_phase_name()

2024-09-29 Thread Simon Glass
Use simpler names for these functions. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 4 ++-- arch/x86/lib/tpl.c | 2 +- cmd/vbe.c | 2 +- common/spl/spl.c | 5 ++--- include/spl.h | 8 5 files changed, 10 insertions(+), 1

[PATCH v3 19/33] doc: Update SPL docs for the xPL changes

2024-09-29 Thread Simon Glass
Update the various references to SPL in this document. Make sure to refer to 'phases' instead of 'stages', which is not a U-Boot term. Fix a few U-boot typos and try to improve grammar a little while we are here. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Move to ear

[PATCH v3 18/33] log: global: Rename warn_non_spl()

2024-09-29 Thread Simon Glass
This should now refer to xPL rather than SPL, so update it throughout the tree. Signed-off-by: Simon Glass --- Changes in v3: - Move to earlier in the series arch/arm/lib/cache.c | 2 +- doc/develop/logging.rst | 2 +- drivers/spi/spi-uclass.c | 4 ++-- include/log.h| 12 ++

[PATCH v3 16/33] xpl: Rename spl_next_phase() and spl_prev_phase()

2024-09-29 Thread Simon Glass
Rename this to use the xpl prefix. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 4 ++-- arch/x86/lib/tpl.c | 2 +- common/bloblist.c | 2 +- common/spl/spl.c | 14 +++--- include/spl.h | 8 lib/fdtdec.c |

[PATCH v3 13/33] xpl: Rename spl_phase() to xpl_phase()

2024-09-29 Thread Simon Glass
Rename this function to indicate that it refers to any xPL phase. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Move to earlier in the series README | 6 +++--- arch/sandbox/cpu/spl.c | 2 +- arch/sandbox/cpu/start.

[PATCH v3 15/33] xpl: Add a function to indicate when in xPL

2024-09-29 Thread Simon Glass
Add the opposite function to not_xpl() for completeness. Signed-off-by: Simon Glass --- (no changes since v1) include/spl.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/spl.h b/include/spl.h index 948486164d9..fe2df78b0a6 100644 --- a/include/spl.h +++ b/include/spl.

[PATCH v3 07/33] scripts: Rename Makefile.spl to Makefile.xpl

2024-09-29 Thread Simon Glass
Rename this file to indicate that it refers to any non-U-Boot-proper phase, not just SPL, which is the phase immediately before U-Boot proper. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 6 +++--- scripts/{Makefile.spl => Makefile.xpl} | 0 2 f

[PATCH v3 14/33] xpl: Rename spl_in_proper() to not_xpl()

2024-09-29 Thread Simon Glass
Give this function a slightly easier name. Signed-off-by: Simon Glass --- (no changes since v1) drivers/mtd/nand/raw/sand_nand.c| 2 +- drivers/ram/rockchip/sdram_rk3399.c | 2 +- drivers/serial/ns16550.c| 4 ++-- include/spl.h | 4 ++-- 4 files changed, 6

[PATCH v3 06/33] stdio: Make use of the SERIAL define

2024-09-29 Thread Simon Glass
This is always enabled for U-Boot proper, so simplify the condition in the common Makefile. Signed-off-by: Simon Glass --- Changes in v3: - Move earlier in the series include/stdio.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/stdio.h b/include/stdio.h index

[PATCH v3 12/33] xpl: Rename spl_phase to xpl_phase_t

2024-09-29 Thread Simon Glass
This name fits better with the new naming scheme, so update it. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 2 +- common/spl/spl.c | 2 +- doc/device-tree-bindings/bootph.yaml | 2 +- include/spl.h|

[PATCH v3 09/33] scripts: Define CONFIG_XPL_BUILD for all xPL builds

2024-09-29 Thread Simon Glass
The new name 'xPL' is intended to indicate a build of any phase which is not U-Boot proper. Define it for all such phases. Note that we also define CONFIG_SPL_BUILD for all xPL builds. This preserves existing behaviour, but future patches will adjust that. Signed-off-by: Simon Glass --- (no cha

[PATCH v3 08/33] scripts: Add some comments about autoconf.mk

2024-09-29 Thread Simon Glass
Now that the conversion of all CONFIG options to Kconfig is complete, these files only contain the xPL_BUILD defines. Add a comment to make this clear. Signed-off-by: Simon Glass --- (no changes since v1) scripts/Makefile.xpl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/Ma

[PATCH v3 01/33] Makefile: Add a u-boot.cfg file for VPL

2024-09-29 Thread Simon Glass
Create this file for VPL as well, for consistency. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 525576f987d..300cee2e7f6 100644 --- a/Makefile +++ b/Makefile @@ -624,7 +624,7 @@ inclu

[PATCH v3 05/33] serial: Make use of the SERIAL define

2024-09-29 Thread Simon Glass
This is always enabled for U-Boot proper, so simplify the condition in the common Makefile. Signed-off-by: Simon Glass --- Changes in v3: - Move earlier in the series common/Makefile | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/common/Makefile b/common/Makefile

[PATCH v3 04/33] net: freescale: Drop use of SPL_BUILD dependency

2024-09-29 Thread Simon Glass
SPL_BUILD is not a Kconfig symbol. Perhaps the intent here is to use SPL instead. However, this causes build errors, e.g. with T1024RDB_NAND So drop the dependency on !SPL_BUILD since it does nothing. Signed-off-by: Simon Glass --- (no changes since v1) drivers/net/Kconfig | 2 +- 1 file chan

[PATCH v3 03/33] tegra: Drop dependency on SPL_BUILD

2024-09-29 Thread Simon Glass
SPL_BUILD is not a Kconfig symbol so perhaps the intent here is to use SPL instead. But that changes the output size. So drop the dependency on !SPL_BUILD since it does nothing. Signed-off-by: Simon Glass --- Changes in v3: - Correct the subject to match what the patch changed to do arch/arm/

[PATCH v3 02/33] boot: Drop unnecessary ifdef for LOAD_FIT

2024-09-29 Thread Simon Glass
Use the normal SPL_TPL_ approach for this option. Signed-off-by: Simon Glass --- (no changes since v1) boot/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/boot/Makefile b/boot/Makefile index f4675d6ffd5..40e2337de0f 100644 --- a/boot/Makefile +++ b/boot/Makefil

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-29 Thread Tom Rini
On Sun, Sep 29, 2024 at 04:49:17PM -0600, Simon Glass wrote: > Hi Fabio, > > On Sun, 29 Sept 2024 at 14:53, Fabio Estevam wrote: > > > > Hi Simon, Marek, and Tom, > > > > On Fri, Sep 27, 2024 at 5:47 PM Tom Rini wrote: > > > > > > Please can you coordinate with Marek as we need to sort out the t

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-29 Thread Simon Glass
Hi Fabio, On Sun, 29 Sept 2024 at 14:53, Fabio Estevam wrote: > > Hi Simon, Marek, and Tom, > > On Fri, Sep 27, 2024 at 5:47 PM Tom Rini wrote: > > > > Please can you coordinate with Marek as we need to sort out the test > > > coverage for this etype, before adding more functionality. I did a >

Re: [PATCH 1/3] dts: Deduplicate dtbs target

2024-09-29 Thread Caleb Connolly
Hi Marek, On 27/09/2024 23:48, Marek Vasut wrote: The dtbs: target is almost identical in all architecture Makefiles. All architecture Makefiles include scripts/Makefile.dts . Deduplicate the dtbs: target into scripts/Makefile.dts . No functional change. Signed-off-by: Marek Vasut Tested-by:

Re: [PATCH v2] arm64: dts: imx8mp: Add DH i.MX8MP DHCOM SoM on DRC02 carrier board

2024-09-29 Thread Fabio Estevam
On Wed, Sep 25, 2024 at 1:07 PM Marek Vasut wrote: > > Add support for DH electronics i.MX8MP DHCOM SoM on DRC02 carrier board. > This system is populated with two ethernet ports, two CANs, RS485 and RS232, > USB, capacitive buttons and an OLED display. > > Matching Linux kernel patch has been pos

Re: [PATCH] arm64: dts: imx8mp: Add support for DH electronics i.MX8M Plus DHCOM PicoITX

2024-09-29 Thread Fabio Estevam
On Sat, Sep 28, 2024 at 8:54 PM Marek Vasut wrote: > > Add support for DH electronics i.MX8M Plus DHCOM SoM on PicoITX carrier board. > This system is populated with serial console, EQoS ethernet, eMMC, SD, SPI > NOR, > LEDs and USB 3.0 host used in USB 2.0 mode on PicoITX. > > Matching Linux ker

Re: [PATCH v2] gpio: adp5585: Add SPL config for ADP5585 driver

2024-09-29 Thread Fabio Estevam
On Sat, Sep 28, 2024 at 10:33 PM wrote: > > From: Ye Li > > So we can disable to build ADP5585 in SPL to save size > > Signed-off-by: Ye Li > Signed-off-by: Alice Guo > Reviewed-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-29 Thread Fabio Estevam
Hi Simon, Marek, and Tom, On Fri, Sep 27, 2024 at 5:47 PM Tom Rini wrote: > > Please can you coordinate with Marek as we need to sort out the test > > coverage for this etype, before adding more functionality. I did a > > starting point, now in -next, which should help. > > Well, when someone ha

Re: [PATCH v2 2/7] mtd: rawnand: brcmnand: Fix potential false time out warning

2024-09-29 Thread Michael Nazzareno Trimarchi
All, Dario On Tue, Sep 17, 2024 at 2:20 AM William Zhang wrote: > > > -Original Message- > > From: Linus Walleij > > Sent: Monday, September 16, 2024 2:59 AM > > To: u-boot@lists.denx.de; Dario Binacchi > > ; Michael Trimarchi > > ; Anand Gore > > ; William Zhang > > ; Kursad Oney > > ;

Re: [PATCH v2 1/7] mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller

2024-09-29 Thread Michael Nazzareno Trimarchi
On Mon, Sep 16, 2024 at 11:58 AM Linus Walleij wrote: > > From: William Zhang > > Backport from the Linux kernel > commit 2ec2839a9062db8a592525a3fdabd42dcd9a3a9b > "mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller" > > v7.2 controller has different ECC level field size and

Re: [PATCH 2/9] ARM: dts: socfpga: add Enclustra Intel AA1

2024-09-29 Thread Marek Vasut
On 9/28/24 12:47 AM, Lothar Rubusch wrote: [...] Ideally I like to setup some Kconfig choice for base board selection and one for boot-mode. 1.) In the documentation control.rst I read that the u-boot.dts is combined of several elements. Is there a way to take this base .dts, then add a base

[PATCH v1] mailbox: add i.MX MU driver

2024-09-29 Thread alice . guo
From: Peng Fan Add i.MX MU based mailbox driver. Signed-off-by: Viorel Suman Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/mailbox/Kconfig | 7 + drivers/mailbox/Makefile | 1 + drivers/mailbox/imx-mailbox.c | 417

回复: [PATCH v1] mailbox: add i.MX MU driver

2024-09-29 Thread Alice Guo (OSS)
Sorry, please ignore this patch. I used the wrong mail. > -邮件原件- > 发件人: U-Boot 代表 Alice Guo > 发送时间: 2024年9月29日 9:55 > 收件人: u-boot@lists.denx.de > 抄送: tr...@konsulko.com; Peng Fan ; Viorel Suman > ; michal.si...@amd.com; Ye Li ; > Alice Guo > 主题: [PATCH v1] mailbox: add i.MX MU driver >

[PATCH v1] mailbox: support timeout when sending

2024-09-29 Thread alice . guo
From: Peng Fan Add timeout support for mbox_send. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/mailbox/mailbox-uclass.c | 19 ++- include/mailbox.h| 2 ++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/driver

Re: [PATCH v4 03/11] led: implement LED boot API

2024-09-29 Thread Christian Marangi
On Thu, Sep 26, 2024 at 11:33:18PM +0200, Simon Glass wrote: > Hi Christian, > > On Sat, 21 Sept 2024 at 00:51, Christian Marangi wrote: > > > > Implement LED boot API to signal correct boot of the system. > > > > led_boot_on/off/blink() are introduced to turn ON, OFF and BLINK the > > designated

Re: [PATCH v2 16/30] kconfig: binman: Check for SPL instead of XPL

2024-09-29 Thread Simon Glass
Hi Jonas, On Sun, 29 Sept 2024 at 00:08, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-28 22:00, Simon Glass wrote: > > Now that SPL means SPL (only) and is not defined for other phases, > > update kconfig rules. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > >

Re: [PATCH v2 04/30] scripts: Define CONFIG_XPL_BUILD for all xPL builds

2024-09-29 Thread Simon Glass
Hi Jonas, On Sat, 28 Sept 2024 at 22:56, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-28 22:00, Simon Glass wrote: > > The new name 'xPL' is intended to indicate a build of any phase which is > > not U-Boot proper. Define it for all such phases. > > > > Note that we also define CONFIG_SPL_BU

Re: [PATCH v2 13/30] xpl: Define CONFIG_SPL_BUILD only for the SPL build

2024-09-29 Thread Simon Glass
Hi Jonas, On Sun, 29 Sept 2024 at 00:19, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-28 22:00, Simon Glass wrote: > > Make this define mean SPL only, not TPL, VPL, etc. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > > > scripts/Makefile.autoconf | 4 ++-- > >

Re: [PATCH v2 05/30] global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD

2024-09-29 Thread Simon Glass
Hi Jonas, On Sun, 29 Sept 2024 at 13:00, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-28 22:00, Simon Glass wrote: > > Use the new symbol to refer to any 'SPL' build, including TPL and VPL > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > > > [snip] > > > diff --g

Re: [PATCH v2 21/30] xpl: Rename u_boot_first_phase to xpl_is_first_phase()

2024-09-29 Thread Simon Glass
Hi Jonas, On Sat, 28 Sept 2024 at 16:23, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-28 22:00, Simon Glass wrote: > > This is a better name for this function, so update it. > > > > Tidy up the function comment to mention VPL. Use SPL_BUILD in the SPL > > check, for clarity. > > > > Signed-o

Re: [PATCH v2 05/30] global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD

2024-09-29 Thread Jonas Karlman
Hi Simon, On 2024-09-28 22:00, Simon Glass wrote: > Use the new symbol to refer to any 'SPL' build, including TPL and VPL > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > [snip] > diff --git a/arch/arm/include/asm/arch-rockchip/boot0.h > b/arch/arm/include/asm/arch-rockchip/

[PATCH] cmd: Make bootvx independent of bootelf

2024-09-29 Thread Daniel Palmer
There are lots of usecases for running baremetal ELF binaries via bootelf but if you enable bootelf you get bootvx as well and you probably don't want or need it. Hide bootvx behind it's own configuration option. Signed-off-by: Daniel Palmer --- cmd/Kconfig | 11 +-- cmd/elf.c | 6 ++