Re: Smatch issues reported for Marvell a38x DDR4

2025-08-05 Thread Stefan Roese
Hi Tony, On 05.08.25 15:11, Tony Dinh wrote: Hi Andrew, On Mon, Jul 28, 2025 at 9:25 PM Andrew Goodbody wrote: On 25/07/2025 14:02, Stefan Roese wrote: Hi Andrew, On 24.07.25 18:01, Andrew Goodbody wrote: Hi Stefan, Smatch reports the following issues drivers/ddr/marvell/a38x

Please pull u-boot-watchdog/master

2025-07-30 Thread Stefan Roese
Hi Tom, please pull this next batch of watchdog related patches: - watchdog for STM32MP family updates (Antonio, Clément and Patrice) Here the Azure build, without a

Re: [PATCH v2 0/4] watchdog for STM32MP family

2025-07-30 Thread Stefan Roese
On 23.05.25 11:46, Antonio Borneo wrote: This series addresses the two watchdog drivers used on STM32MPxx family platforms. On the generic watchdog framework, it adds a new method wdt_set_force_autostart() used by the watchdog drivers to force the autostart status of the watchdog. This is used w

Please pull u-boot-marvell/master

2025-07-29 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - cmd: tlv_eeprom: Minor improvements (Hugo) - kirkwood: Enable bootstd and other modernization for ib62x0 board (Tony) - spi: mvebu: Correct dependencies on MV

Re: [PATCH] cmd: tlv_eeprom: improve mac_read_from_eeprom() log messages

2025-07-29 Thread Stefan Roese
On 18.06.25 15:25, Hugo Villeneuve wrote: From: Hugo Villeneuve mac_read_from_eeprom() always display debug infos, and this messes up the display of the "Net:" section details: Before: Net: EEPROM: TlvInfo v1 len=172 eth0: ethernet@11c2 After: Net: eth0: ethernet@11c200

Re: [PATCH] cmd: tlv_eeprom: fix typo errors in comments and error msg

2025-07-29 Thread Stefan Roese
On 12.06.25 16:04, Hugo Villeneuve wrote: From: Hugo Villeneuve Fix typo errors in comments and error message by replacing EERPOM->EEPROM. Signed-off-by: Hugo Villeneuve Applied to u-boot-marvell/master Thanks, Stefan --- cmd/tlv_eeprom.c | 10 +- 1 file changed, 5 insertions(

Re: [PATCH] arm: kirkwood: Enable bootstd and other modernization for ib62x0 board

2025-07-29 Thread Stefan Roese
On 23.06.25 22:59, Tony Dinh wrote: Enable bootstd. Update defconfigs to the latest u-boot requirements. Enable SYS_THUMB_BUILD and LTO and to reduce binary size. Enable NET_RANDOM_ETHADDR. Disable JFFS2 support. Signed-off-by: Tony Dinh Applied to u-boot-marvell/master Thanks, Stefan ---

Re: [PATCH] spi: mvebu: Correct dependencies on MVEBU_A3700_SPI

2025-07-29 Thread Stefan Roese
n --- Cc: Stefan Roese --- drivers/spi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index a3513f0a3ef8..1ae36b5a348b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -351,6 +351,8 @@ config MTK_SPIM config MVEBU

Re: [PATCH] ddr: marvell: a38x: Fix unsigned issues

2025-07-29 Thread Stefan Roese
On 29.07.25 08:41, Stefan Roese wrote: On 28.07.25 16:26, Andrew Goodbody wrote: Cannot test an unsigned variable to be less than 0, it will always fail. Signed-off-by: Andrew Goodbody Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan

Re: [PATCH] ddr: marvell: a38x: Fix unsigned issues

2025-07-28 Thread Stefan Roese
On 28.07.25 16:26, Andrew Goodbody wrote: Cannot test an unsigned variable to be less than 0, it will always fail. Signed-off-by: Andrew Goodbody Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/ddr/marvell/a38x/mv_ddr4_training_calibration.c | 13 +++-- 1 file changed, 7

Re: Smatch issues reported for Marvell a38x DDR4

2025-07-25 Thread Stefan Roese
Hi Andrew, On 24.07.25 18:01, Andrew Goodbody wrote: Hi Stefan, Smatch reports the following issues drivers/ddr/marvell/a38x/mv_ddr4_training_calibration.c:1029 mv_ddr4_center_of_mass_calc() warn: unsigned 'd_min' is never less than zero. drivers/ddr/marvell/a38x/mv_ddr4_training_calibration

[PATCH] MAINTAINERS: Update email of Stefan Roese

2025-07-10 Thread Stefan Roese
Use the @mailbox.org mail address also for community work. Signed-off-by: Stefan Roese --- .mailmap | 2 +- MAINTAINERS| 14 +++--- doc/git-mailrc | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.mailmap b/.mailmap index 629d0ca95a81..67a42217cf86

Re: [PATCH] spi: mvebu: Correct dependencies on MVEBU_A3700_SPI

2025-07-02 Thread Stefan Roese
On 02.07.25 03:04, Tom Rini wrote: A dependency exposed by "make allyesconfig" is that the logic around this symbol was not quite correct. It needs to depend on ARCH_MVEBU and ARM64 and then select CLK_MVEBU. Signed-off-by: Tom Rini Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: [PATCH v1] watchdog: qcom-wdt: Drop read check on write-only WDT_EN register

2025-07-02 Thread Stefan Roese
submission: https://lore.kernel.org/u-boot/20250625094607.1348494-1-gopinath.se...@oss.qualcomm.com/ Signed-off-by: Balaji Selvanathan Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/watchdog/qcom-wdt.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers

Re: [PATCH v2] watchdog: qcom: Add max timeout check to prevent overflow

2025-06-25 Thread Stefan Roese
inath Sekar --- Changes in v2: - Made changes to clamp the timeout value at SOC supported max value if the requested timeout value is greater than max value. - Link to v1: https://lore.kernel.org/u-boot/20250624061907.3893511-1-gopinath.se...@oss.qualcomm.com/ Reviewed-by: Stefan Roese T

Re: [PATCH] arm: kirkwood: Enable bootstd and other modernization for ib62x0 board

2025-06-24 Thread Stefan Roese
On 23.06.25 22:59, Tony Dinh wrote: Enable bootstd. Update defconfigs to the latest u-boot requirements. Enable SYS_THUMB_BUILD and LTO and to reduce binary size. Enable NET_RANDOM_ETHADDR. Disable JFFS2 support. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH v1] watchdog: qcom: Add max timeout check to prevent overflow

2025-06-24 Thread Stefan Roese
On 24.06.25 08:19, Gopinath Sekar wrote: Added a check to ensure the requested timeout does not exceed the hardware's maximum supported value. This prevents register overflow and ensures watchdog reliability. So, added a check in qcom_wdt_start() to ensure the requested timeout does not excee

Re: [PATCH v4 2/2] renesas: Renesas R-Car Gen4 watchdog driver

2025-06-11 Thread Stefan Roese
/upstream/src/arm64/renesas/r8a779f0-spider-cpu.dtsi section &rwdt. This driver is based on upstream linux commit: e70140ba0d2b("Get rid of 'remove_new' relic from platform driver struct") Signed-off-by: Shmuel Leib Melamud Reviewed-by: Mattijs Korpershoek Reviewed-by: Stefa

Re: [PATCH v4 1/2] clk: renesas: Handle CLK_TYPE_GEN4_MDSEL in gen3_clk_get_rate64()

2025-06-10 Thread Stefan Roese
. Signed-off-by: Shmuel Leib Melamud Reviewed-by: Mattijs Korpershoek Reviewed-by: Marek Vasut Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/clk/renesas/clk-rcar-gen3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/renesas/clk-rcar-gen3.c b

Re: [PATCH] pci: zynqmp: Fix the pcireg base

2025-05-18 Thread Stefan Roese
ret; Ah, many thanks for catching. Reviewed-by: Stefan Roese Thanks, Stefan

Re: Please pull u-boot-watchdog/master

2025-05-18 Thread Stefan Roese
Hi Tom, On 16.05.25 21:18, Tom Rini wrote: On Fri, May 16, 2025 at 06:42:11PM +0200, Stefan Roese wrote: Hi Tom, please pull this next batch of mostly cyclic patches from Rasmus: Oh, and can you please update the .git/config here like you did for the marvell PR? b4 doesn't like th

Please pull u-boot-watchdog/master

2025-05-16 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly cyclic patches from Rasmus: - make cyclic_(un)register idempotent Here the Azure build, without any issues: https://de

Re: [PATCH 0/3] make cyclic_(un)register idempotent

2025-05-16 Thread Stefan Roese
On 07.05.25 12:58, Rasmus Villemoes wrote: Three small patches I've been meaning to send for a while; I really believe (as I now learnt Thomas Gleixner also does) this is the way timer frameworks should behave. Rasmus Villemoes (3): cyclic: make cyclic_unregister() idempotent cyclic: make

Re: [PATCH] cmd: tlv_eeprom: return after successful read from EEPROM

2025-05-16 Thread Stefan Roese
// Subsequent commands require that the EEPROM has already been read. Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Please pull u-boot-marvell/master

2025-05-16 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng - kirkwood: Convert to DM_SERIAL for Kirkwood boards - kirkwood: Convert to DM_SERIAL for Synology DS1

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng

2025-05-16 Thread Stefan Roese
=y CONFIG_WDT_ARMADA_37XX=y +CONFIG_DM_RNG=y +CONFIG_RNG_TURRIS_RWTM=y Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email

Re: [PATCH 0/2] Enable DM_SERIAL for Marvell Kirkwood Synology DS109.

2025-05-16 Thread Stefan Roese
On 06.05.25 04:58, Tony Dinh wrote: Many Synology boards (Kirkwood, Armada 37x, and Armada 38x SoCs) use the PIC16F1829 connecting to UART1 to provide certain functions. Mainly for LEDs control, but it can also perform hard reset, power off, and sending beeps. See dts/upstream/src/arm/marvell/ar

Re: [PATCH 3/3] cyclic: document new guarantees for cyclic_(un)register

2025-05-08 Thread Stefan Roese
On 07.05.25 12:58, Rasmus Villemoes wrote: Signed-off-by: Rasmus Villemoes Reviewed-by: Stefan Roese Thanks, Stefan --- doc/develop/cyclic.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/develop/cyclic.rst b/doc/develop/cyclic.rst index 6f1da6f0d9b

Re: [PATCH 2/3] cyclic: make cyclic_register safe to call on already-registered info

2025-05-08 Thread Stefan Roese
valuable distinctions. I'm not convinced at all. Back then, when we introduced hrtimers, we came to the conclusion that hrtimer_start() is sufficient. Signed-off-by: Rasmus Villemoes Many thanks for digging into this and improving this cyclic interface over the time. Reviewed-b

Re: [PATCH 1/3] cyclic: make cyclic_unregister() idempotent

2025-05-08 Thread Stefan Roese
igned-off-by: Rasmus Villemoes Reviewed-by: Stefan Roese Thanks, Stefan --- common/cyclic.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/common/cyclic.c b/common/cyclic.c index b695f092f52..75662d9f613 100644 --- a/common/cyclic.c +++ b/common/cyclic.c @@ -28,6 +

Re: [PATCH 2/2] arm: kirkwood: Remove Synology DS109 board reset_misc

2025-05-06 Thread Stefan Roese
On 06.05.25 04:58, Tony Dinh wrote: Remove DS109 board reset_misc() function. U-Boot generic reset is enough. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- board/Synology/ds109/ds109.c | 18 -- 1 file changed, 18 deletions(-) diff --git a

Re: [PATCH 1/2] arm: kirkwood: Convert to DM_SERIAL for Synology DS109 board

2025-05-06 Thread Stefan Roese
On 06.05.25 04:58, Tony Dinh wrote: Enable DM_SERIAL for Marvell Kirkwood Synology DS109. Note that this patch depends on: https://patchwork.ozlabs.org/project/uboot/patch/20250505220853.23679-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH] arm: kirkwood: Convert to DM_SERIAL for Kirkwood boards

2025-05-06 Thread Stefan Roese
On 06.05.25 00:08, Tony Dinh wrote: Enable DM_SERIAL for Marvell Kirkwood boards that have not been converted. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-kirkwood/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

Re: [PATCH v4 6/6] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-05-04 Thread Stefan Roese
On 28.04.25 11:16, Zixun LI wrote: Enable watchdog node on SAM9X60-Curiosity board. A default timeout of 16s is added which is the maximum supported value, also matching Linux driver's behavior. Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/dts

Re: [PATCH v4 5/6] ARM: dts: sam9x60: Add watchdog DT node

2025-05-04 Thread Stefan Roese
On 28.04.25 11:16, Zixun LI wrote: Add the watchdog timer node for the sam9x60 SoC's. Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/dts/sam9x60.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/ar

Re: [PATCH v4 4/6] watchdog: at91sam9_wdt: Add SAM9X60 support

2025-05-04 Thread Stefan Roese
. Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-at91/include/mach/at91_wdt.h | 19 +-- drivers/watchdog/at91sam9_wdt.c| 39 -- 2 files changed, 48 insertions(+), 10 deletions(-) diff --git a/arch

Re: [PATCH v4 3/6] watchdog: at91sam9_wdt: Rename priv to wdt

2025-05-04 Thread Stefan Roese
On 28.04.25 11:16, Zixun LI wrote: "wdt" is a better name for watchdog rather than generic "priv". Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/watchdog/at91sam9_wdt.c | 24 1 file changed, 12 inserti

Re: [PATCH v4 2/6] arm: at91: wdt: Rename regval in priv data to mr

2025-05-04 Thread Stefan Roese
On 28.04.25 11:16, Zixun LI wrote: Use the name "mr" since we are referring to timer mode register. Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-at91/include/mach/at91_wdt.h | 2 +- drivers/watchdog/at91sam9_wdt.c| 8

Re: [PATCH v4 1/6] arm: at91: wdt: Remove at91_wdt struct

2025-05-04 Thread Stefan Roese
On 28.04.25 11:16, Zixun LI wrote: at91_wdt struct is only used by spl, remove this reference and the struct itself. Signed-off-by: Zixun LI Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-at91/include/mach/at91_wdt.h | 6 -- arch/arm/mach-at91/spl.c

Re: [PATCH v2 11/22] synology: Include env.h to permit reading the environment

2025-05-02 Thread Stefan Roese
On 01.05.25 03:04, Simon Glass wrote: This file reads from the environment but does not include the correct header. Update it. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Thanks, Stefan --- (no changes since v1) board/Synology/ds414/ds414.c | 1 + 1 file changed, 1

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng

2025-04-30 Thread Stefan Roese
for it in the default configuration for this device. Signed-off-by: Benjamin Schneider Reviewed-by: Stefan Roese Thanks, Stefan --- configs/mvebu_espressobin_ultra-88f3720_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mvebu_espressobin_ultra-88f3720_defconfig b

Re: [PATCH v3] watchdog: qcom: introduce qcom-wdt driver

2025-04-30 Thread Stefan Roese
viour. Signed-off-by: Casey Connolly Signed-off-by: Paul Sajna Co-authored-by: Paul Sajna Tested-by: Paul Sajna Reviewed-by: Stefan Roese Thanks, Stefan --- This patch introduces a simple watchdog driver for Qualcomm devices. Some devices, including one I have been spending a lot of time

Re: [PATCH] cmd: tlv_eeprom: return after successful read from EEPROM

2025-04-17 Thread Stefan Roese
alled. Let's fix it by adding the needed 'return 0'. Signed-off-by: Martin Schiller Reviewed-by: Stefan Roese Thanks, Stefan --- cmd/tlv_eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c index 0aec7521770..d7c229e5441 100644

Please pull u-boot-marvell/master

2025-04-16 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - mvebu_espressobin_ultra-88f3720_defconfig: disable SATA - helios4: enable ddr odt0 on write for both chip-select - clearfog,helios4: disable sdhci sdma - mveb

Re: [PATCH v2] configs: clearfog,helios4: disable sdhci sdma

2025-04-16 Thread Stefan Roese
: 20250207-a388-kerneladdr-23438bb34215 Best regards, Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH] cmd: mvebu/bubt: Correct usage of IS_ENABLED() macro

2025-04-16 Thread Stefan Roese
On 26.02.25 21:31, Tom Rini wrote: This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini Applied to u-boot-marvell/master Thanks, Stefan --- Cc: Tim Harvey Cc: Stefan Roese This does change how

Re: [PATCH] ARM: mvebu: Correct SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR usage

2025-04-16 Thread Stefan Roese
guard against future regressions, make the choice statement in common/spl/Kconfig have an explicit default if MVEBU_SPL_BOOT_DEVICE_MMC. Signed-off-by: Tom Rini Applied to u-boot-marvell/master Thanks, Stefan --- Cc: Stefan Roese Cc: "Marek Behún" Cc: Chris Packham --- a

Re: [PATCH] arm: mvebu: Fix typos in Kconfig help text

2025-04-16 Thread Stefan Roese
ugust 2, 2016) for details. Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: disable SATA

2025-04-16 Thread Stefan Roese
On 20.03.25 07:55, Stefan Roese wrote: On 28.02.25 20:22, Benjamin Schneider wrote: This device uses the SCSI subsystem to interface with SATA devices. Trying to use the sata command results in an unhandled exception. This has the side effect of also causing bootflow scan to raise an unhandled

Re: [PATCH] ARM: mvebu: Correct SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR usage

2025-03-30 Thread Stefan Roese
guard against future regressions, make the choice statement in common/spl/Kconfig have an explicit default if MVEBU_SPL_BOOT_DEVICE_MMC. Signed-off-by: Tom Rini --- Cc: Stefan Roese Cc: "Marek Behún" Cc: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mac

Re: [PATCH 19/34] watchdog: sunxi: add A523 support

2025-03-24 Thread Stefan Roese
the new register layout. Signed-off-by: Andre Przywara Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/watchdog/sunxi_wdt.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c index 8eeac935760..467db5fe9bf

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: disable SATA

2025-03-20 Thread Stefan Roese
SATA subsystem. Disabling the sata command fixes this issue and does not remove support for any boot devices. Signed-off-by: Benjamin Schneider Reviewed-by: Stefan Roese Thanks, Stefan --- configs/mvebu_espressobin_ultra-88f3720_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH v3 07/14] cyclic: invoke uthread_schedule() from schedule()

2025-03-11 Thread Stefan Roese
Apalodimas Reviewed-by: Stefan Roese Thanks, Stefan --- common/cyclic.c | 3 +++ include/u-boot/schedule.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/common/cyclic.c b/common/cyclic.c index fad071a39c6..b695f092f52 100644 --- a/common/cyclic.c +++ b/common/cyclic.c

Re: [PATCH v2 07/14] cyclic: invoke uthread_schedule() from schedule()

2025-02-28 Thread Stefan Roese
Hi Jerome, On 27.02.25 18:05, Jerome Forissier wrote: Hi Stefan, On 2/27/25 13:30, Stefan Roese wrote: Hi Jerome, On 25.02.25 17:34, Jerome Forissier wrote: Make the schedule() call from the CYCLIC framework a uthread scheduling point too. This makes sense since schedule() is called from a

Re: [PATCH v2 07/14] cyclic: invoke uthread_schedule() from schedule()

2025-02-27 Thread Stefan Roese
? Sorry, I did not thoroughly go through all your code to get the internals from there. It would be great if you could elaborate a bit on this. For this patch: Reviewed-by: Stefan Roese Thanks, Stefan --- common/cyclic.c | 3 +++ include/u-boot/schedule.h | 3 +++ 2 files chang

Re: [PATCH 3/3] board: solidrun: add cn9130 based boards

2025-02-27 Thread Stefan Roese
via driver model. source "board/solidrun/clearfog/Kconfig" +source "board/solidrun/octeontx2_cn913x/Kconfig" source "board/kobol/helios4/Kconfig" endif diff --git a/board/solidrun/octeontx2_cn913x/Kconfig b/board/solidrun/octeontx2_cn913x/Kconfig new

Re: [PATCH 2/3] mvebu: armada-8k: set fdtfile env from DEFAULT_FDT_FILE

2025-02-27 Thread Stefan Roese
CONFIG_DEFAULT_FDT_FILE. This allows clear separation between device-tree for U-Boot and OS. Signed-off-by: Josua Mayer Reviewed-by: Stefan Roese Thanks, Stefan --- include/configs/mvebu_armada-8k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs

Re: [PATCH 1/3] u-boot: drivers: marvell: rtc: adding rtc driver

2025-02-27 Thread Stefan Roese
On 09.02.25 21:23, Josua Mayer wrote: From: Alex Leibovich Adding missing marvell-rtc driver and configuration, in order to support "date" command. Signed-off-by: Alex Leibovich Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/u-boot/+/6322 Reviewed-by: Kostya Porotchkin Tested-by: Kosty

Re: [PATCH v2] configs: clearfog,helios4: disable sdhci sdma

2025-02-27 Thread Stefan Roese
erhaps fix the root cause at some point? For now: Reviewed-by: Stefan Roese Thanks, Stefan --- configs/clearfog_defconfig | 1 - configs/clearfog_sata_defconfig | 1 - configs/clearfog_spi_defconfig | 1 - configs/helios4_defconfig | 1 - 4 files changed, 4 deletions(-) di

Re: [PATCH] arm: mvebu: Fix typos in Kconfig help text

2025-02-27 Thread Stefan Roese
On 27.02.25 00:07, Chris Packham wrote: Fix a couple of typos in mach-mvebu/Kconfig. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-mvebu/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu

Re: [PATCH] cmd: mvebu/bubt: Correct usage of IS_ENABLED() macro

2025-02-27 Thread Stefan Roese
On 26.02.25 21:31, Tom Rini wrote: This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini --- Cc: Tim Harvey Cc: Stefan Roese This does change how some platforms are built. Reviewed-by: Stefan Roese

Re: [PATCH v3 08/12] watchdog: Add support for ADI SC5XX-family watchdog peripheral

2025-02-27 Thread Stefan Roese
-by: Oliver Gaskell Signed-off-by: Nathan Barrett-Morrison --- Changes in v3: - replace readl/writel with ioread32 and iowrite32 and friends Reviewed-by: Stefan Roese BTW: I already added my RB tag on v1, please include it in later versions, if not bigger changes occur. Thanks, Stefan

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable full bootflow functionality

2025-01-28 Thread Stefan Roese
, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Please pull u-boot-marvell/master

2025-01-28 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - kirkwood: Enable bootstd and other modernization for OpenRD boards (Tony) - board: solidrun: clearfog: enable ddr odt0 on write for both chip-select (Josua)

Re: [PATCH v3 0/3] Initial support for PXA1908 and samsung-coreprimevelte

2025-01-28 Thread Stefan Roese
On 24.01.25 16:47, Duje Mihanović wrote: Hello, This series adds initial support for Marvell's PXA1908 ARM64 SoC and Samsung's Galaxy Core Prime VE LTE, a smartphone based on said SoC. On this board, U-Boot is used as a secondary bootloader to work around certain quirks of the factory S-Boot.

Re: [PATCH] board: solidrun: clearfog: enable ddr odt0 on write for both chip-select

2025-01-28 Thread Stefan Roese
: 3881c6b90350b0b04085ad46ef64989b43967eef change-id: 20241127-a388-sr-som-odt-89f8dd6b6410 Best regards, Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80

Re: [PATCH] arm: kirkwood: Enable bootstd and other modernization for OpenRD boards

2025-01-28 Thread Stefan Roese
ubi.mtd=2,2048\0" \ - "x_bootcmd_kernel=nand read 0x640 0x10 0x30\0"\ - "x_bootcmd_usb=usb start\0" \ - "x_bootargs_root=root=ubi0:rootfs rootfstype=ubifs\0" - #endif /* _CONFIG_OPENRD_BASE_H */ Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH v3 2/3] arm: mmp: add initial support for PXA1908 SoC

2025-01-28 Thread Stefan Roese
On 24.01.25 16:47, Duje Mihanović wrote: Add initial support for Marvell PXA1908. The SoC has 4 Cortex-A53 cores, a GC7000UL GPU and a variety of peripheral controllers. Signed-off-by: Duje Mihanović Reviewed-by: Stefan Roese Thanks, Stefan --- MAINTAINERS| 8

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable full bootflow functionality

2025-01-28 Thread Stefan Roese
On 06.12.24 22:09, bsch...@gmail.com wrote: From: Ben Schneider This appliance has multiple devices from which it can boot. Enable full bootflow functionality so users can choose a non-default boot device. Signed-off-by: Ben Schneider Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH v3 3/3] board: samsung: add initial support for coreprimevelte board

2025-01-28 Thread Stefan Roese
On 24.01.25 16:47, Duje Mihanović wrote: Samsung Galaxy Core Prime VE LTE is an entry-level PXA1908-based smartphone. It has 1GB of DRAM, 8GB eMMC and USB connectivity. Signed-off-by: Duje Mihanović Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/dts/Makefile

Re: [PATCH v3 1/3] serial: ns16550: Add Intel XScale support

2025-01-28 Thread Stefan Roese
On 24.01.25 16:47, Duje Mihanović wrote: Add compatible string for the Intel XScale variant of the 16550. Needed to match upstream. Signed-off-by: Duje Mihanović Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/serial/ns16550.c | 1 + 1 file changed, 1 insertion(+) diff --git a

Re: [PATCH v2 2/3] arm: mmp: add initial support for PXA1908 SoC

2025-01-23 Thread Stefan Roese
F: include/configs/pxa1908.h + ARM MARVELL SERIAL DRIVERS M:Pali Rohár M:Stefan Roese diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7282c4123b08fab50c1ce3de125a19a4faf5cf1f..14732a52753d329128b923fd5b3e75a348362b30 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @

Please pull u-boot-watchdog/master

2025-01-22 Thread Stefan Roese
Hi Tom, please pull the following watchdog related patches: - cyclic: Fix rollover every 72 min on 32 bits platforms (Patrice) Here the Azure build, without any issu

Re: [PATCH v2 2/2] cyclic: Fix typo in struct cyclic_info description

2025-01-22 Thread Stefan Roese
me of this function * @run_cnt: Counter of executions occurances Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH v2 1/2] cyclic: Fix rollover every 72 min on 32 bits platforms

2025-01-22 Thread Stefan Roese
u_time; /* Check if cpu-time exceeds max allowed time */ Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH 1/8] cyclic: Prevent corruption of cyclic list on reassignment

2025-01-22 Thread Stefan Roese
Hi Marek, Hi Rasmus, On 20.01.25 10:17, Rasmus Villemoes wrote: On Sat, Jan 18 2025, Marek Vasut wrote: Make cyclic_register() return error code, 0 in case of success, -EALREADY in case the called attempts to re-register already registered struct cyclic_info. The re-registration would lead to

Re: [PATCH v2 2/2] cyclic: Fix typo in struct cyclic_info description

2025-01-20 Thread Stefan Roese
On 14.01.25 14:28, Patrice Chotard wrote: Replace delay_ns by delay_us which is the field name used into struct cyclic_info. Signed-off-by: Patrice Chotard --- Changes in v2: _ Update the comment which still references "ns" Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH v2 1/2] cyclic: Fix rollover every 72 min on 32 bits platforms

2025-01-20 Thread Stefan Roese
Patrice Chotard --- Changes in v2: _ Replace remaining timer_get_us() by get_timer_us(0) Reviewed-by: Stefan Roese Thanks, Stefan common/cyclic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cyclic.c b/common/cyclic.c index 196797fd61e..fa

Re: [PATCH 2/2] cyclic: Fix typo in struct cyclic_info description

2025-01-08 Thread Stefan Roese
is ns after which this function shall get executed The comment still references "ns" above. No need to re-send, I can change this when committing. Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH 1/2] cyclic: Fix rollover every 72 min on 32 bits platforms

2025-01-08 Thread Stefan Roese
cyclic function and account it's cpu-time */ cyclic->next_call = now + cyclic->delay_us; Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH v2 1/3] serial: ns16550: Add Intel XScale support

2025-01-08 Thread Stefan Roese
On 08.01.25 22:26, Duje Mihanović wrote: On 8.1.2025. 14:43, Stefan Roese wrote: On 07.01.25 19:06, Duje Mihanović wrote: On Tuesday 7 January 2025 12:30:40 Central European Standard Time Stefan Roese wrote: Wouldn't it make more sense to use this compatible property instead? I was goi

Re: [PATCH v2 1/3] serial: ns16550: Add Intel XScale support

2025-01-08 Thread Stefan Roese
On 07.01.25 19:06, Duje Mihanović wrote: On Tuesday 7 January 2025 12:30:40 Central European Standard Time Stefan Roese wrote: On 31.12.24 17:49, Duje Mihanović wrote: { .compatible = "ingenic,jz4780-uart",.data = PORT_JZ4780 }, { .compatible = "nvid

Re: [PATCH] watchdog: rti: support SPL (or re-start)

2025-01-07 Thread Stefan Roese
timer_margin = WDT_PRELOAD_MAX; - writel(timer_margin, priv->regs + RTIDWDPRLD); writel(RTIWWDRX_NMI, priv->regs + RTIWWDRXCTRL); writel(RTIWWDSIZE_50P, priv->regs + RTIWWDSIZECTRL); Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Direct

Please pull u-boot-watchdog/master

2025-01-07 Thread Stefan Roese
Hi Tom, please pull the following watchdog patches: - rti: support SPL (or re-start) (Alexander) - rti: drop hack manipulating WDT clock rate (Alexander) Here the Az

Re: [PATCH v2] watchdog: rti: drop hack manipulating WDT clock rate

2025-01-07 Thread Stefan Roese
ate. -* Adjust frequency down in this case so that it does not expire -* earlier than expected. -*/ - if (priv->clk_hz < 32768) - priv->clk_hz = priv->clk_hz * 9 / 10; - return 0; } Viele Grüße, Stefan Roese -- DENX Software Engine

Re: [PATCH v2 1/3] serial: ns16550: Add Intel XScale support

2025-01-07 Thread Stefan Roese
On 31.12.24 17:49, Duje Mihanović wrote: Add compatible string for the Intel XScale variant of the 16550. Needed to match upstream. Signed-off-by: Duje Mihanović --- drivers/serial/ns16550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns1655

Re: [PATCH v2 0/3] Initial support for PXA1908 and samsung-coreprimevelte

2025-01-07 Thread Stefan Roese
change-id: 20241226-coreprimevelte-1c26acfb58db Best regards, Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Re: [PATCH] watchdog: rti: support SPL (or re-start)

2025-01-07 Thread Stefan Roese
). Signed-off-by: Alexander Sverdlin Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/watchdog/rti_wdt.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/watchdog/rti_wdt.c b/drivers/watchdog/rti_wdt.c index 99168d0cad03..320c5ca19e0a 100644 --- a

Re: [PATCH v2] watchdog: rti: drop hack manipulating WDT clock rate

2025-01-07 Thread Stefan Roese
f-by: Alexander Sverdlin Reviewed-by: Jan Kiszka --- Changelog: v2: 2 typos pointed by Jan corrected Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH] watchdog: rti: support SPL (or re-start)

2024-12-14 Thread Stefan Roese
timer_margin = WDT_PRELOAD_MAX; -   writel(timer_margin, priv->regs + RTIDWDPRLD);   writel(RTIWWDRX_NMI, priv->regs + RTIWWDRXCTRL);   writel(RTIWWDSIZE_50P, priv->regs + RTIWWDSIZECTRL); Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Ma

Re: [PATCH] arm: kirkwood: Enable bootstd and other modernization for OpenRD boards

2024-11-29 Thread Stefan Roese
/#m2fc25da1d2c019bc3cd8676991fdd64b8a21aa9b Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-kirkwood/Kconfig| 1 + board/Marvell/openrd/openrd.env | 20 configs/openrd_base_defconfig | 18 +- configs

Re: [PATCH] board: solidrun: clearfog: enable ddr odt0 on write for both chip-select

2024-11-29 Thread Stefan Roese
Siach [1] and Chris Packham [2]. [1] https://github.com/SolidRun/u-boot-armada38x/commit/aba763a611e69fbcc4e229659da9d84f16b39814 [2] https://github.com/SolidRun/u-boot-armada38x/commit/dbaf09590df9add19e738d2de03c0f2d0d8f5433 Signed-off-by: Josua Mayer Reviewed-by: Stefan Roese Thanks, Stefan

Please pull u-boot-marvell/master

2024-11-26 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell Marvell related patches: - mvebu: Disable JFFS2 support for Kirkwood and Armada XP boards (Tony) - kirkwood: Enable bootstd for Sheevaplug board (Tony) - mvebu: Add Allied Telesis x250

Re: [PATCH 7/7] arm: mvebu: x530: Enable IPV6 support

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: Enable IPV6 support for the x530 board. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- configs/x530_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/x530_defconfig b/configs/x530_defconfig index

Re: [PATCH 6/7] arm: mvebu: x530: Don't build mkeficapsule

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: The x530 board doesn't use EFI and our toolchains don't include gnutls so disable the tool in the defconfig. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- configs/x530_defconfig | 1 + 1 file changed, 1

Re: [PATCH 5/7] arm: mvebu: x530: Remove dead comments

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: As things have been moved to Kconfig there are a number of dead comments left over in x530.h. Remove them. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- include/configs/x530.h | 16 1 file changed

Re: [PATCH 4/7] arm: mvebu: x240: Enable IPV6 support

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: Enable IPV6 support for the x240 board. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- configs/x240_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/x240_defconfig b/configs/x240_defconfig index

Re: [PATCH 3/7] arm: mvebu: x240: Don't build mkeficapsule

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: The x240 board doesn't use EFI and our toolchains don't include gnutls so disable the tool in the defconfig. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- configs/x240_defconfig | 1 + 1 file changed, 1

Re: [PATCH 2/7] arm: mvebu: x240: Switch to standard boot

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: Use standard boot instead of the distro boot scripts. Regenerate the board defconfig now that some options are selected automatically. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-mvebu/Kconfig | 1

Re: [PATCH 1/7] arm: mvebu: x240: Use default baudrate table

2024-11-26 Thread Stefan Roese
On 22.11.24 01:30, Chris Packham wrote: Remove CFG_SYS_BAUDRATE_TABLE as there's no reason not to use the defaults defined via config_fallbacks.h. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- include/configs/x240.h | 3 --- 1 file changed, 3 dele

  1   2   3   4   5   6   7   8   9   10   >