[PATCH 1/1] fs/fat: avoid noisy message fat_read_file()

2023-01-19 Thread Heinrich Schuchardt
UEFI applications call file system functions to determine if a file exists. The return codes are evaluated to show appropriate messages. U-Boot's file system layer should not interfere with the output. Rename file_fat_read_at() to fat_read_file() adjusting the parameter sequence and names and

Re: [PATCH] tpm2: ftpm: add the device in the OP-TEE services list

2023-01-19 Thread Jens Wiklander
On Thu, Jan 19, 2023 at 3:36 PM Ilias Apalodimas wrote: > > commit fe8a4ed0111073 ("tee: optee: discover services dependent on > tee-supplicant") > is trying to automatically scan and add TAs that are presented on pseudo > bus from the secure world. > In orer to be able to list and compare the

[PATCH] MAINTAINERS: add a new entry on TEE MAINTAINERS

2023-01-19 Thread Ilias Apalodimas
Since I do have a look on TEE patches regardless and Jens doesn't have his own tree, add myself as a co-maintainer. I'll be carrying over the TEE related patches from now own. While at it add the maintenance tree for TPM Signed-off-by: Ilias Apalodimas --- MAINTAINERS | 3 +++ 1 file changed,

Re: [PATCH] tee: optee: fix uuid comparisons on service discovery

2023-01-19 Thread Jens Wiklander
On Thu, Jan 19, 2023 at 10:21 AM Ilias Apalodimas wrote: > > When comparing UUIDs for discovered services we only compare up to the > ptr size instead of the entire UUID > > Fixes: 94ccfb78a4d61 ("drivers: tee: optee: discover OP-TEE services") > Signed-off-by: Ilias Apalodimas > --- >

Re: [PATCH] .mailmap: update e-mail address for Eugen Hristev

2023-01-19 Thread Tom Rini
On Wed, Jan 18, 2023 at 05:54:44PM +0200, Eugen Hristev wrote: > Update e-mail address. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] cmd: event: Remove additional event description

2023-01-19 Thread Tom Rini
On Tue, Jan 17, 2023 at 11:44:45AM +0100, Michal Simek wrote: > The first name is taken from command name that's why shouldn't be listed in > help. The similar change was also done by commit a84d3b6c5634 ("cmd: pwm: > Remove additional pwm description"). > Also remove additional spaces in help

Re: [v3 2/2] event: Correct dependencies on the EVENT framework

2023-01-19 Thread Tom Rini
On Mon, Jan 16, 2023 at 03:46:49PM -0500, Tom Rini wrote: > The event framework is just that, a framework. Enabling it by itself > does nothing, so we shouldn't ask the user about it. Reword (and correct > typos) around this the option and help text. This also applies to > DM_EVENT and

Re: [PATCH 1/2] x86: Fix saying arch_cpu_init_dm in debug/docs

2023-01-19 Thread Tom Rini
On Sat, Jan 14, 2023 at 03:49:35PM -0500, Tom Rini wrote: > The function arch_cpu_init_dm was renamed to fsp_setup_pinctrl in these > cases, so rename debug / docs to match. > > Cc: Simon Glass > Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events") > Signed-off-by: Tom Rini

Re: [PATCH] odroid: limit boot memory to lowmem

2023-01-19 Thread Tom Rini
On Sun, Jan 15, 2023 at 12:57:30AM +0100, Joost van Zwieten wrote: > Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default > value of the `bootm_size` environment variable. For the odroid board > this caused the initrd and fdt to be placed in highmem. This patch > restricts the boot

Re: [PATCH 1/1] configs: enable poweroff command on QEMU ARM platforms

2023-01-19 Thread Tom Rini
On Fri, Jan 13, 2023 at 08:02:28PM +0100, Heinrich Schuchardt wrote: > Enable the sysreset based poweroff command. It invokes PSCI. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] vbe: Allow probing the VBE bootmeth to fail in OS fixup

2023-01-19 Thread Tom Rini
On Thu, Jan 12, 2023 at 04:48:54PM -0700, Simon Glass wrote: > This device is created when there are no bootmeths defined in the device > tree. But it cannot be probed without a device tree node. > > For now, ignore a probe failure. > > Signed-off-by: Simon Glass > Reported-by: Karsten Merker

Re: [PATCH v4 2/2] test: compression: add zstd uncompression test

2023-01-19 Thread Tom Rini
On Thu, Jan 12, 2023 at 10:27:46AM -0600, Brandon Maier wrote: > Signed-off-by: Brandon Maier Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 1/2] lib: zstd: update to latest Linux zstd 1.5.2

2023-01-19 Thread Tom Rini
On Thu, Jan 12, 2023 at 10:27:45AM -0600, Brandon Maier wrote: > Update the zstd implementation to match Linux zstd 1.5.2 from commit > 2aa14b1ab2. > > This was motivated by running into decompression corruption issues when > trying to uncompress files compressed with newer versions of zstd.

Re: [PATCH v2] configs: Increase malloc size after relocation

2023-01-19 Thread Tom Rini
On Wed, Jan 11, 2023 at 06:11:23PM +0530, Neha Malcom Francis wrote: > Current default size of 0x10 is not capable of getting the FIT > buffer during boot when transitioning to using binman generated boot > images for certain K3 devices, so increase it to 0x40. Since A72 SPL > is coming

Re: [PATCH 1/1] configs: remove SDL2 dependency in tools-only_defconfig

2023-01-19 Thread Tom Rini
On Wed, Jan 11, 2023 at 07:43:30AM +0100, Heinrich Schuchardt wrote: > When building tools only there is no point in requiring the SDL2 library. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] firmware: ti_sci: fix typo in boot authentication message name

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 06:29:48PM +0100, Jorge Ramirez-Ortiz wrote: > Fix AUTH_BOOT message identifier (s/IMIAGE/IMAGE) > > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Oleksandr Suvorov > Acked-by: Andrew Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH v3 4/4] test/py: gpt: add test for the gpt partition type GUID identifier

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 05:19:35PM +0100, Enric Balletbo i Serra wrote: > Add sandbox test for the gpt partition type command, the test uses the > persistent data test_gpt_disk_image.bin to check that the first > partition type GUID that identifies the type of the partition has the > "Linux

Re: [PATCH v3 3/4] cmd: part: Add partition-related type command

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 05:19:34PM +0100, Enric Balletbo i Serra wrote: > This implements the following command: > > part type mmc 0:1 > -> print partition type UUID > part type mmc 0:1 uuid > -> set environment variable to partition type UUID > > "part type" can be useful

Re: [PATCH v3 2/4] doc/README.gpt: Fix typo 'a optionnal'

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 05:19:33PM +0100, Enric Balletbo i Serra wrote: > Change the string 'a optionnal' to 'an optional'. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 1/4] doc: man-page for the part command

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 05:19:32PM +0100, Enric Balletbo i Serra wrote: > Provide a man-page for the part command. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

2023-01-19 Thread Tom Rini
On Tue, Jan 10, 2023 at 11:04:12AM +0800, Jim Liu wrote: > Add add full function config for nuvoton npcm750 > > Signed-off-by: Jim Liu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] test: compression: use sizeof() instead of magic numbers

2023-01-19 Thread Tom Rini
On Mon, Jan 09, 2023 at 12:42:58PM -0600, Brandon Maier wrote: > Signed-off-by: Brandon Maier Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/2] musb-new: omap2430: fix compiling in DM_USB_GADGET config

2023-01-19 Thread Tom Rini
On Mon, Jan 09, 2023 at 08:13:31AM +0100, Andreas Kemnade wrote: > Add the separate IRQ handling function and change the registration. > > Signed-off-by: Andreas Kemnade Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/2] musb-new: omap2430: no host data access in gadget mode

2023-01-19 Thread Tom Rini
On Mon, Jan 09, 2023 at 08:13:30AM +0100, Andreas Kemnade wrote: > Avoid accessing structures (usb_bus_priv) only present when musb is > in host mode. > > Signed-off-by: Andreas Kemnade Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH] tpm2: ftpm: add the device in the OP-TEE services list

2023-01-19 Thread Ilias Apalodimas
commit fe8a4ed0111073 ("tee: optee: discover services dependent on tee-supplicant") is trying to automatically scan and add TAs that are presented on pseudo bus from the secure world. In orer to be able to list and compare the scanned devices the available drivers have to register themselves on

[PATCH] efi_loader: update the error message of TCG protocol installation

2023-01-19 Thread Ilias Apalodimas
"Unable to find TPMv2 device" doesn't explain much with regards to the error origin. Update it to match what we have in the RNG protocol installation. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] efi_loader: ensure that file ubootefi.var is created

2023-01-19 Thread Ilias Apalodimas
On Thu, 19 Jan 2023 at 15:54, Heinrich Schuchardt wrote: > > Currently file ubootefi.var is only created if the user sets a non-volatile > EFI variable. If the file is missing, a warning is written. > > With the change PlatformLang is always persisted. So the file will exist on > second boot. > >

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Tom Rini
On Thu, Jan 19, 2023 at 11:52:11AM +, Peter Robinson wrote: > On Thu, Jan 19, 2023 at 11:33 AM Fabio Estevam wrote: > > > > On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote: > > > > > Did you read the original thread? > > > > I only read your commit log and it is not clear if it is a

[PATCH 1/1] efi_loader: ensure that file ubootefi.var is created

2023-01-19 Thread Heinrich Schuchardt
Currently file ubootefi.var is only created if the user sets a non-volatile EFI variable. If the file is missing, a warning is written. With the change PlatformLang is always persisted. So the file will exist on second boot. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_variable.c

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Ilias Apalodimas
Right, I'll answer to myself here. On Thu, 19 Jan 2023 at 15:26, Ilias Apalodimas wrote: > > Hi Etienne, > > On Thu, 19 Jan 2023 at 15:15, Etienne Carriere > wrote: > > > > On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas > > wrote: > > > > > > Hi Heinrich, > > > On Thu, Jan 19, 2023 at

[PATCH 2/2] ARM: meson: add support for Odroid Go Ultra

2023-01-19 Thread Neil Armstrong
This adds initial support for the Hardkernel Odroid Go Ultra. The Odroid Go Ultra is a portable gaming device with the following characteristics: - Amlogic S922X SoC - RK817 & RK818 PMICs - 2GiB LPDDR4 - On board 16GiB eMMC - Micro SD Card slot - 5inch 854×480 MIPI-DSI TFT LCD - Earphone stereo

[PATCH 1/2] ARM: dts: sync Amlogic ARM64 DT from v6.2-rc1

2023-01-19 Thread Neil Armstrong
This syncs the Amlogic G12A, G12B & SM1 base DT + the Odroid Go Ultra DT from Linux v6.2-rc1 from commmit [1]. [1] 1b929c02afd3 ("Linux 6.2-rc1") Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12-common.dtsi | 167 ---

[PATCH 0/2] ARM: arch-meson: add support for Odroid Go Ultra

2023-01-19 Thread Neil Armstrong
ions(-) --- base-commit: 62e2ad1ceafbfdf2c44d3dc1b6efc81e768a96b9 change-id: 20230119-u-boot-odroid-go-ultra-9d3c7ae3c910 Best regards, -- Neil Armstrong

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Ilias Apalodimas
Hi Etienne, On Thu, 19 Jan 2023 at 15:15, Etienne Carriere wrote: > > On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas > wrote: > > > > Hi Heinrich, > > On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote: > > > On 1/19/23 12:45, Ilias Apalodimas wrote: > > > > Hi Etienne, > > > >

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Etienne Carriere
On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas wrote: > > Hi Heinrich, > On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote: > > On 1/19/23 12:45, Ilias Apalodimas wrote: > > > Hi Etienne, > > > > > > On Thu, 19 Jan 2023 at 13:17, Etienne Carriere > > > wrote: > > > > > > > > On

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Etienne Carriere
On Thu, 19 Jan 2023 at 12:46, Ilias Apalodimas wrote: > > Hi Etienne, > > On Thu, 19 Jan 2023 at 13:17, Etienne Carriere > wrote: > > > > On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas > > wrote: > > > > > > When we try to load EFI variables from a file in the ESP partition and the > > > file

[PATCH] power: act8846_pmic: fix number of registers

2023-01-19 Thread John Keeping
The highest register on ACT8846 is 0xf5, so set the number of registers to 0xf6, ensuring that the pmic read/write commands are able to access all of the supported registers (and many that are not valid, since the register space is quite sparse). Signed-off-by: John Keeping ---

[PATCH] MAINTAINERS: add include/power/ to POWER

2023-01-19 Thread John Keeping
Add the related include files to the power MAINTAINERS entry. Signed-off-by: John Keeping --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index b2de50ccfc..282dce67b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1245,6 +1245,7 @@ M:Jaehoon

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Ilias Apalodimas
Hi Heinrich, On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote: > On 1/19/23 12:45, Ilias Apalodimas wrote: > > Hi Etienne, > > > > On Thu, 19 Jan 2023 at 13:17, Etienne Carriere > > wrote: > > > > > > On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas > > > wrote: > > > > > > > >

Making assembler listing files?

2023-01-19 Thread Sergei Antonov
Hello! Why is not there a scripts/makelst file? Command "make net/net6.lst" produces error output: MKLST net/net6.lst /bin/bash: .../u-boot/scripts/makelst: No such file or directory I was only able to create a listing when I copied scripts/makelst from Linux source tree.

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Heinrich Schuchardt
On 1/19/23 12:45, Ilias Apalodimas wrote: Hi Etienne, On Thu, 19 Jan 2023 at 13:17, Etienne Carriere wrote: On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas wrote: When we try to load EFI variables from a file in the ESP partition and the file is missing We print a scary error looking like

Re: [PATCH 1/4] binman: Add support for align argument to mkimage tool

2023-01-19 Thread Jonas Karlman
Hi Simon, On 2023-01-18 20:42, Simon Glass wrote: > Hi Jonas, > > On Tue, 17 Jan 2023 at 15:54, Jonas Karlman wrote: >> >> Add support to indicate what alignment to use for the FIT and its >> external data. Pass the alignment to mkimage via the -B flag. >> >> Signed-off-by: Jonas Karlman >>

Re: [PATCH] net: ipv6: fix alignment errors on ARM

2023-01-19 Thread Vyacheslav V. Mitrofanov
On Thu, 2023-01-19 at 14:05 +0300, Sergei Antonov wrote: > > On Thu, 19 Jan 2023 at 11:18, Vyacheslav V. Mitrofanov > wrote: > > On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote: > > > Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM > > > because > > > machine code expects

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Peter Robinson
On Thu, Jan 19, 2023 at 11:33 AM Fabio Estevam wrote: > > On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote: > > > Did you read the original thread? > > I only read your commit log and it is not clear if it is a regression > and which commit caused the problem. I don't remember, this was

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Ilias Apalodimas
Hi Etienne, On Thu, 19 Jan 2023 at 13:17, Etienne Carriere wrote: > > On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas > wrote: > > > > When we try to load EFI variables from a file in the ESP partition and the > > file is missing We print a scary error looking like > > => printenv -e > > **

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Fabio Estevam
On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote: > Did you read the original thread? I only read your commit log and it is not clear if it is a regression and which commit caused the problem. It lacks a Fixes tag too. > > - What is the exact problem you are trying to solve? How can we

Re: [PATCH] imx: Suggest the NXP ATF github repo

2023-01-19 Thread Frieder Schrempf
On 13.01.23 01:52, Fabio Estevam wrote: > As explained in the text at the bottom of the page > https://source.codeaurora.org/external/imx/imx-atf: > > "QUIC repositories on this site will not receive any updates after > March 31, 2022, and will be deleted on March 31, 2023." > > Point to the

[PATCH v2 6/6] doc: sl-mx8mm: Add CROSS_COMPILE to U-Boot make call and improve comment

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Add the CROSS_COMPILE flag as we assume we build in a cross environment. Also improve the comment about copying the binary to SD card. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 5/6] doc: sl-mx8mm: Add guide for copying the bootloader to SPI NOR

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This adds a guide for copying the raw bootloader image on the SD card to the SPI NOR using U-Boot itself. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff

[PATCH v2 4/6] doc: sl-mx8mm: Update references to latest DDR firmware 8.18

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest firmware available from NXP. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 2/6] doc: sl-mx8mm: Add note about using cross toolchain

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This clarifies the usage of a cross toolchain to build U-Boot and TF-A. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest version of the NXP TF-A code and add a note about quirks with GCC 12. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst

[PATCH v2 1/6] doc: sl-mx8mm: Mention OSM 1.1 support

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf The latest revision of the SoM is compliant to OSM 1.1. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 0/6] Some documentation updates for Kontron i.MX8MM hardware

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This depends on Fabio's doc patch [1]. Changes in v2: * Rebase onto Fabio's patch [1] * Remove dot in subject line of patch 6 [1] https://patchwork.ozlabs.org/project/uboot/patch/20230113005223.1979599-1-feste...@denx.de/ Frieder Schrempf (6): doc: sl-mx8mm:

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Peter Robinson
On Thu, Jan 19, 2023 at 11:10 AM Fabio Estevam wrote: > > Hi Peter, > > On Thu, Jan 19, 2023 at 8:04 AM Peter Robinson wrote: > > > So how do you propose to fix the issue I have which this fixes? > > Ok, we need some more information here: Did you read the original thread? > - What is the

Re: [PATCH] efi_loader: silence 'Failed to load EFI variables' if the file is missing

2023-01-19 Thread Etienne Carriere
On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas wrote: > > When we try to load EFI variables from a file in the ESP partition and the > file is missing We print a scary error looking like > => printenv -e > ** Unable to read file ubootefi.var ** > Failed to load EFI variables > > This is not an

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Fabio Estevam
Hi Peter, On Thu, Jan 19, 2023 at 8:04 AM Peter Robinson wrote: > So how do you propose to fix the issue I have which this fixes? Ok, we need some more information here: - What is the exact problem you are trying to solve? How can we reproduce it? - Is it a regression? What is the commit

Re: [PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
Hi Fabio, On 19.01.23 12:04, Fabio Estevam wrote: > Hi Frieder, > > On 19/01/2023 07:52, Frieder Schrempf wrote: > >> -1. Get TF-A from: >>

Re: [PATCH] net: ipv6: fix alignment errors on ARM

2023-01-19 Thread Sergei Antonov
On Thu, 19 Jan 2023 at 11:18, Vyacheslav V. Mitrofanov wrote: > > On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote: > > Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because > > machine code expects 4-byte alignment and some structures from net6.h > > are not aligned in

Re: [PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Fabio Estevam
Hi Frieder, On 19/01/2023 07:52, Frieder Schrempf wrote: -1. Get TF-A from: https://source.codeaurora.org/external/imx/imx-atf, branch: imx_5.4.70_2.3.0 -2. Apply the patch to select the correct UART for the console, otherwise the TF-A will lock up during boot. -3. Build +1. Get TF-A from:

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Peter Robinson
On Thu, Jan 19, 2023 at 1:23 AM Fabio Estevam wrote: > > This reverts commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b. > > Since commit 1cfba53ca46c ("config: tools only: add VIDEO to build > bmp_logo") the build of tools-only_defconfig fails: > > | /bin/sh: line 1: tools/bmp_logo: No such file

[PATCH 6/6] doc: sl-mx8mm: Add CROSS_COMPILE to U-Boot make call and improve comment.

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Add the CROSS_COMPILE flag as we assume we build in a cross environment. Also improve the comment about copying the binary to SD card. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 5/6] doc: sl-mx8mm: Add guide for copying the bootloader to SPI NOR

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This adds a guide for copying the raw bootloader image on the SD card to the SPI NOR using U-Boot itself. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff

[PATCH 1/6] doc: sl-mx8mm: Mention OSM 1.1 support

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf The latest revision of the SoM is compliant to OSM 1.1. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH 4/6] doc: sl-mx8mm: Update references to latest DDR firmware 8.18

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest firmware available from NXP. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest version of the NXP TF-A code and add a note about quirks with GCC 12. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst

[PATCH 2/6] doc: sl-mx8mm: Add note about using cross toolchain

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This clarifies the usage of a cross toolchain to build U-Boot and TF-A. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

Re: [PATCH 1/2] Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'"

2023-01-19 Thread Marcel Ziswiler
Hi Simon On Wed, 2023-01-18 at 21:11 -0500, Simon Glass wrote: > On Fri, 2023-01-13 at 08:50 -0500, Maxim Cournoyer wrote: > > This reverts commit 648d8186dd7f9c444fb07f355090d275dcdd4de4, because > > it broke usage of patman on Linux, whose check script doesn't know > > about '--strict' or

Re: [PATCH] rockchip: derive GPIO bank from alias if available

2023-01-19 Thread Johan Jonker
On 1/18/23 17:13, John Keeping wrote: > On Tue, Jan 17, 2023 at 08:52:22PM +0100, Johan Jonker wrote: >> >> >> On 1/17/23 19:15, John Keeping wrote: >>> Upstream device trees now use standard node names like "gpio@ff..." but >>> the rk_gpio driver expects a name like "gpio0@ff..." (note the

[PATCH] arm64: versal-net: Enable remaking ELF from bin

2023-01-19 Thread Michal Simek
U-Boot is composing u-boot.bin from u-boot-nodtb.bin with appended dts/dt.dtb. It means U-Boot doesn't have DTB inside. When REMAKE_ELF is enabled make will also create u-boot.elf which is recreated from u-boot.bin. Below is build output for mini configuration how ELF is recreated. cat

[PATCH] tee: optee: fix uuid comparisons on service discovery

2023-01-19 Thread Ilias Apalodimas
When comparing UUIDs for discovered services we only compare up to the ptr size instead of the entire UUID Fixes: 94ccfb78a4d61 ("drivers: tee: optee: discover OP-TEE services") Signed-off-by: Ilias Apalodimas --- drivers/tee/optee/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 5/5] spmi: msm: Fix up msm_spmi_write() for ARB V5

2023-01-19 Thread Sumit Garg
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov wrote: > > In commit f5a2d6b4b03a ("spmi: msm: add arbiter version 5 support") > support for arbiter V5 was introduced, and msm_spmi_read() was > correctly converted to use varying channel offset depending on > ARB version. But msm_spmi_write() was

Re: [PATCH 4/5] arm64: dts: qcom: Fix SPMI arbiter regs and reg-names

2023-01-19 Thread Sumit Garg
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov wrote: > > Now that reg-names is required, specify them, and use correct > addresses for SPMI arbiter regs, taken from Linux dts [1] [2]. > > [1] > https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/qcs404.dtsi#L739 > [2] >

Re: [PATCH 3/5] doc: spmi-msm: Update docs to reflect current state

2023-01-19 Thread Sumit Garg
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov wrote: > > Update spmi-msm documentation and example to reflect the current > state of the driver. > > Signed-off-by: Alexey Minnekhanov > --- > doc/device-tree-bindings/spmi/spmi-msm.txt | 21 ++--- > 1 file changed, 14

[PATCH 3/3] lmb: Treat a region which is a subset as equal

2023-01-19 Thread Sjoerd Simons
In various cases logical memory blocks are coalesced; As a result doing a strict check whether memory blocks are the same doesn't necessarily work as a previous addition of a given block might have been merged into a bigger block. Fix this by considering a block is already registered if it's a

[PATCH 2/3] lmb: Set correct lmb flags for EFI memory map entries

2023-01-19 Thread Sjoerd Simons
When adding reserved memory areas from the EFI memory map set the NOMAP flag when applicable. When this isn't done adding "no-map" flagged entries from the fdt after receiving the same from the EFI memory map fails due to non-matching flags. Signed-off-by: Sjoerd Simons --- lib/lmb.c | 13

[PATCH 1/3] Bump LMB_MAX_REGIONS default to 16

2023-01-19 Thread Sjoerd Simons
Since commit 06d514d77c37 ("lmb: consider EFI memory map") the EFI regions are also pushed into the lmb if EFI_LOADER is enabled (which is by default on most system). Which can cause the number of entries to go over the maximum as it's default is only 8. Specifically i ran into this case on an TI

[PATCH 0/3] Fix boot regressions on at least TI am62x

2023-01-19 Thread Sjoerd Simons
When booting a recent u-boot master on TI am62x with the distro boot sequence it fails loading the FDT: Booting using the fdt blob at 0x8800 Working FDT set to 8800 Loading Ramdisk to 8d711000, end 8d95 ... OK ERROR: reserving fdt memory region failed (addr=9e78 size=8

Re: [PATCH 2/5] spmi: msm: Fix parsing FDT and reading ARB version

2023-01-19 Thread Sumit Garg
On Mon, 16 Jan 2023 at 06:03, Alexey Minnekhanov wrote: > > First of all, use dev_read_addr_name() instead of > dev_read_addr_index() to avoid confusion: most dts files > have their regs specified in the wrong order, so driver > is reading config reg and using it instead of core reg. > Using

Re: [PATCH] net: ipv6: fix alignment errors on ARM

2023-01-19 Thread Vyacheslav V. Mitrofanov
On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote: > Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because > machine code expects 4-byte alignment and some structures from net6.h > are not aligned in memory. > > Fix by adding __packed, since it is already used in this file.

Re: [PATCH 1/5] spmi: msm: Remove wrong and unused code

2023-01-19 Thread Sumit Garg
On Mon, 16 Jan 2023 at 06:03, Alexey Minnekhanov wrote: > > Variable err is never initialized and therefore not needed, > as well as the whole error handler block; the mentioned > "APID->PPID mapping table" is never read in the code anyways. > > Signed-off-by: Alexey Minnekhanov > --- >

<    1   2