Re: [PATCH] regulator: fixed: fix regulator-fixed-clock

2024-09-06 Thread Tom Rini
On Tue, 09 Jul 2024 10:24:54 +0100, John Keeping wrote: > For regulator-fixed-clock, the device's private data is never set so in > fixed_clock_regulator_set_enable() is null and the function cannot > complete successfully. > > Rename the _plat structure to _priv to better represent its role and

Re: [PATCH] power: regulator: tps6287x: Add driver for TPS6287x step down convertors

2024-09-06 Thread Tom Rini
On Fri, 31 May 2024 11:20:41 +0530, Keerthy wrote: > Add driver for TPS6287x step down convertors > > Data sheet: https://www.ti.com/lit/ds/slvsgc5a/slvsgc5a.pdf > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2 16/28] drivers: usb: Add generic XHCI

2024-09-06 Thread Tom Rini
he generic xhci driver. > > Signed-off-by: Patrick Rudolph > Cc: Tom Rini Adding Marek.. > --- > drivers/usb/host/Kconfig| 8 +++ > drivers/usb/host/Makefile | 1 + > drivers/usb/host/xhci-generic.c | 88 + > 3 files c

Re: [PATCH] cmd: fdt: use U-Boot's FDT by default

2024-09-06 Thread Tom Rini
On Fri, Sep 06, 2024 at 09:02:25AM -0600, Simon Glass wrote: > Hi Caleb, > > On Fri, 6 Sept 2024 at 03:31, Caleb Connolly > wrote: > > > > > > > > On 03/09/2024 20:14, Tom Rini wrote: > > > On Sat, Aug 31, 2024 at 05:46:19PM +0100, Caleb Connolly w

Re: [PATCH v6 00/28] Integrate MbedTLS v3.6 LTS with U-Boot

2024-09-06 Thread Tom Rini
On Fri, Sep 06, 2024 at 10:50:15AM -0400, Raymond Mao wrote: > Hi Simon, > > On Thu, 5 Sept 2024 at 20:43, Simon Glass wrote: > > > Hi Raymond, > > > > On Tue, 3 Sept 2024 at 08:59, Raymond Mao wrote: > > > > > > Hi Simon, > > > > > > On Sat, 17 Aug 2024 at 11:58, Simon Glass wrote: > > >> > >

Re: [PATCH] power: regulator: Fix error code in regulator_list_autoset()

2024-09-05 Thread Tom Rini
On Wed, Jan 31, 2024 at 10:09:41AM +0300, Dan Carpenter wrote: > This condition has a bitwise & vs logical && typo so it only preserves > odd number error codes. > > Fixes: 3b880757abca ("dm: regulator: uclass driver code cleanup") > Signed-off-by: Dan Carpenter > Reviewed-by: Patrice Chotard >

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

2024-09-05 Thread Tom Rini
On Tue, Nov 28, 2023 at 02:38:30PM +0800, Kuan Lim Lee wrote: > 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 > Co-developed-by: Alex Soo > Signed-off-by: Wei Liang Lim > Reviewed-by:

Re: [PATCH v2 1/1] mmc: consider cd-gpios in Synopsys DesignWare driver

2024-09-05 Thread Tom Rini
On Sun, 21 Jul 2024 08:59:07 +0200, Heinrich Schuchardt wrote: > The JH7110 SoC uses a GPIO for card detect. > > * In the of_to_plat function check if a cd-gpios definition exists and > request the GPIO. > * In the getcd function return the GPIO value in this case. > > > [...] Applied to u-b

Re: [PATCH] mmc: msm_sdhci: program core_vendor_spec

2024-09-05 Thread Tom Rini
On Fri, 21 Jun 2024 03:53:09 +0200, Caleb Connolly wrote: > After resetting the host controller, program in the POR val for this > register just like the Linux driver does. > > This seems to help with initialization when running U-Boot as the primary > bootloader on some boards. > > > [...] Ap

Re: [PATCH] mmc: Change the frequency to MMC_HS_52 when selecting hs400

2024-09-05 Thread Tom Rini
On Tue, 23 Apr 2024 11:00:57 +0530, Venkatesh Yadav Abbarapu wrote: > Per JESD84-B51 P47, host need to change frequency to <=52MHz > after setting HS_TIMING to 0x1, and host need to set the > 8-bit DDR buswidth. Currently setting the frequency to 26MHz > and trying to switch 8-bit DDR buswidth res

Re: [PATCH v5] mmc: Poll CD in case cyclic framework is enabled

2024-09-05 Thread Tom Rini
On Sun, Jun 16, 2024 at 04:58:49PM +0200, Marek Vasut wrote: > In case the cyclic framework is enabled, poll the card detect of already > initialized cards and deinitialize them in case they are removed. Since > the card initialization is a longer process and card initialization is > done on first

Re: [RESEND PATCH v4 0/3] provide names for emmc hardware partitions

2024-09-05 Thread Tom Rini
On Fri, 31 May 2024 08:36:32 -0700, Tim Harvey wrote: > Modern eMMC v4+ devices have multiple hardware partitions per the JEDEC > specification described as: > Boot Area Partition 1 > Boot Area Partition 2 > RPMB Partition > General Purpose Partition 1 > General Purpose Partition 2 > General

Re: [RESEND PATCH v4 0/3] provide names for emmc hardware partitions

2024-09-05 Thread Tom Rini
On Thu, Sep 05, 2024 at 11:11:10AM -0700, Tim Harvey wrote: > On Mon, Aug 12, 2024 at 12:25 PM Tim Harvey wrote: > > > > On Tue, Jul 2, 2024 at 12:23 PM Tom Rini wrote: > > > > > > On Tue, Jul 02, 2024 at 11:14:15AM -0700, Tim Harvey wrote: > > > &g

Re: [PATCH] fs: Fix SPL build if SPL_FS_LOADER is enabled and FS_LOADER is disabled

2024-09-05 Thread Tom Rini
On Thu, Sep 05, 2024 at 01:44:37AM +0200, Francesco Dolcini wrote: > Hello Tom, > > On Wed, Sep 04, 2024 at 03:27:21PM -0600, Tom Rini wrote: > > On Sat, Aug 31, 2024 at 03:49:11PM +0200, Francesco Dolcini wrote: > > > On Fri, Aug 30, 2024 at 02:51:19PM -0600, Tom Rini wr

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-09-04 Thread Tom Rini
On Thu, 29 Aug 2024 12:56:01 -0600, Tom Rini wrote: > Rather than guess what we need to name our u-boot.bin file as for it to > boot make use of the kernel= option to always call it u-boot.bin and > then on 64bit platforms (and since future platforms use rpi_arm64 this > list sho

Re: [PATCH v9 35/37] [TESTING] Kconfig: enable NET_LWIP by default except for SANDBOX

2024-09-04 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:43PM -0600, Simon Glass wrote: > Hi Ilias, > > On Fri, 30 Aug 2024 at 03:27, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Fri, 30 Aug 2024 at 03:59, Simon Glass wrote: > > > > > > Hi Jerome, > > > > > > On Thu, 29 Aug 2024 at 10:21, Jerome Forissier > > >

Re: [PATCH 05/19] boot: Respect the load_op in fit_image_load()

2024-09-04 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:57:48AM -0600, Simon Glass wrote: > Some code has crept in which ignores this parameter. Fix this and add a > little debugging. > > Signed-off-by: Simon Glass Can you please add a Fixes tag, as that will help in reviewing this too, to ensure we aren't breaking the cas

Re: [PATCH 03/19] boot: Allow FIT to fall back from best-match option

2024-09-04 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:57:46AM -0600, Simon Glass wrote: > When the best-match feature fails to find something, use the provided > config name as a fallback. The allows SPL to select a suitable config > when best-match is enabled. > > Signed-off-by: Simon Glass > --- > > boot/image-fit.c |

Re: [PATCH] fs: Fix SPL build if SPL_FS_LOADER is enabled and FS_LOADER is disabled

2024-09-04 Thread Tom Rini
On Sat, Aug 31, 2024 at 03:49:11PM +0200, Francesco Dolcini wrote: > On Fri, Aug 30, 2024 at 02:51:19PM -0600, Tom Rini wrote: > > On Mon, Aug 26, 2024 at 03:19:33PM -0300, Hiago De Franco wrote: > > > > > From: Hiago De Franco > > > > > > When SPL_

Re: [PATCH 13/20] arm: SC598-SOM-EZKIT initial support

2024-09-04 Thread Tom Rini
On Wed, Aug 28, 2024 at 11:02:21AM +0100, Oliver Gaskell wrote: > Adds support for Analog Devices' SC598-SOM-EZKIT board. Includes: > - CONFIG options common to all SC5xx SoCs > - SoC specific configs in mach-sc5xx/Kconfig > - Memory Map for SPL > - Necessary board-specific init functions > - Boar

Re: [PATCH 12/20] arm: mach-sc5xx: clean up Kconfig

2024-09-04 Thread Tom Rini
On Wed, Aug 28, 2024 at 11:02:20AM +0100, Oliver Gaskell wrote: > Moves common options between all SC5xx series boards to the ARCH_SC5XX > option instead of duplicating them. > > Also, it was possible to select multiple of the SoC support options. > Given a U-Boot binary can only support a single

Re: [PATCH 12/18] mmc: Support driver model in TPL

2024-09-04 Thread Tom Rini
On Tue, Aug 27, 2024 at 07:45:31PM -0600, Simon Glass wrote: > Some boards want to use DM_MMC in TPL so add an option for that. > > Signed-off-by: Simon Glass > --- > > drivers/mmc/Kconfig | 12 > 1 file changed, 12 insertions(+) > > diff --git a/drivers/mmc/Kconfig b/drivers/mmc

Re: [PATCH 13/18] mmc: Add more debugging for SPL

2024-09-04 Thread Tom Rini
On Tue, Aug 27, 2024 at 07:45:32PM -0600, Simon Glass wrote: > When MMC booting fails it is sometimes hard to figure out what went > wrong as there is no error code. It isn't even clear which MMC device > was chosen, since SPL can have its own numbering. > > Add some debugging to help with this.

Re: [PATCH 07/18] ram: Support driver model in TPL

2024-09-04 Thread Tom Rini
On Tue, Aug 27, 2024 at 07:45:26PM -0600, Simon Glass wrote: > Some boards want to use RAM in TPL so add an option for that. > > Signed-off-by: Simon Glass > --- > > drivers/ram/Kconfig | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig

Re: [PATCH] treewide: drop redundant "type string" for SYS_SOC and friends

2024-09-04 Thread Tom Rini
gt; > because I think those change the semantics of the symbol into being > user-settable. Correct. > Signed-off-by: Rasmus Villemoes Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-marvell/master

2024-09-04 Thread Tom Rini
On Wed, Sep 04, 2024 at 10:17:43AM +0200, Stefan Roese wrote: > Hi Tom, > > I know it's late in the release process. But please consider > pulling these Turris Omnia DDR related patches / fixes, which > Marek would like to see in the upcoming release: > Applied to u-boot/master, thanks! -- To

Re: [PATCH v6 00/28] Integrate MbedTLS v3.6 LTS with U-Boot

2024-09-04 Thread Tom Rini
On Wed, Sep 04, 2024 at 01:48:43PM +0100, Peter Robinson wrote: > Hi Simon, > > > I wonder if we could leave out the SHA stuff? The algorithms are > > One of the big advantages of the mbedtls when it comes to all things > security is that it's seen a wide audit of it's code which for a lot > of u

Re: [PATCH v9 20/37] net-lwip: add DHCP support and dhcp commmand

2024-09-04 Thread Tom Rini
On Wed, Sep 04, 2024 at 09:54:15AM +0200, Jerome Forissier wrote: > Hi Simon, > > On 8/29/24 16:05, Simon Glass wrote: > > Hi Jerome, > > > > On Fri, 23 Aug 2024 at 07:49, Jerome Forissier > > wrote: > >> > >> Add what it takes to enable NETDEVICES with NET_LWIP and enable DHCP as > >> well as t

Re: [PATCH v4 00/27] Make LMB memory map global and persistent

2024-09-03 Thread Tom Rini
On Mon, 26 Aug 2024 17:29:13 +0530, Sughosh Ganu wrote: > This is a follow-up from an earlier RFC series [1] for making the LMB > and EFI memory allocations work together. This is a non-rfc version > with only the LMB part of the patches, for making the LMB memory map > global and persistent. > >

Re: [PATCH 1/2] kbuild: Add generic rule to apply fdtoverlay

2024-09-03 Thread Tom Rini
On Tue, Sep 03, 2024 at 05:21:51PM +0530, Prasad Kummari wrote: > Add a generic rule in Makefile.lib to automatically apply > fdtoverlay, so that each platform doesn't need to include > a complex rule. This also automatically appends > DTC_FLAGS_foo_base += -@ to all base files. > > The platform'

Re: [PATCH v4 0/5] net: dwc_eth_qos: Add glue driver for Intel MAC

2024-09-03 Thread Tom Rini
On Fri, 02 Aug 2024 11:25:34 +0200, Philip Oberfichtner wrote: > This patch series implements the dwc_eth_qos glue driver for Intel SOCs. > Before doing that, a few general adaptions to the dwc_eth_qos.c main > driver are required. Most notably, the preparation for PCI based driver > instances, wh

Re: [PATCH] cmd: fdt: use U-Boot's FDT by default

2024-09-03 Thread Tom Rini
On Mon, Sep 02, 2024 at 03:07:44PM +0200, Caleb Connolly wrote: > Hi Simon, > > On 01/09/2024 21:10, Simon Glass wrote: > > Hi Caleb, > > > > On Sun, 1 Sept 2024 at 08:21, Caleb Connolly > > wrote: > >> > >> Hi, > >> > >> On 31/08/2024 23:22, E Shattow wrote: > >>> Hi Caleb, the problem here is

Re: [PATCH] cmd: fdt: use U-Boot's FDT by default

2024-09-03 Thread Tom Rini
On Sat, Aug 31, 2024 at 05:46:19PM +0100, Caleb Connolly wrote: > When using the FDT command to inspect an arbitrary FDT in memory, it > will always be necessary to explicitly set the FDT address. However it > is also quite likely that the command is being used to inspect U-Boot's > own FDT. Simpl

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-09-03 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:47PM -0600, Simon Glass wrote: [snip] > > As an aside, please review the ti,am625 stuff with some TI folks, that's > > both far too specific (you're going to need to add different am62 and > > am64 and am69 and j7... and on and on cases) and I forget if there's > > so

Re: [PATCH v5 17/20] test: Try to shut down the lab console gracefully

2024-09-03 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:58PM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 30 Aug 2024 at 08:26, Tom Rini wrote: > > > > On Thu, Aug 29, 2024 at 07:04:36PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 29 Aug 2024 at 10:59,

Re: [PATCH 0/2] Bump new hush commits and fix old hush test behavior

2024-09-03 Thread Tom Rini
On Tue, Sep 03, 2024 at 07:09:41PM +0200, Francis Laniel wrote: > Hi! > > With this series, I bumped the new hush to get the latest commits from > upstream. > > Also, I added back a reverted commit which goal was to fix a bad behavior in > old hush test. > I had to tweak a bit this commit, but

Re: [GIT PULL] Please pull u-boot-amlogic-next-20240902

2024-09-03 Thread Tom Rini
On Mon, Sep 02, 2024 at 06:26:20PM +0200, Neil Armstrong wrote: > Hi Tom, > > A simple set of changes to allow using the bootrom NAND pages, ported from > Linux. > > Thanks, > Neil > > The following changes since commit ee2af844ba1b27b2e959c4e649e4b769fbeb4074: > > Merge tag 'efi-2024-10-rc

Re: [GIT PULL] Please pull u-boot-imx-next-20240902

2024-09-03 Thread Tom Rini
On Mon, Sep 02, 2024 at 02:41:18PM -0300, Fabio Estevam wrote: > Hi Tom, > > Please pull from u-boot-imx/next, thanks. > > The following changes since commit e83ced1a24095de66e526bd6c10f0f24584baaee: > > bootstage: Fix unstash of records from SPL (2024-08-28 10:07:59 -0600) > > are available

Re: [GIT PULL] usb hub changes for 2025.01 next

2024-09-03 Thread Tom Rini
On Mon, Sep 02, 2024 at 11:53:46AM +0200, Michal Simek wrote: > Hi, > > please pull these changes to your next branch. Changes have been sent for a > while and there was no reply to them. > Here is the thread. > https://lore.kernel.org/all/20240605100221.3571-1-venkatesh.abbar...@amd.com/ > > We

[ANN] U-Boot v2024.10-rc4 released

2024-09-02 Thread Tom Rini
Hey all, It's release day and here is -rc4. Things have been and I am optimistic will remain fairly quiet moving forward. In terms of a changelog, git log --merges v2024.10-rc3..v2024.10-rc4 contains what I've pulled but as always, better PR messages and tags will provide better results here. I

Re: [PATCH v4 02/23] nvmxip: Avoid probing on boot

2024-09-02 Thread Tom Rini
On Sun, Sep 01, 2024 at 04:26:13PM -0600, Simon Glass wrote: > Devices should be probed when they are used, not before. Drop this > boot-time probing. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > drivers/mtd/nvmxip/nvmxip-uclass.c | 7 --- > 1 file changed, 7 deletio

Re: [u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Tom Rini
On Mon, Sep 02, 2024 at 12:11:22PM +0200, Michal Simek wrote: > Hi Tom, > > On 9/2/24 11:53, Venkatesh Yadav Abbarapu wrote: > > There is an issue with the xilinx zynq qemu qspi driver during the erase > > operation in dual parallel configuration, so skip these > > tests for now. > > > > Signed-o

Re: [u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Tom Rini
On Mon, 02 Sep 2024 15:23:57 +0530, Venkatesh Yadav Abbarapu wrote: > There is an issue with the xilinx zynq qemu qspi driver during the erase > operation in dual parallel configuration, so skip these > tests for now. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [PATCH] configs/ethernut5.h: define CFG_SYS_I2C_RTC_ADDR unconditionally

2024-09-02 Thread Tom Rini
On Mon, Sep 02, 2024 at 02:19:04PM +0100, Peter Robinson wrote: > Tom, > > I wonder if it makes sense just to drop this board altogether? I > looked at it for some other unloved feature at the beginning of the > year and I never heard from the maintainers. That doesn't sound unreasonable, unless

Re: [PATCH 09/13] net: wget: allow EFI boot

2024-09-02 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:40PM -0600, Simon Glass wrote: > Hi Ilias, > > On Fri, 30 Aug 2024 at 08:28, Ilias Apalodimas > wrote: > > > > Hi Simon > > > > On Fri, 30 Aug 2024 at 17:18, Simon Glass wrote: > > > > > > Hi Jerome, > > > > > > On Thu, 29 Aug 2024 at 08:04, Simon Glass wrote: > >

Re: Please pull u-boot-dm

2024-09-02 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:52PM -0600, Simon Glass wrote: > Hi Tom, > > The following changes since commit 57949a99b7bd0aa21abbde1ffa7e50e5d9e10a4e: > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22192 > https://dev.azure.com/simon0972/u-boot/_build/results?buildId=67&view

Re: [PATCH v2] ARM: imx: Wrap i.MX config options in MACH_IMX

2024-09-02 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:38:00AM +0200, Marek Vasut wrote: > Wrap all the i.MX specific options in MACH_IMX, otherwise they keep > showing up in other SoC vendor configurations. No functional change. > > Signed-off-by: Marek Vasut Reviewed-by: Tom Rini -- Tom signature.asc

Re: [PATCH v3 2/3] buildman: Allow skipping the dtc build

2024-09-02 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:39PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 22 Aug 2024 at 08:10, Tom Rini wrote: > > > > On Wed, Aug 21, 2024 at 09:00:25PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 16 Aug 2024 at 1

Re: [PATCH v6 00/11] Add support for Ethernet Boot on SK-AM62

2024-08-30 Thread Tom Rini
On Mon, 26 Aug 2024 15:55:04 +0530, Chintan Vankar wrote: > This series enables Ethernet Boot on SK-AM62 device. > > This series is based on commit 'f4f845b85926' of origin/next branch of > U-Boot. > > Link to v5: > https://lore.kernel.org/r/20240813105400.4054657-1-c-van...@ti.com/ > > [...]

Re: [PATCH] lib: crypto: fix ASYMMETRIC_KEY_TYPE dependency

2024-08-30 Thread Tom Rini
On Tue, 27 Aug 2024 19:38:09 +0200, Tomas Paukrt wrote: > Fix the dependency to avoid a warning if RSA_VERIFY_WITH_PKEY is enabled. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2] list: use list_count_nodes() to count list entries

2024-08-30 Thread Tom Rini
On Wed, 28 Aug 2024 22:24:22 +0530, Sughosh Ganu wrote: > Use the API function list_count_nodes() to count the number of list > entries. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v5 00/20] labgrid: Provide an integration with Labgrid

2024-08-30 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:00:25AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Aug 2024 at 08:13, Tom Rini wrote: > > > > On Wed, Aug 28, 2024 at 04:08:26PM -0600, Simon Glass wrote: > > > > > Labgrid provides access to a hardware lab in an automated

Re: [PATCH] fs: Fix SPL build if SPL_FS_LOADER is enabled and FS_LOADER is disabled

2024-08-30 Thread Tom Rini
ader compilation > at SPL Level") > Suggested-by: Francesco Dolcini > Signed-off-by: Hiago De Franco > Reviewed-by: Tom Rini This leads to failure to build on sandbox_noinst_defconfig. > --- > fs/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-30 Thread Tom Rini
On Fri, Aug 30, 2024 at 08:19:04AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, Aug 29, 2024, 19:49 Tom Rini wrote: > > > > On Thu, Aug 29, 2024 at 07:06:06PM -0600, Simon Glass wrote: > > > On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > > > >

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-30 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:09:22PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Aug 2024 at 09:20, Tom Rini wrote: > > > > On Thu, Aug 29, 2024 at 09:02:38AM -0600, Simon Glass wrote: > > > Hi Neil, > > > > > > On Thu, 29 Aug 2024 at 08

Re: My labgrid setup

2024-08-30 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:06:53PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Aug 2024 at 13:30, Tom Rini wrote: > > > > Hey all, > > > > So now that I've posted my u-boot-test-hooks for labgrid: > > https://patchwork.ozlabs.org/pro

Re: [PATCH v5 17/20] test: Try to shut down the lab console gracefully

2024-08-30 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:04:36PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Aug 2024 at 10:59, Tom Rini wrote: > > > > On Thu, Aug 29, 2024 at 09:01:17AM -0600, Simon Glass wrote: > > > Hi Neil, > > > > > > On Thu, 29 Aug 2024 at 08

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:06:06PM -0600, Simon Glass wrote: > On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > > > Rather than guess what we need to name our u-boot.bin file as for it to > > boot make use of the kernel= option to always call it u-boot.bin and > > t

Re: [PATCH 00/18] vbe: Series part D

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:06:32PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 29 Aug 2024 at 18:49, Tom Rini wrote: > > > > On Wed, Aug 28, 2024 at 04:16:55PM -0600, Simon Glass wrote: > > > Hi Peter, > > > > > > On Wed, 28 Aug 2024 at 03:59,

Re: [PATCH 00/18] vbe: Series part D

2024-08-29 Thread Tom Rini
On Wed, Aug 28, 2024 at 04:16:55PM -0600, Simon Glass wrote: > Hi Peter, > > On Wed, 28 Aug 2024 at 03:59, Peter Robinson wrote: > > > > Hi Simon, > > > > > This includes various patches towards implementing the VBE abrec > > > > What is abrec? > > It's a VBE method which supports A, B and recov

Re: [PATCH 00/19] vbe: Series part E

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:57:43AM -0600, Simon Glass wrote: > This includes various patches towards implementing the VBE abrec > bootmeth in U-Boot. It mostly focuses on SPL tweaks and adjusting what > fatures are available in VPL. A lot of this series makes me really want to stop and rework how

My labgrid setup

2024-08-29 Thread Tom Rini
Hey all, So now that I've posted my u-boot-test-hooks for labgrid: https://patchwork.ozlabs.org/project/uboot/patch/20240829185620.3179866-1-tr...@konsulko.com/ the next relevant parts would be how I use that. There's three scripts, first of which is "uboot-hw-testcycle.sh" : -

[u-boot-test-hooks][PATCH] labgrid: Add wrapper scripts around using labgrid-client for device control

2024-08-29 Thread Tom Rini
that behaves similarly. For writing files a wrapper around using labgrid-client sd-mux is provided and then both Raspberry Pi an TI K3 platforms have writers provided. Sample board conf files can be found in the bin/konsulko-labgrid directory. Co-developed-by: Tom Rini Signed-off-by: Edi Feschiyan

[u-boot-test-hooks][PATCH 2/2] bin/flashair.rpi: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
Rather than guess what we need to name our u-boot.bin file as for it to boot make use of the kernel= option to always call it u-boot.bin and then on 64bit platforms (and since future platforms use rpi_arm64 this list should not grow) also pass in arm_64bit=1. Signed-off-by: Tom Rini --- bin

[u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
Rather than guess what we need to name our u-boot.bin file as for it to boot make use of the kernel= option to always call it u-boot.bin and then on 64bit platforms (and since future platforms use rpi_arm64 this list should not grow) also pass in arm_64bit=1. Signed-off-by: Tom Rini --- bin

Re: [PATCH 18/19] boot: Imply CRC8 with VBE

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:58:01AM -0600, Simon Glass wrote: > VBE uses a crc8 checksum to verify that the nvdata is valid, so make > sure it is available if VBE is enabled. > > Signed-off-by: Simon Glass > --- > > boot/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/boot/Kc

Re: [PATCH 17/19] lib: Allow crc8 in TPL and VPL

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:58:00AM -0600, Simon Glass wrote: > Provide options to enable the CRC8 feature in TPL and VPL builds. > > Signed-off-by: Simon Glass > --- > > lib/Kconfig | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/lib/Kconfig b/lib/Kconfig > index 7

Re: [PATCH 06/19] malloc: Show amount of used space when memory runs out

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:57:49AM -0600, Simon Glass wrote: > Show a bit more information when malloc() space is exhausted and > debugging is enabled. > > Signed-off-by: Simon Glass > --- > > common/malloc_simple.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/com

Re: [PATCH 02/19] serial: ns16550: Allow clocks to be missing

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:57:45AM -0600, Simon Glass wrote: > Allow serial init when clock support is not enabled in a particular phase. > > Signed-off-by: Simon Glass > --- > > drivers/serial/ns16550.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/serial/ns

Re: [GIT PULL] Please pull u-boot-imx-master-20240829

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:51:24AM -0300, Fabio Estevam wrote: > Hi Tom, > > Please pull from u-boot-imx/master, thanks. > > The following changes since commit ee2af844ba1b27b2e959c4e649e4b769fbeb4074: > > Merge tag 'efi-2024-10-rc4' of > https://source.denx.de/u-boot/custodians/u-boot-efi (

Re: [PATCH 00/20] arm: Initial support for Analog Devices SC5xx boards

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 03:50:56PM +, Gaskell, Oliver wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Thursday, August 29, 2024 4:18 PM > > To: Gaskell, Oliver > > Cc: Nathan Barrett-Morrison ; Greg Malysa > > ; Ian Roberts

Re: [PATCH v5 17/20] test: Try to shut down the lab console gracefully

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:01:17AM -0600, Simon Glass wrote: > Hi Neil, > > On Thu, 29 Aug 2024 at 08:26, wrote: > > > > On 29/08/2024 00:08, Simon Glass wrote: > > > Send the Labgrid quit characters to ask it to exit gracefully. This > > > typically allows it to power off the board being used. >

Re: [PATCH v5 03/20] test: Pass stderr to stdout

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:01:11AM -0600, Simon Glass wrote: > Hi Neil, > > On Thu, 29 Aug 2024 at 08:22, wrote: > > > > On 29/08/2024 00:08, Simon Glass wrote: > > > Some tests may output things to stderr. Ensure that this output is not > > > dropped, by redirecting it to stdout > > > > Can't yo

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:02:38AM -0600, Simon Glass wrote: > Hi Neil, > > On Thu, 29 Aug 2024 at 08:44, wrote: > > > > On 29/08/2024 14:17, Simon Glass wrote: > > > Hi Peter, > > > > > > On Thu, 29 Aug 2024 at 04:43, Peter Robinson wrote: > > >> > > >> On Wed, 28 Aug 2024 at 22:25, Simon Glass

Re: [PATCH 00/20] arm: Initial support for Analog Devices SC5xx boards

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 03:06:31PM +, Gaskell, Oliver wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Thursday, August 29, 2024 3:52 PM > > To: Gaskell, Oliver > > Cc: Nathan Barrett-Morrison ; Greg Malysa > > ; Ian Roberts

Re: [PATCH 2/2] cmd: booti: adjust the print format

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:00:30AM -0600, Simon Glass wrote: > Hi Dario, > > On Thu, 29 Aug 2024 at 08:25, Dario Binacchi > wrote: > > > > Hi Simon, > > > > On Thu, Aug 29, 2024 at 4:05 PM Simon Glass wrote: > > > > > > Hi Dario, > > > > > > On Sun, 25 Aug 2024 at 06:26, Dario Binacchi > > > wr

Re: [PATCH 00/20] arm: Initial support for Analog Devices SC5xx boards

2024-08-29 Thread Tom Rini
On Wed, Aug 28, 2024 at 11:02:08AM +0100, Oliver Gaskell via B4 Relay wrote: > ADSP-SC5xx is a series of ARM-based DSPs. > This comprises the armv7 based SC57x, SC58x and SC594 series, and the > armv8 based SC598. > > This patch series includes configurations, init code, and minimal DTs > to enabl

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 11:43:12AM +0100, Peter Robinson wrote: > On Wed, 28 Aug 2024 at 22:25, Simon Glass wrote: > > > > Hi Peter, > > > > On Wed, 28 Aug 2024 at 12:14, Peter Robinson wrote: > > > > > > Hi Simon, > > > > > > > With Labgrid we don't need to specify the various methods, except fo

Re: [PATCH 12/35] global_data: Convert have_console into a flag

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 08:05:35AM -0600, Simon Glass wrote: > Hi Alexander, > > On Fri, 16 Aug 2024 at 07:08, Sverdlin, Alexander > wrote: > > > > Hi Simon, > > > > On Wed, 2024-07-24 at 09:08 -0600, Simon Glass wrote: > > > We don't need a full word for this boolean value. Convert it into a fla

Re: [PATCH v5 00/20] labgrid: Provide an integration with Labgrid

2024-08-29 Thread Tom Rini
On Wed, Aug 28, 2024 at 04:08:26PM -0600, Simon Glass wrote: > Labgrid provides access to a hardware lab in an automated way. It is > possible to boot U-Boot on boards in the lab without physically touching > them. It relies on relays, USB UARTs and SD muxes, among other things. > > By way of bac

[PATCH] test/py/tests/test_bootstage.py: Combine stash/unstash tests

2024-08-28 Thread Tom Rini
you mean to use `assert` in stead of `return`? This is because the unstash test will run the stash test and fetch the addr / size from that. Rework the test to be stash and unstash and then run the unstash command at the end of the current stash test. Signed-off-by: Tom Rini --- It's possib

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 03:25:00PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 28 Aug 2024 at 14:19, Tom Rini wrote: > > > > On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > > > > > With Labgrid we don't need to specify the various met

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > With Labgrid we don't need to specify the various methods, except for > the console, which simply calls labgrid-client. > > This allows supporting any boards in your lab, without adding per-board > configuration to these hooks. > > P

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 07:14:01PM +0100, Peter Robinson wrote: > Hi Simon, > > > With Labgrid we don't need to specify the various methods, except for > > the console, which simply calls labgrid-client. > > > > This allows supporting any boards in your lab, without adding per-board > > configurat

Re: [PATCH 1/2] bootstage: Fix unstash of records from SPL

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 08:32:36PM +0200, Jonas Karlman wrote: > Hi Tom, > > On 2024-08-28 20:26, Tom Rini wrote: > > On Sat, 03 Aug 2024 12:41:44 +, Jonas Karlman wrote: > > > >> The commit b81e31a1e6c5 ("bootstash: Do not provide a default address

Re: [PATCH v2] mmc: fix signed vs unsigned compare in read check in _spl_load()

2024-08-28 Thread Tom Rini
On Wed, 31 Jul 2024 09:09:00 -0400, Franco Venturi wrote: > Fix signed vs unsigned compare in read check in _spl_load() > > Issue: when info->read() returns a negative value because of an error, >the comparison of 'read' (signed) with 'sizeof(*header)' >(unsigned silently converts

Re: [PATCH 1/2] bootstage: Fix unstash of records from SPL

2024-08-28 Thread Tom Rini
On Sat, 03 Aug 2024 12:41:44 +, Jonas Karlman wrote: > The commit b81e31a1e6c5 ("bootstash: Do not provide a default address > for all") changed a bootstage unstash call to bootstage stash, this > has resulted in bootstage records stashed in SPL no longer get unstaged > in U-Boot proper. Fix t

Re: [PATCH] gpio: Add G7 Aspeed gpio controller driver

2024-08-28 Thread Tom Rini
On Tue, 20 Aug 2024 15:27:36 +0800, Billy Tsai wrote: > In the 7th generation of the SoC from Aspeed, the control logic of the > GPIO controller has been updated to support per-pin control. Each pin now > has its own 32-bit register, allowing for individual control of the pin’s > value, direction,

Re: [PATCH] tools/scripts/Kconfig: Update references from kconfig-language.txt to rst

2024-08-28 Thread Tom Rini
On Mon, 19 Aug 2024 13:24:49 -0300, Hiago De Franco wrote: > The Linux kernel documentation has transitioned from using > kconfig-language.txt to kconfig-language.rst. Therefore update all > occurrences of kconfig-language.txt. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v1] dm: core: Make SPL_DM_SEQ_ALIAS select SPL_STRTO

2024-08-28 Thread Tom Rini
On Mon, 19 Aug 2024 09:43:52 +, Gaskell, Oliver wrote: > Enabling CONFIG_DM_SEQ_ALIAS enables code which relies on > `trailing_strtol()` - which is only linked in SPL when CONFIG_SPL_STRTO > is enabled. > > CONFIG_SPL_STRTO is not enabled by default - to ensure this function is > available in

Re: [PATCH v1] arm: dts: nuvoton: add dts support for npcm845 yosemite4

2024-08-28 Thread Tom Rini
On Mon, 19 Aug 2024 15:24:28 +0800, Jim Liu wrote: > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] lib: move phdr increment to for loop heading

2024-08-28 Thread Tom Rini
On Sat, 17 Aug 2024 14:02:22 +0300, Maxim Moskalets wrote: > Shifting this pointer in the loop will be more logical when working > with the code later, because you can see at a glance what exactly > changes at each iteration. Moreover, the code remains equivalent > because this variable is not use

Re: [u-boot-test-hooks PATCH v4 1/3] Create a common file for test scripts

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 10:45:21AM -0600, Simon Glass wrote: > The top part of each of the u-boot-test-* files is common. Put it in > a common script file to avoid duplication and to allow it to be > replaced for the Labgrid integration. > > Signed-off-by: Simon Glass Review

Re: [PATCH 2/2] bootstage: Do not sort records

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 06:15:32PM +0200, Jonas Karlman wrote: > Hi Simon, > > On 2024-08-28 18:01, Simon Glass wrote: > > Hi Jonas, > > > > On Tue, 6 Aug 2024 at 15:50, Simon Glass wrote: > >> > >> Hi Jonas, > >> > >> On Sat, 3 Aug 2024 at 06:42, Jonas Karlman wrote: > >>> > >>> The timer coun

Re: [PATCH] list: use list_count_nodes() to count list entries

2024-08-27 Thread Tom Rini
On Wed, Jul 31, 2024 at 08:25:21PM +0530, Sughosh Ganu wrote: > Use the API function list_count_nodes() to count the number of list > entries. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Simon Glass > --- > > Note: To be applied on top of efi-2024-10-rc2 Please rebase this on top of either

Re: [PATCH 0/3] dm: core: Avoid multiple calls to fdt_parent_offset()

2024-08-27 Thread Tom Rini
On Sun, 04 Aug 2024 15:05:48 +, Jonas Karlman wrote: > Use of fdt_parent_offset() is very expensive as detailed by the function > documentation: > > NOTE: This function is expensive, as it must scan the device tree > structure from the start to nodeoffset, *twice*. > > This series remove

Re: [PATCH v1] timer: npcm: Change counter source

2024-08-27 Thread Tom Rini
On Mon, 29 Jul 2024 17:04:06 +0800, Jim Liu wrote: > The counter value read from TDR register may not be correct. > Read SECCNT and CNTR25M instead to get the correct timestamp. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v1] gpio: npcm: Add SGPIO support for Nuvoton NPCM SoCs

2024-08-27 Thread Tom Rini
On Mon, 29 Jul 2024 16:51:03 +0800, Jim Liu wrote: > Add Nuvoton BMC NPCM7xx/NPCM8xx sgpio driver. > BMC can use this driver to increase 64 GPI pins and 64 GPO pins to use. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v3] test/py: spi: Add tests for SPI flash device

2024-08-27 Thread Tom Rini
On Wed, 31 Jul 2024 14:54:12 +0530, Love Kumar wrote: > Add test cases for sf commands to verify various SPI flash operations > such as erase, write and read. It also adds qspi lock unlock cases. > This test relies on boardenv_* configurations to run it for different > SPI flash family such as sin

Re: [PATCH] cmd: bind: Use device sequence instead for driver bind/unbind

2024-08-27 Thread Tom Rini
On Fri, 02 Aug 2024 11:28:13 +0200, Zixun LI wrote: > Currently uclass index is used for bind/unbind which ignores alias > sequence numbering. Use device sequence number instead as it's > the number explicitly set in the DT. > > Also update documentation to use sequence number. > > > [...] App

<    1   2   3   4   5   6   7   8   9   10   >