[PATCH v2 4/4] include: env: ti_common: Remove findfdt

2024-06-30 Thread Manorit Chawdhry
From: Dhruva Gole findfdt is the legacy approach to find fdt and platforms have moved away from this and don't define this anymore. This causes an error that may seem alarming but is harmless. Remove it from the bootcmd_ti_mmc to avoid any panic and confusion. Signed-off-by: Dhruva Gole

[PATCH v2 3/4] configs: am62p|j722s_a53: Add CONFIG_BOARD_LATE_INIT

2024-06-30 Thread Manorit Chawdhry
This is called to set fdtfile after the board is initialized. Signed-off-by: Manorit Chawdhry --- configs/am62px_evm_a53_defconfig | 1 + configs/j722s_evm_a53_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig

[PATCH v2 2/4] board: ti: am62p|j722s: Add ti_set_fdt_env for fdtfile

2024-06-30 Thread Manorit Chawdhry
stdboot and legacy boot now depend on fdtfile and fdtfile is populated based on evm code now. Populate fdtfile by calling ti_set_fdt_env in board files. Signed-off-by: Manorit Chawdhry --- board/ti/am62px/evm.c | 9 + board/ti/j722s/evm.c | 9 + 2 files changed, 18

[PATCH v2 1/4] include: env: ti: mmc: Change name_fdt usage to fdtfile

2024-06-30 Thread Manorit Chawdhry
name_fdt is kept for backward compatibility but it depends on EEPROM detection logic and some of the platforms like J7AHP/AM69 don't have that anymore which causes boot failure. Replacing name_fdt usage to fdtfile as fdtfile is populated based on CONFIG_DEFAULT_DEVICE_TREE. Signed-off-by:

[PATCH v2 0/4] Fix fdtfile for j722s and am62p

2024-06-30 Thread Manorit Chawdhry
fdtfile wasn't being populated in these boards, add the code in evm.c for the same. Signed-off-by: Manorit Chawdhry --- Changes in v2: - Replace findfdt with fdtfile as that is what the series fixes. (Nishanth) - Drop findfdt as well for K3 platforms legacy support - Link to v1:

Re: [PATCH 1/3] include: env: ti: mmc: Change name_fdt usage to fdtfile

2024-06-30 Thread Manorit Chawdhry
Hi Nishanth, On 08:05-20240628, Nishanth Menon wrote: > On 13:53-20240628, Manorit Chawdhry wrote: > > name_fdt is kept for backward compatibility but it depends on EEPROM > > detection logic and some of the platforms like J7AHP/AM69 don't have > > that anymore which causes boot failure. > > > >

Re: [PATCH 0/3] Fix findfdt for j722s and am62p

2024-06-30 Thread Manorit Chawdhry
Hi Nishanth, On 08:06-20240628, Nishanth Menon wrote: > On 13:53-20240628, Manorit Chawdhry wrote: > > findfdt wasn't being populated in these boards, add the code in evm.c > > for the same. > > why not just drop findfdt? I am ok with #2,3 more or less, but keeping typo... should've written

Re: [NEXT] Pull request efi-2024-10-rc1

2024-06-30 Thread Tom Rini
On Sun, Jun 30, 2024 at 03:21:07PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 899b088674b6905710ce546f0a8848662904852a: > > Merge patch series "pxe: Add debugging for booting" (2024-06-26 > 13:17:52 -0600) > > are available in the Git repository at:

Re: [PATCH] zlib: Fix big performance regression

2024-06-30 Thread Tom Rini
On Sun, Jun 30, 2024 at 08:49:08PM +0200, Christophe Leroy wrote: > > > Le 30/06/2024 à 20:28, Christophe Leroy a écrit : > > > > > > Le 30/06/2024 à 16:54, Tom Rini a écrit : > > > On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote: > > > > > > > > > > > > Le 27/06/2024 à

Re: [PATCH] ext4: Improve feature checking

2024-06-30 Thread Sean Anderson
On 6/30/24 20:23, Sean Anderson wrote: On 6/30/24 17:25, Richard Weinberger wrote: Evaluate the filesystem incompat and ro_compat bit fields to judge whether the filesystem can be read or written. For the read side only a scary warning is shown so far. I'd love to about mounting too, but I fear

Re: [PATCH] ext4: Improve feature checking

2024-06-30 Thread Sean Anderson
On 6/30/24 17:25, Richard Weinberger wrote: Evaluate the filesystem incompat and ro_compat bit fields to judge whether the filesystem can be read or written. For the read side only a scary warning is shown so far. I'd love to about mounting too, but I fear this will break some setups I think

[PATCH] ext4: Improve feature checking

2024-06-30 Thread Richard Weinberger
Evaluate the filesystem incompat and ro_compat bit fields to judge whether the filesystem can be read or written. For the read side only a scary warning is shown so far. I'd love to about mounting too, but I fear this will break some setups where the driver works by chance. Signed-off-by: Richard

Re: [PATCH] zlib: Fix big performance regression

2024-06-30 Thread Christophe Leroy
Le 30/06/2024 à 20:28, Christophe Leroy a écrit : Le 30/06/2024 à 16:54, Tom Rini a écrit : On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote: Le 27/06/2024 à 21:40, Tom Rini a écrit : On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote: On Thu, Jun 27, 2024 at

Re: [PATCH] zlib: Fix big performance regression

2024-06-30 Thread Christophe Leroy
Le 30/06/2024 à 16:54, Tom Rini a écrit : On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote: Le 27/06/2024 à 21:40, Tom Rini a écrit : On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote: On Thu, Jun 27, 2024 at 10:25:21AM +0200, Christophe Leroy wrote: Commit

Re: [PATCH 1/3] pxe: Add debugging for booting

2024-06-30 Thread Tom Rini
On Sat, Jun 29, 2024 at 07:56:00AM +0100, Simon Glass wrote: > Hi Tom, > > On Thu, 27 Jun 2024 at 02:19, Tom Rini wrote: > > > > On Wed, 19 Jun 2024 06:34:50 -0600, Simon Glass wrote: > > > > > Show which boot protocol is being used. > > > > > > > > > > Applied to u-boot/next, thanks! > > I

Re: [PATCH] zlib: Fix big performance regression

2024-06-30 Thread Tom Rini
On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote: > > > Le 27/06/2024 à 21:40, Tom Rini a écrit : > > On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote: > > > On Thu, Jun 27, 2024 at 10:25:21AM +0200, Christophe Leroy wrote: > > > > > > > Commit 340fdf1303dc ("zlib: Port

Re: [PATCH v7 0/4] automatically add /chosen/kaslr-seed and deduplicate code

2024-06-30 Thread Tom Rini
On Tue, 18 Jun 2024 14:06:05 -0700, Tim Harvey wrote: > This series will automatically add /chosen/kaslr-seed to the dt if > DM_RNG is enabled > during the boot process. > > If RANDOMIZE_BASE is enabled in the Linux kernel instructing it to > randomize the virtual address at which the kernel

[PATCH v3] doc: add bootelf command documentation

2024-06-30 Thread Maxim Moskalets
Signed-off-by: Maxim Moskalets --- v3: Separate -p -s into different lines. v2: Add Configuration section. --- doc/usage/cmd/bootelf.rst | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 doc/usage/cmd/bootelf.rst diff --git

[PATCH v2] doc: add bootelf command documentation

2024-06-30 Thread Maxim Moskalets
Signed-off-by: Maxim Moskalets --- v2: Add Configuration section. --- doc/usage/cmd/bootelf.rst | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 doc/usage/cmd/bootelf.rst diff --git a/doc/usage/cmd/bootelf.rst b/doc/usage/cmd/bootelf.rst

[NEXT] Pull request efi-2024-10-rc1

2024-06-30 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 899b088674b6905710ce546f0a8848662904852a: Merge patch series "pxe: Add debugging for booting" (2024-06-26 13:17:52 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2024-10-rc1 for

Re: [PATCH] doc: add bootelf command documentation

2024-06-30 Thread Heinrich Schuchardt
On 6/30/24 12:37, Maxim Moskalets wrote: Signed-off-by: Maxim Moskalets --- doc/usage/cmd/bootelf.rst | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 doc/usage/cmd/bootelf.rst diff --git a/doc/usage/cmd/bootelf.rst

Re: [PATCH] efi_loader: adjust config options for capsule updates

2024-06-30 Thread Ilias Apalodimas
Hi Heinrich, On Sun, 30 Jun 2024 at 15:23, Heinrich Schuchardt wrote: > > On 6/22/24 18:38, Ilias Apalodimas wrote: > > On Sat, 22 Jun 2024 at 19:36, Heinrich Schuchardt > > wrote: > >> > >> On 20.06.24 22:15, Ilias Apalodimas wrote: > >>> EFI_IGNORE_OSINDICATIONS is used to ignore

Re: [PATCH] efi_loader: adjust config options for capsule updates

2024-06-30 Thread Heinrich Schuchardt
On 6/22/24 18:38, Ilias Apalodimas wrote: On Sat, 22 Jun 2024 at 19:36, Heinrich Schuchardt wrote: On 20.06.24 22:15, Ilias Apalodimas wrote: EFI_IGNORE_OSINDICATIONS is used to ignore OsIndications if setvariable at runtime is not supported and allow the platform to perform capsule updates

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

2024-06-30 Thread Maxim M. Moskalets
Hi Simon, On 29.06.2024 09:56, Simon Glass wrote: Hi Maxim, On Fri, 28 Jun 2024 at 09:34, Maxim Moskalets wrote: In some FDTs, there is not enough free memory to add nodes, so this operation fails. Signed-off-by: Maxim Moskalets --- cmd/elf.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] doc: add bootelf command documentation

2024-06-30 Thread Maxim Moskalets
Signed-off-by: Maxim Moskalets --- doc/usage/cmd/bootelf.rst | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 doc/usage/cmd/bootelf.rst diff --git a/doc/usage/cmd/bootelf.rst b/doc/usage/cmd/bootelf.rst new file mode 100644 index

Re: [PATCH] zlib: Fix big performance regression

2024-06-30 Thread Christophe Leroy
Le 27/06/2024 à 21:40, Tom Rini a écrit : On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote: On Thu, Jun 27, 2024 at 10:25:21AM +0200, Christophe Leroy wrote: Commit 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot") brings a big performance regression in inflate_fast(),