RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration

2023-11-02 Thread Jaehoon Chung
Hi, > -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Friday, November 3, 2023 10:07 AM > To: 'Mattijs Korpershoek' > Cc: lu...@denx.de; u-boot@lists.denx.de > Subject: RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration > > Hi Mathtjjs, > > >

[PATCH V2 0/2] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
Due to the sequence of merges, it looks like many of k3 documentation used code-blocks while the rest of the docs migrated to ::prompt. Sync all to a common style. based off: master 07fe79c93c5c Merge tag 'i2cfixes-for-v2024-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-i2c

[PATCH V2 2/2] doc: board: ti: k3 docs: Use ::prompt

2023-11-02 Thread Nishanth Menon
Use prompt instead of code-block to have copy-paste friendly command documentation. Signed-off-by: Nishanth Menon --- Changes since v1: minor fixup for whitespace indentation. V1: https://lore.kernel.org/r/20231103000915.2413501-4...@ti.com doc/board/ti/am62x_beagleplay.rst | 46 ++---

[PATCH V2 1/2] doc: board: ti: Use prompt prompt_style to simplify documentation

2023-11-02 Thread Nishanth Menon
The sphinx-prompt documentation[0] provides examples on how we can use prompt as a parameter to simplify the description. Use the same. While at it, ensure to make all relevant prompts clarified such as gdb prompts. [0] http://sbrunner.github.io/sphinx-prompt/ Signed-off-by: Nishanth Menon ---

RE: uboot reports adding disk failed(EFI_NOT_FOUND) and first disk is gone in next scsi scan

2023-11-02 Thread Hongxing Zhu
Hi Simon: I found that the EFI complained that the disk install path is not updated for the second disk. The install path is “EFI: installed device path '/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/Scsi(0,0)'” when first disk is added. But the path is same when the second or later disks are

Re: [PATCH 0/3] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
On 19:09-20231102, Nishanth Menon wrote: > Due to the sequence of merges, it looks like many of k3 documentation > used code-blocks while the rest of the docs migrated to ::prompt. > > Sync all to a common style. > > based off: > master 07fe79c93c5c Merge tag 'i2cf

RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration

2023-11-02 Thread Jaehoon Chung
Hi Mathtjjs, > -Original Message- > From: Mattijs Korpershoek > Sent: Thursday, November 2, 2023 6:15 PM > To: Jaehoon Chung > Cc: lu...@denx.de; u-boot@lists.denx.de > Subject: Re: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration > > Hi Jaehoon, > > On mar., oct. 31, 2023 at

[PATCH 13/15] arm: dts: Add k3-j721e-beagleboneai64

2023-11-02 Thread Nishanth Menon
From: Robert Nelson BeagleBoard.org BeagleBone AI-64 is an open source hardware single board computer based on the Texas Instruments TDA4VM SoC featuring dual-core 2.0GHz Arm Cortex-A72 processor, C7x+MMA and 2 C66x floating-point VLIW DSPs, 3x dual ARM Cortex-R5 co-processors, 2x 6-core

[PATCH 1/1] [u-boot][master][PATCH v6] pico-imx7d: add baseboard SD card boot detect

2023-11-02 Thread egyszeregy
From: Benjamin Szőke Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) and USDHC1 (SD on carrier board) to use on any carrier board like PICO-NYMPH. Based on the U-Boot version from Technexion it adds baseboard SD card boot detect to able to boot from selected USDHC1 or

[PATCH 04/15] board: ti: j721e: evm: Drop unused headers

2023-11-02 Thread Nishanth Menon
Drop headers that are no longer necessary for build Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 8 1 file changed, 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 75d51a0552c4..8f0996c32ee6 100644 --- a/board/ti/j721e/evm.c +++

[PATCH 12/15] arm: dts: k3-j721e-binman: Use macros that can be overridden for dtbs

2023-11-02 Thread Nishanth Menon
Allow the reuse of k3-j721e-binman for other platforms such as BeagleBone-AI64. Provide a couple of macros to indicate the correct dtb to be able to re-use soc binman dtsi file Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721e-binman.dtsi | 12 1 file changed, 12

[PATCH 05/15] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-02 Thread Nishanth Menon
Switch to using IS_ENABLED() for inline function usage. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 83 ++-- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index

[PATCH 11/15] arm: dts: k3-j721e-binman: Allow a single board configuration

2023-11-02 Thread Nishanth Menon
Allow the reuse of k3-j721e-binman for other platforms such as BeagleBone-AI64. We don't need to build SK device tree blobs in-order to be able to build dtbs for single configuration platforms. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721e-binman.dtsi | 21

[PATCH 08/15] board: ti: j721e: evm: Split code to isolate eeprom detected logic

2023-11-02 Thread Nishanth Menon
Move code out of evm.c that is based on evm specific checks for board variants and initialization sequences there of. Signed-off-by: Nishanth Menon --- board/ti/j721e/Makefile| 1 + board/ti/j721e/{evm.c => board-variants.c} | 172 + board/ti/j721e/evm.c

[PATCH 03/15] board: ti: j721e: evm: Drop board check for ESM

2023-11-02 Thread Nishanth Menon
When config is enabled, the esm dt probe makes sense. Simplify by dropping board specific checks. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index

[PATCH 01/15] arm: mach-k3: j721e: Improve support for UDA FS

2023-11-02 Thread Nishanth Menon
Commit 5019170970ad ("arch: arm: mach-k3: j721e: add support for UDA FS") introduced basic UDA FS support, however, we can Take approach similar to commit 0f1c1e8b368b ("arm: mach-k3: am625: Add support for UDA FS"). While boot partition support with EMMC boot is useful, it is constrained by the

[PATCH 15/15] doc: board: ti: Add BeagleBone AI-64 documentation

2023-11-02 Thread Nishanth Menon
Add base documentation for BeagleBone AI-64. Signed-off-by: Nishanth Menon --- doc/board/ti/j721e_beagleboneai64.rst | 327 ++ doc/board/ti/k3.rst | 1 + 2 files changed, 328 insertions(+) create mode 100644 doc/board/ti/j721e_beagleboneai64.rst

[PATCH 02/15] configs: j7200: Remove HBMC_AM654 config

2023-11-02 Thread Nishanth Menon
Kernel commit 1b77265626a4 ("arm64: dts: ti: k3-j7200-mcu-wakeup: Add HyperBus node") was merged to kernel without its dependent patch [1]. Similar fix is needed in U-Boot, and hbmc currently breaks boot. Till this gets fixed in U-Boot, disable the config by default so that the hbmc probe that

[PATCH 00/15] board: ti: Add support for BeagleBone AI-64

2023-11-02 Thread Nishanth Menon
Cleanups for J721e/J7200 and add support for BeagleBone AI-64 Based off: master 07fe79c93c5c Merge tag 'i2cfixes-for-v2024-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-i2c Boot Logs: J721e-SK: https://gist.github.com/nmenon/c144e64f1da9fd49997ef5794b056bb0 J721e-EVM:

[PATCH 06/15] board: ti: j721e: evm: Drop board based serdes initialization

2023-11-02 Thread Nishanth Menon
Serdes initialization should be compile flag based instead of being eeprom based. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 17640ae79665..d49993fffe39

[PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file

2023-11-02 Thread Nishanth Menon
Add defconfig fragments for J721E based BeagleBone AI-64 and corresponding customized environment. Signed-off-by: Nishanth Menon --- board/ti/j721e/beagleboneai64.env| 19 board/ti/j721e/beagleboneai64_a72.config | 55

[PATCH 09/15] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-02 Thread Nishanth Menon
Add explicit boot_targets to indicate the specific boot sequence to follow. Signed-off-by: Nishanth Menon --- board/ti/j721e/j721e.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.env index 8cc8232fc131..cb27bf5e2b24 100644 ---

[PATCH 10/15] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-02 Thread Nishanth Menon
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j721e_evm_a72_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 07/15] board: ti: j721e: evm: Use IS_ENABLED with CONFIG_PHYS_64BIT

2023-11-02 Thread Nishanth Menon
Use IS_ENABLED to replace the #ifdeffery. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d49993fffe39..0fc141776818 100644 ---

Re: [PATCH v2] patman: Add a 'keep_change_id' setting

2023-11-02 Thread Maxim Cournoyer
Hi Simon, Simon Glass writes: > On Thu, 12 Oct 2023 at 20:06, Maxim Cournoyer > wrote: >> >> A Change-Id can be useful for traceability purposes, and some projects >> may wish to have them preserved. This change makes it configurable >> via a new 'keep_change_id' setting. >> >>

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

2023-11-02 Thread Tom Rini
On Thu, Nov 02, 2023 at 11:02:51PM +0100, Marek Vasut wrote: > The following changes since commit a803f87202aa48974bdff4d8100464a8288931e4: > > Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2023-11-01 > 09:44:33 -0400) > > are available in the Git repository at: > >

[PATCH 2/3] doc: board: ti: k3: Use ::prompt for gdb commands

2023-11-02 Thread Nishanth Menon
Provide more friendlier documentation with prompt (gdb) option Signed-off-by: Nishanth Menon --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index e9bbe7c09794..c20e33d00412 100644 ---

[PATCH 0/3] doc: board: ti: Cleanup ::prompt usage

2023-11-02 Thread Nishanth Menon
Due to the sequence of merges, it looks like many of k3 documentation used code-blocks while the rest of the docs migrated to ::prompt. Sync all to a common style. based off: master 07fe79c93c5c Merge tag 'i2cfixes-for-v2024-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-i2c

[PATCH 1/3] doc: board: ti: Use prompt prompt_style to simplify documentation

2023-11-02 Thread Nishanth Menon
The sphinx-prompt documentation[0] provides examples on how we can use prompt as a parameter to simplify the description. Use the same. [0] http://sbrunner.github.io/sphinx-prompt/ Signed-off-by: Nishanth Menon --- doc/board/ti/am335x_evm.rst | 39 +

[PATCH 3/3] doc: board: ti: k3 docs: Use ::prompt

2023-11-02 Thread Nishanth Menon
Use prompt instead of code-block to have copy-paste friendly command documentation. Signed-off-by: Nishanth Menon --- doc/board/ti/am62x_beagleplay.rst | 46 - doc/board/ti/am62x_sk.rst | 18 +++ doc/board/ti/am64x_evm.rst| 20 +++

Re: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-11-02 Thread Jaehoon Chung
Hi On 10/3/23 16:22, Kuan Lim Lee wrote: > From: Kuan Lim Lee > > Cadence SDMMC v6 controller has a lot of changes on initialize > compared to v4 controller. PHY is needed by v6 controller. > > Signed-off-by: Kuan Lim Lee > Reviewed-by: Alex Soo > Reviewed-by: Wei Liang Lim I didn't see

Please pull u-boot-dm

2023-11-02 Thread Simon Glass
Hi Tom, Just various bugfixes, apart from the TI one https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/3227baad05481e37d75aeae7c7c1467fd6903f7d https://dev.azure.com/simon0972/u-boot/_build/results?buildId=54=results (not finished yet) The following changes since commit

Re: [PATCH v2] patman: Add a 'keep_change_id' setting

2023-11-02 Thread Simon Glass
On Thu, 12 Oct 2023 at 20:06, Maxim Cournoyer wrote: > > A Change-Id can be useful for traceability purposes, and some projects > may wish to have them preserved. This change makes it configurable > via a new 'keep_change_id' setting. > > Signed-off-by: Maxim Cournoyer > --- > > Changes in v2:

Re: [PATCH 1/6] binman: Reset missing bintools after testing

2023-11-02 Thread Simon Glass
Hi Simon On 15/10/23 02:10, Simon Glass wrote: > For tests which fake bintools being missing, we need to reset the list > afterwards, to ensure that future tests do not also see the bintools as > missing. > > Reset the list when processing is complete. > > Signed-off-by: Simon Glass > --- > >

Re: [PATCH 2/6] binman: Don't add compression attribute for uncompressed files

2023-11-02 Thread Simon Glass
Hi Simon On 15/10/23 02:10, Simon Glass wrote: > cbfsutil changed to skip adding a compression attribute if there is no > compression. Adjust the binman implementation to do the same. > > This mirrors commit 105cdf5625 in coreboot. > > Signed-off-by: Simon Glass > --- > >

Re: [PATCH 3/6] binman: Ensure attributes always come last in the metadata

2023-11-02 Thread Simon Glass
cbfsutil changed to write zero bytes instead of 0xff when a small padding must be added. Adjust the binman implementation to do the same. Drop the code which looks for an unused attribute tag, since it is not used. A future patch moves the attributes to the end of the header in any case, so no

Re: [PATCH 4/6] binman: Replace FILENAME_ALIGN 16 with ATTRIBUTE_ALIGN 4

2023-11-02 Thread Simon Glass
cbfsutil changed to 4-byte alignment for filenames instead of 16. Adjust the binman implementation to do the same. This mirrors commit 5779ca718c in coreboot. Signed-off-by: Simon Glass --- tools/binman/cbfs_util.py | 10 +- tools/binman/cbfs_util_test.py | 19 ++-

Re: [PATCH 5/6] binman: Rename TYPE_STAGE to TYPE_LEGACY_STAGE

2023-11-02 Thread Simon Glass
In preparation for changing how stages are stored, rename the existing stage tag. Signed-off-by: Simon Glass --- cmd/cbfs.c | 2 +- include/cbfs.h | 2 +- tools/binman/cbfs_util.py | 12 ++-- tools/binman/cbfs_util_test.py | 3 ++- 4 files

Re: [PATCH 6/6] binman: Move stage header into a CBFS attribute

2023-11-02 Thread Simon Glass
cbfsutil completely changed the way that stages are formatted in CBFS. Adjust the binman implementation to do the same. This mirrors commit 81dc20e744 in coreboot. Signed-off-by: Simon Glass --- tools/binman/cbfs_util.py | 64 +-

Re: [PATCH v2] cros_ec: spi: disable annoying key echo on console

2023-11-02 Thread Simon Glass
on Peach-pi console every key press is echoed with message 'cros_ec_command: Returned status 1' this is not proper fix, just hack to disable this message Signed-off-by: Milan P. Stanić Reviewed-by: Simon Glass --- changed patch to use log_debug and added forgoten Signed-off-by and and

Re: [PATCH] buildman: Include symbols in the read-only data section

2023-11-02 Thread Simon Glass
On Mon, Oct 23, 2023 at 12:52:43AM -0700, Simon Glass wrote: > When symbols switch between the inited data section and the read-only > data section their visbility changes, at present, with the -B option. > > This is confusing, since adding 'const' to a variable declaration can > make it look

Re: [PATCH v4 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-11-02 Thread Simon Glass
On Mon, 23 Oct 2023 at 01:01, Neha Malcom Francis wrote: > > According to the TRMs of K3 platform of devices, the ROM boot image > format specifies a "Core Options Field" that provides the capability to > set the boot core in lockstep when set to 0 or to split mode when set > to 2. Add support

Re: [PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-11-02 Thread Simon Glass
On Tue, Oct 24, 2023 at 08:30:47AM +0200, Heinrich Schuchardt wrote: > The sandbox should closely mimic other architectures. > > Place each function or data in a separate section and let the linker > eliminate unused ones. This will reduce the binary size. > > In the linker script mark that

Re: [PATCH] u_boot_pylib: Ensure subprocess is closed down

2023-11-02 Thread Simon Glass
It isn't clear why we need to have two different paths for closing down the pipe. Unify them and use the Python to avoid this warning: subprocess.py:1127: ResourceWarning: subprocess 83531 is still running Note that this code appears to originally have come from [1] and was committed into the

Re: [PATCH v2 3/5] common/board_f: Catch bloblist before starting resevations

2023-11-02 Thread Simon Glass
Hi Devarsh, On Tue, 31 Oct 2023 at 13:12, Devarsh Thakkar wrote: > > Start reservations needed for init sequence only after catching > bloblists from previous stage. > > This is to avoid catching bloblists in the middle causing > gaps while u-boot is reserving. > > Adjust the relocaddr as per

Re: [PATCH v2 5/5] video: Fill video handoff in video post probe

2023-11-02 Thread Simon Glass
Hi Devarsh, On Tue, 31 Oct 2023 at 13:12, Devarsh Thakkar wrote: > > Fill video handoff fields in video_post_probe > as at this point we have full framebuffer related framebuffer-related > information. > > Also fill all the fields available in video hand-off > struct as those were missing

Re: [PATCH v2 4/5] video: Skip framebuffer reservation if already reserved

2023-11-02 Thread Simon Glass
On Tue, 31 Oct 2023 at 13:12, Devarsh Thakkar wrote: > > Skip framebufer reservation if it was already reserved > from previous stage and whose information was passed > using a bloblist. > > Signed-off-by: Devarsh Thakkar > Reviewed-by: Simon Glass > --- > V2: > - Add debug prints > - Fix

Re: [PATCH v2 2/2] rng: add dm_rng_read_default() helper

2023-11-02 Thread Simon Glass
Hi Alexey, On Thu, 2 Nov 2023 at 12:57, Alexey Romanov wrote: > > Add dm_rng_read_default() function, which obtain a series > of random bytes. In some cases, such function would be > useful because it allows the caller to abstract away from > RNG device. It should not do that. It should create

Re: [PATCH v3 4/4] sunxi: Enable SPL FIT loading for 32-bit SoCs

2023-11-02 Thread Simon Glass
On Tue, 31 Oct 2023 at 05:18, Samuel Holland wrote: > > Now that 32-bit SoCs can load U-Boot proper (and possibly other > firmware) from a FIT, use this method by default. SPL_FIT_IMAGE_TINY is > required to stay within the 24 or 32 KiB SPL size limit on early SoCs; > for consistency, enable it

Re: [PATCH v3 3/4] sunxi: binman: Support FIT generation for 32-bit SoCs

2023-11-02 Thread Simon Glass
On Tue, 31 Oct 2023 at 05:18, Samuel Holland wrote: > > Some 32-bit SoCs can use SCP firmware to implement additional PSCI > functionality, such as system suspend. In order to load this firmware > from SPL, we need to generate and use a FIT instead of a legacy image. > > Adjust the binman FIT

Re: [PATCH v2 1/5] arm: mach-k3: common: Reserve video memory from end of the RAM

2023-11-02 Thread Simon Glass
Hi Devarsh, On Tue, 31 Oct 2023 at 13:12, Devarsh Thakkar wrote: > > Add function spl_reserve_video which is a wrapper > around video_reserve to setup video memory and update > the relocation address pointer. > > Setup video memory before page table reservation so that > framebuffer memory gets

Re: [PATCH v2 1/2] rng: move platform_get_rng_device() to rng-uclass.c

2023-11-02 Thread Simon Glass
Hi Alexey, On Thu, 2 Nov 2023 at 12:58, Alexey Romanov wrote: > > The correct declaration place for platform_get_rng_device() > function is here. Also, this function is re-implemented to provide > the first successfully probed RNG device. > > Signed-off-by: Alexey Romanov > --- >

Re: [PATCH v3 4/5] dm: core: Modify default for OFNODE_MULTI_TREE

2023-11-02 Thread Tom Rini
On Tue, Sep 12, 2023 at 02:35:03PM -0700, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > There is a preference to use the "ofnode" API for FDT fixups > moving forward. The FDT fixup will usually be for the kernel FDT. To > fixup the kernel FDT with the ofnode API, it's required

[PULL] u-boot-sh/master_common_h_cleanup

2023-11-02 Thread Marek Vasut
The following changes since commit a803f87202aa48974bdff4d8100464a8288931e4: Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2023-11-01 09:44:33 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master_common_h_cleanup for you

Re: [PATCH v2 1/2] rng: move platform_get_rng_device() to rng-uclass.c

2023-11-02 Thread Heinrich Schuchardt
On 11/2/23 11:16, Alexey Romanov wrote: The correct declaration place for platform_get_rng_device() function is here. Also, this function is re-implemented to provide the first successfully probed RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 16

[PATCH v2] bootstd: Skip over bad device during bootflows scanning

2023-11-02 Thread Tony Dinh
During bootstd scanning for bootdevs, if bootdev_hunt_drv() encounters a device not found error (e.g. ENOENT), let it return a successful status so that bootstd will continue scanning the next devices, not stopping prematurely. Background: During scanning for bootflows, it's possible for bootstd

Re: [PATCH 2/2] configs: Add am62x_beagleplay_* defconfigs

2023-11-02 Thread Nishanth Menon
On 12:05-20231101, Andrew Davis wrote: > Add am62x_beagleplay_r5_defconfig for R5 SPL and > am62x_beagleplay_a53_defconfig for A53 SPL and U-Boot support. > > These defconfigs are composite defconfigs built from the config fragment > board/ti/am62x/beagleplay_*.config applied onto the base >

Re: [PATCH 1/2] Makefile: Run defconfig files through the C preprocessor

2023-11-02 Thread Nishanth Menon
On 12:05-20231101, Andrew Davis wrote: > This allows us to use some of the normal preprocessor directives inside > defconfig files. Such as #define and #include. > > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key

Re: [PATCH 5/7] arm: mach-k3: am62x: Move board selection to mach-k3

2023-11-02 Thread Andrew Davis
On 11/2/23 3:55 AM, Francesco Dolcini wrote: Hello Andrew, On Wed, Nov 01, 2023 at 03:35:28PM -0500, Andrew Davis wrote: Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor,

Re: [PATCH 2/2] bootstd: cros: Correct condition for read method

2023-11-02 Thread Tom Rini
On Wed, Oct 25, 2023 at 07:17:37AM +1300, Simon Glass wrote: > This has a typo which makes the method inoperable. Correct it so that > 'bootflow read' works correctly for ChromeOS. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] arm: mach-k3: Move K3 common schema.yaml out of board directory

2023-11-02 Thread Francesco Dolcini
Hello Andrew, thanks for the patch. On Wed, Nov 01, 2023 at 01:33:29PM -0500, Andrew Davis wrote: > This file is common for all K3, move it out of board/ directory and > into mach-k3. As we need to change the path in k3-binman.dtsi let's > take this opportunity to switch to absolute paths which

Re: [PATCH 1/1] bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

2023-11-02 Thread Tom Rini
On Mon, Aug 28, 2023 at 08:49:59PM +0200, Heinrich Schuchardt wrote: > Compiling sandbox_defconfig with CONFIG_BOOTSTD=n fails: > > /usr/bin/ld: drivers/mtd/spi/sf_bootdev.o: > in function `sf_get_bootflow': > /drivers/mtd/spi/sf_bootdev.c:43:(.text+0x96): > undefined reference

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-11-02 Thread Tom Rini
On Sun, Sep 03, 2023 at 10:40:00PM +0200, Mark Kettenis wrote: > Enable the bootflow based on this bootmeth if the BootOrder EFI > variable is set. > > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-i2c

2023-11-02 Thread Tom Rini
On Thu, Nov 02, 2023 at 03:10:44PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit d9650a48234058c645d1a07951c3d2cf129427e6: > > Merge branch '2023-10-28-assorted-platform-updates' (2023-10-28 09:23:27 > -0400) > > are

Re: [PATCH 1/2] bootstd: Handle a few special cases in cmdline_set_arg()

2023-11-02 Thread Tom Rini
On Wed, Oct 25, 2023 at 07:17:36AM +1300, Simon Glass wrote: > Two bugs have appeared: > > - arguments can have an equals sign embedded in them, which must be > considered part of the value > - arguments must fully match the name; partial matches should be > ignored > > Fix these and add a

Re: [GIT PULL] u-boot-riscv/master

2023-11-02 Thread Tom Rini
On Thu, Nov 02, 2023 at 06:49:56PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit a803f87202aa48974bdff4d8100464a8288931e4: > > Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2023-11-01 > 09:44:33 -0400) > > are available in the Git repository at: > >

Re: [GIT PULL] CLock changes for 2024.01-rc2

2023-11-02 Thread Tom Rini
On Wed, Nov 01, 2023 at 05:03:29PM -0400, Sean Anderson wrote: > The following changes since commit fb428b61819444b9337075f49c72f326f5d12085: > > Merge branch '2023-10-24-assorted-general-fixes-and-updates' (2023-10-24 > 19:12:21 -0400) > > are available in the Git repository at: > >

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
On Thu, Nov 2, 2023 at 3:13 PM Sean Anderson wrote: > > On 11/2/23 10:08, Dario Binacchi wrote: > > On Thu, Nov 2, 2023 at 3:06 PM Sean Anderson wrote: > >> > >> On 11/2/23 10:01, Dario Binacchi wrote: > >>> Sean, All, > >>> > >>> On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > >

Re: [PATCH 03/15] nand: Calculate SYS_NAND_PAGE_COUNT automatically

2023-11-02 Thread Dario Binacchi
Sean, All On Thu, Nov 2, 2023 at 3:17 PM Sean Anderson wrote: > > On 11/2/23 05:53, Dario Binacchi wrote: > > Sean, All > > > > On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > >> > >> Contrary to what the help message says, this is the number of pages per > >> block. Calculate it

Re: [PATCH 03/15] nand: Calculate SYS_NAND_PAGE_COUNT automatically

2023-11-02 Thread Sean Anderson
On 11/2/23 05:53, Dario Binacchi wrote: Sean, All On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: Contrary to what the help message says, this is the number of pages per block. Calculate it automatically based on SYS_NAND_BLOCK_SIZE and SYS_NAND_PAGE_SIZE. Signed-off-by: Sean Anderson

Re: [PATCH v2] i2c: designware_i2c: adjust timing calculation

2023-11-02 Thread Heiko Schocher
Hello Heinrich, On 13.10.23 15:09, Heinrich Schuchardt wrote: > In SPL probing of the designware_i2c device on the StarFive VisionFive 2 > board fails with > > dw_i2c: mode 0, ic_clk 100, speed 10, > period 10 rise 1 fall 1 tlow 5 thigh 4 spk 0 > dw_i2c: bad counts. hcnt = -4

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
On Thu, Nov 2, 2023 at 3:06 PM Sean Anderson wrote: > > On 11/2/23 10:01, Dario Binacchi wrote: > > Sean, All, > > > > On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > >> > >> This series tests raw nand flash in sandbox and fixes various bugs > >> discovered in > >> the process. I've

Re: [PATCH v3 1/3] bootcount: Remove legacy I2C driver

2023-11-02 Thread Heiko Schocher
Hello Philip, On 31.10.23 08:38, Philip Richard Oberfichtner wrote: > The legacy I2C bootcounter will hereby be removed and eventually > be replaced by a driver model implementation in the follow-up commit. > > The legacy driver has the following drawbacks: > - It's not adhering to the

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Sean Anderson
On 11/2/23 10:08, Dario Binacchi wrote: On Thu, Nov 2, 2023 at 3:06 PM Sean Anderson wrote: On 11/2/23 10:01, Dario Binacchi wrote: Sean, All, On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: This series tests raw nand flash in sandbox and fixes various bugs discovered in the

Please pull u-boot-i2c

2023-11-02 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c: The following changes since commit d9650a48234058c645d1a07951c3d2cf129427e6: Merge branch '2023-10-28-assorted-platform-updates' (2023-10-28 09:23:27 -0400) are available in the Git repository at:

Re: [PATCH v3 2/3] i2c: Implement i2c_get_chip_by_phandle()

2023-11-02 Thread Heiko Schocher
Hello Philip, On 31.10.23 08:38, Philip Richard Oberfichtner wrote: > This new function enhances the i2c_get_chip*() toolbox by implementing a > variant that does not require a chip_addr. Instead, the desired device > is pointed to by a phandle. > > Signed-off-by: Philip Richard Oberfichtner >

Re: [PATCH v3 3/3] bootcount: Add driver model I2C driver

2023-11-02 Thread Heiko Schocher
Hello Philip, On 31.10.23 08:38, Philip Richard Oberfichtner wrote: > This adds a generic I2C bootcounter adhering to driver model to replace > the previously removed legacy implementation. > > There is no change in functionality, it can be used on any I2C device. > The device tree configuration

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Sean Anderson
On 11/2/23 10:01, Dario Binacchi wrote: Sean, All, On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: This series tests raw nand flash in sandbox and fixes various bugs discovered in the process. I've tried to do things in a contemporary manner, avoiding the (numerous) variations present

Re: [PATCH v2] i2c: nuvoton: remove standard mode only

2023-11-02 Thread Heiko Schocher
Hello Jim Liu, On 04.10.23 03:35, Jim Liu wrote: > first version is only support standard mode. > remove this judgment to support standard/fast/fast plus mode. > > Signed-off-by: Jim Liu > > Changes for v2: >- add commit message > --- > drivers/i2c/npcm_i2c.c | 5 - > 1 file changed,

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
Sean, All, On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > > This series tests raw nand flash in sandbox and fixes various bugs discovered > in > the process. I've tried to do things in a contemporary manner, avoiding the > (numerous) variations present on only a few boards. The test is

TF-A Hang on NXP i.MX 8M Plus QuadLite

2023-11-02 Thread Marcel Ziswiler
Hi there We recently got our first batch of i.MX 8M Plus QuadLite based SoMs. While NXP downstream works just fine on them they just hang booting with latest upstream U-Boot (and TF-A). Replacing TF-A with the downstream NXP one made upstream U-Boot work as well. Further debugging TF-A showed

Re: [PATCH 14/15] nand: Add sandbox driver

2023-11-02 Thread Sean Anderson
On 11/2/23 07:15, Dario Binacchi wrote: Sean, All On Sun, Oct 29, 2023 at 4:49 AM Sean Anderson wrote: Add a sandbox NAND flash driver to facilitate testing. This driver supports any number of devices, each using a single chip-select. The OOB data is stored in-band, with the separation

[PATCH] ARM: configs: libretech-ac: enable USB_DFU like in meson64.h

2023-11-02 Thread Neil Armstrong
nc(USB_DFU, usbdfu, na) \ func(MMC, mmc, 0) \ BOOT_TARGET_DEVICES_USB(func) \ func(PXE, pxe, na) \ --- base-commit: a803f87202aa48974bdff4d8100464a8288931e4 change-id: 20231102-libretech-ac-fix-dfu-dbd8109d552d Best regards, -- Neil Armstrong

Re: [PATCH v1 2/2] drivers: sm: bind child sm devices in the device tree

2023-11-02 Thread neil . armstrong
On 01/11/2023 15:04, Alexey Romanov wrote: From: Dmitry Rokosov One well-known sm child device that provides secure power control is the Secure Power Controller. This device utilizes SMC calls to communicate with power domains on the secure monitor side. Signed-off-by: Dmitry Rokosov

Re: [PATCH v1 1/2] clk: a1: add new clocks for USB stack

2023-11-02 Thread neil . armstrong
On 01/11/2023 15:04, Alexey Romanov wrote: Since we sync device tree with Linux, we have to add this clock definition for USB stack. Signed-off-by: Alexey Romanov --- drivers/clk/meson/a1.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/meson/a1.c

Re: [PATCH 1/1] board: sifive: unmatched: move kernel load address to 0x80200000

2023-11-02 Thread Tom Rini
On Thu, Nov 02, 2023 at 06:27:37PM +0800, Yong-Xuan Wang wrote: > Hi Tom, > > On Tue, Oct 31, 2023 at 7:54 PM Tom Rini wrote: > > > > On Tue, Oct 31, 2023 at 03:56:45PM +0800, Yong-Xuan Wang wrote: > > > > > Hi Tom, > > > > > > 0x8020 comes from the result of the relocated_addr in

[PATCH v2 1/2] rng: move platform_get_rng_device() to rng-uclass.c

2023-11-02 Thread Alexey Romanov
The correct declaration place for platform_get_rng_device() function is here. Also, this function is re-implemented to provide the first successfully probed RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 16 include/efi_rng.h| 2 --

[PATCH v2 2/2] rng: add dm_rng_read_default() helper

2023-11-02 Thread Alexey Romanov
Add dm_rng_read_default() function, which obtain a series of random bytes. In some cases, such function would be useful because it allows the caller to abstract away from RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 18 ++ include/rng.h|

[PATCH v2 0/2] Add dm_rng_read_default() helper

2023-11-02 Thread Alexey Romanov
Hello! This patchset adds dm_rng_read_default() helper function, that selects the first rng device and uses it to obtain random bytes. V2: - Move platform_get_rng_device() to rng-uclass.c. - Re-implement it to get first successfully probed device. - Use it in dm_rng_read_default(). Alexey

Re: [PATCH v2 0/7] arm: mach-snapdragon: Qualcomm clock driver cleanup

2023-11-02 Thread Sumit Garg
Hi Caleb, On Tue, 31 Oct 2023 at 03:53, Caleb Connolly wrote: > > This series begins making some headway towards cleaning up Qualcomm > platform support in u-boot. The following is a rough overview of the > changes: > > * Move the Qualcomm clock drivers out of mach-snapdragon and into clk/qcom >

[PATCH v5 7/8] clk: treewide: switch to clock dump from clk_ops

2023-11-02 Thread Igor Prusov
Switch to using new dump operation in clock provider drivers instead of overriding soc_clk_dump. Signed-off-by: Igor Prusov Tested-by: Patrice Chotard Reviewed-by: Sean Anderson --- arch/mips/mach-pic32/cpu.c | 23 --- drivers/clk/aspeed/clk_ast2600.c | 13

[PATCH v5 8/8] cmd: clk: Make soc_clk_dump static

2023-11-02 Thread Igor Prusov
After introducing dump to clk_ops there is no need to override or expose this symbol anymore. Signed-off-by: Igor Prusov Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard Reviewed-by: Sean Anderson --- cmd/clk.c | 4 ++-- include/clk.h | 2 -- 2 files changed, 2 insertions(+), 4

[PATCH v5 6/8] cmd: clk: Use dump function from clk_ops

2023-11-02 Thread Igor Prusov
Add another loop to dump additional info from clock providers that implement dump operation. Signed-off-by: Igor Prusov Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard --- cmd/clk.c | 9 + 1 file changed, 9 insertions(+) diff --git a/cmd/clk.c b/cmd/clk.c index

[PATCH v5 5/8] clk: Add dump operation to clk_ops

2023-11-02 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 Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard --- include/clk-uclass.h

[PATCH v5 1/8] clk: zynq: Move soc_clk_dump to Zynq clock driver

2023-11-02 Thread Igor Prusov
Move clock dump function in preparation for switching to dump function in clk_ops. Signed-off-by: Igor Prusov Acked-by: Michal Simek --- arch/arm/mach-zynq/clk.c | 57 --- drivers/clk/clk_zynq.c | 58 2 files

[PATCH v5 4/8] clk: amlogic: Move driver and ops structs

2023-11-02 Thread Igor Prusov
Move driver and ops structs to avoid forward declaration after switching to dump in clk_ops. Signed-off-by: Igor Prusov Reviewed-by: Neil Armstrong --- drivers/clk/meson/a1.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git

[PATCH v5 3/8] clk: k210: Move soc_clk_dump function

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

[PATCH v5 2/8] clk: ast2600: Move soc_clk_dump function

2023-11-02 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

[PATCH v5 0/8] clk: Switch from soc_clk_dump to clk_ops function

2023-11-02 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

Re: [PATCH] MAINTAINERS: update Qualcomm maintainer

2023-11-02 Thread Sumit Garg
On Tue, 31 Oct 2023 at 20:49, Caleb Connolly wrote: > > As Ramon has been inactive for some time now, add myself and Neil > Armstrong to maintain Qualcomm efforts going forwards. > > Signed-off-by: Caleb Connolly > --- > I greatly appreciate the work done by Ramon Fried in keeping Qualcomm >

  1   2   >