[PATCH v2] rockchip: spl: Enable caches to speed up checksum validation

2024-01-22 Thread Jonas Karlman
FIT checksum validation is very slow in SPL due to D-cache not being enabled. Enable caches in SPL to speed up FIT checksum validation, from seconds to milliseconds. This change enables caches in SPL on all Rockchip boards, the Kconfig options SPL_SYS_ICACHE_OFF and SPL_SYS_DCACHE_OFF can be

Re: [PATCH] rockchip: sdram: fix LPDDR5 bank info for sys_reg version 3

2024-01-22 Thread Jonas Karlman
Hi, On 2024-01-22 08:46, Kever Yang wrote: > From: YouMin Chen > > This patch add support for additional bank info used by LPDDR5. > > Signed-off-by: YouMin Chen > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/sdram.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff

[PATCH] serial: pl01x: set baudrate when probing

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen It is found that when DM is enabled, only generic init function is called in .probe(). Baudrate is never honored. Add a function call to .setbrg() when probing so that we can update the baudrate of the serial device. Signed-off-by: Yang Xiwen --- drivers/serial/serial_pl01x.c

Re: [PATCH 1/5] omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC

2024-01-22 Thread Tom Rini
On Wed, 10 Jan 2024 13:46:06 -0500, Tom Rini wrote: > This specific bit logic is used to determine what NAND chip is present > on a board in order to then know what revision of the board we have and > so what DDR chips are present. We can only do this if we have a NAND > chip, and so we will have

Re: [PATCH v2 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-22 Thread Ryan Eatmon
On 1/22/2024 6:59 AM, Max Krummenacher wrote: Hi On Fri, Jan 05, 2024 at 05:09:17PM +0530, Neha Malcom Francis wrote: Use yamllint for checking whether YAML configuration files are adhering to default yamllint rules. If I understand this correctly this patch now runs checks to verify that

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 06:36:31PM +, Conor Dooley wrote: > Hey, > > On Tue, Jan 16, 2024 at 01:48:06PM +, Conor Dooley wrote: > > Yo, > > > > On Wed, Jan 03, 2024 at 06:49:19PM -0700, Simon Glass wrote: > > > Standard passage provides for a bloblist to be passed from one firmware > > >

Re: [PATCH v3] common: usb-hub: Reset hub port before scanning

2024-01-22 Thread Tom Rini
On Sat, 09 Dec 2023 18:10:56 +, Shantur Rathore wrote: > Currently when a hub is turned on, all the ports are powered on. > This works well for hubs which have individual power control. > > For the hubs without individual power control this has no effect. > Mostly in these scenarios the hub

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-22 Thread Conor Dooley
Hey, On Tue, Jan 16, 2024 at 01:48:06PM +, Conor Dooley wrote: > Yo, > > On Wed, Jan 03, 2024 at 06:49:19PM -0700, Simon Glass wrote: > > Standard passage provides for a bloblist to be passed from one firmware > > phase to the next. That can be used to pass the devicetree along as well. > >

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-22 Thread Conor Dooley
On Mon, Jan 22, 2024 at 01:47:17PM -0500, Tom Rini wrote: > On Mon, Jan 22, 2024 at 06:36:31PM +, Conor Dooley wrote: > > Hey, > > > > On Tue, Jan 16, 2024 at 01:48:06PM +, Conor Dooley wrote: > > > Yo, > > > > > > On Wed, Jan 03, 2024 at 06:49:19PM -0700, Simon Glass wrote: > > > >

[PATCH] efi_loader : Suppress error print message

2024-01-22 Thread Tejas Bhumkar
Currently, on certain Xilinx platforms, an issue has been identified, manifesting as follows: Starting kernel ... efi_free_pool: illegal free 0x77830040 efi_free_pool: illegal free 0x7782d040 efi_free_pool: illegal free 0x7782c040 The issue arises when the ramdisk image

[PATCH] toradex: tdx-cfg-block: Add new apalis and colibri pid

2024-01-22 Thread Joao Paulo Goncalves
From: Joao Paulo Goncalves Add new apalis imx6 and colibri imx6/imx7 products IDs. Signed-off-by: Joao Paulo Goncalves --- board/toradex/common/tdx-cfg-block.c | 9 + board/toradex/common/tdx-cfg-block.h | 9 + 2 files changed, 18 insertions(+) diff --git

Re: [PATCH v3 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 11:49:23AM +0100, Quentin Schulz wrote: > Hi Kever, > > On 1/18/24 11:12, Kever Yang wrote: > > Hi Quentin, > > > > On 2024/1/18 01:22, Quentin Schulz wrote: > > > From: Quentin Schulz > > > > > > BOOT_DEVICE_* is set by spl_node_to_boot_device() depending on the block

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 03:30:00PM +0100, Mark Kettenis wrote: > > Date: Mon, 22 Jan 2024 16:16:34 +0200 > > From: "Ivan T. Ivanov" > > > > Hi, > > > > On 01-22 13:57, Ivan T. Ivanov wrote: > > > > Am 20.01.24 um 10:48 schrieb Jens Maus: > > > >> Hi, > > > >> > > > >>> Am 20.01.2024 um 10:22

[PATCH] scripts/gen_compile_commands: update to Linux v6.7

2024-01-22 Thread Brandon Maier
Adds support for assembly files and updates the LINE_PATTERN so it supports both "cmd" and "savedcmd", which allows reverting the U-Boot modification in commit 97fbb2eb016b ("scripts/gen_compile_commands.py: adapt _LINE_PATTERN"). Upstream commits: - 880946158b011 gen_compile_commands.py: fix

Re: [PATCH] board: starfive: handle compatible property in dynamic DT configuration

2024-01-22 Thread Aurelien Jarno
Gentle ping. Note that the maintainer address bounces, I am not sure it is still valid. Thanks On 2024-01-10 21:17, Aurelien Jarno wrote: > The difference between the StarFive VisionFive 2 1.2A and 1.3B boards is > handled dynamically by looking at the PCB version in the EEPROM in order > to have

[PATCH] soc: zynqmp: Add the IDcode for dr_SE and eg_SE variants

2024-01-22 Thread Venkatesh Yadav Abbarapu
ID code is added for zu67dr_SE, zu11eg_SE, zu19eg_SE and zu47dr_SE variants. SE is the select edition of restricted devices with the capabilities. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/soc/soc_xilinx_zynqmp.c | 28 +++- 1 file changed, 27 insertions(+), 1

[PATCH] sunxi: dram: h6: fix the unreliability related to the DDR3 sequence

2024-01-22 Thread patrick9876
From: Patrick Lerda Indeed, the DDR3 has a non-zero probability to not be properly initialized. This could be the PLL that is not locked or anything else. When this happens and the code tests the correct board configuration, the proper board configuration is not set. The board could end with

Re: [PATCH 3/5] board: rockchip: Add Sonoff iHost board

2024-01-22 Thread Tim Lunn
Hi Tom, On 1/23/24 02:36, Tom Rini wrote: On Mon, Jan 22, 2024 at 11:46:01PM +1100, Tim Lunn wrote: Sonoff iHost is gateway device designed to provide a Smart Home Hub, it is based on Rockchip RV1126. There is also a version with 2GB RAM based off the RV1109 dual core SoC however this works

Re: [PATCH v2] rockchip: spl: Enable caches to speed up checksum validation

2024-01-22 Thread Kever Yang
Hi Jonas, On 2024/1/23 02:16, Jonas Karlman wrote: FIT checksum validation is very slow in SPL due to D-cache not being enabled. Enable caches in SPL to speed up FIT checksum validation, from seconds to milliseconds. This change enables caches in SPL on all Rockchip boards, the Kconfig

Re: Proposal: FIT support for extension boards / overlays

2024-01-22 Thread Chen-Yu Tsai
On Tue, Dec 12, 2023 at 10:06 PM Simon Glass wrote: > > Hi, > > The devicetree files for a board can be quite large, perhaps around > 60KB. To boot on any supported board, many of them need to be > provided, typically hundreds. > > All boards for a particular SoC share common parts. It would be

[PATCH v2] rockchip: sdram: fix LPDDR5 bank info for sys_reg version 3

2024-01-22 Thread Kever Yang
From: YouMin Chen This patch add support for additional bank info used by LPDDR5. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- (no changes since v1) arch/arm/mach-rockchip/sdram.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?"

2024-01-22 Thread Liu Wang
Hi Fabio, Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?" from: u-boot$make all: Sincerely, Liu Wang -- ...$make all UPD

[PATCH 04/16] bayleybay: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the bayleybay platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/intel/bayleybay/Kconfig | 3 --- board/intel/bayleybay/MAINTAINERS | 1

[PATCH 03/16] coreboot: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the coreboot platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/coreboot/coreboot/Kconfig | 7 ---

[PATCH 05/16] cherryhill: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the cherryhill platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/intel/cherryhill/Kconfig | 3 --- board/intel/cherryhill/MAINTAINERS

[PATCH 06/16] cougarcanyon2: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the cougarcanyon2 platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/intel/cougarcanyon2/Kconfig | 3 ---

[PATCH 07/16] crownbay: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the crownbay platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/intel/crownbay/Kconfig | 3 --- board/intel/crownbay/MAINTAINERS | 1 -

[PATCH 09/16] efi-x86_app: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the efi-x86_app* platforms and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Simon Glass Cc: Heinrich Schuchardt --- board/efi/efi-x86_app/Kconfig | 3 ---

[PATCH 10/16] efi-x86_payload: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the efi-x86_payload* platforms and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Simon Glass Cc: Heinrich Schuchardt --- board/efi/efi-x86_payload/Kconfig | 3

[PATCH 08/16] edison: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the edison platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Andy Shevchenko --- board/intel/edison/Kconfig | 3 --- board/intel/edison/MAINTAINERS | 1 -

Re: Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?"

2024-01-22 Thread Fabio Estevam
Hi Liu Wang, On Mon, Jan 22, 2024 at 10:55 PM Liu Wang wrote: > > Hi Fabio, > > Could you please help me in resolving the " > /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?" from: > u-boot$make all: Looking at the errors below, there are several errors besides the

[PATCH 01/16] kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset

2024-01-22 Thread Tom Rini
It is possible to have a platform which does not require a board.h file to build, but today we need an empty one for our generated config.h file to be valid. Allow for omitting this file if CONFIG_SYS_CONFIG_NAME is not set. Signed-off-by: Tom Rini --- scripts/Makefile.autoconf | 2 +- 1 file

[PATCH 02/16] xilinx_mbv: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the xilinx_mbv platforms and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Michal Simek --- board/xilinx/mbv/Kconfig | 3 --- board/xilinx/mbv/MAINTAINERS | 1 -

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-01-22 Thread Tom Rini
Hey all, Here's the latest Coverity scan report. -- Forwarded message - From: Date: Mon, Jan 22, 2024 at 6:26 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity

Re: [PATCH v4 00/11] An effort to bring DT bindings compliance within U-Boot

2024-01-22 Thread Andre Przywara
On Mon, 22 Jan 2024 11:49:59 -0500 Tom Rini wrote: Hi Tom, > On Mon, Jan 22, 2024 at 11:45:15AM +, Andre Przywara wrote: > > On Wed, 10 Jan 2024 16:05:36 +0530 > > Sumit Garg wrote: > > > > Hi, > > > > I certainly welcome this more automatic synchronisation of the DTs, > > however have

Re: [PATCH] rockchip: sdram: fix LPDDR5 bank info for sys_reg version 3

2024-01-22 Thread Kever Yang
Hi Jonas, On 2024/1/23 01:55, Jonas Karlman wrote: Hi, On 2024-01-22 08:46, Kever Yang wrote: From: YouMin Chen This patch add support for additional bank info used by LPDDR5. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/sdram.c | 7 +++ 1 file

[PATCH 16/16] Kconfig: Centralize prompting for SYS_CONFIG_NAME

2024-01-22 Thread Tom Rini
Generally speaking, we do not prompt for this value and define it in the board specific Kconfig file. There are some valid use cases however today where we do prompt for this value, so instead of having this be done in a number of locations, do this at the top-level location only. This removes

[PATCH 12/16] minnowmax: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the minnowmax platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Simon Glass --- board/intel/minnowmax/Kconfig | 3 --- board/intel/minnowmax/MAINTAINERS

[PATCH 14/16] slimbootloader: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the slimbootloader platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Aiden Park --- board/intel/slimbootloader/Kconfig | 3 ---

[PATCH 15/16] hc2910-2aghd05: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the hc2910-2aghd05 platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Yang Xiwen --- board/skyworth/hc2910-2aghd05/Kconfig | 3 ---

[PATCH 13/16] qemu-x86*: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the qemu-x86* platforms and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/emulation/qemu-x86/Kconfig | 3 ---

[PATCH 11/16] galileo: Remove empty config header

2024-01-22 Thread Tom Rini
Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the galileo platform and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Bin Meng --- board/intel/galileo/Kconfig | 3 --- board/intel/galileo/MAINTAINERS | 1 -

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-01-22 Thread Tom Rini
I've now updated to the latest Coverity scan tool and that eliminated some previous defects and found two new ones: -- Forwarded message - From: Date: Mon, Jan 22, 2024 at 6:42 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest

RE: Pull request: SoCFPGA changes for commit 3c9bb8fbdc77f

2024-01-22 Thread Chee, Tien Fong
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Monday, January 22, 2024 10:47 PM > To: Chee, Tien Fong > Cc: u-boot@lists.denx.de; Vasut, Marek ; Maniyam, > Dinesh ; Hea, Kok Kiang > > Subject: Re: Pull request: SoCFPGA changes for commit 3c9bb8fbdc77f > > On Mon, Jan 22, 2024

Re: [PATCH v2 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
On Tue, Jan 16, 2024 at 7:15 PM Heinrich Schuchardt < heinrich.schucha...@canonical.com> wrote: > On 16.01.24 13:36, Mayuresh Chitale wrote: > > If a disk has an EFI system partition (ESP) then it can be used to > > locate the boot files. Add a function to find the ESP. > > > > Signed-off-by:

Pull request: SoCFPGA changes for commit 3c9bb8fbdc77f

2024-01-22 Thread Chee, Tien Fong
Hi Tom, Please pull the SoCFPGA changes as shown in below. Best regards, Tien Fong The following changes since commit 3c04fcf3137d5f694d52b8f355373e4baabe5f78: Merge patch series "k3-j721e: beagleboneai: Fix USB" (2024-01-20 11:39:13 -0500) are available in the Git repository at:

Re: [PATCH v3 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-22 Thread Quentin Schulz
Hi Kever, On 1/18/24 11:12, Kever Yang wrote: Hi Quentin, On 2024/1/18 01:22, Quentin Schulz wrote: From: Quentin Schulz BOOT_DEVICE_* is set by spl_node_to_boot_device() depending on the block device number associated with the MMC device the SPL used to load U-Boot proper from. It is NOT

[PATCH v5 5/7] siemens: board: clean up draco products vs common

2024-01-22 Thread Enrico Leto
The common folder was initialially created for the common parts of the products based on draco-am355x board family. These are the product lines 'pxm2', 'rut' and the base line named 'draco'! Adding the new capricorn-imx8 board family, common was enhanced without cleanup. Move all am355x

[PATCH v5 1/7] siemens: eeprom: clean up definitions

2024-01-22 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 +

[PATCH v5 6/7] siemens: board: clean up includes

2024-01-22 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 25 ++---

[PATCH v5 4/7] siemens: board: etamin: remove deprecated nand config

2024-01-22 Thread Enrico Leto
NAND was used in the early development phase of etamin. The board runs now on MMC. This setting is no more used -> remove to simplify the board file. Further clean-up of etamin should remove all NAND settings. Complete clean- up of etamin board will take place in a separate patch serie.

[PATCH v5 7/7] siemens: factoryset: use correct config for soc specific implementation

2024-01-22 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v3 2/2] spl: Add support for booting from ESP

2024-01-22 Thread Mayuresh Chitale
Some platforms as described by EBBR specification may store images in the FIRMWARE directory of the UEFI system partition(ESP). Add support to boot from the EFI system partition if it is enabled for a platform. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- Changes in v3:

[PATCH v4 1/6] siemens: eeprom: clean up definitions

2024-01-22 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 +

[PATCH v5 2/7] siemens: eeprom: simplify setup & read

2024-01-22 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 48 +-- board/siemens/common/board.h | 3 ++

[PATCH v5 3/7] siemens draco: i2c: use driver model for u-boot

2024-01-22 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9

[PATCH v5 0/7] board: siemens: clean up subfolders

2024-01-22 Thread Enrico Leto
The common folder was initialially created for the common parts of the products based on draco-am355x board family. We have the product lines 'pxm2', 'rut' and the base line unfortunately named 'draco'! Adding the new capricorn-imx8 board family, the files were enhanced without

[PATCH] sunxi: dts: update devicetree files from Linux-v6.8-rc1

2024-01-22 Thread Andre Przywara
Sync the devicetree files from the official Linux kernel tree, v6.8-rc1. This time only small changes in the existing files, but five new boards got added, which opens the door for their respective defconfig files. As before, this omits the non-backwards compatible changes to the R_INTC

[PATCH v3 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
If a disk has an EFI system partition (ESP) then it can be used to locate the boot files. Add a function to find the ESP. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- Changes in v3: - Fix part_get_esp signature and header in part.h disk/part.c| 16

[PATCH v3 0/2] SPL EBBR - EFI System Partition support

2024-01-22 Thread Mayuresh Chitale
This series adds support to locate an EFI System Partition on a disk and boot the next stage from such a parition if found. The next stage image is expected to be under the FIRMWARE directory as described in the EBBR specification [1]. Also update the spl_blk_fs and spl_fat drivers to prefer

[PATCH RFC] spi: cadence_qspi: Address the comparison failure for 0-8

2024-01-22 Thread Tejas Bhumkar
In the current implementation, the test for data ranging from 0 to 8 bytes is encountering failures. This has been confirmed through testing with both ISSI (IS25WX256) and Micron (MT35XU02G) Flash in SDR mode exclusively. Upon analysis, it was observed that utilizing the "SPI_NOR_OCTAL_READ"

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-22 Thread Roger Quadros
On 20/01/2024 18:50, Tom Rini wrote: > On Mon, Jan 15, 2024 at 01:40:00PM +0200, Roger Quadros wrote: >> >> >> On 12/01/2024 15:21, Tom Rini wrote: >>> On Fri, Jan 12, 2024 at 07:14:50AM -0600, Nishanth Menon wrote: On 15:06-20240112, Roger Quadros wrote: > > > On 12/01/2024

[PATCH] arch/arm/mach-omap2/omap5/fdt.c: ft_fixup_clocks: use clock-output-names property as fallback (kernel 5.19+)

2024-01-22 Thread Romain Naour
From: Romain Naour Clock names has been updated in kernel 5.19+ with the removal of non-standard node names [1]. Due to this change, ft_opp_clock_fixups() doesn't work anymore since ft_fixup_clocks() is looking to the clock name and ft_opp_clock_fixups() error out with the following message:

[PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-22 Thread Enrico Leto
This serie depends on the serie: [PATCH 0/6] siemens,am335x: clean up the draco board family The common folder was initialially created for the common parts of the products based on draco-am355x board family. We have the product lines 'pxm2', 'rut' and the base line

Re: [PATCH] toradex: tdx-cfg-block: Add new apalis and colibri pid

2024-01-22 Thread Marcel Ziswiler
On Mon, 2024-01-22 at 17:09 -0300, Joao Paulo Goncalves wrote: > From: Joao Paulo Goncalves > > Add new apalis imx6 and colibri imx6/imx7 products IDs. > > Signed-off-by: Joao Paulo Goncalves Acked-by: Marcel Ziswiler > --- >  board/toradex/common/tdx-cfg-block.c | 9 + >  

Re: Proposal: FIT support for extension boards / overlays

2024-01-22 Thread Chen-Yu Tsai
On Thu, Dec 28, 2023 at 1:49 AM Simon Glass wrote: > > Hi Heinrich, > > On Tue, Dec 12, 2023 at 3:43 PM Heinrich Schuchardt > wrote: > > > > On 12.12.23 15:05, Simon Glass wrote: > > > Hi, > > > > > > The devicetree files for a board can be quite large, perhaps around > > > 60KB. To boot on any

Re: [PATCH 02/16] xilinx_mbv: Remove empty config header

2024-01-22 Thread Michal Simek
On 1/22/24 23:39, Tom Rini wrote: Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the xilinx_mbv platforms and remove the otherwise empty file. Signed-off-by: Tom Rini --- Cc: Michal Simek --- board/xilinx/mbv/Kconfig | 3

Re: [PATCH v2 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
On Wed, Jan 17, 2024 at 6:43 AM Sean Anderson wrote: > On 1/16/24 07:36, Mayuresh Chitale wrote: > > If a disk has an EFI system partition (ESP) then it can be used to > > locate the boot files. Add a function to find the ESP. > > > > Signed-off-by: Mayuresh Chitale > > Reviewed-by: Heinrich

RE: [PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-22 Thread Leto, Enrico
> -Original Message- > From: Tom Rini > Sent: Thursday, January 18, 2024 4:16 PM > To: Leto, Enrico (SI BP R ZG FW CCP) > Cc: u-boot@lists.denx.de; Sverdlin, Alexander (SI BP R ZG FW CCP) > > Subject: Re: [PATCH v4 0/6] board: siemens: clean up subfolders > > On Wed, Jan 03, 2024 at

RE: [PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-22 Thread Leto, Enrico
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Thursday, January 18, 2024 4:16 PM > To: Leto, Enrico (SI BP R ZG FW CCP) > Cc: u-boot@lists.denx.de; Sverdlin, Alexander (SI BP R ZG FW CCP) > > Subject: Re: [PATCH v4 0/6] board: siemens: clean up subfolders > > On Wed, Jan 03,

Re: [PATCH v2 2/2] spl: Add support for booting from ESP

2024-01-22 Thread Mayuresh Chitale
On Tue, Jan 16, 2024 at 7:09 PM Heinrich Schuchardt wrote: > On 16.01.24 13:36, Mayuresh Chitale wrote: > > Some platforms as described by EBBR specification may store images in > > the FIRMWARE directory of the UEFI system partition(ESP). Add support > > to boot from the EFI system partition if

[PATCH] ARM: imx: Enable kaslrseed command on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-22 Thread Marek Vasut
Linux 6.6.y with KASLR enabled would print the following message on boot: " KASLR disabled due to lack of seed " Enable the 'kaslrseed' command so a random number seed can be pulled from CAAM and inserted into the /chosen node 'kaslr-seed' property of Linux kernel DT before boot, thus letting

Re: [PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 08:33:14AM +, Leto, Enrico wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Thursday, January 18, 2024 4:16 PM > > To: Leto, Enrico (SI BP R ZG FW CCP) > > Cc: u-boot@lists.denx.de; Sverdlin, Alexander (SI BP R ZG FW CCP) > > > > Subject: Re:

Re: Pull request: Please pull u-boot-imx-20240115

2024-01-22 Thread Tom Rini
; (2024-01-20 11:39:13 > -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20240122 > > for you to fetch changes up to a80e0e7711a2b2890a583d88dcd9af978ddada32: > > ARM: imx: Enable k

Re: [PATCH v5 0/7] board: siemens: clean up subfolders

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 11:52:30AM +0100, Enrico Leto wrote: > The common folder was initialially created for the common parts of > the products based on draco-am355x board family. We have the > product lines 'pxm2', 'rut' and the base line unfortunately named > 'draco'! Adding

Re: [PATCH v2 0/2] board: solidrun: clearfog gtr: add serdes configuration

2024-01-22 Thread Stefan Roese
On 1/12/24 14:35, Josua Mayer wrote: Add missing configuration options for clearog gtr serdes: 1. select between sata and pci-e for serdes 0 2. configure serdes 2 for 2.5Gbps link with managed switch Signed-off-by: Josua Mayer --- Changes in v2: - change choice default logic to remove kconfig

Re: [PATCH 3/3] arm: mvebu: helios-4: add defconfig for spi booting

2024-01-22 Thread Stefan Roese
Hi Josua, On 1/13/24 18:22, Tom Rini wrote: On Sat, Jan 13, 2024 at 05:36:57PM +0100, Josua Mayer wrote: Add a new defconfig based on existing helios4_config file to support booting from spi flash. Settings for environment location are based on vendor u-boot:

[PATCH 14/18] test: fwu: Align the FWU metadata access test with version 2

2024-01-22 Thread Sughosh Ganu
With the FWU metadata support having been migrated to version 2, make corresponding changes to the test for accessing the FWU metadata. Signed-off-by: Sughosh Ganu --- test/dm/fwu_mdata.c| 56 --- test/dm/fwu_mdata_disk_image.h | 124 ++--- 2

[PATCH 10/18] fwu: mtd: Modify the DFU API's to align with metadata version 2

2024-01-22 Thread Sughosh Ganu
Make changes to the functions used for generating the DFU's alt variable so that they are aligned with changes to the metadata version 2. These changes include getting the number of banks and images per bank at runtime from the metadata, as well as accessing the updatable image information from

[PATCH 13/18] cmd: fwu: Align the command with metadata version 2

2024-01-22 Thread Sughosh Ganu
Make changes to the fwu_mdata_read command to have it align with the metadata version 2. Signed-off-by: Sughosh Ganu --- cmd/fwu_mdata.c | 43 ++- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/cmd/fwu_mdata.c b/cmd/fwu_mdata.c index

[PATCH 12/18] efi_firmware: fwu: Get the number of FWU banks at runtime

2024-01-22 Thread Sughosh Ganu
With the migration of the FWU metadata to version 2, the number of banks are now obtained at runtime, instead of the config symbols. Make use of the API to get the number of banks in the versioning functions. Signed-off-by: Sughosh Ganu --- lib/efi_loader/efi_firmware.c | 14 ++ 1

[PATCH 08/18] fwu: Add a function to put a bank in Trial State

2024-01-22 Thread Sughosh Ganu
The version 2 of the FWU metadata has a field in the top level structure, called bank_state. This is used to keep the state a given bank is in, either of valid(for trial state), invalid, or accepted. Update this field when putting the platform in Trial State, in addition to starting the

[PATCH 09/18] capsule: Accept a bank on a successful update

2024-01-22 Thread Sughosh Ganu
The version 2 of the FWU metadata maintains a bank_state field per bank, which keeps an aggregate status of the bank. A bank can either be in a valid, invalid, or accepted state. Update the bank_state field of the metadata once the update has gone through successfully(when skipping Trial State),

[PATCH 11/18] efi_firmware: fwu: Do not read FWU metadata on sandbox

2024-01-22 Thread Sughosh Ganu
The FWU metadata is being read for populating the firmware image's version information. The sandbox platform does not have the FWU metadata on any of it's storage devices. Skip attempting to read the FWU metadata on the sandbox platform. Signed-off-by: Sughosh Ganu ---

Re: [PATCH v8 07/16] arm: mach-k3: j784s4: Add clk and power support

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > Add clk and device data which can be used by respective drivers > to configure clocks and PSC. > > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > Reviewed-by: Sean Anderson > Reviewed-by: Nishanth Menon > Reviewed-by: Bryan Brattlof

Re: [PATCH v8 08/16] drivers: dma: Add support for J784S4 SoC

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > Add support for DMA in J784S4 SoC. > > Signed-off-by: Jayesh Choudhary > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > Reviewed-by: Nishanth Menon > --- > drivers/dma/ti/Makefile | 1 + >

[PATCH 5/5] rockchip: rv1126: Move RAM disk address

2024-01-22 Thread Tim Lunn
OPTEE gets loaded into a memory region overlapping with the ram disk. Fix the ramdisk address so it doesn't overlap with the OPTEE memory region. Signed-off-by: Tim Lunn --- include/configs/rv1126_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] rockchip: rv1126: select SPL_OPTEE_IMAGE

2024-01-22 Thread Tim Lunn
rv1126 requires OPTEE as it provides pcsi support. Mainline Linux kernel will fail to boot without this. Select SPL_OPTEE_IMAGE when building FIT image. TEE must be provided when building. Signed-off-by: Tim Lunn --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v8 13/16] arm: dts: Introduce am69-sk u-boot dts files

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > From: Dasnavis Sabiya > > Introduce the base dts files needed for u-boot or to augment the linux > dtbs for use in the u-boot-spl and u-boot binaries. > > Signed-off-by: Dasnavis Sabiya > Signed-off-by: Apurva Nandan > --- >

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Mark Kettenis
> Date: Mon, 22 Jan 2024 16:16:34 +0200 > From: "Ivan T. Ivanov" > > Hi, > > On 01-22 13:57, Ivan T. Ivanov wrote: > > > Am 20.01.24 um 10:48 schrieb Jens Maus: > > >> Hi, > > >> > > >>> Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > > >>> > > >>> Am 19.01.24 um 22:26 schrieb Jens Maus: > >

[PATCH v3 5/5] net: hifemac: make some functions static

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen They are not required to be global, make them static. Signed-off-by: Yang Xiwen --- drivers/net/hifemac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hifemac.c b/drivers/net/hifemac.c index d24023eefd..90cc247b3b 100644 ---

[PATCH v3 0/5] net: hifemac: a few cleanups

2024-01-22 Thread Yang Xiwen via B4 Relay
namespace. - Link to v2: https://lore.kernel.org/r/20240122-net-v2-0-78a368896...@outlook.com Changes in v2: - hisi-femac: add statistics related operations - Link to v1: https://lore.kernel.org/r/20240119-net-v1-0-d1feb8e16...@outlook.com --- Yang Xiwen (5): net: hifemac_mdio: use

[PATCH v3 2/5] net: hifemac: fix log reporting

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen shrink the first argument of log_msg_ret(), add dev_xxx() functions for error reporting. Fixes: 9d8f78a2a79f7 ("net: add hifemac Ethernet driver for HiSilicon platform") Signed-off-by: Yang Xiwen --- drivers/net/hifemac.c | 110

[PATCH v3 3/5] net: hifemac: register MDIO bus device for subnode

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen register internal MDIO bus device if it is a subnode. Signed-off-by: Yang Xiwen --- drivers/net/hifemac.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/net/hifemac.c b/drivers/net/hifemac.c index 1088f3eca3..39c0233b62 100644 ---

[PATCH v3 1/5] net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err()

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen The initial commit used log_msg_ret() wrongly. Fix that by moving error report to a separate dev_err() call and shrink the first argument of log_msg_ret() to no more than 4 chars. Fixes: 6b5c8d98e204 ("net: add hifemac_mdio MDIO bus driver for HiSilicon platform")

[PATCH v3 4/5] net: hifemac: implement `net stats` needed ops

2024-01-22 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen 3 operations needed by `net stats` are implemented. New `net stats` output some useful info. Signed-off-by: Yang Xiwen --- drivers/net/hifemac.c | 87 +++ 1 file changed, 87 insertions(+) diff --git a/drivers/net/hifemac.c

[PATCH] x86: Make default_print_cpuinfo be a weak alias for print_cpuinfo

2024-01-22 Thread Tom Rini
While a few SoCs have a unique print_cpuinfo function, a number of them just use default_print_cpuinfo. Make default_print_cpuinfo have a weak alias to provie print_cpuinfo. Signed-off-by: Tom Rini --- This will make re-using arch/x86/cpu/efi/ as a generic set of support code for U-Boot as EFI

Re: Pull request efi-2024-04-rc1-3

2024-01-22 Thread Tom Rini
On Sun, Jan 21, 2024 at 12:46:05PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 3c04fcf3137d5f694d52b8f355373e4baabe5f78: > > Merge patch series "k3-j721e: beagleboneai: Fix USB" (2024-01-20 > 11:39:13 -0500) > > are available in the Git repository at:

Re: Pull request: SoCFPGA changes for commit 3c9bb8fbdc77f

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 09:30:40AM +, Chee, Tien Fong wrote: > Hi Tom, > > Please pull the SoCFPGA changes as shown in below. > > Best regards, > Tien Fong > > The following changes since commit 3c04fcf3137d5f694d52b8f355373e4baabe5f78: > > Merge patch series "k3-j721e: beagleboneai:

Re: [PATCH v2 00/13] arm: exynos: Add E850-96 board

2024-01-22 Thread Sam Protsenko
Hey Tom, Minkyu, If there are no outstanding concerns about this series, can you please apply it? Thanks! On Wed, Jan 10, 2024 at 9:09 PM Sam Protsenko wrote: > > Add Exynos850 SoC and WinLink's E850-96 board support. A short overview > of series additions and modifications: > * USI driver:

  1   2   >