Re: [PATCH 2/2] riscv: Provide __image_copy_{start_end} symbols in linkerscript

2025-04-07 Thread Jonas Karlman
Hi, On 2025-04-07 05:37, Yao Zi wrote: > Binman looks for __image_copy_start to determine the base address of an > entry if elf-base-sym isn't specified, which is missing in RISC-V port. > This causes binman skips RISC-V SPL entries without filling addresses > into its .binman_sym_table section. >

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-07 Thread Tom Rini
On Mon, Apr 07, 2025 at 01:07:34PM +1200, Simon Glass wrote: > Hi Tom, > > On Mon, 7 Apr 2025 at 10:48, Tom Rini wrote: > > > > On Mon, Apr 07, 2025 at 09:12:32AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 6 Apr 2025 at 11:23, Tom Rini wrote: > > > > > > > > On Sun, Apr 06, 2025

Gitlab runner timeout on evb-ast2600 ?

2025-04-07 Thread Eugen Hristev
Hi everyone, I keep getting an error on running the CI loop on -next on my tree : https://source.denx.de/u-boot/custodians/u-boot-at91/-/jobs/1090517 ! _pytest.outcomes.Exit: Lab timeout: Marking connection bad - no other tests will run ! Any clue ? It's been like this for few days. It doesn't

Re: [PATCH] mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-07 Thread Mike Looijmans
ping? Maybe I should have added to the description that the Linux kernel allows MTD partitions to specify a size "0" in the device-tree to mean "the remainder". This patch makes u-boot compatible with the kernel's MTD partitions. U-boot MTDPARTS also supported this, but it's missing in the de

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-04-07 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 10:53, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 09:15:42AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 4 Apr 2025 at 03:27, Tom Rini wrote: > > > > > > On Thu, Apr 03, 2025 at 12:55:38PM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

[PATCH 2/6] usb: host: echi-msm: Drop ulpi definitions

2025-04-07 Thread Stephan Gerhold
These are unused. Signed-off-by: Stephan Gerhold --- drivers/usb/host/ehci-msm.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index dd1d527a3a2c3f38df747dbb41cbb84bf76286e2..60b2dc44d3d35ddc5b8cf37f70bbccd91c5e962c 100644 -

[PATCH 0/6] usb: host: ehci-msm: Clean up and fix crashes

2025-04-07 Thread Stephan Gerhold
The ehci-msm driver has several subtle issues and stale code. Most of them are minor and do not cause issues during normal usage. The last patch is the most critical, it fixes a reported crash when stopping/re-configuring USB, which has been around for a few months now. Signed-off-by: Stephan Gerh

Re: [PATCH v2 4/4] dm: core: Rename dm_remove_devices_active()

2025-04-07 Thread Tom Rini
On Mon, Apr 07, 2025 at 10:49:11PM +1200, Simon Glass wrote: > Hi Heinrich, > > On Mon, 7 Apr 2025 at 19:57, Heinrich Schuchardt wrote: > > > > On 07.04.25 03:35, Simon Glass wrote: > > > This function doesn't have a great name, since we talk of devices being > > > active once they are probed. >

[PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support

2025-04-07 Thread Sumit Garg
From: Sumit Garg Currently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So disable HS200 mode support as of now as it requires bus speeds of 200MHz. This should fix eMMC issues reported on RB1. Signed-off-by: Sumit Garg ---

[PATCH 1/2] arm: dts: Add override for RB1

2025-04-07 Thread Sumit Garg
From: Sumit Garg Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1 works fine though. Signed-off-by: Sumit Garg --- arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++ 1 file changed, 11 insertions(+

[PATCH] configs: versal: Fix initial stack pointer

2025-04-07 Thread Padmarao Begari
The mini u-boot is getting exception because of an initial stack pointer address is used at near the top of memory, and while executing u-boot is assigned pre-malloc and global_data memory after initial stack pointer and updated the stack pointer. Serial driver is used pre-malloc area for serial op

Re: [PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread neil . armstrong
On 07/04/2025 16:17, Jorge Ramirez wrote: On 07/04/25 14:36:51, neil.armstr...@linaro.org wrote: On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- drivers/clk/qcom/clock-apq8096.c | 2 +-

Re: [PATCH v2 2/4] net: designware: Mark drivers as having active DMA

2025-04-07 Thread neil . armstrong
On 07/04/2025 03:35, Simon Glass wrote: Network devices which use this driver have DMA running while receiving packages. Add the required flag to driver model so that they will be removed before starting the OS. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to mark drivers as

Re: [PATCH v2 1/4] designware: Use the remove() method with related drivers

2025-04-07 Thread neil . armstrong
On 07/04/2025 03:35, Simon Glass wrote: Several drivers make use of the designware Ethernet driver but do not implement the remove() method. Add this to keep things tidy. Note that the Ethernet uclass calls each driver's stop() method on removal, so there is no need to do that here. Signed-off-

Re: [PATCH RFC/RFT 1/2] gpio: qcom: add new driver for SPMI gpios

2025-04-07 Thread Neil Armstrong
On 05/04/2025 17:56, Alexey Minnekhanov wrote: On 4/1/25 12:47, Neil Armstrong via groups.io wrote: The current qcom_pmic_gpio driver is too limited and doesn't support state tracking for all pins like the Linux driver. Adding full pinconf support would require adding the state and it's much si

Re: [PATCH v2 4/4] dm: core: Rename dm_remove_devices_active()

2025-04-07 Thread Heinrich Schuchardt
On 07.04.25 03:35, Simon Glass wrote: This function doesn't have a great name, since we talk of devices being active once they are probed. Rename it to dm_remove_dma_devices(). Signed-off-by: Simon Glass Suggested-by: Jonas Karlman --- (no changes since v1) arch/arm/lib/bootm.c |

[PATCH 2/7] clk/qcom: apq8096: fix set rate for the uart clock

2025-04-07 Thread Jorge Ramirez-Ortiz
The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/qcom/clock-apq8096.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index c77d69128b0..bc00826a5e8 100644 --- a/d

Dragonboard 820c - fix board support

2025-04-07 Thread Jorge Ramirez-Ortiz
This series addresses the existing issues with U-Boot support for the DragonBoard 820c. [PATCH 1/7] board: qualcomm: dragonboard820c: udpate readme [PATCH 2/7] clk/qcom: apq8096: fix set rate for the uart clock [PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error [PATCH 4/7] clk/qcom

[PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error

2025-04-07 Thread Jorge Ramirez-Ortiz
Some boards do not require all clocks to be available (i.e: dragonboard820c). This change provides a fallback to the core clock when the bulk cant be retrived. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mmc/msm_sdhci.c | 27 +-- 1 file changed, 25 insertions(+), 2 de

[PATCH 4/7] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Jorge Ramirez-Ortiz
Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/qcom/clock-apq8096.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index bc00826a5e8..551f52d5197 100644 --- a/drivers/cl

Re: [PATCH] mach-k3: common_fdt: Fix Label Issue

2025-04-07 Thread Kumar, Udit
Hi Daniel. Thanks for patch On 4/7/2025 11:37 AM, Daniel Schultz wrote: Labels are not allowed before declarations. Add a semicolon after the label to introduce an empty statement. This will fix following error: arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': arch/arm/mach-k3/

[PATCH 6/7] mach-snapdragon: board interface to enforce fdt

2025-04-07 Thread Jorge Ramirez-Ortiz
Some platforms might require the external fdt to boot. This change provides a mechanism to the board initializaion code to make the requet explicit. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-snapdragon/board.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/ar

[PATCH 7/7] board: qualcommm: dragonboard820c: external fdt

2025-04-07 Thread Jorge Ramirez-Ortiz
The chainloaded u-boot requires the external fdt. Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard820c/dragonboard820c.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/qualcomm/dragonboard820c/dragonboard820c.c b/board/qualcomm/dragonboard820c/dragonboard820c.c

[PATCH 5/7] configs: dragonboard820: enable GPIO

2025-04-07 Thread Jorge Ramirez-Ortiz
Configure GPIO. Signed-off-by: Jorge Ramirez-Ortiz --- configs/dragonboard820c_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dragonboard820c_defconfig b/configs/dragonboard820c_defconfig index e29bea7deb2..b5b6bc026e8 100644 --- a/configs/dragonboard820c_defconfig +++ b/

Re: [PATCH] mach-k3: common_fdt: Fix Label Issue

2025-04-07 Thread Neha Malcom Francis
Hi Udit On 07/04/25 13:51, Kumar, Udit wrote: > Hi Daniel. > > Thanks for patch > > On 4/7/2025 11:37 AM, Daniel Schultz wrote: >> Labels are not allowed before declarations. Add a semicolon after the >> label to introduce an empty statement. This will fix following error: >> >> arch/arm/mach-k3

Re: [PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error

2025-04-07 Thread Neil Armstrong
On 07/04/2025 11:38, Jorge Ramirez wrote: On 07/04/25 11:10:45, Neil Armstrong wrote: On 07/04/2025 11:02, neil.armstr...@linaro.org wrote: On 07/04/2025 10:19, Jorge Ramirez-Ortiz wrote: Some boards do not require all clocks to be available (i.e: dragonboard820c). Can you specify which cloc

[PATCH 5/6] usb: host: ehci-msm: Drop redundant EHCI register writes

2025-04-07 Thread Stephan Gerhold
ehci_unregister() already clears the CMD_RUN bit with more careful checks. It also ensures that we only do this in case we were actually in USB host (rather than USB device) mode. It's not clear what the extra register writes in the Qualcomm-specific ehci-msm driver are supposed to do, so just drop

[PATCH 6/6] usb: host: ehci-msm: Register ULPI PHY through NOP wrapper

2025-04-07 Thread Stephan Gerhold
The UCLASS_USB device is removed and rebound each time you run "usb stop" followed by "usb start", or when you switch between USB device and USB host mode. Unfortunately, this causes issues with the current ehci-msm driver: In ehci_usb_remove() we call generic_shutdown_phy(), but at that point the

[PATCH 3/6] usb: host: ehci-msm: Disable clocks after all register accesses

2025-04-07 Thread Stephan Gerhold
We need the USB clocks to do accesses like wait_for_bit_le32(&ehci->usbcmd, CMD_RESET, ...) so we should disable them only after all of them are done. At the moment this works only because the clock driver doesn't actually disabling these clocks in U-Boot. Fixes: 9b3a9f896e66 ("ehci: msm: bring

[PATCH 4/6] usb: host: ehci-msm: Use clk bulk helpers

2025-04-07 Thread Stephan Gerhold
The enable order for the clocks does not matter much, we just need to enable all the USB clocks. Use the clk bulk helpers to simplify the code. Signed-off-by: Stephan Gerhold --- drivers/usb/host/ehci-msm.c | 36 +++- 1 file changed, 11 insertions(+), 25 deletions

[PATCH 1/6] usb: host: ehci-msm: Fix pointer check

2025-04-07 Thread Stephan Gerhold
dev_read_addr_ptr() returns a null pointer on error, not FDT_ADDR_T_NONE. Fixes: 2be1130a9305 ("usb: ehci-msm: Use dev interface to get device address") Signed-off-by: Stephan Gerhold --- drivers/usb/host/ehci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/

[PATCH 3/5] patman: Pass the alias dict into gitutil.email_patches()

2025-04-07 Thread Simon Glass
Rather than accessing the settings module in this function, require the alias dict to be passed in. Signed-off-by: Simon Glass --- tools/patman/control.py | 2 +- tools/patman/func_test.py | 5 +++-- tools/u_boot_pylib/gitutil.py | 19 --- 3 files changed, 12 inserti

[PATCH 2/5] clk/qcom: apq8096: fix set rate for the uart clock

2025-04-07 Thread Jorge Ramirez-Ortiz
The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- drivers/clk/qcom/clock-apq8096.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index c77d69128b

[PATCH 1/5] board: qualcomm: dragonboard820c: udpate readme

2025-04-07 Thread Jorge Ramirez-Ortiz
Update build instructions. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- board/qualcomm/dragonboard820c/readme.txt | 47 ++- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/board/qualcomm/dragonboard820c/readme.txt b/board/qualcomm/drago

[PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Jorge Ramirez-Ortiz
Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- drivers/clk/qcom/clock-apq8096.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index bc00826a5e8..551f52

[PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-07 Thread Jorge Ramirez-Ortiz
Add support for the resource power manager clocks over SMD/GLINK to be stubbed. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/clk-stub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c index 5fbbb07b7f7..09be2946bbc 100644 --- a/drivers/cl

Re: [PATCH 1/1] buildman: update PyYAML requirement

2025-04-07 Thread Tom Rini
On Mon, 07 Apr 2025 08:47:12 +0200, Heinrich Schuchardt wrote: > On Ubuntu 25.04 installing the dependency pyyaml 6.0 fails with > > License classifiers are deprecated > > Update PyYAML to the current release. > > > [...] Applied to u-boot/master, thanks! [1/1] buildman: update PyYAML re

[PATCH 1/3] usb: gadget: f_acm: Claim requested USB endpoints

2025-04-07 Thread Stephan Gerhold
U-Boot has an older version of the Linux gadget API, where USB endpoints returned by usb_ep_autoconfig() are not automatically claimed. As written in the documentation comment: "To prevent the endpoint from being returned by a later autoconfig call, claim it by assigning ep->driver_data to some

[PATCH 2/3] usb: gadget: f_acm: Allow restarting ACM console after stopping it

2025-04-07 Thread Stephan Gerhold
When using IOMUX, the "usbacm" console can be added/removed dynamically from the stdout/stderr/stdin environment variables to allow temporarily starting other USB gadgets (e.g. Fastboot). However, right now acm_stdio_stop() does not completely undo acm_stdio_start(): The USB gadget is unregistered

[PATCH 3/3] usb: gadget: introduce 'enabled' flag in struct usb_ep

2025-04-07 Thread Stephan Gerhold
f_acm calls usb_ep_disable(f_acm->ep_notify) unconditionally in acm_start_ctrl(), even if the USB endpoint was never enabled before. This causes crashes for some UDC drivers (e.g. ci_udc), because they dereference data structures that are assigned only after having called usb_ep_enable(). The f_ac

[PATCH 0/3] usb: gadget: Fix issues when using f_acm with ci_udc

2025-04-07 Thread Stephan Gerhold
get.h | 27 +-- 2 files changed, 29 insertions(+), 2 deletions(-) --- base-commit: 0efe8ea57fc7a1a6fc5f64fb3cf6bc4a1a4fc219 change-id: 20250407-acm-fixes-935a27c7a2b5 Best regards, -- Stephan Gerhold

Re: [PATCH 00/20] Support for the RK3576

2025-04-07 Thread Heiko Stübner
Hi Kever, Am Sonntag, 6. April 2025, 17:09:59 Mitteleuropäische Sommerzeit schrieb Kever Yang: > Hi Heiko, > > Do you have new version for this patch set? with 6.15-tc1 the devicetree for my Firefly board now also made it to the dt-rebasing repository, where I can cherry-pick it from for u

[PATCH 05/13] board: dragonboard410c: Drop reflash functionality

2025-04-07 Thread Stephan Gerhold
This is broken ever since we switched to using U-Boot as first stage bootloader. Since no one seems to test this actively, let's just drop this entirely. There are other tools available for re-flashing the DB410c. Signed-off-by: Stephan Gerhold --- board/qualcomm/dragonboard410c/dragonboard410c.

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-07 Thread Svyatoslav Ryhel
пн, 7 квіт. 2025 р. о 18:19 Simon Glass пише: > > Hi Svyatoslav, > > On Mon, 7 Apr 2025 at 08:43, Svyatoslav Ryhel wrote: > > > > > > 07.04.25 4:53 пп, Tom Rini: > > > On Mon, Apr 07, 2025 at 01:07:34PM +1200, Simon Glass wrote: > > >> Hi Tom, > > >> > > >> On Mon, 7 Apr 2025 at 10:48, Tom Rini

[PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-07 Thread Jorge Ramirez-Ortiz
Add support for the resource power manager clocks over SMD/GLINK to be stubbed. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong --- drivers/clk/clk-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-stub.c b/drivers

[PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Jorge Ramirez-Ortiz
Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-apq8096.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index bc00826a5e8..551f52

[PATCH 2/5] clk/qcom: apq8096: fix set rate for the uart clock

2025-04-07 Thread Jorge Ramirez-Ortiz
The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-apq8096.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clo

[PATCH 5/5] configs: dragonboard820: updates

2025-04-07 Thread Jorge Ramirez-Ortiz
Configure GPIO and CLK_STUBS CLK_STUBS is required for MMC initialization Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- configs/dragonboard820c_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dragonboard820c_defconfig b/configs/dragonboard820c_defco

[PATCH v1 3/3] board: toradex: add Toradex SMARC iMX8MP

2025-04-07 Thread Vitor Soares
From: Vitor Soares Add support for the Toradex SMARC iMX8MP. Link: https://www.toradex.com/computer-on-modules/smarc-arm-family/nxp-imx-8m-plus Link: https://www.toradex.com/products/carrier-board/smarc-development-board-kit Signed-off-by: Vitor Soares --- The support for the Linux Kernel has

[PATCH RFC] bootm: ARM64 EL1 direct jump to kernel start

2025-04-07 Thread George Chan via B4 Relay
(u64)switch_to_el1, ES_TO_AARCH64); --- base-commit: 848f7ffc64aa7c4cc2229095812625c12343c8c1 change-id: 20250407-el1-boot-792926ba6090 Best regards, -- George Chan

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-07 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 08:31, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 12:35:15PM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 7 Apr 2025 at 10:38, Tom Rini wrote: > > > > > > On Mon, Apr 07, 2025 at 10:06:07AM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat,

Re: [U-Boot][PATCH v1] cmd/fpga: use config node for loadmk

2025-04-07 Thread Michal Simek
HI, pá 21. 2. 2025 v 12:04 odesílatel Ibai Erkiaga napsal: > > Current implementation requires to provide the name of the FPGA image > within the FIT image. As the configuration node is mandatory according > to the spec and includes an optional property "fpga" to define the > bitstream image, use

[PATCH v2] arm64: zynqmp: Use CONFIG_SPL_FS_LOAD_PAYLOAD_NAME in binman

2025-04-07 Thread Michal Simek
u-boot.itb name is coming via CONFIG_SPL_FS_LOAD_PAYLOAD_NAME and it's change will affect SD boot mode that's why start to use it. Signed-off-by: Michal Simek --- Changes in v2: - Also support image generation when FS support is disabled based on discussion with Quentin Schulz arch/arm/dts/

Re: [PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Jorge Ramirez
On 07/04/25 17:12:45, neil.armstr...@linaro.org wrote: > On 07/04/2025 16:17, Jorge Ramirez wrote: > > On 07/04/25 14:36:51, neil.armstr...@linaro.org wrote: > > > On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: > > > > Select the right clock for sdhci. > > > > > > > > Signed-off-by: Jorge Ramirez

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-07 Thread Simon Glass
Hi Svyatoslav, On Mon, 7 Apr 2025 at 08:43, Svyatoslav Ryhel wrote: > > > 07.04.25 4:53 пп, Tom Rini: > > On Mon, Apr 07, 2025 at 01:07:34PM +1200, Simon Glass wrote: > >> Hi Tom, > >> > >> On Mon, 7 Apr 2025 at 10:48, Tom Rini wrote: > >>> On Mon, Apr 07, 2025 at 09:12:32AM +1200, Simon Glass w

Re: [PATCH 1/7] board: qualcomm: dragonboard820c: udpate readme

2025-04-07 Thread neil . armstrong
On 07/04/2025 10:19, Jorge Ramirez-Ortiz wrote: Update build instructions. Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard820c/readme.txt | 47 ++- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/board/qualcomm/dragonboard820c/readme.txt

Re: [PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-07 Thread neil . armstrong
On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: Add support for the resource power manager clocks over SMD/GLINK to be stubbed. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/clk-stub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c in

Re: [PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread neil . armstrong
On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- drivers/clk/qcom/clock-apq8096.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-apq8096.c b/driver

Re: [PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-07 Thread Sumit Garg
On Mon, Apr 07, 2025 at 02:05:35PM +0200, Jorge Ramirez-Ortiz wrote: > Add support for the resource power manager clocks over SMD/GLINK to be > stubbed. > > Signed-off-by: Jorge Ramirez-Ortiz > --- > drivers/clk/clk-stub.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/clk

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

2025-04-07 Thread Diederik de Haas
Hi Jonas, On Mon Apr 7, 2025 at 12:31 AM CEST, Jonas Karlman wrote: > On 2025-04-06 22:09, Diederik de Haas wrote: >> On Thu Jul 11, 2024 at 9:38 PM CEST, Diederik de Haas wrote: >>> Some time ago I reported to Jonas privately that I had a problem with >>> my Quartz64 Model A and B and that I bise

[PATCH 2/5] patman: Pass the alias dict into gitutil.build_email_list()

2025-04-07 Thread Simon Glass
Rather than accessing the settings module in this function, require the alias dict to be passed in. Signed-off-by: Simon Glass --- tools/patman/series.py| 14 -- tools/u_boot_pylib/gitutil.py | 18 +- 2 files changed, 17 insertions(+), 15 deletions(-) diff -

[PATCH RFC] fdt.c: fdt chosen cmd had off-by-one issue

2025-04-07 Thread George Chan via B4 Relay
mit: 848f7ffc64aa7c4cc2229095812625c12343c8c1 change-id: 20250407-fdt-chosen-c87045f2e1e9 Best regards, -- George Chan

Re: [PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error

2025-04-07 Thread Neil Armstrong
On 07/04/2025 11:02, neil.armstr...@linaro.org wrote: On 07/04/2025 10:19, Jorge Ramirez-Ortiz wrote: Some boards do not require all clocks to be available (i.e: dragonboard820c). Can you specify which clock isn't available ? Because we have clk-stub for that Enable: CONFIG_CLK_STUB=y and c

[PATCH 0/2] RB1 fixes

2025-04-07 Thread Sumit Garg
From: Sumit Garg The eMMC on RB1 boards supports HS200 mode but currently the msm_shdci driver in U-Boot is missing DLL configuration required for HS200 mode to work. Hence disable HS200 for now until proper support is in place. Apart from that, add DT override for USB to work in host mode as ot

[PATCH 00/13] board: dragonboard410c: Various fixes and cleanup

2025-04-07 Thread Stephan Gerhold
nfigs/dragonboard410c.h | 11 7 files changed, 35 insertions(+), 98 deletions(-) --- base-commit: 4b2895adb0ab94fdaabd6c19cef4d72986483461 change-id: 20250407-db410c-fixes-85c6a6de2716 Best regards, -- Stephan Gerhold

[PATCH 07/13] board: dragonboard410c: Use dynamically allocated load addresses

2025-04-07 Thread Stephan Gerhold
The generic Qualcomm board code allocates addresses for loading the kernel, ramdisk, DT, fastboot etc. This also happens on the DB410c and already overrides these definitions defined in the default env. So let's just drop the static ones, since the dynamic ones work just fine. Signed-off-by: Steph

[PATCH 08/13] board: dragonboard410c: Fix counter frequency

2025-04-07 Thread Stephan Gerhold
The actual counter frequency is 19.2 MHz, not 19.0 MHz. This isn't really used so far though, since probably no one (except me) ever tried using U-Boot in EL3 where we need to program the counter frequency. Signed-off-by: Stephan Gerhold --- configs/dragonboard410c_defconfig | 2 +- 1 file chang

[PATCH 01/13] mach-snapdragon: Fix EL2 boot on DragonBoard 410c

2025-04-07 Thread Stephan Gerhold
The workaround for the "PSCI bug" on DragonBoard 410c implemented in arch/arm/mach-snapdragon/include/mach/boot0.h clobbers the x0 register by storing the CurrentEL in there. When running in EL1, the mode switch sequence implemented there later clears the register again, but this is skipped when U-

[PATCH 06/13] board: dragonboard410c: Drop unused linux_image

2025-04-07 Thread Stephan Gerhold
This does not seem to be used anywhere. Signed-off-by: Stephan Gerhold --- board/qualcomm/dragonboard410c/dragonboard410c.env | 1 - 1 file changed, 1 deletion(-) diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.env b/board/qualcomm/dragonboard410c/dragonboard410c.env index 57a3003

[PATCH 02/13] board: dragonboard410c: Fix RAM size

2025-04-07 Thread Stephan Gerhold
DB410c has exactly 1 GiB of RAM. Some of it is reserved, but this is described separately in the DT. This was fixed before in commit 1d667227ea51 ("board: dragonboard410c: Fix PHYS_SDRAM_1_SIZE"), but was reintroduced when DB410c was converted to use the upstream device tree. Note that there are

[PATCH 09/13] board: dragonboard410c: Enable RTL8152 ethernet

2025-04-07 Thread Stephan Gerhold
The Geniatech DB4 V3 [1] has a RTL8152 onboard for Ethernet. I don't have one to test if that works, but the other USB Ethernet drivers work pretty much as-is, so just enable it with the assumption it will work out fine. [1]: https://www.96boards.org/product/db4/ Signed-off-by: Stephan Gerhold -

[PATCH 11/13] board: dragonboard410c: Enable support for Android boot images

2025-04-07 Thread Stephan Gerhold
The U-Boot port for DB410c still has plenty of extra space available at this point, so avoid disabling features that would be normally enabled by default. In particular, this incldues support for Android boot images, which is quite likely to be used together with the USB Fastboot interface. Signed

[PATCH 12/13] board: dragonboard410c: Use button_cmd instead of custom code

2025-04-07 Thread Stephan Gerhold
Simplify the board code by using the new BUTTON_CMD functionality, instead of implementing this separately using C code. This allows disabling or customizing this functionality if wanted. Signed-off-by: Stephan Gerhold --- board/qualcomm/dragonboard410c/dragonboard410c.c | 22 -

[PATCH 13/13] board: dragonboard410c: Update maintainers

2025-04-07 Thread Stephan Gerhold
Ramon has been inactive on the U-Boot mailing list for over a year now and the DB410c port has not been updated much lately. I've been doing most of the DB410c-specific fixes/rework lately and try to test it every now and then, so add myself as new maintainer. Also add Sam as reviewer, since he's b

[PATCH 5/5] arm64: zynqmp: fix dfu alt buffer clearing

2025-04-07 Thread Vincent Stehlé
The set_dfu_alt_info() function calls the ALLOC_CACHE_ALIGN_BUFFER() macro to declare a `buf' variable pointer into an array allocated on the stack. It then calls the memset() function to clear the useable portion of the array using the idiomatic expression `sizeof(buf)'. While this would indeed w

Re: [PATCH 02/13] board: dragonboard410c: Fix RAM size

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: DB410c has exactly 1 GiB of RAM. Some of it is reserved, but this is described separately in the DT. This was fixed before in commit 1d667227ea51 ("board: dragonboard410c: Fix PHYS_SDRAM_1_SIZE"), but was reintroduced when DB410c was converted to use t

Re: [PATCH 13/13] board: dragonboard410c: Update maintainers

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: Ramon has been inactive on the U-Boot mailing list for over a year now and the DB410c port has not been updated much lately. I've been doing most of the DB410c-specific fixes/rework lately and try to test it every now and then, so add myself as new main

Re: [PATCH 03/13] board: dragonboard410c: Fix BD address

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: local-bd-address in the device tree needs to be formatted with the least significant byte first (i.e. little endian). We're not doing this when adding it to the DT, which means the MAC address ends up being reversed in Linux. Fix this by reversing the a

Re: [PATCH 11/13] board: dragonboard410c: Enable support for Android boot images

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: The U-Boot port for DB410c still has plenty of extra space available at this point, so avoid disabling features that would be normally enabled by default. In particular, this incldues support for Android boot images, which is quite likely to be used tog

Re: [PATCH 09/13] board: dragonboard410c: Enable RTL8152 ethernet

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: The Geniatech DB4 V3 [1] has a RTL8152 onboard for Ethernet. I don't have one to test if that works, but the other USB Ethernet drivers work pretty much as-is, so just enable it with the assumption it will work out fine. [1]: https://www.96boards.org/p

Re: [PATCH 07/13] board: dragonboard410c: Use dynamically allocated load addresses

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: The generic Qualcomm board code allocates addresses for loading the kernel, ramdisk, DT, fastboot etc. This also happens on the DB410c and already overrides these definitions defined in the default env. So let's just drop the static ones, since the dyna

Re: [PATCH 01/13] mach-snapdragon: Fix EL2 boot on DragonBoard 410c

2025-04-07 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: The workaround for the "PSCI bug" on DragonBoard 410c implemented in arch/arm/mach-snapdragon/include/mach/boot0.h clobbers the x0 register by storing the CurrentEL in there. When running in EL1, the mode switch sequence implemented there later clears t

[PATCH v1 1/3] arm: dts: imx8mp: sync with Linux v6.15-rc1

2025-04-07 Thread Vitor Soares
From: Vitor Soares Sync imx8mp.dtsi with Linux v6.15-rc1. Signed-off-by: Vitor Soares --- arch/arm/dts/imx8mp.dtsi | 413 +-- 1 file changed, 355 insertions(+), 58 deletions(-) diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi index c9a610ba4

Re: [PATCH v1 0/1] USB xHCI wrong act_len calculation in case of using multipe TRB

2025-04-07 Thread marcan
Hi, On 2025/03/22 1:58, biguncle...@gmail.com wrote: From: Maksim Kiselev Hello everyone! I've encountered an issue where the actual length of received data is calculated incorrectly in the case of a multiple TRB request. Below, I'll try to describe the essence of the problem: A USB-etherne

[PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support

2025-04-07 Thread Sumit Garg
Currently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So disable HS200 mode support as of now as it requires bus speeds of 200MHz. This should fix eMMC issues reported on RB1. Signed-off-by: Sumit Garg --- configs/qcom_defcon

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-04-07 Thread Michael Nazzareno Trimarchi
Hi Fabio On Mon, Apr 7, 2025 at 9:55 PM Christian Marangi wrote: > On Sat, Mar 15, 2025 at 10:24:14AM +0100, Christian Marangi wrote: > > It's currently possible to make the bootloader crash on calling > > clk_set_rate caused by the loop in clk_clean_rate_cache. > > > > The loop assume that ever

Re: [PATCH 1/5] board: qualcomm: dragonboard820c: udpate readme

2025-04-07 Thread Caleb Connolly
On 4/7/25 14:05, Jorge Ramirez-Ortiz wrote: Update build instructions. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly > --- board/qualcomm/dragonboard820c/readme.txt | 47 ++- 1 file changed, 21 insertions(+), 26 deletion

Re: [PATCH 2/5] clk/qcom: apq8096: fix set rate for the uart clock

2025-04-07 Thread Caleb Connolly
On 4/7/25 14:05, Jorge Ramirez-Ortiz wrote: The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly > --- drivers/clk/qcom/clock-apq8096.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error

2025-04-07 Thread Jorge Ramirez
On 07/04/25 11:10:45, Neil Armstrong wrote: > On 07/04/2025 11:02, neil.armstr...@linaro.org wrote: > > On 07/04/2025 10:19, Jorge Ramirez-Ortiz wrote: > > > Some boards do not require all clocks to be available (i.e: > > > dragonboard820c). > > > > Can you specify which clock isn't available ? Be

Re: [PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-07 Thread Jorge Ramirez
On 07/04/25 14:37:27, neil.armstr...@linaro.org wrote: > On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: > > Add support for the resource power manager clocks over SMD/GLINK to be > > stubbed. > > > > Signed-off-by: Jorge Ramirez-Ortiz > > --- > > drivers/clk/clk-stub.c | 1 + > > 1 file chang

Re: [PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Caleb Connolly
On 4/7/25 16:17, Jorge Ramirez wrote: On 07/04/25 14:36:51, neil.armstr...@linaro.org wrote: On 07/04/2025 14:05, Jorge Ramirez-Ortiz wrote: Select the right clock for sdhci. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong --- drivers/clk/qcom/clock-apq8096.c | 2 +- 1

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-07 Thread Tom Rini
On Mon, Apr 07, 2025 at 12:35:15PM +1200, Simon Glass wrote: > Hi Tom, > > On Mon, 7 Apr 2025 at 10:38, Tom Rini wrote: > > > > On Mon, Apr 07, 2025 at 10:06:07AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 5 Apr 2025 at 06:57, Tom Rini wrote: > > > > > > > > On Sat, Apr 05, 2025

[PATCH v2 02/14] net: airoha: Add Airoha Ethernet driver

2025-04-07 Thread Christian Marangi
Add airoha Ethernet driver for Airoha AN7581 SoC. This is a majorly rewritten and simplified version of the Linux airoha_eth.c driver. It's has been modified to support a single RX/TX ring to reflect U-Boot implementation with recv and send API. The struct and the define are kept as similar as po

[PATCH v2 04/14] arch: arm: dts: an7581: Add Ethernet nodes

2025-04-07 Thread Christian Marangi
Add Ethrnet nodes for Airoha AN7581 EVB board. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi index 9f8abfc3bcf..a569044195d

[PATCH v2 01/14] arch: arm: dts: an7581: add Chip SCU node

2025-04-07 Thread Christian Marangi
Add pending Chip SCU node for clock node. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi index 0316b73f3a5..9f8abfc3bcf 100644 --- a/arch/arm/dts/an7

[PATCH v2 13/14] arm: dts: an7581: Add SNAND node

2025-04-07 Thread Christian Marangi
Add SNAND node to Airoha AN7581 EVB DTS to enable support for attached SNAND flash. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi ind

[PATCH v2 10/14] spi: Introduce setup_for_spinand()

2025-04-07 Thread Christian Marangi
A common device attached to SPI are SPI NAND and some device might require to have info on the attached NAND to know the flash page size and spare size. To support this, introduce setup_for_spinand() that pass the attached spinand info from manufacturer. Signed-off-by: Christian Marangi --- inc

[PATCH v2 00/14] airoha: add support spi/mmc/ethernet

2025-04-07 Thread Christian Marangi
This is continuation of the initial patchset for airoha support. Some are trivial fix for spi. A new concept to setup SPI from detected NAND. Sadly DTS node still need to be merged upstream so we are currently adding them to u-boot dtsi and it's planned to be dropped once they are accepted in ups

[PATCH v2 03/14] airoha: Add Ethernet config to defconfig

2025-04-07 Thread Christian Marangi
Add Ethrnet config to defconfig to enable Ethernet support. Signed-off-by: Christian Marangi --- configs/an7581_evb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig index f09b5b603a2..f5bd647cb6e 100644 --- a/configs/an7581

[PATCH v2 11/14] spinand: call SPI setup_for_spinand if supported

2025-04-07 Thread Christian Marangi
Call SPI setup_for_spinand() if supported and defined to configure the SPI slave for the attached NAND. This is needed to configure the SPI with the NAND page size and spare size for correct configuration of the device. Call it as soon as the NAND is detected to correctly handle SPI controller wit

<    1   2   3   >