sunxi DRAM init: Allwinner D1s: auto scan dram rank & width failed

2024-07-11 Thread indrek . kruusa
Hi, I am testing this new unified sunxi DRAM initialization on my Mangopi MQ board (Allwinner D1s) and can't get it working. I'm on S. Holland's u-boot branch d1-wip. I created a config for the board and modified dram_sun20i_d1.c with values Andre suggested here: " According to the dump of some

Re: [PATCH 1/2] arm: bcm283x: remove pointless empty hw_watchdog_disable

2024-07-11 Thread Peter Robinson
On Wed, 10 Jul 2024 at 22:17, Rasmus Villemoes wrote: > > This empty stub was originally added as one branch of an #ifdef in > commit 45a6d231b2f (bcm2835_wdt: support for the BCM2835/2836 > watchdog). That incarnation of the rpi watchdog driver was later > removed in c7adc0b5f98 (watchdog: bcm283

Re: [PATCH 1/2] arm: bcm283x: remove pointless empty hw_watchdog_disable

2024-07-11 Thread Stefan Roese
On 7/11/24 09:54, Peter Robinson wrote: On Wed, 10 Jul 2024 at 22:17, Rasmus Villemoes wrote: This empty stub was originally added as one branch of an #ifdef in commit 45a6d231b2f (bcm2835_wdt: support for the BCM2835/2836 watchdog). That incarnation of the rpi watchdog driver was later remove

Re: [PATCH 2/2] board: rpi: remove leftover CONFIG_HW_WATCHDOG block

2024-07-11 Thread Stefan Roese
On 7/10/24 23:17, Rasmus Villemoes wrote: This was added in commit 45a6d231b2f (bcm2835_wdt: support for the BCM2835/2836 watchdog), which did do 'select HW_WATCHDOG'. That incarnation of the watchdog driver later got removed in c7adc0b5f98 (watchdog: bcm2835_wdt: Remove unused BCM283x watchdog d

[PATCH] buildman: Show board list with -x

2024-07-11 Thread Simon Glass
When -x is used, buildman does not show the list of boards that will be built, since there are no terms which cause boards to be added, only terms which cause them to be removed. Add a special case to fix this. Signed-off-by: Simon Glass --- tools/buildman/control.py | 3 ++- 1 file changed, 2

[PATCH] clk: zynqmp: Add set_rate support for display clocks

2024-07-11 Thread Venkatesh Yadav Abbarapu
If "assigned-clock-rates" property is included in the device tree, display driver probe is getting failed, as dp_video_ref till dp_stc_ref clocks are missing from set rate function, adding them to fix the probe failure. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/clk/clk_zynqmp.c | 1 +

Re: radxa cm3 2024.01 mmc write error

2024-07-11 Thread Jonas Karlman
Hi Marek, On 2024-07-10 21:26, Belisko Marek wrote: > Hi, > > I'm playing with radxa cme and mainline u-boot 2024.01 (present in > scarthgap yocto). > I realized that mmc write fails all the time like: > => md.l $loadaddr > 00c00800: ff7ff7eb fffd fff5 9fff > => mmc

Re: [PATCH 09/10] fdtgrep: Allow propagating properties up to supernodes

2024-07-11 Thread Quentin Schulz
Hi Manorit, On 7/10/24 8:15 AM, Manorit Chawdhry wrote: Hi Simon, On 09:36-20231217, Simon Glass wrote: The existing bootph binding is defined such that properties in a subnode are also implied in the supernode also, as in this example: buttons { /* bootph,pre-ram is implied by btn

Re: [PATCH 09/10] fdtgrep: Allow propagating properties up to supernodes

2024-07-11 Thread Simon Glass
Hi Manorit, On Wed, 10 Jul 2024 at 07:15, Manorit Chawdhry wrote: > > Hi Simon, > > On 09:36-20231217, Simon Glass wrote: > > The existing bootph binding is defined such that properties in a > > subnode are also implied in the supernode also, as in this example: > > > >buttons { > > /*

[PATCH v3 1/2] board: rockchip: Add FriendlyElec NanoPi R6C

2024-07-11 Thread Sebastian Kropatsch
The NanoPi R6C is a SBC by FriendlyElec based on the Rockchip RK3588s. It comes with 4GB or 8GB of RAM, a microSD card slot, optional 32GB eMMC storage, one M.2 M-Key connector, one RTL8211F 1GbE and one RTL8125 2.5GbE Ethernet port, one USB 2.0 Type-A and one USB 3.0 Type-A port, a HDMI port, a 30

[PATCH v3 2/2] board: rockchip: Add FriendlyElec NanoPi R6S

2024-07-11 Thread Sebastian Kropatsch
The NanoPi R6S is a SBC by FriendlyElec based on the Rockchip RK3588s. It comes with 4GB or 8GB of RAM, a microSD card slot, 32GB eMMC storage, one RTL8211F 1GbE and two RTL8125 2.5GbE Ethernet ports, one USB 2.0 Type-A and one USB 3.0 Type-A port, a HDMI port, a 12-pin GPIO FPC connector, a fan co

Re: [PATCH v2 2/2] board: rockchip: Add FriendlyElec NanoPi R6S

2024-07-11 Thread Sebastian Kropatsch
Hi Ulli, Sorry for the late reply, but thanks for testing! I have sent a v3 of this patch, please reply to that mail with your reviewed-by or tested-by tag if you'd like them to be included. Am 21.06.2024 um 00:07 schrieb Ulli Kehrle: Sebastian Kropatsch writes: The R6S is very similar to th

Aw: adding fdt-overlay function - help needed

2024-07-11 Thread Frank Wunderlich
Hi, i got a bit further and noticed, that required command is not available in uboot...this is normally part of the dtc package [1], so why is it missing in u-boot? I guess later added or dropped to reduce compile time/make porting easier... regards Frank https://github.com/qemu/dtc/blob/maste

Re: [PATCH] amd: Enable the NFS command for Versal2

2024-07-11 Thread Michal Simek
please use official Versal Gen 2 On 7/9/24 13:51, Prasad Kummari wrote: Enabled the default utilization of the NFS command on Versal2 Versal Gen 2 Thanks, Michal

Re: [PATCH] clk: zynqmp: Add set_rate support for display clocks

2024-07-11 Thread Michal Simek
On 7/11/24 10:29, Venkatesh Yadav Abbarapu wrote: If "assigned-clock-rates" property is included in the device tree, display driver probe is getting failed, as dp_video_ref till dp_stc_ref clocks are missing from set rate function, adding them to fix the probe failure. Signed-off-by: Venkates

Re: [PATCH] arm64: versal2: Remove UARTLITE from defconfig

2024-07-11 Thread Michal Simek
On 6/18/24 15:20, Michal Simek wrote: UARTLITE can be used as console but none is testing it that's why removing it not to pop up there. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/amd_versal2_virt_defconfi

Re: [PATCH] mtd: spi-nor: ids: Add IS25LP01GG flash support

2024-07-11 Thread Michal Simek
On 6/17/24 06:18, Prasad Kummari wrote: Add support for ISSI 128MB flash IS25LP01GG. This part supports 4byte opcodes. It also supports dual and quad read. Signed-off-by: Prasad Kummari --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi

Re: [PATCH 0/2] env_spi: support overriding spi dev from board code

2024-07-11 Thread Michal Simek
On 6/14/24 14:48, Venkatesh Yadav Abbarapu wrote: This enables boards to choose where to/from the environment should be saved/loaded either QSPI or OSPI based on the bootmode. Venkatesh Yadav Abbarapu (2): env_spi: support overriding spi dev from board code xilinx: versal-net: Handle sp

Re: [PATCH 0/4] Add mini configuration support for versal2

2024-07-11 Thread Michal Simek
On 6/19/24 09:17, Venkatesh Yadav Abbarapu wrote: Adding the basic mini u-boot configuration changes for qspi, ospi and emmc. Branch:next Venkatesh Yadav Abbarapu (4): arm64: versal2: Add support for mini configuration arm64: Add versal2 mini qspi support arm64: Add versal2 mini osp

Re: [PATCH v6 0/3] Introduce mtdblock device

2024-07-11 Thread Dario Binacchi
Hello Alexey, On Mon, Jul 8, 2024 at 12:08 PM Alexey Romanov wrote: > > Hello, ping. I ran the CI tests, but they failed once again. The "Introduce mtdblock device" series fails the "build all 32bit ARM platforms" test and raises "exceeds file size limit" errors like the following: arm: + mx6s

[GIT PULL] Please pull u-boot-dfu-20240711

2024-07-11 Thread Mattijs Korpershoek
0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-dfu-20240711 for you to fetch changes up to b091d3872833a4b8d088ee41348a2d4ff48067cc: include/fastboot.h: add missing types.h include (2024-07-09 09:1

Re: [PATCH v3 5/5] bootstd: Add test for bootmeth_android

2024-07-11 Thread Julien Masson
On Thu 11 Jul 2024 at 15:11, Mattijs Korpershoek wrote: > Add a unit test for testing the Android bootmethod. > > This requires another mmc image (mmc7) to contain the following partitions: > - misc: contains the Bootloader Control Block (BCB) > - boot_a: contains a fake generic kernel image

Re: [PATCH 0/2] sunxi: v3s: add network support

2024-07-11 Thread Michael Walle
Hi, On Mon May 13, 2024 at 10:56 PM CEST, Michael Walle wrote: > Add network support for the V3s which only supports the internal > PHY. Adding support was straight forward. The emac driver just needs > the compatible string and some platform data and the clock driver > needs to know the bits for

Re: [PATCH] sunxi: SPL SPI: add support for the V3s SoC

2024-07-11 Thread Michael Walle
On Tue May 14, 2024 at 1:43 AM CEST, Michael Walle wrote: > The V3s is identical regarding register layout, clocks and resets to > the sun6i variants. Therefore, we can just add the MACH_SUN8I_V3S to > the sun6i compatible ones. > > SPI boot was tested on a custom board with a Gigadevice GD25Q64 8M

Re: [PATCH v3 5/5] bootstd: Add test for bootmeth_android

2024-07-11 Thread Guillaume LA ROQUE
Le 10/07/2024 à 10:40, Mattijs Korpershoek a écrit : Add a unit test for testing the Android bootmethod. This requires another mmc image (mmc7) to contain the following partitions: - misc: contains the Bootloader Control Block (BCB) - boot_a: contains a fake generic kernel image - vendor_boot_a:

Re: [PATCH] buildman: Show board list with -x

2024-07-11 Thread Tom Rini
On Thu, Jul 11, 2024 at 09:10:04AM +0100, Simon Glass wrote: > When -x is used, buildman does not show the list of boards that will be > built, since there are no terms which cause boards to be added, only > terms which cause them to be removed. > > Add a special case to fix this. > > Signed-off

Re: [PATCH 1/6] board_f: Add support for CONFIG_OF_BOARD_FIXUP for XIP images

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH 2/6] board: freescale: p1_p2_rdb_pc: Add weak function p1_p2_rdb_pc_fix_fdt_model() for fixing DT model string

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH 3/6] powerpc: mpc8xxx: Extend find_law() to find_law_by_addr_id()

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH 4/6] powerpc: mpc85xx: use CONFIG_VAL() for SYS_MONITOR_BASE in start.s

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH 5/6] powerpc: use CONFIG_IS_ENABLED() when checking for DM_SERIAL in include/asm/config.h

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH 6/6] powerpc: Add support for CZ.NIC Turris 1.x routers

2024-07-11 Thread Marek Behún
Reviewed-by: Marek Behún

Re: [PATCH] config: Enable the config CONFIG_MMC_SPEED_MODE_SET

2024-07-11 Thread Michal Simek
On 7/8/24 11:17, Venkatesh Yadav Abbarapu wrote: Enable setting speed mode using mmc dev commands. The speed mode is provided as the last argument in these commands (ex: mmc dev 0 0 10) and is indicated using the index from enum bus_mode in include/mmc.h. A speed mode can be set if it is enabl

Re: [PATCH] sunxi: SPL SPI: add support for the V3s SoC

2024-07-11 Thread Andre Przywara
On Thu, 11 Jul 2024 15:40:47 +0200 "Michael Walle" wrote: > On Tue May 14, 2024 at 1:43 AM CEST, Michael Walle wrote: > > The V3s is identical regarding register layout, clocks and resets to > > the sun6i variants. Therefore, we can just add the MACH_SUN8I_V3S to > > the sun6i compatible ones. >

Re: [PATCH 2/2] ext4: Fix zalloc()

2024-07-11 Thread Tom Rini
On Tue, Jul 02, 2024 at 09:42:23PM +0200, Richard Weinberger wrote: > The zalloc() function suffers from two problems. > 1. If memalign() fails it will return NULL and memset() will use a NULL > pointer. > 2. memalign() itself seems to crash when more than 2^32 bytes are requested. > > So, check

[PATCH v5 00/23] qcom: rpmh core and regulator support

2024-07-11 Thread Caleb Connolly
This series introduces support for the RPMh (Resource Power Manager (hardened)) co-processor and associated regulator driver found on most modern Qualcomm platforms (since ~2017). Even though most regulators are controlled via SPMI, the specific regions on the PMICs for controlling the regulators

[PATCH v5 01/23] linux/bitmap.h: add bitmap_empty helper

2024-07-11 Thread Caleb Connolly
Import this function from Linux as of 6.10-rc6 Reviewed-by: Tom Rini Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- include/linux/bitmap.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 0a8503af9f14..40ca2212cb40 100644

[PATCH v5 03/23] soc: qcom: cmd-db: adjust headers for U-Boot

2024-07-11 Thread Caleb Connolly
Replace unused/unsupported Linux headers with appropriate U-Boot alternatives. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/cmd-db.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/soc/qcom/cmd-db.c b/drivers/soc/qcom/cmd-db.

[PATCH v5 04/23] soc: qcom: cmd-db: drop unused functions

2024-07-11 Thread Caleb Connolly
Due to our simpler rpmh-rsc driver and lack of debugfs, we don't need quite a few cmd-db functions, just drop them. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/cmd-db.c | 144 -- include/soc/qcom/cmd-db.h | 15 - 2 fil

[PATCH v5 02/23] soc: qcom: import rpmh and cmd-db drivers from Linux

2024-07-11 Thread Caleb Connolly
Import RPMh and cmd-db framework from Linux 6.10-rc6. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/cmd-db.c| 393 + drivers/soc/qcom/rpmh-internal.h | 148 + drivers/soc/qcom/rpmh-rsc.c | 1162 ++ driv

[PATCH v5 05/23] soc: qcom: cmd-db: replace cmd_db_ready() with cmd_db_init()

2024-07-11 Thread Caleb Connolly
Using the driver model for cmd-db is fine, but it's unnecessary complexity which we can just avoid in U-Boot. Instead let's just have a function to initialize it and call said function when initializing rpmh. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/cmd-db.c | 74

[PATCH v5 06/23] soc: qcom: cmd-db: adjust for U-Boot API

2024-07-11 Thread Caleb Connolly
Keep the header pointer in the .data section so we don't initialize it again after relocation, adjust cmd_db_get_header() to work with the U-Boot API, and skip validating the header since all cmd-db users are children of the rpmh-rsc and those children will only probe if cmd-db initializes successf

[PATCH v5 08/23] soc: qcom: rpmh-rsc: adjust headers for U-Boot

2024-07-11 Thread Caleb Connolly
Remove unsupported / unused Linux headers and add those needed for U-Boot. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/rpmh-rsc.c | 35 --- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/drivers/soc/qcom/rpmh-rsc.c b/d

[PATCH v5 07/23] soc: qcom: rpmh-rsc: drop unused multi-threading and non-active TCS support

2024-07-11 Thread Caleb Connolly
Since U-Boot is single threaded, we can avoid most of the complexity that comes with handling more than one in-flight TCS. Drop all the rpmh code associated with multi-threading as we'll instead wait for a response on each TCS. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/

[PATCH v5 09/23] soc: qcom: rpmh-rsc: adjust probe for U-Boot

2024-07-11 Thread Caleb Connolly
Rework the rpmh-rsc initialization to use U-Boot's driver model and initialize cmd-db. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/rpmh-internal.h | 14 ++-- drivers/soc/qcom/rpmh-rsc.c | 143 +-- 2 files changed, 50 insertio

[PATCH v5 10/23] soc: qcom: rpmh-rsc: remaining U-Boot API changes

2024-07-11 Thread Caleb Connolly
Minor adjustments to fix building with U-Boot and work correctly as a synchronous driver without interrupts. RPMh is fast enough that we can get away with just firing off requests and assuming they complete. U-Boot behaviour changes are annotated with a "U-Boot:" comment. Acked-by: Sumit Garg Si

[PATCH v5 11/23] soc: qcom: rpmh: adjust headers for U-Boot

2024-07-11 Thread Caleb Connolly
Drop unused/unsupported Linux headers and add dm/device.h for U-Boot. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/rpmh.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/soc/qcom/rpmh.c b/drivers/soc/qcom/rpmh.c index 8903ed95

[PATCH v5 14/23] soc: qcom: add build infrastructure

2024-07-11 Thread Caleb Connolly
Add Kconfig / Makefiles to build rpmh and cmd-db drivers. Signed-off-by: Caleb Connolly --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/qcom/Kconfig | 27 +++ drivers/soc/qcom/Makefile | 4 4 files changed, 33 insertions(+) diff

[PATCH v5 12/23] soc: qcom: rpmh: drop unused functions

2024-07-11 Thread Caleb Connolly
A lot of the features in here are only relevant when running multi-threaded with interrupts. Drop everything except what we need to run single-threaded with a single TCS (which is all the rpmh-rsc framework in U-Boot supports). Keep rpmh_write_async() for simplicity and make it wrap the regular rp

[PATCH v5 16/23] power: regulator: qcom-rpmh-regulator: adjust headers for U-Boot

2024-07-11 Thread Caleb Connolly
Remove unused/unsupported Linux headers and add necessary U-Boot ones. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/power/regulator/qcom-rpmh-regul

[PATCH v5 15/23] power: regulator: import qcom-rpmh-regulator from Linux

2024-07-11 Thread Caleb Connolly
Import the driver from Linux 6.10-rc6. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 1709 + 1 file changed, 1709 insertions(+) diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c b/drivers/power/regulator

[PATCH v5 17/23] power: regulator: qcom-rpmh-regulator: port over lineage_range helpers

2024-07-11 Thread Caleb Connolly
Import struct linear_range() and builder macro from Linux regulator core. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 37 +++ 1 file changed, 37 insertions(+) diff --git a/drivers/power/regulator/qcom-rpmh-regul

[PATCH v5 13/23] soc: qcom: rpmh: U-Boot API changes

2024-07-11 Thread Caleb Connolly
Fix build errors, add some debug logging. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/rpmh.c | 53 +++-- include/soc/qcom/rpmh.h | 4 ++-- 2 files changed, 22 insertions(+), 35 deletions(-) diff --git a/drivers/soc/qcom/r

[PATCH v5 18/23] power: regulator: qcom-rpmh-regulator: adjust structs for U-Boot

2024-07-11 Thread Caleb Connolly
Switch to our linear_range helpers and remove unused/unsupported linux-isms. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 28 +-- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/power/regul

[PATCH v5 20/23] power: regulator: qcom-rpmh-regulator: port ops to U-Boot

2024-07-11 Thread Caleb Connolly
Port over the regulator ops to U-Boot's regulator API. Add back the pmic5 mode map using U-Boot dm_regulator_mode API and adjust the pmic5_pldo and pmic5_pldo_lv definitions. No functional changes. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulato

[PATCH v5 19/23] power: regulator: qcom-rpmh-regulator: remove unused regulators

2024-07-11 Thread Caleb Connolly
Initially just include the few regulators needed for the RB5 board. Others can be added back as-needed. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 1281 - 1 file changed, 1281 deletions(-) diff --git a/drivers/

[PATCH v5 21/23] power: regulator: qcom-rpmh-regulator: adjust probe for U-Boot

2024-07-11 Thread Caleb Connolly
Refactor initialization to use U-Boot's driver model and API. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 136 +++--- 1 file changed, 102 insertions(+), 34 deletions(-) diff --git a/drivers/power/regulator/qcom-rpmh

[PATCH v5 22/23] power: regulator: qcom-rpmh-regulator: add build infra

2024-07-11 Thread Caleb Connolly
Add Kconfig and Makefile entries for this driver now that it can build for U-Boot. Signed-off-by: Caleb Connolly --- drivers/power/regulator/Kconfig | 8 drivers/power/regulator/Makefile | 1 + 2 files changed, 9 insertions(+) diff --git a/drivers/power/regulator/Kconfig b/drivers/pow

[PATCH v5 23/23] qcom_defconfig: enable rpmh regulators

2024-07-11 Thread Caleb Connolly
Enable RPMh, cmd-db, and RPMh regulators. Additionally enable CMD_REGULATOR for debugging. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index ac5ffe772ade..1

[PATCH v2] amd: Enable the NFS command for Versal Gen 2

2024-07-11 Thread Prasad Kummari
Enabled the default utilization of the NFS command on Versal Gen 2 platform to facilitate booting images through the network using the NFS protocol Signed-off-by: Prasad Kummari --- Changes in v2: - corrected commit description. configs/amd_versal2_virt_defconfig | 1 + 1 file changed, 1 insert

Re: [PATCH] riscv: dts: jh7110: Enable PLL node in SPL

2024-07-11 Thread E Shattow
Ping. This regression still exists and is now in stable release. Should we revert this change or how must it be fixed? -E On Sat, Apr 20, 2024 at 3:56 AM E Shattow wrote: > > On Fri, Apr 19, 2024 at 5:51 PM Bo Gan wrote: > > > ...snip... > > > > If without the change (reverted), can you read/wr

[PATCH] sunxi: board: probe USB gadget

2024-07-11 Thread Michael Walle
Due to the lazy probing, the gadget driver might not be probed when the u-boot cli is active. In this case the "ums" command won't work, for example. If enabled, probe the USB gadget during board_init(). Signed-off-by: Michael Walle --- board/sunxi/board.c | 4 1 file changed, 4 insertions(

env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

2024-07-11 Thread Tony Dinh
Hi Tom, I'm trying to move some envs from a board header file to the default env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here before: https://lore.kernel.org/all/20220810170439.GJ1146598@bill-the-cat/ But it loo

Re: [PATCH v5 4/6] configs: am62x_evm_*: Enable USB and DFU support

2024-07-11 Thread Jon Humphreys
Martyn Welch writes: > On Thu, 2024-05-23 at 15:08 -0500, Jon Humphreys wrote: >> Martyn Welch writes: >> >> > From: Sjoerd Simons >> > >> > Provide config fragments to enable USB host as well as USB gadget >> > and DFU >> > support for a53 and r5. This relevant fragment is included into the

[v2] bootstash: Do not provide a default address for all

2024-07-11 Thread Tom Rini
A valid memory location to stash bootstage information at will be architecture dependent. Move the existing defaults to the main Kconfig file for this option and set 0x0 as the default only for sandbox. Signed-off-by: Tom Rini --- Changes in v2: - Seeing that BOOTSTAGE_STASH_ADDR did not depend o

Re: [PATCH] gpt: allow spaces in partition list

2024-07-11 Thread Tom Rini
On Thu, 27 Jun 2024 14:29:04 +0300, Mikhail Kshevetskiy wrote: > This allows spliting partition list to several lines in environment file > > ex: > > gpt_partition_list= > name=boot1,size=5MiB,start=0x10; > name=boot2,size=5MiB; > name=rootfs1,size=70MiB

Re: [PATCH] cmd: add resize for FDT in bootelf

2024-07-11 Thread Tom Rini
On Fri, 28 Jun 2024 11:34:11 +0300, Maxim Moskalets wrote: > In some FDTs, there is not enough free memory to add nodes, so this > operation fails. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] omap3: igep0x00: Switch to the I2C driver model

2024-07-11 Thread Tom Rini
On Sat, 29 Jun 2024 01:17:04 +0200, Javier Martinez Canillas wrote: > When building with the igep00x0_defconfig, the following warning is shown: > > $ make -j $(nproc) > ... > LD spl/u-boot-spl > OBJCOPY spl/u-boot-spl-nodtb.bin > SYM spl/u-boot-spl.sym > CAT spl/

Re: [PATCH] board: phytec: k3: k3_ddrss_patch: Add ddr phy reg count

2024-07-11 Thread Tom Rini
On Tue, 02 Jul 2024 11:22:40 +0200, Dominik Haller wrote: > Add and use the correct number of ddr phy registers to update the > corresponding settings. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v1] mmc: am654_sdhci: Add the quirk to set TESTCD bit

2024-07-11 Thread Tom Rini
On Tue, 02 Jul 2024 21:54:29 +0200, Emanuele Ghidoli wrote: > The ARASAN MMC controller on Keystone 3 class of devices need the SDCD > line to be connected for proper functioning. > > In cases where this can't be connected, add a quirk to force the > controller into test mode and set the TESTCD b

Re: [PATCH] test/py/tests/test_fpga.py: Correct check for legacy image format support

2024-07-11 Thread Tom Rini
On Wed, 03 Jul 2024 15:19:09 -0600, Tom Rini wrote: > The build option to support images of type 'IMAGE_FORMAT_LEGACY' is > CONFIG_LEGACY_IMAGE_FORMAT so update the pytest to check for the correct > option. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v5 4/6] configs: am62x_evm_*: Enable USB and DFU support

2024-07-11 Thread Jon Humphreys
Jon Humphreys writes: > Martyn Welch writes: > >> On Thu, 2024-05-23 at 15:08 -0500, Jon Humphreys wrote: >>> Martyn Welch writes: >>> >>> > From: Sjoerd Simons >>> > >>> > Provide config fragments to enable USB host as well as USB gadget >>> > and DFU >>> > support for a53 and r5. This rele

Re: env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

2024-07-11 Thread Tom Rini
On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote: > Hi Tom, > > I'm trying to move some envs from a board header file to the default > env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are > appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here > before: > > htt

Re: env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

2024-07-11 Thread Tony Dinh
Hi Tom, On Thu, Jul 11, 2024 at 3:46 PM Tom Rini wrote: > > On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote: > > Hi Tom, > > > > I'm trying to move some envs from a board header file to the default > > env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are > > appended to the e

Re: [PATCH v2 6/7] configs: rockchip: Enable ethernet driver on RK356x boards

2024-07-11 Thread Diederik de Haas
Hi, On Sunday, 1 October 2023 21:17:21 CEST Jonas Karlman wrote: > Enable DWC_ETH_QOS_ROCKCHIP and related PHY driver on RK356x boards that > have an enabled gmac node. > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > --- > ... > configs/odroid-m1-rk3568_defconfig| 3 +++ >

[PATCH v5 0/2] led: implement software blinking

2024-07-11 Thread Mikhail Kshevetskiy
v2 changes: * Drop sw_blink_state structure, move its necessary fields to led_uc_plat structure. * Add cyclic_info pointer to led_uc_plat structure. This simplify code a lot. * Remove cyclic function search logic. Not needed anymore. * Fix blinking period. It was twice large. * Other cle

[PATCH v5 2/2] led: Add dts property to specify blinking of the led

2024-07-11 Thread Mikhail Kshevetskiy
From: Michael Polyntsov The standard property linux,default-trigger = "pattern"; used to get an effect. No blinking parameters can be set yet. Signed-off-by: Michael Polyntsov Signed-off-by: Mikhail Kshevetskiy --- drivers/led/led-uclass.c | 33 + 1 file

[PATCH v5 1/2] led: Implement software led blinking

2024-07-11 Thread Mikhail Kshevetskiy
From: Michael Polyntsov If hardware (or driver) doesn't support leds blinking, it's now possible to use software implementation of blinking instead. This relies on cyclic functions. Signed-off-by: Michael Polyntsov Signed-off-by: Mikhail Kshevetskiy --- drivers/led/Kconfig| 14 +