Re: [PATCH] acpi: Fix table length for QEMU

2025-04-03 Thread Ilias Apalodimas
On Thu, 3 Apr 2025 at 09:57, Heinrich Schuchardt wrote: > > On 4/3/25 07:53, Ilias Apalodimas wrote: > > On Thu, 3 Apr 2025 at 08:34, Ilias Apalodimas > > wrote: > >> > >> The end of the ACPI table is set to 'addr' instead of 'end'. The ACPI > >> code for QEMU relies on those values to mark memor

Re: [PATCH] bootstd: android: avoid possible null pointer dereference

2025-04-03 Thread Mattijs Korpershoek
Hi Gary, Thank you for the patch. On mer., avril 02, 2025 at 16:42, Gary Bisson wrote: > - avb_slot_verify_data_free() doesn't check its data parameter > - out_data can be null if avb_slot_verify() fails to allocate memory > > Signed-off-by: Gary Bisson Reviewed-by: Mattijs Korpershoek > --

[PATCH v2 0/3] Tegra 4: add support for Asus TF701T and Nvidia Tegratab

2025-04-03 Thread Svyatoslav Ryhel
Add support for Asus TF701T and Nvidia Tegratab Tegra 4 devices. --- Changes in v2: - upgraded to comply latest video and device header changes - fixed chainloading fail due to T114 clock issue --- Svyatoslav Ryhel (3): ARM: tegra114: clock: avoid touching DISP clocks on init board: asus: tra

[PATCH v2 1/3] ARM: tegra114: clock: avoid touching DISP clocks on init

2025-04-03 Thread Svyatoslav Ryhel
The clock initialization routine sets the DISP* clock parent to PLLC, resulting in DC failure in the case when PLLD was previously configured. This issue disrupts chainloading and to prevent failures caused by DISP* clock parent conflicts, clock initialization should not modify DISP*. The DC driver

Re: [PATCH v1 1/3] scsi: Implement get_blk() function

2025-04-03 Thread Varadarajan Narayanan
On Tue, Apr 01, 2025 at 06:29:31PM +0200, Heinrich Schuchardt wrote: > On 01.04.25 10:00, Varadarajan Narayanan wrote: > > Add a function to obtain the block device for SCSI. > > > > Signed-off-by: Varadarajan Narayanan > > --- > > drivers/scsi/scsi-uclass.c | 30 ++ >

[PATCH v6 2/4] configs: disable SPL_HAS_BOOTZ to preserve spl size

2025-04-03 Thread Anshul Dalal
In the existing behaviour, CMD_BOOTZ is not enabled by default which means zimage.o is not compiled in the SPL in falcon mode unless explicitly enabled. This changes now as SPL_HAS_BOOTZ is default y which leads to larger SPL size with zimage.o being present. This patch modifies the defconfigs tha

Re: [PATCH 00/12] lwIP sandbox tests

2025-04-03 Thread Simon Glass
Hi Jerome, On Wed, 2 Apr 2025 at 20:48, Jerome Forissier wrote: > > Hi Simon, > > On 4/1/25 19:55, Simon Glass wrote: > > Hi Ilias, > > > > On Wed, 2 Apr 2025 at 05:33, Ilias Apalodimas > > wrote: > >> > >> Hi Simon > >> > >> On Tue, 1 Apr 2025 at 18:42, Simon Glass wrote: > >>> > >>> Hi Jerome

Re: [PATCH] hmibsc_defconfig: disable DM_USB_GADGET

2025-04-03 Thread Sumit Garg
On Wed, Apr 02, 2025 at 04:28:03PM +0200, Caleb Connolly wrote: > As with the db410c this breaks linking as it conflicts with the USB > controller used by these platforms. > > This fixes building after DM_USB_GADGET was enabled by default for > mach-snapdragon. > > Fixes: 7235dbedfce3 (mach-snapd

[PATCH v2 3/3] board: nvidia: tegratab: add Nvidia Tegra Note 7 support

2025-04-03 Thread Svyatoslav Ryhel
The Tegra Note 7 is a mini tablet computer and the second Tegra 4 based mobile device designed by Nvidia that runs the Android operating system. The Tegra Note has a 7" IPS display with 1280 x 800 (217 ppi) resolution. The 1 GB of RAM and 16 GB of internal memory can be supplemented with a microSDX

[PATCH v2 2/3] board: asus: transformer: add ASUS Transformer Pad TF701T support

2025-04-03 Thread Svyatoslav Ryhel
The ASUS Transformer Pad TF701T is an Android tablet computer made by ASUS, successor to the ASUS Transformer Pad Infinity. The tablet includes a Tegra 4 T114 processor clocked at 1.9 GHz, and an upgraded 2560×1600 pixel resolution screen, increasing the pixel density to 300 PPI and a mobile dock.

Re: Pull request efi-2025-04-rc6

2025-04-03 Thread Tom Rini
On Thu, Apr 03, 2025 at 10:32:38AM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > These are all documentation fixes except for an obvious bug when passing > ACPI tables from QEMU to the operating system as EFI configuration table > where the table end was not correctly determined. > > The fol

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-03 Thread Simon Glass
+Tom Rini in case this affects the release Hi Christian, On Fri, 4 Apr 2025 at 01:46, Christian Kohlschütter wrote: > > Hi Simon, > > > On 1. Apr 2025, at 17:51, Simon Glass wrote: > >> > >> but I don't know precisely what these various functions are supposed to > >> do, and I can't find any pa

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

2025-04-03 Thread Raymond Mao
Hi Simon, On Thu, 3 Apr 2025 at 14:18, Simon Glass wrote: > > Hi Raymond, > > On Fri, 4 Apr 2025 at 07:13, Raymond Mao wrote: > > > > Hi Simon, > > > > On Thu, 3 Apr 2025 at 13:57, Simon Glass wrote: > > > > > > Hi Raymond, > > > > > > On Fri, 4 Apr 2025 at 03:09, Raymond Mao wrote: > > > > >

Re: [PATCH v5 38/46] boot: Consider non-bootable partitions

2025-04-03 Thread Tom Rini
On Thu, Apr 03, 2025 at 08:22:30AM +1300, Simon Glass wrote: > Hi Tom, > > On Thu, 3 Apr 2025 at 03:28, Tom Rini wrote: > > > > On Sat, Mar 15, 2025 at 02:25:58PM +, Simon Glass wrote: > > > > > Any 'bootable' flag in a DOS partition causes boostd to only scan > > > bootable partitions for th

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

2025-04-03 Thread Simon Glass
Hi Raymond, On Fri, 4 Apr 2025 at 07:13, Raymond Mao wrote: > > Hi Simon, > > On Thu, 3 Apr 2025 at 13:57, Simon Glass wrote: > > > > Hi Raymond, > > > > On Fri, 4 Apr 2025 at 03:09, Raymond Mao wrote: > > > > > > Hi Simon, > > > > > > On Fri, 28 Mar 2025 at 11:44, Simon Glass wrote: > > > > >

Re: [PATCH] board: libre-computer: check interface before comparing it in set_dfu_alt_info()

2025-04-03 Thread Ilias Apalodimas
computer/aml-s905d3-cc/aml-s905d3-cc.c > @@ -29,7 +29,7 @@ struct efi_capsule_update_info update_info = { > #if IS_ENABLED(CONFIG_SET_DFU_ALT_INFO) > void set_dfu_alt_info(char *interface, char *devstr) > { > - if (strcmp(interface, "ram") == 0) > + if (interface &&

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-03 Thread Christian Kohlschütter
+Tom Rini (actually adding Tom to the conversation) > On 3. Apr 2025, at 19:54, Simon Glass wrote: > > +Tom Rini in case this affects the release > > Hi Christian, > > On Fri, 4 Apr 2025 at 01:46, Christian Kohlschütter > wrote: >> >> Hi Simon, >> >>> On 1. Apr 2025, at 17:51, Simon Glass

Re: [PULL] u-boot-at91-fixes-2025.04-a

2025-04-03 Thread Tom Rini
On Thu, 03 Apr 2025 13:15:18 +0300, Eugen Hristev wrote: > Please pull tag u-boot-at91-fixes-2025.04-a , a late pull with a single > fix for the reset command on sama5d27 boards. > > Thanks, > Eugen > > The following changes since commit c17f03a7e93dfbbe5d32f5738274187065d9493f: > > [...] Merg

Re: [PATCH v2 1/1] configs: qemu-arm raise CONFIG_NR_DRAM_BANKS

2025-04-03 Thread Ilias Apalodimas
Thanks Heinrich On Thu, 3 Apr 2025 at 17:48, Heinrich Schuchardt wrote: > > The number of memory banks in QEMU is not bounded by 1. > > In this example we have two banks: > > qemu-system-aarch64 \ > -machine virt \ > -nographic \ > -cpu cortex-a72 \ > -m 8G \ > -smp 8,sock

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

2025-04-03 Thread Simon Glass
Hi Raymond, On Fri, 4 Apr 2025 at 08:54, Raymond Mao wrote: > > Hi Simon, > > On Thu, 3 Apr 2025 at 14:18, Simon Glass wrote: > > > > Hi Raymond, > > > > On Fri, 4 Apr 2025 at 07:13, Raymond Mao wrote: > > > > > > Hi Simon, > > > > > > On Thu, 3 Apr 2025 at 13:57, Simon Glass wrote: > > > > >

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-03 Thread Simon Glass
Hi Tom, On Wed, 2 Apr 2025 at 06:19, Tom Rini wrote: > > On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > > > > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH 2/4] fdt: Introduce OF_BLOBLIST

2025-04-03 Thread Simon Glass
Hi Raymond, On Fri, 4 Apr 2025 at 04:34, Raymond Mao wrote: > > Hi Simon, > > On Fri, 28 Mar 2025 at 11:44, Simon Glass wrote: > > > > Add an option which indicates that the devicetree comes from the > > bloblist. > > > > After discussions with Tom, it seems we are comfortable with introducing >

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

2025-04-03 Thread Jonas Karlman
Hi Tom and Simon, On 2025-03-19 00:21, Tom Rini wrote: > On Wed, 05 Mar 2025 17:24:54 -0700, Simon Glass wrote: > >> This series includes some patches related to allowing read_all() to be >> used with the extlinux / PXE bootmeths. >> >> These patches were split out from the stb4 series, since it

[PATCH v6 1/4] spl: remove usage of CMD_BOOTx from image parsing

2025-04-03 Thread Anshul Dalal
Using CMD_* configs from spl doesn't make logical sense. Therefore this patch replaces the checks for CMD_BOOTx with newly added configs SPL_HAS_BOOTx. 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. The respective C fil

[PATCH v6 4/4] configs: colibri_vf: set CMD_BOOTM

2025-04-03 Thread Anshul Dalal
Currently, CMD_BOOTx selects both bootm.o and the respective image.o or zimage.o for compilation. After the addition of LIB_BOOTx, the behaviour changes so CMD_BOOTx would not select bootm.o. This leads to build failure on calibri_vf since it unsets BOOTM wile still using BOOTZ. This was added in

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

2025-04-03 Thread Tom Rini
On Thu, Apr 03, 2025 at 10:57:24PM +0200, Jonas Karlman wrote: > Hi Tom and Simon, > > On 2025-03-19 00:21, Tom Rini wrote: > > On Wed, 05 Mar 2025 17:24:54 -0700, Simon Glass wrote: > > > >> This series includes some patches related to allowing read_all() to be > >> used with the extlinux / PXE

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-03 Thread Michael Brown
On 03/04/2025 20:18, Christian Kohlschütter wrote: +Tom Rini (actually adding Tom to the conversation) 3. When the device is removed, the struct is freed, meaning that a future malloc() can use that same space. Yes, that sounds plausible. How can such allocations be prevented? I assume U-Boot

[PATCH v3 00/10] Add falcon support for am62a, 62p and 62x

2025-04-03 Thread Anshul Dalal
This patch set adds support for falcon boot on AM62a, 62p and 62x by bypassing A53 SPL and U-boot. Existing Boot flow: R5 SPL -> ATF -> A53 SPL -> U-Boot -> Linux Kernel Updated flow: R5 SPL -> ATF -> Linux Kernel U-boot's falcon flow expects the jump from SPL to kernel to happen on the same cor

[PATCH v3 05/10] mach-k3: add eMMC FS boot support for am62[ap]

2025-04-03 Thread Anshul Dalal
This makes spl_mmc_boot_mode consistent across am62x, 62a and 62p. If MMCSD_MODE_EMMCBOOT is returned, FS boot fails since it checks for FS on the hardware partitions, not the UDA. So to allow FS boot from EMMC, the function should return MMCSD_MODE_FS instead which allows us to read from FS on th

[PATCH v3 01/10] spl: Kconfig: allow K3 devices to use falcon mode

2025-04-03 Thread Anshul Dalal
Falcon mode was disabled for TI_SECURE_DEVICE at commit e95b9b4437bc ("ti_armv7_common: Disable Falcon Mode on HS devices") for older 32-bit HS devices and can be enabled on K3 devices. For secure boot, the kernel with x509 headers can be packaged in a fit container (fitImage) signed with TIFS key

[PATCH v3 02/10] mach-k3: fix reading size and addr from fdt on R5

2025-04-03 Thread Anshul Dalal
fdtdec_get_addr_size uses architecture dependent datatypes which causes the 32-bit R5 to fail when reading the 64-bit size and addr fields of reg nodes from the fdt. This changes it to a common api for both 64 and 32 bit platforms. Now fdt fixups can be applied to the fdt from R5. Signed-off-by:

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

2025-04-03 Thread Simon Glass
Hi Raymond, On Fri, 4 Apr 2025 at 03:09, Raymond Mao wrote: > > Hi Simon, > > On Fri, 28 Mar 2025 at 11:44, Simon Glass wrote: > > > > The bloblist code took what I consider to be a wrong turn a year or so > > ago. As discussed with Tom, this series proposes a way to arrange things > > so that i

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

2025-04-03 Thread Simon Glass
Hi Tom, On Fri, 4 Apr 2025 at 10:52, Tom Rini wrote: > > On Fri, Apr 04, 2025 at 09:40:29AM +1300, Simon Glass wrote: > > Hi Raymond, > > > > On Fri, 4 Apr 2025 at 08:54, Raymond Mao wrote: > > > > > > Hi Simon, > > > > > > On Thu, 3 Apr 2025 at 14:18, Simon Glass wrote: > > > > > > > > Hi Raym

Re: [PATCH v6 1/4] spl: remove usage of CMD_BOOTx from image parsing

2025-04-03 Thread Simon Glass
Hi Anshul, On Fri, 4 Apr 2025 at 10:55, Anshul Dalal wrote: > > Using CMD_* configs from spl doesn't make logical sense. Therefore this > patch replaces the checks for CMD_BOOTx with newly added configs > SPL_HAS_BOOTx. > > SPL_HAS_BOOTZ is enabled by default for 32-bit ARM systems and > SPL_HAS_

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

2025-04-03 Thread Tom Rini
On Fri, Apr 04, 2025 at 11:41:08AM +1300, Simon Glass wrote: > Hi Tom, > > On Fri, 4 Apr 2025 at 10:52, Tom Rini wrote: > > > > On Fri, Apr 04, 2025 at 09:40:29AM +1300, Simon Glass wrote: > > > Hi Raymond, > > > > > > On Fri, 4 Apr 2025 at 08:54, Raymond Mao wrote: > > > > > > > > Hi Simon, > >

[PATCH] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-03 Thread Fabio Estevam
From: Fabio Estevam Currently, there are always some spurious characters showing up right before SPL banner is shown: RomBOOT ���=�� U-Boot SPL 2025.04-rc5-00023-g9ed4e2c45f25 (Apr 03 2025 - 23:23:17 -0300) Trying to boot from MMC1 ... Fix this problem by removing the redundant UART iomux

Re: [PATCH] fdt: Allow OF_HAS_PRIOR_STAGE to be disabled in defconfig

2025-04-03 Thread Tom Rini
On Fri, Apr 04, 2025 at 09:40:18AM +1300, Simon Glass wrote: > Hi Tom, > > On Fri, 4 Apr 2025 at 08:02, Tom Rini wrote: > > > > On Fri, Apr 04, 2025 at 06:53:49AM +1300, Simon Glass wrote: > > > > > At present it is impossible to change the qemu_arm64 defconfig to > > > obtain a devicetree from t

[PATCH v3 09/10] mach-k3: common: add falcon support for 62[axp]

2025-04-03 Thread Anshul Dalal
We use the spl_board_prepare_for_boot hook to call k3_falcon_prep which is ran after tispl is loaded but before jump_to_image. In here, we find the boot media and load the image just as std falcon flow (since spl_start_uboot returns 0 now). Once the kernel and args are loaded, we perform fdt fixup

[PATCH v3 08/10] board: ti: add default dtb for am62[axp] in falcon mode

2025-04-03 Thread Anshul Dalal
The SPL_FS_LOAD_ARGS_NAME config is used for the arguments to the kernel (dtb in our case) in falcon boot. Setting it in board specific Kconfig allows us to reuse the same config fragment 'am62x_r5_falcon.config' for all 3 platforms to enable falcon boot. Signed-off-by: Anshul Dalal --- board/t

[PATCH v3 10/10] Makefile: update tispl regex to also clean falcon spl

2025-04-03 Thread Anshul Dalal
Build for A53 on am62 platforms now generates tispl_falcon.bin alongside tispl.bin, edit the regex for `make clean` so that both files are removed. Signed-off-by: Anshul Dalal --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4fca315ecff..

Re: [PATCH v2 0/8] Add falcon support for am62a, 62p and 62x

2025-04-03 Thread Anshul Dalal
On Tue Mar 11, 2025 at 3:27 PM IST, Anshul Dalal wrote: > This patch set adds support for falcon boot on AM62a, 62p and 62x by > bypassing A53 SPL and U-boot. > > Existing Boot flow: > R5 SPL -> ATF -> A53 SPL -> U-Boot -> Linux Kernel > > Updated flow: > R5 SPL -> ATF -> Linux Kernel > > U-boot's

[PATCH v6 3/4] configs: migrate falcon configs to SPL_HAS_BOOTx

2025-04-03 Thread Anshul Dalal
Replace usage of CMD_BOOTx in falcon mode configs with the newly added SPL_HAS_BOOTx. Signed-off-by: Anshul Dalal --- configs/display5_defconfig | 2 +- configs/display5_factory_defconfig | 2 +- configs/gwventana_emmc_defconfig | 2 +- configs/gwventana_nand_defconfig | 2 +- 4 file

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

2025-04-03 Thread Anshul Dalal
On Fri Mar 14, 2025 at 9:25 AM IST, 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]. > > SPL_HAS_BOOTZ is enabled by default for 32-bit ARM systems and > SPL_HAS_BO

[PATCH v3 04/10] arch: arm: k3-binman: add fit for falcon boot

2025-04-03 Thread Anshul Dalal
This adds creation of tispl_falcon.bin for the am62a, 62p and 62x. The contents are the same as the existing tispl.bin but A53's spl and the fdt have been removed as they are not needed in falcon boot. This reduces boot time since the payload size is smaller and we also aren't authenticating the

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

2025-04-03 Thread Simon Glass
Hi Jonas, On Fri, 4 Apr 2025 at 09:57, Jonas Karlman wrote: > > Hi Tom and Simon, > > On 2025-03-19 00:21, Tom Rini wrote: > > On Wed, 05 Mar 2025 17:24:54 -0700, Simon Glass wrote: > > > >> This series includes some patches related to allowing read_all() to be > >> used with the extlinux / PXE b

Re: [PATCH v4 0/8] Introduce J742S2 SoC and EVM

2025-04-03 Thread Tom Rini
On Mon, 17 Mar 2025 10:24:19 +0530, Manorit Chawdhry wrote: > The series adds support for J742S2 family of SoCs. Also adds J742S2 EVM > Support and re-uses most of the stuff from the superset device J784s4. > > This device is a subset of J784S4 and shares the same memory map and > thus the code i

Re: [PATCH 1/5] acpi_table: Fix IORT RC node

2025-04-03 Thread Tom Rini
On Sun, 16 Mar 2025 09:32:52 +0100, Patrick Rudolph wrote: > Even though the RC node has the correct size and the ID mappings > are written to the end of the node, the ID 'mapping offset' and > 'mapping count' are not written in the IORT RC node header, thus it > looks like that the RC node has no

Re: [PATCH 00/13] video: Enhancements related to truetype and console

2025-04-03 Thread Simon Glass
Hi Tom, On Thu, 3 Apr 2025 at 13:27, Tom Rini wrote: > > On Thu, Apr 03, 2025 at 12:54:55PM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 3 Apr 2025 at 10:11, Tom Rini wrote: > > > > > > On Thu, Apr 03, 2025 at 08:19:03AM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH v5 40/46] boot: Support IO UARTs for earlycon and console

2025-04-03 Thread Simon Glass
Hi Tom, On Thu, 3 Apr 2025 at 13:26, Tom Rini wrote: > > On Thu, Apr 03, 2025 at 12:54:42PM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 3 Apr 2025 at 08:57, Tom Rini wrote: > > > > > > On Wed, Apr 02, 2025 at 01:50:33PM -0600, Tom Rini wrote: > > > > On Thu, Apr 03, 2025 at 08:22:44AM

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-03 Thread Simon Glass
Hi Quentin, On Fri, 4 Apr 2025 at 07:03, Quentin Schulz wrote: > > Hi Simon, > > On 4/3/25 7:57 PM, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 2 Apr 2025 at 06:19, Tom Rini wrote: > >> > >> On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Mon, 31 Mar

[PATCH v6 10/12] video: imx: Fix Makefile in order to be able to add other imx drivers

2025-04-03 Thread Miquel Raynal
The IPUv3 is one IP part of the imx world, there are others, and selecting the whole imx/ folder based on such a specific Kconfig symbol is sub-optimal. Let's always enter the imx/ folder, and then selectively compile parts of the folder based on the configuration. Signed-off-by: Miquel Raynal --

[PATCH v6 11/12] video: imx: Add LDB driver

2025-04-03 Thread Miquel Raynal
Add support for the LVDS Display Bridge (LDB) found on i.MX8MP. When attached, the bridge driver looks for panels connected to one of its two outputs and adapts its own configuration to use them. There is currently no support for merged/split displays. Note regarding the clock configuration: The

Re: sama5d27: Replacing at91bootstrap with U-Boot SPL

2025-04-03 Thread Eugen Hristev
On 4/3/25 17:17, Fabio Estevam wrote: > Hi, > > Booting top of tree U-Boot from the SD card on a sama5d27_wlsom1_ek > board works when AT91 Bootstrap is used. > > Now, I want to replace AT91 Bootstrap with U-Boot SPL. > > I copied spl/boot.bin to the VFAT partition of the SD card, and I only

Re: [PATCH 00/12] lwIP sandbox tests

2025-04-03 Thread Jerome Forissier
On 4/2/25 21:22, Simon Glass wrote: > Hi Jerome, > > On Wed, 2 Apr 2025 at 20:48, Jerome Forissier > wrote: >> >> Hi Simon, >> >> On 4/1/25 19:55, Simon Glass wrote: >>> Hi Ilias, >>> >>> On Wed, 2 Apr 2025 at 05:33, Ilias Apalodimas >>> wrote: Hi Simon On Tue, 1 Apr 2025

Re: [PATCH] fdt: Allow OF_HAS_PRIOR_STAGE to be disabled in defconfig

2025-04-03 Thread Simon Glass
Hi Tom, On Fri, 4 Apr 2025 at 08:02, Tom Rini wrote: > > On Fri, Apr 04, 2025 at 06:53:49AM +1300, Simon Glass wrote: > > > At present it is impossible to change the qemu_arm64 defconfig to > > obtain a devicetree from the U-Boot build. > > > > This is necessary for FIT validation, for example, w

[PATCH v3 06/10] mach-k3: sysfw-loader: update img_hdr for falcon

2025-04-03 Thread Anshul Dalal
The returned legacy_img_hdr is used by booti_setup to compute the load address for the kernel image. This change ensures the kernel load address is CONFIG_SYS_LOAD_ADDR in falcon boot. Signed-off-by: Anshul Dalal --- arch/arm/mach-k3/r5/sysfw-loader.c | 6 +- 1 file changed, 5 insertions(+)

[PATCH v1 1/2] arm: socfpga: soc64: Update reset manager registers for F2S bridge

2025-04-03 Thread alif . zakuan . yuslaimi
From: Alif Zakuan Yuslaimi Add reset manager registers in preparation for F2S bridge reset support as well as the mask support to enable/disable the bridges. Mask value: BIT0: soc2fpga BIT1: lwhps2fpga BIT2: fpga2soc These bridges are available only in Stratix10: BIT3: f2sdram0 BIT4: f2sdram1 B

[PATCH v1 2/2] arm: socfpga: soc64: Enable F2S bridge reset support

2025-04-03 Thread alif . zakuan . yuslaimi
From: Alif Zakuan Yuslaimi Enable reset support for FPGA2SDRAM bridge for Stratix10, as well as FPGA2SoC and SoC2FPGA bridges for all SoC64 families. Signed-off-by: Alif Zakuan Yuslaimi --- arch/arm/mach-socfpga/reset_manager_s10.c | 236 ++ 1 file changed, 198 insertions(+

[PATCH v1 0/2] SoCFPGA: Add reset support for SoC64 F2S bridges

2025-04-03 Thread alif . zakuan . yuslaimi
From: Alif Zakuan Yuslaimi Enable F2S bridge reset support for SoC64 families. The F2S bridges are soc2fpga, lwhps2fpga, fpga2soc, f2sdram0, f2sdram1, and f2sdram2. F2SDRAM bridge is only available on Stratix10. This patch set has been tested on Agilex 5 devkit with QSPI boot (UBI/UBIFS). Ali

Re: RISC-V UEFI/ACPI on QEMU regression?

2025-04-03 Thread Ilias Apalodimas
Hey Bjorn Long time, hope all is well! On Wed, 2 Apr 2025 at 16:22, Björn Töpel wrote: > > Hi, > > I think I got a regression from commit 53d5a221632e ("emulation: Use > bloblist to hold tables"), and v2024.10 for > qemu-riscv64_smode_defconfig + acpi.config booting Linux with UEFI. > > TL;DR: I

Re: [PATCH v1 3/3] booti/bootm: riscv: Verify image arch type

2025-04-03 Thread Mayuresh Chitale
On Tue, Mar 11, 2025 at 7:29 PM Heinrich Schuchardt wrote: > > On 11.03.25 14:35, Mayuresh Chitale wrote: > > Unlike ARM and X86, booting 32-bit images on 64-bit CPUs is currently > > not supported for Risc-V. Hence, for bootm, disallow booting a FIT > > or a legacy image that was built for an arc

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

2025-04-03 Thread Miquel Raynal
Hi Tom, >> I need the tests to run on the test.dts and not the default sandbox.dts. >> The documentation states to use -T for that when doing the checks >> locally. Unfortunately, the Azure pipelines do use the default sandbox >> DT. I can add few mostly useless nodes to the default DTS for the te

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-03 Thread Caleb Connolly
On 4/1/25 14:42, Ilias Apalodimas wrote: Hi Caleb On Wed, 26 Mar 2025 at 19:41, Caleb Connolly wrote: Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we were

Re: [PATCH] MAINTAINERS: board: qcom: db820c: update contact details

2025-04-03 Thread Caleb Connolly
On 4/3/25 11:46, Jorge Ramirez-Ortiz wrote: Update contact details Signed-off-by: Jorge Ramirez-Ortiz Congrats! Acked-by: Caleb Connolly Will you be giving this board some love? Unfortunately I don't have to test so it's not yet making use of the fancier generic support parts in mach-

Pull request efi-2025-04-rc6

2025-04-03 Thread Heinrich Schuchardt
Dear Tom, These are all documentation fixes except for an obvious bug when passing ACPI tables from QEMU to the operating system as EFI configuration table where the table end was not correctly determined. The following changes since commit c17f03a7e93dfbbe5d32f5738274187065d9493f: Merge tag

[PULL] u-boot-at91-fixes-2025.04-a

2025-04-03 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-fixes-2025.04-a , a late pull with a single fix for the reset command on sama5d27 boards. Thanks, Eugen The following changes since commit c17f03a7e93dfbbe5d32f5738274187065d9493f: Merge tag 'net-20250314' of https://source.denx.de/u-boot/custodians/u-bo

Re: [PATCH v6 09/12] imx: power-domain: Add support for the MEDIAMIX control block

2025-04-03 Thread Adam Ford
the overall code and simplify the readability. > + if (ret) > + goto dis_axi_clk; > + setbits_le32(priv->base + BLK_CLK_EN, reset); > + > + /* Power up upstream GPC domain */ > + ret = power_domain_on(domain); > + if (ret

Re: [PATCH v6 12/12] video: imx: Add LCDIF driver

2025-04-03 Thread Adam Ford
On Thu, Apr 3, 2025 at 2:39 AM Miquel Raynal wrote: > > Add support for the LCD interfaces (LCDIF1/2). When probed, these > interfaces request numerous clocks and power domains, attach the bridge > and look for a panel in order to retrieve its capabilities and > properties. > > There is a similar

[PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer

2025-04-03 Thread Fabio Estevam
From: Fabio Estevam The PIT timer needs to be available early in the SPL phase, otherwise SPL fails to boot and only prints: Could not initialize timer (err -96) Fix this problem by passing 'bootph-all' to the sama5d2 PIT node. Signed-off-by: Fabio Estevam --- arch/arm/dts/sama5d2.dtsi | 1 +

Re: [PATCH] MAINTAINERS: board: qcom: db820c: update contact details

2025-04-03 Thread Jorge Ramirez
On 03/04/25 14:50:26, Caleb Connolly wrote: > > > On 4/3/25 11:46, Jorge Ramirez-Ortiz wrote: > > Update contact details > > > > Signed-off-by: Jorge Ramirez-Ortiz > > Congrats! thanks :) we got the oss identity recently so never had the chance to udpate. > > Acked-by: Caleb Connolly > > W

Re: [PATCH 2/4] fdt: Introduce OF_BLOBLIST

2025-04-03 Thread Raymond Mao
Hi Simon, On Fri, 28 Mar 2025 at 11:44, Simon Glass wrote: > > Add an option which indicates that the devicetree comes from the > bloblist. > > After discussions with Tom, it seems we are comfortable with introducing > this option, ensuring of course that the transfer list is properly > supported

回复: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-03 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年3月22日 9:45 > 收件人: u-boot@lists.denx.de > 抄送: Marek Vasut ; Alice Guo ; Ilias > Apalodimas ; Jaehoon Chung > ; Tom Rini > 主题: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to > scmi_regulator > > Caution: This is an external ema

[PATCH v6 03/12] dm: core: Add a helper to retrieve devices through graph endpoints

2025-04-03 Thread Miquel Raynal
There are already several helpers to find a udevice based on its position in a device tree, like getting a child or a node pointed by a phandle, but there was no support for graph endpoints, which are very common in display pipelines. Add a new helper, named uclass_get_device_by_endpoint() which e

[PATCH v6 04/12] test: dm: test-fdt: Add checks for uclass_get_device_by_endpoint()

2025-04-03 Thread Miquel Raynal
This is a new DM core helper. There is now a graph endpoint representation in the sandbox test DTS, so we can just use it to verify the helper proper behavior. Suggested-by: Simon Glass Reviewed-by: Simon Glass Signed-off-by: Miquel Raynal --- configs/sandbox64_defconfig| 2 ++ config

[PATCH v6 06/12] clk: Ensure the parent clocks are enabled while reparenting

2025-04-03 Thread Miquel Raynal
Reparenting a clock C with a new parent P means that C will only continue clocking if P is already clocking when the mux is updated. In case the parent is currently disabled, failures (stalls) are likely to happen. This is exactly what happens on i.MX8 when enabling the video pipeline. We tell LCD

[PATCH v6 02/12] dm: doc: Fix example

2025-04-03 Thread Miquel Raynal
`.priv_data_size` does not exist. I believe the actual structure member was supposed to be `.priv_auto`. Reviewed-by: Simon Glass Signed-off-by: Miquel Raynal --- doc/develop/driver-model/design.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/driver-model/des

Re: [PATCH v5 03/12] dm: core: Add a helper to retrieve devices through graph endpoints

2025-04-03 Thread Miquel Raynal
>> +int uclass_get_device_by_endpoint(enum uclass_id class_id, struct udevice >> *dev, >> + int port_idx, int ep_idx, struct udevice >> **devp) >> +{ >> + ofnode node_source = dev_ofnode(dev); >> + ofnode node_dest = ofnode_graph_get_remote_node(node_

[PATCH] MAINTAINERS: board: qcom: db820c: update contact details

2025-04-03 Thread Jorge Ramirez-Ortiz
Update contact details Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard820c/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/qualcomm/dragonboard820c/MAINTAINERS b/board/qualcomm/dragonboard820c/MAINTAINERS index 7ef905bdf69..28741d98334 100

Re: [PATCH 1/2] efi_loader: Move public cert for capsules to .rodata

2025-04-03 Thread neil . armstrong
On 01/04/2025 13:27, Ilias Apalodimas wrote: commit ddf67daac39d ("efi_capsule: Move signature from DTB to .rodata") was reverted in commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to .rodata"") because that's what U-Boot was usually doing -- using the DT to store configuration

[PATCH v6 08/12] imx: power-domain: Describe the i.MX8 MEDIAMIX domain

2025-04-03 Thread Miquel Raynal
Add support for the i.MX8 MEDIAMIX domain which is driving the power over the whole display/rendering pipeline. Signed-off-by: Miquel Raynal Reviewed-by: Fabio Estevam --- drivers/power/domain/imx8m-power-domain.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/po

[PATCH v6 05/12] power-domain: Add refcounting

2025-04-03 Thread Miquel Raynal
It is very surprising that such an uclass, specifically designed to handle resources that may be shared by different devices, is not keeping the count of the number of times a power domain has been enabled/disabled to avoid shutting it down unexpectedly or disabling it several times. Doing this ca

[PATCH 1/1] configs: qemu-riscv raise CONFIG_NR_DRAM_BANKS

2025-04-03 Thread Heinrich Schuchardt
The number of memory banks in QEMU is not bounded by 1. In this example we have two banks: qemu-system-riscv64 \ -machine virt \ -nographic \ -m 8192 \ -smp 8,sockets=2,cores=4,threads=1 \ -numa node,cpus=0-3,mem=4096 \ -numa node,cpus=4-7,mem=4096 \ -kernel u-boot

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

2025-04-03 Thread Tom Rini
On Thu, Apr 03, 2025 at 12:55:38PM +1300, Simon Glass wrote: > Hi Tom, > > On Thu, 3 Apr 2025 at 11:35, Tom Rini wrote: > > > > On Thu, Apr 03, 2025 at 08:22:13AM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 2 Apr 2025 at 06:18, Tom Rini wrote: > > > > > > > > On Wed, Apr 02, 2025

[PATCH 1/1] configs: qemu-riscv raise CONFIG_NR_DRAM_BANKS

2025-04-03 Thread Heinrich Schuchardt
The number of memory banks in QEMU is not bounded by 1. In this example we have two banks: qemu-system-aarch64 \ -machine virt \ -nographic \ -cpu cortex-a72 \ -m 8G \ -smp 8,sockets=2,cores=4,threads=1 \ -object memory-backend-ram,id=mem0,size=4G \ -numa node,cpus

[PATCH v2 1/1] configs: qemu-arm raise CONFIG_NR_DRAM_BANKS

2025-04-03 Thread Heinrich Schuchardt
The number of memory banks in QEMU is not bounded by 1. In this example we have two banks: qemu-system-aarch64 \ -machine virt \ -nographic \ -cpu cortex-a72 \ -m 8G \ -smp 8,sockets=2,cores=4,threads=1 \ -object memory-backend-ram,id=mem0,size=4G \ -numa node,cpus

Re: [PATCH v1 1/3] riscv: image: Add new image type for RV64

2025-04-03 Thread Mayuresh Chitale
On Wed, Mar 12, 2025 at 5:21 PM Максим Москалец wrote: > > > > вт, 11 мар. 2025 г. в 16:35, Mayuresh Chitale : >> >> Similar to ARM and X86, introduce a new image type which allows u-boot >> to distinguish between images built for 32-bit vs 64-bit Risc-V CPUs. >> >> Signed-off-by: Mayuresh Chitale

[PATCH] board: libre-computer: check interface before comparing it in set_dfu_alt_info()

2025-04-03 Thread Neil Armstrong
env_set("dfu_alt_info", "fitimage ram 0x0808 0x400"); else if (IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)) env_set("dfu_alt_info", update_info.dfu_string); --- base-commit: f59fb9846c5a1d129f78b2945a094477388fd346 change-id: 20250403-u-boot-fix-set-dfu-alt-info-interface-9be8ea5e2bc1 Best regards, -- Neil Armstrong