[resend v2 13/13] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..5d380011fab 100644 --- a/

[PATCH v1 0/1] video: edid: guard standard timings EDID expansion behind kconfig

2025-03-13 Thread Svyatoslav Ryhel
Since EDID only indicates supported standard timings, a large table with detailed timing information is necessary, consuming significant space. To mitigate this, the table is made configurable via kconfig, allowing it to be excluded when not needed. Svyatoslav Ryhel (1): video: edid: guard stand

[PATCH v1 1/1] video: edid: guard standard timings EDID expansion behind kconfig

2025-03-13 Thread Svyatoslav Ryhel
Since EDID only indicates supported standard timings, a large table with detailed timing information is necessary, consuming significant space. To mitigate this, the table is made configurable via kconfig, allowing it to be excluded when not needed. Signed-off-by: Svyatoslav Ryhel --- common/edi

[PATCH 2/2] mtd: spi-nor-core: Rework spansion_sr_ready() for parallel memories support

2025-03-13 Thread tkuw584924
From: Takahiro Kuwano spansion_sr_ready() needs to support parallel memories configuration, that reads status register value from each devices and combines the status bits, likewise read_sr() and read_fsr(). Introduce helper functions that perform RD_ANY_REG op with one-byte or two-byte data len

[PATCH v3] configs: am65x_evm_r5_usbdfu_defconfig: Fix USB DFU boot

2025-03-13 Thread Hrushikesh Salunke
Increase the size of malloc region allocated before relocation, as current size is insufficient for DFU boot causing it to overflow and corrupt the stack. Fixed regulator configs are required by vtt_supply which is used by "am654_ddrss" driver. Without it during DFU boot DDRSS initialization is fa

[PATCH 0/2] zynqmp parallel memories support for Infineon Flash

2025-03-13 Thread tkuw584924
From: Takahiro Kuwano Some of Infineon SPI-NOR chips use vendor or device specific commands which we need to take care for parallel memories configuration in zynqmp. Tested with Infineon S25HS02GT flash and AMD EK-VMK180 board. Takahiro Kuwano (2): spi: zynqmp_gqspi: Make WR_ANY_REG opcode no

[PATCH 1/2] spi: zynqmp_gqspi: Make WR_ANY_REG opcode not use striped access

2025-03-13 Thread tkuw584924
From: Takahiro Kuwano SPINOR_OP_WR_ANY_REG (0x71) opcode must not be performed in striped access mode to write the same register value to two Flash devices in parallel memory configuration. The opcde 0x71 is also used as Read Configuration Register-2 (SPINOR_OP_RD_CR2). To distiguish it, data dir

[resend v2 12/13] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for sandbox i3c. Signed-off-by: Dinesh Maniyam --- configs/sandbox_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 861a1f4cd90..d3617da8792 100644 --- a/configs/sandbox_defconfig ++

[resend v2 11/13] test: cmd: Add simple test for i3c

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add simple test to check i3c controller defined in sandbox test DT. Basically, this test case will check validity of the i3c controller by probing it and perform basic commands of cmd/i3c.c Signed-off-by: Dinesh Maniyam --- test/cmd/Makefile | 1 + test/cmd/i3c.c| 52

[resend v2 10/13] cmd: Enabled Kconfig and Makefile for DWI3C cmd support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the DWI3C driver cmd support. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig | 6 ++ cmd/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 642cc1116e8..551959731f0 100644 --- a/cmd/Kconfig

[resend v2 09/13] cmd: Add i3c command support.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/i3c.c | 193 + doc/usage/cmd/i3c.rst | 98 +++ drivers/i3c/mas

[resend v2 07/13] drivers: i3c: master: Enable probe i3c without slave device

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master.c

[resend v2 06/13] drivers: i3c: Add i3c sandbox simple test.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 58 +++ test/dm/

[resend v2 04/13] drivers: Enabled Kconfig and Makefile for i3c support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 4 files changed, 22 insertions(+) create mode 100755 drivers/i3c/K

[resend v2 05/13] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 3 +++ drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 18 in

[resend v2 03/13] drivers: i3c: Add i3c uclass driver.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h|

Re: boottime->efi_allocate_pages() returning EFI_NOT_FOUND

2025-03-13 Thread Ben Schneider
On Thursday, March 13th, 2025 at 11:11 AM, Ard Biesheuvel wrote: > > > On Thu, 13 Mar 2025 at 18:27, Ben Schneider b...@bens.haus wrote: > > > Hi Ilias, > > > > On Thursday, March 13th, 2025 at 2:35 AM, Ilias Apalodimas > > ilias.apalodi...@linaro.org wrote: > > > > > Can you apply > > >

[resend v2 01/13] drivers: i3c: Add new i3c uclass id

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclas

[resend v2 00/13] Add Synopsys MIPI I3C Driver support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h, inclu

Re: [PATCH v2] config: falcon: move CFG_SYS_SPI_* to Kconfig

2025-03-13 Thread Anshul Dalal
On Tue Mar 11, 2025 at 10:14 AM IST, Anshul Dalal wrote: > CFG_SYS_SPI_* are used in falcon boot to specify the offsets and size of > the respective payloads. This patch moves them to Kconfig keeping the > values consistent for each of the affected boards. > > Reviewed-by: Tom Rini > Reviewed-by:

Re: [PATCH v4] spl: remove usage of CMD_BOOT[IZ] from image parsing

2025-03-13 Thread Anshul Dalal
On Thu Mar 13, 2025 at 8:21 PM IST, Tom Rini wrote: > On Thu, Mar 13, 2025 at 08:58:42AM +0530, Anshul Dalal wrote: > > > Using CMD_* configs from spl doesn't make logical sense. Therefore this > > patch replaces the checks for CMD_BOOT[IZ] with newly added configs > > SPL_HAS_BOOT[IZ]. > > > > An

[PATCH v5] spl: remove usage of CMD_BOOT[IZ] from image parsing

2025-03-13 Thread Anshul Dalal
Using CMD_* configs from spl doesn't make logical sense. Therefore this patch replaces the checks for CMD_BOOT[IZ] with newly added configs SPL_HAS_BOOT[IZ]. SPL_HAS_BOOTZ is enabled by default for 32-bit ARM systems and SPL_HAS_BOOTI is enabled by default for 64-bit ARM and RISCV. This ensures co

Re: [PATCH v4 0/4] xPL-stack cleanup

2025-03-13 Thread Tom Rini
On Fri, 28 Feb 2025 05:20:22 -0700, Simon Glass wrote: > This series was split from the VBE part H series. It adjusts the logic > for selecting the top of the stack so that it is more consistent across > xPL phases. > > Changes in v4: > - Rebase to -next > > [...] Applied to u-boot/next, thanks

Re: [PATCH v2] board: ti: j784s4: Update Resource Management configs

2025-03-13 Thread Tom Rini
On Fri, 28 Feb 2025 11:12:22 +0530, Neha Malcom Francis wrote: > Update rm-cfg.yaml and tifs-rm-cfg.yaml to account for the > changes added in the K3 Resource Partitioning Tool v1.18 > > The change enables resource sharing between A72_2 and MAIN_0_R5_0 > for the BCDMA CSI RX and TX channels, J784

[PATCH v1 2/2] drivers: fpga: Follow mainline to pass compatible flags to fpga_load

2025-03-13 Thread muhammad . hazim . izzat . zamri
From: Muhammad Hazim Izzat Zamri Introducing additional flag to check whether an FPGA driver is able to load a particular FPGA bitstream image. Generally, flag variable is used to enable or disable certain features, specify additional parameters (such as error handling), or modify how the functi

Re: [PATCH] cmd: Drop last reference to CMD_REISERFS

2025-03-13 Thread Tom Rini
On Thu, 27 Feb 2025 14:50:48 -0600, Tom Rini wrote: > While the code was removed in commit 3766a249a3c0 ("fs: drop reiserfs") > this reference in the Makefile was missed. Remove it now. > > Applied to u-boot/next, thanks! [1/1] cmd: Drop last reference to CMD_REISERFS commit: 6fd111bc4e8

Re: [PATCH v1] sunxi: kconfig : Make CHIP_DIP_SCAN depend on ARCH_SUNXI

2025-03-13 Thread Andre Przywara
On Fri, 31 Jan 2025 09:12:43 +0800 1425075...@qq.com wrote: Hi, thanks for the update, looks good to me now. > From: Liya Huang <1425075...@qq.com> > > The CHIP_DIP_SCAN configuration option > is relevant only to ARCH_SUNXI. > Make CHIP_DIP_SCAN dependent > on ARCH_SUNXI so that it does not sho

[PATCH v2 06/11] fs: exfat: Import libexfat from fuse-exfat

2025-03-13 Thread Marek Vasut
Import most of libexfat from [1] except for log.c verbatim. The code does not even compile and further adjustments and integration into U-Boot filesystem code is in the next patch. [1] https://github.com/relan/exfat 0b41c6d3560d ("CI: bump FreeBSD to 13.1.") Acked-by: Tom Rini Signed-off-by:

Re: [PATCH v2] configs: am65x_evm_r5_usbdfu_defconfig: Fix USB DFU boot

2025-03-13 Thread Tom Rini
On Thu, Feb 27, 2025 at 05:24:56PM +0530, Hrushikesh Salunke wrote: > Increase the size of malloc region allocated before relocation, as > current size is insufficient for DFU boot causing it to overflow and > corrupt the stack. > > Fixed regulator configs are required by vtt_supply which is used

Re: [PATCH] memory: ti-gpmc: Alloc per driver private struct

2025-03-13 Thread Tom Rini
On Wed, 05 Mar 2025 14:11:30 +0530, Vignesh Raghavendra wrote: > Driver uses dev_get_priv() but never allocates it in its > declaration leading to various crashes. Fix this by explicitly > allocating the storage. > > Applied to u-boot/next, thanks! [1/1] memory: ti-gpmc: Alloc per driver priva

Re: [PATCH] imx9: container.cfg: Guard tee.bin inclusion

2025-03-13 Thread Fabio Estevam
On Thu, Feb 27, 2025 at 1:50 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Guard the inclusion of tee.bin with the CONFIG_OPTEE symbol to fix the > following build warning: > > CHECKu-boot-container.cfgout > WARNING './tee.bin' not found, resulting binary may be not-functional > BIN

Re: [PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-13 Thread Fabio Estevam
On Thu, Mar 13, 2025 at 5:06 PM Marek Vasut wrote: > This is a bugfix, so should be master. Tom, could you apply this one directly to master?

Re: [PATCH] lib: rsa: add NULL check for 'algo' in

2025-03-13 Thread Tom Rini
On Tue, 25 Feb 2025 16:53:27 +0300, Anton Moryakov wrote: > - Check return value of fdt_getprop for NULL. > - Return -EFAULT if 'algo' property is missing. > - Prevent NULL pointer dereference in strcmp." > > Triggers found by static analyzer Svace. > > > [...] Applied to u-boot/next, thanks!

Re: [PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-13 Thread Tom Rini
On Tue, 11 Mar 2025 02:34:18 +0100, Marek Vasut wrote: > The regulator extras should be placed in the USB H1 regulator node, > the /regulator-usb-h1-vbus. They are already present there in the > upstream DT, so delete this bogus node entirely. > > Applied to u-boot/master, thanks! [1/1] ARM: d

Re: [PATCH v2] Kconfig: Introduce CONFIG_WERROR

2025-03-13 Thread Tom Rini
On Fri, 28 Feb 2025 10:04:33 +, Paul Barker wrote: > Add a new config option under "General setup" to enable the -Werror flag > when building U-Boot. This is useful during development to help catch > mistakes. > > This is based on a similar config option added to the Linux kernel by > Linus i

Re: [PATCH] mach-k3: common_fdt: create a reserved memory node

2025-03-13 Thread Tom Rini
On Thu, 27 Feb 2025 11:14:41 -0600, Bryan Brattlof wrote: > Some device trees may not have a reserved-memory node. Rather than > exiting early we should create a new reserved-memory node along with > the memory carveout for the firmware we (U-Boot) have placed. > > Applied to u-boot/next, thank

Re: [PATCH] test: event: Correct usage of IS_ENABLED() macro in test/common/event.c

2025-03-13 Thread Tom Rini
On Wed, 26 Feb 2025 14:31:09 -0600, 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. > > Applied to u-boot/next, thanks! [1/1] test: event: Correct usage of IS_ENABLED() macro in test/common/event.c

Re: [PATCH] tools: add HOSTCFLAGS from openssl pkg-config

2025-03-13 Thread Tom Rini
On Wed, 26 Feb 2025 06:19:51 -0800, Raymond Mao wrote: > HOSTCFLAGS of some tools components (image-host, rsa-sign and > ecdsa-libcrypto) depend on the directory where openssl is installed. > Add them via pkg-config. > This fixes a potential build failure in tools when openssl in installed > in va

Re: [PATCH] Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08'

2025-03-13 Thread Tom Rini
On Wed, 12 Feb 2025 16:24:15 -0600, Tom Rini wrote: > We had missed removing the coreboot directory once done, fix this. > > Applied to u-boot/next, thanks! [1/1] Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08' commit: a920169b4c7446702f3fbf3a61cc55069ee128f9 -- Tom

[PATCH] arm64: Add MIDR entries for Cortex-A55, A73 and A75

2025-03-13 Thread Peter Robinson
Add MIDR entries for Cortex-A55, Cortex-A73 and Cortex-A75 cores. Signed-off-by: Peter Robinson --- arch/arm/include/asm/armv8/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/armv8/cpu.h b/arch/arm/include/asm/armv8/cpu.h index 4dbb589aab8..2cc9bc988f0 100644 --

Re: boottime->efi_allocate_pages() returning EFI_NOT_FOUND

2025-03-13 Thread Ben Schneider
Hi Ilias, On Thursday, March 13th, 2025 at 2:35 AM, Ilias Apalodimas wrote: > > Can you apply > https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/b04e708c615c15423ffc80d73430bf2d36fb7c21 > and see if it fixes your problem? > With this patch applied, efi_zboot_entry() appears to pr

[PATCH v2 03/11] test_fs: Allow testing FS_GENERIC

2025-03-13 Thread Marek Vasut
The generic filesystem interface was so far untested. The interface is similar to the FS specific interfaces with FS specific prefixes, like ext4ls, fatmkdir, ... but it does not have any prefixes, i.e. it provides plain ls, mkdir, ... commands. Extend the test parameters to include 'fs_cmd_prefix

Re: [PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 06:10:07PM -0300, Fabio Estevam wrote: > On Thu, Mar 13, 2025 at 5:06 PM Marek Vasut wrote: > > > This is a bugfix, so should be master. > > Tom, could you apply this one directly to master? OK. -- Tom signature.asc Description: PGP signature

Re: [PATCH] mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to Kconfig

2025-03-13 Thread Fabio Estevam
On Thu, Feb 27, 2025 at 12:47 PM Tom Rini wrote: > > The flag for enabling the ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE quirk can be > handled easily enough in Kconfig. This lets us remove a function but not > obviously correct usage of the IS_ENABLED() macro. > > Signed-off-by: Tom Rini Applied to u-b

Re: [PATCH v1 00/10] video: tegra: migrations, HDMI and HOST1x

2025-03-13 Thread Peter Robinson
On Thu, 13 Mar 2025 at 11:58, Svyatoslav Ryhel wrote: > чт, 13 бер. 2025 р. о 13:55 Peter Robinson пише: > > > > Hey Svyatoslav, > > > > What generations of the hardware do you expect this to work on? > > > > Changes were tested on T20, T30, T114 and T124. They all successfully > work with propo

Re: [PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-13 Thread Marek Vasut
On 3/13/25 8:57 PM, Fabio Estevam wrote: On Mon, Mar 10, 2025 at 10:34 PM Marek Vasut wrote: The regulator extras should be placed in the USB H1 regulator node, the /regulator-usb-h1-vbus. They are already present there in the upstream DT, so delete this bogus node entirely. Signed-off-by: Ma

Re: [PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-13 Thread Fabio Estevam
On Mon, Mar 10, 2025 at 10:34 PM Marek Vasut wrote: > > The regulator extras should be placed in the USB H1 regulator node, > the /regulator-usb-h1-vbus. They are already present there in the > upstream DT, so delete this bogus node entirely. > > Signed-off-by: Marek Vasut Applied to u-boot-imx/

Re: [PATCH v2] mailbox: add i.MX Messaging Unit (MU) driver

2025-03-13 Thread Fabio Estevam
On Tue, Mar 4, 2025 at 3:58 AM Alice Guo (OSS) wrote: > > From: Peng Fan > > This patch provides a driver for i.MX Messaging Unit (MU) using the > commom mailbox framework. > > This is ported from Linux (v6.12.8) driver > drivers/mailbox/imx-mailbox.c. Its commit SHA is: > 39d7d6177f0c ("mailbox:

Re: [PATCH v2 1/2] board: toradex: apalis/colibri imx6: Detect new v1.2 SoM variant

2025-03-13 Thread Fabio Estevam
On Fri, Mar 7, 2025 at 7:35 AM wrote: > > From: Ernest Van Hoecke > > Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller > which is EOL by the TLA2024 ADC and AD7879 touch controller. > > To support this new version, we detect the presence of the TLA2024 > during boot and set

[GIT PULL] Please pull u-boot-imx-next-20250313

2025-03-13 Thread Fabio Estevam
repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-next-20250313 for you to fetch changes up to 21a4ac55c0d4eba836a45345d011093ffdc85b5c: mailbox: add i.MX Messaging Unit (MU) driver (2025-03-13 15:15:50 -0300) u-boot-imx-next-20250313 --

[PATCH v2 11/11] test_fs: Add exfat tests

2025-03-13 Thread Marek Vasut
Add tests for the exfat filesystem. These tests are largely an extension of the FS_GENERIC tests with the following notable exceptions. The filesystem image for exfat tests is generated using combination of exfatprogs mkfs.exfat and python fattools. The fattols are capable of generating exfat file

[PATCH v2 07/11] fs: exfat: Add U-Boot porting layer

2025-03-13 Thread Marek Vasut
Add U-Boot adjustments to the libexfat code and integrate the result into U-Boot filesystem layer. This provides full read-write exfat support for U-Boot available via generic filesystem interface. FS_DIRENT_NAME_LEN is increased to 1024 in case exfat is enabled, because EXFAT can use UTF16 names,

[PATCH v2 08/11] fs: exfat: Fix conversion overflow errors

2025-03-13 Thread Marek Vasut
Fix the following conversion overflow errors. The UTF8-to-UTF16 conversion is done through 32bit wchar_t, but U-Boot codebase is built with -fshort-wchar which limits wchar_t to 16bit. Replace the built-in wchar_t with u32 to assure the intermediate type is 32bit. " fs/exfat/utf.c: In function ‘ut

[PATCH v2 10/11] configs: sandbox: Enable exfat support

2025-03-13 Thread Marek Vasut
Enable exfat support in sandbox and sandbox64 to assure build and test coverage of this filesystem on both 32bit and 64bit builds. Signed-off-by: Marek Vasut --- Cc: Baruch Siach Cc: Francesco Dolcini Cc: Heinrich Schuchardt Cc: Hiago De Franco Cc: Ilias Apalodimas Cc: Nam Cao Cc: Simon Gla

[PATCH v2 09/11] fs: exfat: Demote filesystem detection failure message to debug()

2025-03-13 Thread Marek Vasut
Demote "exFAT file system is not found" message to debug(). This is printed when U-Boot attempts to auto-detect the filesystem via generic filesystem API by attempting to mount the device, and fails to do so because there is another filesystem in place. The libexfat-fuse code prints this an error,

[PATCH v2 05/11] fs: Add generic fs_devread() implementation

2025-03-13 Thread Marek Vasut
Add generic implementation of write into a block device to be used by filesystem implementations. This is a pair function for already existing fs_devread(). Signed-off-by: Marek Vasut --- Cc: Baruch Siach Cc: Francesco Dolcini Cc: Heinrich Schuchardt Cc: Hiago De Franco Cc: Ilias Apalodimas

[PATCH v2 04/11] linux: Add generic struct stat {}

2025-03-13 Thread Marek Vasut
Add generic implementation of struct stat {} imported from Linux 6.13.y commit 27560b371ab8 ("fs: pack struct kstat better"). This can be used by filesystem code imported from elsewhere. Now struct stat {} becomes available on all supported architectures. Signed-off-by: Marek Vasut --- Cc: Baruch

[PATCH v2 02/11] cmd: fs: Add generic rm implementation

2025-03-13 Thread Marek Vasut
Add generic implementation of the 'rm' command to delete files from filesystems using the generic filesystem API. Reviewed-by: Tom Rini Signed-off-by: Marek Vasut --- Cc: Baruch Siach Cc: Francesco Dolcini Cc: Heinrich Schuchardt Cc: Hiago De Franco Cc: Ilias Apalodimas Cc: Nam Cao Cc: Sim

[PATCH v2 01/11] cmd: fs: Add generic mkdir implementation

2025-03-13 Thread Marek Vasut
Add generic implementation of the 'mkdir' command to create directories in filesystems using the generic filesystem API. Reviewed-by: Tom Rini Signed-off-by: Marek Vasut --- Cc: Baruch Siach Cc: Francesco Dolcini Cc: Heinrich Schuchardt Cc: Hiago De Franco Cc: Ilias Apalodimas Cc: Nam Cao

[PATCH v2 00/11] fs: exfat: Add exfat port based on exfat-fuse

2025-03-13 Thread Marek Vasut
Import exfat-fuse libexfat, add U-Boot filesystem layer porting glue code and wire exfat support into generic filesystem support code. This adds exfat support to U-Boot. Fill in generic filesystem interface for mkdir and rm commands. Make filesystem tests test the generic interface as well as exfa

Re: [PATCH v2 0/4] Better smartphone support (Qualcomm)

2025-03-13 Thread Peter Robinson
Hey Caleb, Improve support for running U-Boot on [Qualcomm] smartphones, with: > Is there anything in this that is QCom specific? Like should this also work on the Pinephone phones which have either a Allwinner or Rockchip SoC? > * A boot menu which can be entered by holding power during boot >

Re: [PATCH 0/5] Update DDR Configurations

2025-03-13 Thread Tom Rini
On Wed, 26 Feb 2025 12:09:18 +0530, Santhosh Kumar K wrote: > This series is to update the DDR configurations of AM64x EVM, AM62x SK, > AM62x LP SK, AM62Ax SK and AM62Px SK boards according to the SysConfig > DDR Configuration tool for AM64x, AM625, AM623, AM62Ax, AM62Px v0.10.02. > > Test logs:

Re: [PATCH 1/2] arm: mach-sc5xx: Remove manual bss_clear

2025-03-13 Thread Tom Rini
On Fri, 28 Feb 2025 13:58:33 -0500, Greg Malysa wrote: > The arm library includes an implementation of bss_clear that is already > called from crt0.S. This re-clearing of BSS should not be performed in > the machine code and should therefore be removed. > > Applied to u-boot/next, thanks! [1/2

Re: [PATCH v4 00/12] Add imx8mp video support

2025-03-13 Thread Fabio Estevam
Hi Miquel, On Mon, Mar 3, 2025 at 2:15 PM Svyatoslav Ryhel wrote: > If seems that we are working on the same OF graph stuff Yes, there is a conflict in next when I try to apply your series due to recent commits from Svyatoslav. Please rebase against the latest next, run it through CI, and subm

Re: boottime->efi_allocate_pages() returning EFI_NOT_FOUND

2025-03-13 Thread Ard Biesheuvel
On Thu, 13 Mar 2025 at 18:27, Ben Schneider wrote: > > Hi Ilias, > > On Thursday, March 13th, 2025 at 2:35 AM, Ilias Apalodimas > wrote: > > > > Can you apply > > https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/b04e708c615c15423ffc80d73430bf2d36fb7c21 > > and see if it fixes your p

[PATCH] efi_loader: Install the ACPI table from the bloblist

2025-03-13 Thread Simon Glass
When BLOBLIST_TABLES is used, the ACPI tables are not currently added to the list of EFI tables. While we don't want to create a new memory region, we do want to tell EFI about the tables. Fix this by covering this case. At some point the non-bloblist code can likely be removed. Signed-off-by: Si

[PATCH] onenand: Remove ONENAND_BOOT option

2025-03-13 Thread Tom Rini
The option ONENAND_BOOT is never set, so remove it. The option SYS_ONENAND_BOOT was never migrated to Kconfig and any platforms which supported that have long been removed from the code, so remove the reference there as well. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/omap3/lowlevel_init.S

Re: [PATCH 06/12] fs: exfat: Import libexfat from fuse-exfat

2025-03-13 Thread Heinrich Schuchardt
On 08.03.25 21:12, Marek Vasut wrote: Import most of libexfat from [1] except for log.c verbatim. The code does not even compile and further adjustments and integration into U-Boot filesystem code is in the next patch. [1] https://github.com/relan/exfat 0b41c6d3560d ("CI: bump FreeBSD to 13

Re: [PATCH 09/10] doc/develop/py_testing.rst: Update section on filesystem images

2025-03-13 Thread Tom Rini
On Fri, Mar 07, 2025 at 01:08:33AM +0100, Heinrich Schuchardt wrote: > Am 7. März 2025 00:17:11 MEZ schrieb Tom Rini : > >Now that we have no users of "virt-make-fs" nor users of "sudo" for > >creating disk images update the documentation. We remove packages that > >are no longer required (and rela

Re: [PATCH v2 1/1] sandbox: remap memory load addresses

2025-03-13 Thread Simon Glass
On Sat, 8 Mar 2025 at 15:52, Svyatoslav Ryhel wrote: > > The existing memory layout places the bloblist at 0xb000 and the fdt at > 0x100, resulting in a 0xaf00 size constraint for the fdt. This constraint > has been reached. Lets modify the layout by moving the bloblist to 0x100, > device tree to

Re: [PATCH v1 00/10] video: tegra: migrations, HDMI and HOST1x

2025-03-13 Thread Svyatoslav Ryhel
чт, 13 бер. 2025 р. о 14:21 Peter Robinson пише: > > > > On Thu, 13 Mar 2025 at 11:58, Svyatoslav Ryhel wrote: >> >> чт, 13 бер. 2025 р. о 13:55 Peter Robinson пише: >> > >> > Hey Svyatoslav, >> > >> > What generations of the hardware do you expect this to work on? >> > >> >> Changes were tested

Re: [PATCH v2 3/3] doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_

2025-03-13 Thread Quentin Schulz
Hi Tom, On 3/13/25 5:03 PM, Tom Rini wrote: On Thu, Mar 13, 2025 at 11:20:09AM +0100, Quentin Schulz wrote: Hi Tom, On 3/12/25 2:00 AM, Tom Rini wrote: Expand the conditional compilation section to explain when to use CONFIG_IS_ENABLED rather than IS_ENABLED and provide an example. Next, note

[PATCH 3/3] env: mmc: fix offsets relative to the end of the partition

2025-03-13 Thread Michael Walle
According to the help text, you can set negative offsets to indicated that the offset is relative to the end of the parition. But kconfig doesn't let you specify negative hex values. I think this fell through the cracks when converting the symbol from a '#define' to a kconfig option. Introduce a n

Re: Pull request: rpi-2025.04

2025-03-13 Thread Tom Rini
On Thu, 13 Mar 2025 11:18:55 +, Peter Robinson wrote: > Please pull the updates for the Raspberry Pi. > > Updates for RPi for 2025.04: > - Copy Bluetooth device address in DT > - Keep warnings from firmware in DT, if any > - Only add frame buffer node if CONFIG_FDT_SIMPLEFB is set > - Add ide

Re: [RFC PATCH 4/4] docs: fuse: Add fuse writebuff cmd docs

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 05:25:17PM +0530, Harsha Vardhan V M wrote: > Add fuse writebuff sub-system command documentation > > Signed-off-by: Harsha Vardhan V M > --- > doc/README.fuse | 14 ++ > 1 file changed, 14 insertions(+) Please convert this to doc/cmd/usage/fuse.rst first (a

Re: [RFC PATCH 3/4] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 05:25:16PM +0530, Harsha Vardhan V M wrote: > Add K3_FUSE config option to add and enable fuse sub-system > implementation function calls. > > Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini And can you please file an issue on https://source.denx.de/u-boot/u-bo

Re: [RFC PATCH 2/4] cmd: fuse: Add fuse writebuff sub-system command

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 05:25:15PM +0530, Harsha Vardhan V M wrote: > Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff > sub-system command. Add fuse_writebuff function to be invoked on > writebuff command. > > Signed-off-by: Harsha Vardhan V M Pending updates for what I as

Re: [PATCH] imx8m: soc: cope with existing optee node

2025-03-13 Thread Vincent Stehlé
On Wed, Mar 12, 2025 at 11:12:35AM -0300, Fabio Estevam wrote: > Hi Vincent, > > On Mon, Mar 10, 2025 at 9:36 AM Vincent Stehlé wrote: > > > --- a/arch/arm/mach-imx/imx8m/soc.c > > +++ b/arch/arm/mach-imx/imx8m/soc.c > > @@ -1270,8 +1270,9 @@ static int ft_add_optee_node(void *fdt, struct > > b

Re: [RFC PATCH 1/4] cmd: fuse: Remove custom string functions

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 05:25:14PM +0530, Harsha Vardhan V M wrote: > Remove custom string functions and replace them with normal string > functions. Remove the custom strtou32 and replace it with str2long. > > Signed-off-by: Harsha Vardhan V M Thanks for doing this. > --- > cmd/fuse.c | 27 +

Re: [PATCH v2 1/1] common: edid: update timing selection logic

2025-03-13 Thread Svyatoslav Ryhel
чт, 13 бер. 2025 р. о 11:37 Quentin Schulz пише: > > Hi Svyatoslav, > > On 3/11/25 8:34 AM, Svyatoslav Ryhel wrote: > > From: Jonas Schwöbel > > > > Older EDID timing algorithms relied solely on detailed timings, typically > > optimized for a display's native resolution. This caused issues with n

Re: [PATCH 02/19] arm: mach-k3: Kconfig: Add symbols for IO+DDR Low Power Mode

2025-03-13 Thread Tom Rini
On Tue, Mar 11, 2025 at 11:30:41AM +0100, Markus Schneider-Pargmann wrote: > There is one new symbol to enable support to resume from IO+DDR where > the SoC is turned off and DDR is in self-refresh. > > The other symbol is the address of a memory region to be used to store > meta data. This has to

Re: [PATCH v2 3/3] doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 11:20:09AM +0100, Quentin Schulz wrote: > Hi Tom, > > On 3/12/25 2:00 AM, Tom Rini wrote: > > Expand the conditional compilation section to explain when to use > > CONFIG_IS_ENABLED rather than IS_ENABLED and provide an example. Next, > > note what the PHASE_ macro is suppo

Re: [PATCH v2 2/3] doc/develop/codingstyle.rst: Add a section on conditional compilation

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 11:15:35AM +0100, Quentin Schulz wrote: > Hi Tom, > > On 3/12/25 2:00 AM, Tom Rini wrote: > > In order to make a start on explaining how and when to use certain > > macros, we need to document their usage somewhere. As a first step, take > > section 21 of the v6.13 Linux Ke

Re: [PATCH v2 1/3] Kbuild: Always use $(PHASE_)

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 11:10:28AM +0100, Quentin Schulz wrote: > Hi Tom, > > On 3/12/25 2:00 AM, Tom Rini wrote: > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > > Makefiles as part of the macros to determine when to do something in our > > Makefiles based on what phase

Re: [PATCH v2 1/1] common: edid: update timing selection logic

2025-03-13 Thread Quentin Schulz
Hi Svyatoslav, On 3/11/25 8:34 AM, Svyatoslav Ryhel wrote: From: Jonas Schwöbel Older EDID timing algorithms relied solely on detailed timings, typically optimized for a display's native resolution. This caused issues with newer 4K panels on older hardware, which couldn't handle those high res

RE: [PATCH v1 2/2] arm: socfpga: spl: Notify SDM on FSBL execution

2025-03-13 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Tuesday, March 11, 2025 2:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tom Rini ; Meng, > Tingting ; Ng, Boon Khai > ; Maniyam, Dinesh > ; Rao, Mahesh ; > Yuslaimi, Alif Zakuan

RE: [PATCH v1 1/2] arm: socfpga: mailbox: Notify SDM on HPS code execution stages

2025-03-13 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Tuesday, March 11, 2025 2:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tom Rini ; Meng, > Tingting ; Ng, Boon Khai > ; Maniyam, Dinesh > ; Rao, Mahesh ; > Yuslaimi, Alif Zakuan

Re: [PATCH 08/12] fs: exfat: Fix conversion overflow errors

2025-03-13 Thread Heinrich Schuchardt
On 11.03.25 00:33, Marek Vasut wrote: On 3/10/25 10:49 PM, Tom Rini wrote: On Mon, Mar 10, 2025 at 10:03:37PM +0100, Marek Vasut wrote: On 3/10/25 12:17 PM, Quentin Schulz wrote: Hi Marek, Hi, On 3/8/25 9:12 PM, Marek Vasut wrote: Fix the following conversion overflow errors. The input fi

Re: [PATCH v4] spl: remove usage of CMD_BOOT[IZ] from image parsing

2025-03-13 Thread Tom Rini
On Thu, Mar 13, 2025 at 08:58:42AM +0530, Anshul Dalal wrote: > Using CMD_* configs from spl doesn't make logical sense. Therefore this > patch replaces the checks for CMD_BOOT[IZ] with newly added configs > SPL_HAS_BOOT[IZ]. > > An imply clause has been added for CMD_BOOTZ to avoid breaking conf

Re: [PATCH v8 8/8] blkmap: pass information on ISO image to the OS

2025-03-13 Thread Sughosh Ganu
On Thu, 13 Mar 2025 at 02:38, Heinrich Schuchardt wrote: > > On 12.03.25 09:54, Sughosh Ganu wrote: > > The EFI HTTP boot puts the ISO installer image at some location in > > memory. Information about this image has to be passed on to the OS > > kernel, which is done by adding a persistent memory(

Re: [PATCH 0/5] net: lwip: root certificates

2025-03-13 Thread Jerome Forissier
On 3/13/25 13:51, Simon Glass wrote: > Hi Jerome, > > On Fri, 7 Mar 2025 at 10:49, Jerome Forissier > wrote: >> >> Hi Simon, >> >> On 3/4/25 16:46, Simon Glass wrote: >>> Hi Jerome, >>> >>> On Thu, 27 Feb 2025 at 09:43, Jerome Forissier >>> wrote: On 2/27/25 17:27, Simon G

Re: [PATCH] x86: spl: Add support for NVMe boot device

2025-03-13 Thread Simon Glass
On Wed, 12 Mar 2025 at 09:01, Naresh Solanki wrote: > > This change adds `BOOT_DEVICE_NVME` to the `enum` list in > `arch/x86/include/asm/spl.h`, > enabling NVMe as a recognized boot device for SPL (Secondary Program > Loader). > > Tested x86 hardware with Coreboot + uboot payload. I believe the

Re: [PATCH 0/5] net: lwip: root certificates

2025-03-13 Thread Simon Glass
Hi Jerome, On Fri, 7 Mar 2025 at 10:49, Jerome Forissier wrote: > > Hi Simon, > > On 3/4/25 16:46, Simon Glass wrote: > > Hi Jerome, > > > > On Thu, 27 Feb 2025 at 09:43, Jerome Forissier > > wrote: > >> > >> > >> > >> On 2/27/25 17:27, Simon Glass wrote: > >>> Hi Jerome, > >>> > >>> On Thu, 27

[PATCH] serial: Setup default base and frequency for Versal platforms

2025-03-13 Thread Michal Simek
Add useful default debug uart values for all Versal platforms to simplify and speed up debug uart enabling. The similar change has been done for Zynq/ZynqMP by commit ad55d99e3cc3 ("serial: Setup serial base and freq for zynq/zynqmp"). Signed-off-by: Michal Simek --- drivers/serial/Kconfig | 3

[PATCH] arm64: versal2: Disable debug console

2025-03-13 Thread Michal Simek
Platforms can use uart0, uart1, dcc or even any other console that's why disable debug console. It should be used for debugging purpose only. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/configs/amd_versal2_virt_defc

[RFC PATCH 3/4] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-13 Thread Harsha Vardhan V M
Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M --- drivers/misc/Kconfig | 7 drivers/misc/Makefile | 1 + drivers/misc/k3_fuse.c | 78 ++ 3 files changed, 86 insertions

Re: [PATCH v1 00/10] video: tegra: migrations, HDMI and HOST1x

2025-03-13 Thread Svyatoslav Ryhel
чт, 13 бер. 2025 р. о 13:55 Peter Robinson пише: > > Hey Svyatoslav, > > What generations of the hardware do you expect this to work on? > Changes were tested on T20, T30, T114 and T124. They all successfully work with proposed changes. > Peter > > On Wed, 12 Mar 2025 at 17:59, Svyatoslav Ryhel

Re: [PATCH v1 00/10] video: tegra: migrations, HDMI and HOST1x

2025-03-13 Thread Peter Robinson
Hey Svyatoslav, What generations of the hardware do you expect this to work on? Peter On Wed, 12 Mar 2025 at 17:59, Svyatoslav Ryhel wrote: > Migrate DC and DSI to support video bridge UCLASS and OF graph bindings. > Add HDMI and basic HOST1X bus drivers. Move DC driven PWM backlight > into DC

[RFC PATCH 2/4] cmd: fuse: Add fuse writebuff sub-system command

2025-03-13 Thread Harsha Vardhan V M
Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M --- cmd/Kconfig| 8 cmd/fuse.c | 26 ++ include/fuse.h | 9 ++

[RFC PATCH 4/4] docs: fuse: Add fuse writebuff cmd docs

2025-03-13 Thread Harsha Vardhan V M
Add fuse writebuff sub-system command documentation Signed-off-by: Harsha Vardhan V M --- doc/README.fuse | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/README.fuse b/doc/README.fuse index 1bc91c44a6a..b150f39cc16 100644 --- a/doc/README.fuse +++ b/doc/README.fuse @@ -61

  1   2   >