Re: [PATCH] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-13 Thread Tom Rini
On Sat, Jan 14, 2023 at 02:41:32AM +0100, Pali Rohár wrote: > On Friday 13 January 2023 16:38:55 Tony Dinh wrote: > > @@ -16,4 +19,9 @@ obj-$(CONFIG_SPL_BUILD) += mv_ddr_build_message.o > > obj-$(CONFIG_SPL_BUILD) += mv_ddr_common.o > > obj-$(CONFIG_SPL_BUILD) += mv_ddr_spd.o > >

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Peter Robinson
On Fri, Jan 13, 2023 at 9:05 PM Simon Glass wrote: > > Hi Mark, Heinrich, > > On Fri, 13 Jan 2023 at 13:32, Mark Kettenis wrote: > > > > > Date: Fri, 13 Jan 2023 20:54:06 +0100 > > > From: Heinrich Schuchardt > > > > > > On 1/8/23 03:49, Simon Glass wrote: > > > > So far, standard boot does not

Re: [PATCH] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-13 Thread Pali Rohár
On Friday 13 January 2023 16:38:55 Tony Dinh wrote: > @@ -16,4 +19,9 @@ obj-$(CONFIG_SPL_BUILD) += mv_ddr_build_message.o > obj-$(CONFIG_SPL_BUILD) += mv_ddr_common.o > obj-$(CONFIG_SPL_BUILD) += mv_ddr_spd.o > obj-$(CONFIG_SPL_BUILD) += mv_ddr_topology.o > +obj-$(CONFIG_SPL_BUILD) +=

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-13 Thread Pali Rohár
On Wednesday 11 January 2023 21:56:41 Pali Rohár wrote: > On Wednesday 11 January 2023 12:44:45 Tony Dinh wrote: > > Hi Pali, > > > > On Wed, Jan 11, 2023 at 12:04 AM Pali Rohár wrote: > > > > > > On Tuesday 10 January 2023 21:07:45 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > > I got burned

Re: [PATCH] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-13 Thread Pali Rohár
Hello! Thanks for this DDR4 patch. I have a few comments below, mostly about adding dead/removed code. On Friday 13 January 2023 16:38:55 Tony Dinh wrote: > This syncs drivers/ddr/marvell/a38x/ with the master branch of repository >

Re: v2023.01: u-boot-tools build failure

2023-01-13 Thread Vagrant Cascadian
On 2023-01-13, Tom Rini wrote: > On Fri, Jan 13, 2023 at 06:26:00PM -0300, Fabio Estevam wrote: >> I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see >> the following error when trying to build u-boot-tools: >> >> | /bin/sh: line 1: tools/bmp_logo: No such file or directory >>

Re: [PATCH v2 u-boot 2/3] powerpc/mpc85xx: socrates: Rename u-boot-socrates.bin to u-boot.bin

2023-01-13 Thread Tom Rini
On Sat, Jan 14, 2023 at 12:11:22AM +0100, Pali Rohár wrote: > U-Boot build process for socrates board produces final U-Boot binary in > file u-boot-socrates.bin (by binman) And as a bonus it produces two > unusable broken binaries u-boot-dtb.bin and u-boot.bin (by Makefile). > > So do not build

[PATCH v2 u-boot 2/3] powerpc/mpc85xx: socrates: Rename u-boot-socrates.bin to u-boot.bin

2023-01-13 Thread Pali Rohár
U-Boot build process for socrates board produces final U-Boot binary in file u-boot-socrates.bin (by binman) And as a bonus it produces two unusable broken binaries u-boot-dtb.bin and u-boot.bin (by Makefile). So do not build broken u-boot-dtb.bin and u-boot.bin binaries and rename board specific

[PATCH v2 u-boot 3/3] Makefile: Build working u-boot-dtb.bin target also for mpc85xx

2023-01-13 Thread Pali Rohár
U-Boot build process currently always produces broken u-boot-dtb.bin binary for PowerPC mpc85xx architecture on boards which needs mpc85xx reset vector. For these boards this (intermediate) binary is not used as input for any other Makefile target on this architecture, so there is no real problem

[PATCH v2 u-boot 1/3] powerpc/mpc85xx: socrates: Use u-boot.dtb instead of dts/dt.dtb

2023-01-13 Thread Pali Rohár
binman uses DTB file u-boot.dtb for building u-boot binaries. So use same DTB file for u-boot runtime on socrates board, instead of dts/dt.dtb file. Note that u-boot.dtb is generated by simple Makefile rule which copies dts/dt.dtb to u-boot.dtb. So both files are same. Signed-off-by: Pali Rohár

Re: [PATCH v2 22/71] efi: Improve logging in efi_disk

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 23:40, Simon Glass wrote: Hi Tom, Heinrich, On Fri, 13 Jan 2023 at 13:40, Tom Rini wrote: On Fri, Jan 13, 2023 at 09:35:36PM +0100, Heinrich Schuchardt wrote: On 1/8/23 03:49, Simon Glass wrote: When this fails it can be time-consuming to debug. Add some debugging to help with

Re: [PATCH v2 22/71] efi: Improve logging in efi_disk

2023-01-13 Thread Simon Glass
Hi Tom, Heinrich, On Fri, 13 Jan 2023 at 13:40, Tom Rini wrote: > > On Fri, Jan 13, 2023 at 09:35:36PM +0100, Heinrich Schuchardt wrote: > > On 1/8/23 03:49, Simon Glass wrote: > > > When this fails it can be time-consuming to debug. Add some debugging > > > to help with this. Also try to return

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

2023-01-13 Thread Simon Glass
On Fri, 13 Jan 2023 at 12:03, Heinrich Schuchardt wrote: > > Enable the sysreset based poweroff command. It invokes PSCI. > > Signed-off-by: Heinrich Schuchardt > --- > configs/qemu_arm64_defconfig | 1 + > configs/qemu_arm_defconfig | 1 + > 2 files changed, 2 insertions(+) Reviewed-by:

Re: v2023.01: u-boot-tools build failure

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 06:26:00PM -0300, Fabio Estevam wrote: > Hi, > > I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see > the following error when trying to build u-boot-tools: > > | /bin/sh: line 1: tools/bmp_logo: No such file or directory > > Reverting the commit below

v2023.01: u-boot-tools build failure

2023-01-13 Thread Fabio Estevam
Hi, I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see the following error when trying to build u-boot-tools: | /bin/sh: line 1: tools/bmp_logo: No such file or directory Reverting the commit below makes u-boot-tools build again: commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 19:48, Tom Rini wrote: On Fri, Jan 13, 2023 at 07:41:51PM +0100, Pali Rohár wrote: On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: Downloading files for a test may fail if the server is offline. It is preferable to provide the files in our Docker image.

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Simon Glass
Hi Mark, Heinrich, On Fri, 13 Jan 2023 at 13:32, Mark Kettenis wrote: > > > Date: Fri, 13 Jan 2023 20:54:06 +0100 > > From: Heinrich Schuchardt > > > > On 1/8/23 03:49, Simon Glass wrote: > > > So far, standard boot does not replicate all the of the functionality > > > of the distro_bootcmd

Re: [PATCH v5] schemas: Add schema for U-Boot driver model 'phase tags'

2023-01-13 Thread Simon Glass
Hi Rob, On Wed, 11 Jan 2023 at 14:40, Rob Herring wrote: > > On Thu, Nov 10, 2022 at 10:59 AM Simon Glass wrote: > > > > U-Boot has some particular challenges with device tree and devices: > > > > - U-Boot has multiple build phases, such as a Secondary Program Loader > > (SPL) phase which

Re: [PATCH v2 22/71] efi: Improve logging in efi_disk

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 21:40, Tom Rini wrote: On Fri, Jan 13, 2023 at 09:35:36PM +0100, Heinrich Schuchardt wrote: On 1/8/23 03:49, Simon Glass wrote: When this fails it can be time-consuming to debug. Add some debugging to help with this. Also try to return error codes instead of just using -1.

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 08:54:06PM +0100, Heinrich Schuchardt wrote: > On 1/8/23 03:49, Simon Glass wrote: > > So far, standard boot does not replicate all the of the functionality > > of the distro_bootcmd scripts. In particular it lacks some bootdevs and > > some of the bootmeths are incomplete.

Re: [PATCH v2 22/71] efi: Improve logging in efi_disk

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 09:35:36PM +0100, Heinrich Schuchardt wrote: > On 1/8/23 03:49, Simon Glass wrote: > > When this fails it can be time-consuming to debug. Add some debugging > > to help with this. Also try to return error codes instead of just using > > -1. > > > > Signed-off-by: Simon

Re: [PATCH v2 22/71] efi: Improve logging in efi_disk

2023-01-13 Thread Heinrich Schuchardt
On 1/8/23 03:49, Simon Glass wrote: When this fails it can be time-consuming to debug. Add some debugging to help with this. Also try to return error codes instead of just using -1. Signed-off-by: Simon Glass --- (no changes since v1) lib/efi_loader/efi_disk.c | 30

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Mark Kettenis
> Date: Fri, 13 Jan 2023 20:54:06 +0100 > From: Heinrich Schuchardt > > On 1/8/23 03:49, Simon Glass wrote: > > So far, standard boot does not replicate all the of the functionality > > of the distro_bootcmd scripts. In particular it lacks some bootdevs and > > some of the bootmeths are

[PATCH] net: ipv6: Fixed IPv6 string to address conversion off-by-one error

2023-01-13 Thread emohandesi
From: Ehsan Mohandesi One extra character was being checked in the IPv6 string which caused the last character of the address to be neither '\0' nor ':'. This raises an error condition and causes the function to always return an error. This issue was resolved by this fix. Signed-off-by: Ehsan

Re: [PATCH v3 3/8] patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

2023-01-13 Thread Maxim Cournoyer
Hi Sjoerd, - Original Message - > From: "Sjoerd Simons" > To: "Simon Glass" , "Maxim Cournoyer" > > Cc: "Maxim Cournoyer" , "U-Boot Mailing > List" > Sent: Friday, January 13, 2023 5:19:39 AM > Subject: Re: [PATCH v3 3/8] patman: invoke the checkpatch.pl script with > '--u-boot' and

V3s - Ethernet and SPI NOR problems..

2023-01-13 Thread Serdar KOYLU
Hello everyone. I works many custom V3s boards and tried many versions for u-boot. We find two main problems for our use case and seems all versions is useless for me. This comments for 2022.07 release.. 1. No valid ethernet support on implementation. We found two case: a. No required

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Heinrich Schuchardt
On 1/8/23 03:49, Simon Glass wrote: So far, standard boot does not replicate all the of the functionality of the distro_bootcmd scripts. In particular it lacks some bootdevs and some of the bootmeths are incomplete. Also there is currently no internal mechanism to enumerate buses in order to

Re: [PATCH v1 0/3] fdt: Fix mtparts fixup

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 07:45:44PM +0100, Francesco Dolcini wrote: > From: Francesco Dolcini > > Recently we had a boot regression on colibri-imx7 because of a cleanup change > on Linux imx7.dtsi setting nand controller node #size-cells from 1 to 0. > > Because of that Linux partition parser

[PATCH 1/1] Dockerfile: build qemu for Nokia n900

2023-01-13 Thread Heinrich Schuchardt
Using a pre-built QEMU saves a lot of time when testing. Signed-off-by: Heinrich Schuchardt --- tools/docker/Dockerfile | 21 + 1 file changed, 21 insertions(+) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index ee44668ae0..ed350b8857 100644 ---

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Pali Rohár
On Friday 13 January 2023 20:23:23 Heinrich Schuchardt wrote: > On 1/13/23 19:57, Pali Rohár wrote: > > On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: > > > Downloading files for a test may fail if the server is offline. > > > It is preferable to provide the files in our Docker

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 19:57, Pali Rohár wrote: On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: Downloading files for a test may fail if the server is offline. It is preferable to provide the files in our Docker image. Signed-off-by: Heinrich Schuchardt --- tools/docker/Dockerfile | 9

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

2023-01-13 Thread Heinrich Schuchardt
Enable the sysreset based poweroff command. It invokes PSCI. Signed-off-by: Heinrich Schuchardt --- configs/qemu_arm64_defconfig | 1 + configs/qemu_arm_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Pali Rohár
On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: > Downloading files for a test may fail if the server is offline. > It is preferable to provide the files in our Docker image. > > Signed-off-by: Heinrich Schuchardt > --- > tools/docker/Dockerfile | 9 + > 1 file changed, 9

Re: Pull request for efi-2023-04-rc1

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 11:08:15AM +0100, Heinrich Schuchardt wrote: > The following changes since commit 87c9e117bf57d6bb42c5521a3f6ec9ca7d97e5fa: > > Merge branch '2023-01-12-further-assorted-general-updates' > (2023-01-12 17:05:41 -0500) > > are available in the Git repository at: > >

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 07:41:51PM +0100, Pali Rohár wrote: > On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: > > Downloading files for a test may fail if the server is offline. > > It is preferable to provide the files in our Docker image. > > > > Signed-off-by: Heinrich Schuchardt

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Simon Glass
On Fri, 13 Jan 2023 at 11:25, Heinrich Schuchardt wrote: > > Downloading files for a test may fail if the server is offline. > It is preferable to provide the files in our Docker image. > > Signed-off-by: Heinrich Schuchardt > --- > tools/docker/Dockerfile | 9 + > 1 file changed, 9

[PATCH v2] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini Add a mechanism to handle the case in which partitions are present as direct child of the nand controller node and #size-cells is set to <0>. This could happen if the nand-controller node in the DTS is supposed to have #size-cells set to 0, but for some historical

[PATCH v1 3/3] colibri-imx6ull: specify MTD partitions on command line

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini Disable fdt_fixup_mtdparts(), instead pass MTD partition on the command line. This is the preferred method to be used when partitions are not statically defined into the DTS according the Linux MTD subsystem maintainer. Cc: Marek Vasut Cc: Miquel Raynal Link:

[PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini Fixup #size-cells value when updating the MTD partitions, this is required to prevent issues in case the MTD parent set #size-cells to zero. This could happen for example in the legacy case in which the partitions are created as direct child of the mtd node and that

[PATCH v1 2/3] colibri-imx7: specify MTD partitions on command line

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini Disable fdt_fixup_mtdparts(), instead pass MTD partition on the command line. This is the preferred method to be used when partitions are not statically defined into the DTS according the Linux MTD subsystem maintainer. Cc: Marek Vasut Cc: Miquel Raynal Link:

[PATCH v1 0/3] fdt: Fix mtparts fixup

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini Recently we had a boot regression on colibri-imx7 because of a cleanup change on Linux imx7.dtsi setting nand controller node #size-cells from 1 to 0. Because of that Linux partition parser was no longer able to properly parse the OF partitions leading to a boot failure,

Re: [PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Pali Rohár
On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote: > Downloading files for a test may fail if the server is offline. > It is preferable to provide the files in our Docker image. > > Signed-off-by: Heinrich Schuchardt > --- > tools/docker/Dockerfile | 9 + > 1 file changed, 9

Re: nokia_rx51_test failing due to http://repository.maemo.org not reachable

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 06:20:47PM +0100, Pali Rohár wrote: > On Friday 13 January 2023 17:58:34 Heinrich Schuchardt wrote: > > On 1/13/23 14:36, Tom Rini wrote: > > > On Fri, Jan 13, 2023 at 09:02:17AM +0100, Heinrich Schuchardt wrote: > > > > > > > Hello Tom, > > > > > > > > I think the

[PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

2023-01-13 Thread Heinrich Schuchardt
Downloading files for a test may fail if the server is offline. It is preferable to provide the files in our Docker image. Signed-off-by: Heinrich Schuchardt --- tools/docker/Dockerfile | 9 + 1 file changed, 9 insertions(+) diff --git a/tools/docker/Dockerfile

[PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2023-01-13 Thread Filip Žaludek
Hi Simon, purchased 'Logitech K120 keyboard Vend: 0x046d Prod: 0xc31c' and 'SanDisk USB Extreme Pro 53A45678B3C1' to mimic your setup, I can still reproduce the issue. Major discrepancy is u-boot does not recognize SanDisk USB Extreme Pro. Could you please share your u-boot config,

Re: [PATCH 1/3] binman: add sign option for binman

2023-01-13 Thread Simon Glass
Hi Ivan, On Sat, 24 Dec 2022 at 15:35, Ivan Mikhaylov wrote: > > On Sat, 2022-12-17 at 15:02 -0700, Simon Glass wrote: > > Hi Ivan, > > > > On Tue, 13 Dec 2022 at 11:51, Ivan Mikhaylov > > wrote: > > > > > > On Fri, 2022-11-18 at 13:50 -0700, Simon Glass wrote: > > > > Hi Ivan, > > > > > > > >

Re: [PATCH 2/2] patman: symlink top level .checkpatch.conf

2023-01-13 Thread Simon Glass
On Fri, 13 Jan 2023 at 06:51, Maxim Cournoyer wrote: > > This makes it possible to run the patman test suite simply by invoking > 'pytest' from the patman sub-directory: > > $ cd tools/patman > $ pytest > > Otherwise, the top level .checkpatch.conf would be ignored and > multiple

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-13 Thread Simon Glass
Hi Abdellatif, On Fri, 13 Jan 2023 at 03:44, Abdellatif El Khlifi wrote: > > On Thu, Jan 12, 2023 at 04:43:32PM -0700, Simon Glass wrote: > > Hi Rob, > > > > On Wed, 11 Jan 2023 at 19:10, Rob Herring wrote: > > > > > > On Mon, Dec 19, 2022 at 1:21 PM Simon Glass wrote: > > > > > > > > Hi

Re: [PATCH v2 48/71] bootstd: Support reading the device tree with EFI

2023-01-13 Thread Simon Glass
Hi Mark, On Sun, 8 Jan 2023 at 03:25, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Sat, 7 Jan 2023 19:50:24 -0700 > > > > With EFI booting the device tree is required but is not actually specified > > in any way. The normal method is to use a fdtfile environment variable to > > get

Re: pwm-backlight driver not being probed in u-boot

2023-01-13 Thread Simon Glass
Hi Cheo, (please keep the mailing list on this) On Fri, 13 Jan 2023 at 02:04, Cheo Fusi wrote: > > Hi Simon > > I get the same -ENODEV with uclass_first_device_err(). > > Here are the outputs of 'dm tree' and 'dm uclass' > > => dm tree > Class Index Probed DriverName >

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

2023-01-13 Thread Simon Glass
On Fri, 13 Jan 2023 at 06:50, Maxim Cournoyer wrote: > > This reverts commit 648d8186dd7f9c444fb07f355090d275dcdd4de4, because > it broke usage of patman on Linux, whose check script doesn't know > about '--strict' or '--u-boot'. > > Reported-by: Sjoerd Simons > Signed-off-by: Maxim Cournoyer >

Re: [PATCH v3 2/6] tpm: Support boot measurements

2023-01-13 Thread Simon Glass
Hi Eddie, On Fri, 13 Jan 2023 at 07:46, Eddie James wrote: > > > On 1/12/23 17:43, Simon Glass wrote: > > Hi Eddie, > > > > On Thu, 12 Jan 2023 at 09:16, Eddie James wrote: > >> Add TPM2 functions to support boot measurement. This includes > >> starting up the TPM, initializing/appending the

Re: [PATCH] image: fit: Fix not verifying data configuration

2023-01-13 Thread Simon Glass
Hi Pegorer, On Tue, 27 Dec 2022 at 10:33, Pegorer Massimo wrote: > > Hi, > > > Da: U-Boot Per conto di Sean Anderson > > Inviato: venerdì 23 dicembre 2022 00:06 > > > > On 11/18/22 15:50, Simon Glass wrote: > > > Hi Sean, > > > > > > On Thu, 13 Oct 2022 at 09:41, Sean Anderson > > > wrote: > >

Re: [PATCH] mkimage: fit: Support signed configurations in 'auto' FITs

2023-01-13 Thread Simon Glass
On Thu, 5 Jan 2023 at 02:31, Massimo Pegorer wrote: > > Extend support for signing in auto-generated (-f auto) FIT. Previously, > it was possible to get signed 'images' subnodes in the FIT using > options -g and -o together with -f auto. This patch allows signing > 'configurations' subnodes

Re: reset-loop on Odroid U2: cros-ec communications failure

2023-01-13 Thread Simon Glass
Hi Joost, On Mon, 9 Jan 2023 at 06:31, Joost van Zwieten wrote: > > Dear maintainers, > > U-Boot on my Odroid U2 fails to initialize as of commit > e44d7e73fe0d649693d8d0a110cd7632bc919273 (introduced after v2022.10). I > get the following output: > > U-Boot 2022.10-00565-ge44d7e73fe-dirty

Re: [PATCH v1 00/16] apalis-imx8: boot issue fix and support refresh

2023-01-13 Thread Stefano Babic
On 10.01.23 17:30, Tom Rini wrote: On Tue, Jan 10, 2023 at 10:00:25AM +, Marcel Ziswiler wrote: Any feedback? @Stefano: Any plans to apply anything? @Tom: Or should we be sending you pull-requests directly? Stefano, do you want some help with the iMX queue? I am not in office until

Re: [PATCH v1 00/16] apalis-imx8: boot issue fix and support refresh

2023-01-13 Thread Francesco Dolcini
Hello Stefano, Marcel and all On Fri, Jan 13, 2023 at 02:28:12PM +0100, Stefano Babic wrote: > On 10.01.23 11:00, Marcel Ziswiler wrote: > > Any feedback? > > > > @Stefano: Any plans to apply anything? > > I am not in my office until 23.1, I won't be able to do any merge / PR > before I will be

Re: nokia_rx51_test failing due to http://repository.maemo.org not reachable

2023-01-13 Thread Pali Rohár
On Friday 13 January 2023 17:58:34 Heinrich Schuchardt wrote: > On 1/13/23 14:36, Tom Rini wrote: > > On Fri, Jan 13, 2023 at 09:02:17AM +0100, Heinrich Schuchardt wrote: > > > > > Hello Tom, > > > > > > I think the http://repository.maemo.org repositories we used should be > > > cloned to

[PATCH v2 22/22] apalis-imx8: add emmc/mmc card pinctrl's for different speeds

2023-01-13 Thread Francesco Dolcini
From: Andrejs Cainikovs Add pinctrl's for high speed eMMC and MMC cards. Signed-off-by: Andrejs Cainikovs Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini --- v2: new patch --- arch/arm/dts/fsl-imx8qm-apalis.dts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

[PATCH v2 18/22] board: apalis-imx8: remove board_phy_config duplicate

2023-01-13 Thread Francesco Dolcini
From: Andrejs Cainikovs Remove a duplicate of weak board_phy_config() implementation in drivers/net/phy/phy.c. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: new patch --- board/toradex/apalis-imx8/apalis-imx8.c | 12 1 file changed, 12 deletions(-)

[PATCH v2 21/22] apalis-imx8: add M4 boot environment helpers

2023-01-13 Thread Francesco Dolcini
From: Andrejs Cainikovs Add M4 boot environment functions for reference. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: new patch --- include/configs/apalis-imx8.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/apalis-imx8.h

[PATCH v2 20/22] apalis-imx8: set bootaux memory base and size

2023-01-13 Thread Francesco Dolcini
From: Andrejs Cainikovs Set i.MX auxiliary core memory base and size. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: new patch --- configs/apalis-imx8_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/apalis-imx8_defconfig

[PATCH v2 19/22] board: apalis-imx8: initialize snvs

2023-01-13 Thread Francesco Dolcini
From: Andrejs Cainikovs Initialize Secure Non-Volatile Storage, aka SNVS. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: new patch --- board/toradex/apalis-imx8/apalis-imx8.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 17/22] board: apalis-imx8: get rid of sc_err_t type

2023-01-13 Thread Francesco Dolcini
From: Philippe Schenker sc_pm_setup_uart() returns int, not sc_err_t. Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini --- v2: new patch --- board/toradex/apalis-imx8/apalis-imx8.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 15/22] apalis-imx8: update update_uboot confirmation message

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Update update_uboot confirmation message. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- include/configs/apalis-imx8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis-imx8.h

[PATCH v2 16/22] apalis-imx8: update env memory layout

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Update the distro config env memory layout for the Apalis iMX8 aka QuadMax: - kernel_comp_addr_r=0xf000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x0800 - loadaddr=0x9540 avoiding any reserved areas

[PATCH v2 13/22] apalis-imx8: introduce setup setting setupargs

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Introduce setup setting setupargs and move earlycon there. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- include/configs/apalis-imx8.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 14/22] apalis-imx8: drop obsolete environment variables

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Drop obsolete environment variables fdt_addr, finduuid, boot_file, mmcargs, mmcdev, mmcpart and panel. Signed-off-by: Marcel Ziswiler Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: remove additional boot_file variable ---

[PATCH v2 11/22] apalis-imx8: remove obsolete sdhc related config defines

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Remove obsolete SDHC related config defines. Nowadays, all SDHC related hardware configuration comes from the device tree. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- include/configs/apalis-imx8.h | 9 - 1 file changed,

[PATCH v2 12/22] apalis-imx8: remove obsolete net usb start

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Remove obsolete net USB start. While at it also add a comment about enabling distro-boot. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- include/configs/apalis-imx8.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH v2 10/22] apalis-imx8: update spdx license identifier string

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Update SPDX license identifier string. While at it also update copyright period. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- arch/arm/dts/fsl-imx8qm-apalis.dts | 4 ++-- board/toradex/apalis-imx8/Makefile

[PATCH v2 06/22] apalis-imx8: set bootdelay

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Set the boot delay to one second. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- configs/apalis-imx8_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/apalis-imx8_defconfig b/configs/apalis-imx8_defconfig index

[PATCH v2 08/22] apalis/colibri-imx8/8x: remove global variable script

2023-01-13 Thread Francesco Dolcini
From: Oleksandr Suvorov The distroboot script system scans boot_scripts variable and try to find and use to boot each script name mentioned there. Setting global variable "script" breaks this general mechanism of searching and running a distro boot script. Remove global variables "script" to fix

[PATCH v2 09/22] apalis-imx8: enable environment bootcount limit

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Enable optional environment bootcount limit functionality. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- configs/apalis-imx8_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/apalis-imx8_defconfig

[PATCH v2 05/22] apalis-imx8: provide proper config_sys_prompt

2023-01-13 Thread Francesco Dolcini
From: Igor Opaniuk This provides correct system prompt for U-Boot console. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- configs/apalis-imx8_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 07/22] apalis/colibri-imx8/8x: add overlay support for i.mx 8/8x-based soms

2023-01-13 Thread Francesco Dolcini
From: Oleksandr Suvorov There is no "apply" command enabled for "fdt". Enable "apply" command to allow overlays to be applied. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- configs/apalis-imx8_defconfig | 1 +

[PATCH v2 04/22] apalis-imx8: display build info

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Display build info with information about the version of SCFW, SECO and TF-A (ATF). Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- board/toradex/apalis-imx8/apalis-imx8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 02/22] apalis-imx8: implement pcb version and soc variant handling

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Implement PCB version and SoC variant handling which automatically loads the correct device tree for the Linux kernel. Signed-off-by: Marcel Ziswiler Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: added missing 8GB SKU ---

[PATCH v2 03/22] apalis-imx8: turn off lcd backlight before os handover

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler U-Boot typically tears down the display controller before handing control over to Linux. On LCD displays disabling pixel clock leads to a fading out effect with vertical/horizontal lines. Make sure to disable back light GPIO Apalis BKL1 before booting Linux. Signed-off-by:

[PATCH v2 00/22] apalis-imx8: boot issue fix and support refresh

2023-01-13 Thread Francesco Dolcini
From: Francesco Dolcini This series fixes a boot issue and refreshes Apalis iMX8 support as follows: - fix booting caused by missing DM_EVENT - implement PCB version and SoC variant handling - turn off LCD backlight before OS handover - display build info - provide proper prompt - set bootdelay

[PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event

2023-01-13 Thread Francesco Dolcini
From: Marcel Ziswiler Without the DM_EVENT absolutely no output whatsoever and the system does not boot at all. Fixes: c5ef2025579e ("dm: fix DM_EVENT dependencies") Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- v2: no changes --- configs/apalis-imx8_defconfig | 1 + 1

Re: nokia_rx51_test failing due to http://repository.maemo.org not reachable

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 14:36, Tom Rini wrote: On Fri, Jan 13, 2023 at 09:02:17AM +0100, Heinrich Schuchardt wrote: Hello Tom, I think the http://repository.maemo.org repositories we used should be cloned to Github to make our life easier. Can we put them under the "u-boot" user? Perhaps Pali has some

Re: [PATCH V2 5/6] dt-bindings: nvmem: u-boot,env: add MAC's #nvmem-cell-cells

2023-01-13 Thread Rob Herring
On Wed, 11 Jan 2023 08:31:01 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot's "ethaddr" environment variable is very often used to store > *base* MAC address. It's used as a base for calculating addresses for > multiple interfaces. It's done by adding proper values. Actual

Re: [PATCH V2 3/6] dt-bindings: nvmem: convert U-Boot env vars to NVMEM layout

2023-01-13 Thread Rob Herring
On Wed, 11 Jan 2023 08:30:59 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot environment variables can be found of various underlaying storage > entities. This binding should be defined as a layout on top on NVMEM > device not a NVMEM device itself. > > Signed-off-by: Rafał

Re: u-boot: signature check for u-boot scripts

2023-01-13 Thread Sean Anderson
On 1/12/23 18:43, Simon Glass wrote: > Hi, > > On Thu, 12 Jan 2023 at 09:03, Sean Anderson wrote: >> >> On 1/11/23 01:13, Heiko Schocher wrote: >> > Hello Sean, >> > >> > Thanks for your answer! >> > >> > On 10.01.23 17:27, Sean Anderson wrote: >> >> On 1/10/23 08:18, Heiko Schocher wrote: >>

Re: [PATCH] ls1021atsn: Suggest the NXP RCW github repo

2023-01-13 Thread Vladimir Oltean
On Thu, Jan 12, 2023 at 10:00:06PM -0300, Fabio Estevam wrote: > As explained in the text at the bottom of the page > https://source.codeaurora.org/external/qoriq/qoriq-components/rcw: > > "QUIC repositories on this site will not receive any updates after > March 31, 2022, and will be deleted on

Re: kernel doesn't start on Odroid U2 unless setting initrd_high

2023-01-13 Thread Tom Rini
On Thu, Jan 12, 2023 at 11:32:42PM +0100, Joost van Zwieten wrote: > > > On Wed, Jan 11, 2023 at 19:10, Tom Rini wrote: > > On Wed, Jan 11, 2023 at 10:08:59PM +0100, Joost van Zwieten wrote: > > > > > > > > > On Wed, Jan 11, 2023 at 15:38, Tom Rini wrote: > > > > On Wed, Jan 11, 2023 at

Re: Help needed: EFI debug

2023-01-13 Thread Heinrich Schuchardt
On 1/13/23 14:47, Michael Lawnick wrote: Hi, I am trying to printf-debug EFI execution triggered by Linux call. Specifically I remove a persistent variable via Linux console and want to follow execution. Without any printf() this works fine. I need this Hello Michael, U-Boot does not

Re: [PATCH v3 2/6] tpm: Support boot measurements

2023-01-13 Thread Eddie James
On 1/12/23 17:43, Simon Glass wrote: Hi Eddie, On Thu, 12 Jan 2023 at 09:16, Eddie James wrote: Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI

Re: [PATCH 9/9] configs: am62x_evm_a53_defconfig: Enable splash screen using tidss

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:27PM +0530, Nikhil M Jain wrote: > This enables splash screen support on AM62x using tidss > video driver. > > Allows to display bmp and gzipped bmp images on a black > background hiding the u-boot version. > > By default ti logo gets displayed, if user wants to >

Re: [PATCH 8/9] board: ti: am62x: evm: Add splash screen support

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:26PM +0530, Nikhil M Jain wrote: > Splash screen function needs splash source information > to load image and display it, splash_location provides > the necessary info, Set default_splash_location to MMC > 1st partition. Probe TIDSS for splash screen display. > >

Re: [PATCH 7/9] include: configs: am62x_evm: Add environment variables for splash screen

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:25PM +0530, Nikhil M Jain wrote: > Set splash screen related env variables. Default > splash source is set to mmc where user is expected > to keep bmp in compressed format with name ti.gz > on first partition of mmc. > > Splash file will be uncompressed to DDR at

Re: [PATCH 6/9] video: Add support to build TIDSS

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:24PM +0530, Nikhil M Jain wrote: > To compile TIDSS when user sets CONFIG_VIDEO_TIDSS > add rule in Makefile. Include tidss folder location > in Kconfig. > > Signed-off-by: Nikhil M Jain > --- > drivers/video/Kconfig | 2 ++ > drivers/video/Makefile | 1 + > 2

Re: [PATCH 4/9] arm: dts: k3-am625-sk: Add pin control for TIDSS and add panel device tree node

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:22PM +0530, Nikhil M Jain wrote: > Device tree node for panel(Microtips-Model No: 13-101HIEBCAF0-S) > is created, which includes timing parameters of the panel, > data-mapping and ports which are read by the code to set > bus formats, clock required by the panel.

Re: [PATCH 3/9] arm: dts: k3-am62-main: Add device tree node for TIDSS

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:21PM +0530, Nikhil M Jain wrote: > Add device tree node which includes the register > regions to write properties of planes (vidl1 and vid1), > overlays (ovr1 and ovr2),and video ports(vp1 and vp2). > TIDSS uses 3 clocks, fck- for its internal logic and > clk vp1 and

Re: [PATCH 2/9] drivers: video: simple_panel: make simple panel independent of backlight

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:20PM +0530, Nikhil M Jain wrote: > This patch updates the necessary Kconfigs to make simple panel > driver independent of backlight driver and compiling backlight > related code in simple-panel driver conditionally to when user > has set CONFIG_BACKLIGHT. > >

Re: [PATCH 1/9] drivers: video: tidss: TIDSS video driver support for AM62x

2023-01-13 Thread Tom Rini
On Fri, Jan 13, 2023 at 01:59:19PM +0530, Nikhil M Jain wrote: > Added tidss video driver support which enables display > on oldi panel using AM62x, it creates a simple pipeline > framebuffer==>vidl1==>ovr1==>vp1==>oldi_panel and > sets clock rates for panel, pixel format and the media > bus

Re: [PATCH v4 4/4] ARM: stm32: Make ECDSA authentication available to U-Boot

2023-01-13 Thread Patrice CHOTARD
On 1/12/23 18:58, Marek Vasut wrote: > With U-Boot having access to ROM API call table, it is possible to use > the ROM API call it authenticate e.g. signed kernel fitImages using the > BootROM ECDSA support. Make this available by pulling the ECDSA BootROM > call support from SPL-only guard. >

Re: [PATCH v4 3/4] ARM: stm32: Pass ROM API table pointer to U-Boot proper

2023-01-13 Thread Patrice CHOTARD
On 1/12/23 18:58, Marek Vasut wrote: > The ROM API table pointer is no longer accessible from U-Boot, fix > this by passing the ROM API pointer through. This makes it possible > for U-Boot to call ROM API functions to authenticate payload like > signed fitImages. > > Reviewed-by: Patrice

Re: [PATCH v4 2/4] ARM: stm32: Factor out save_boot_params

2023-01-13 Thread Patrice CHOTARD
On 1/12/23 18:58, Marek Vasut wrote: > The STM32MP15xx platform currently comes with two incompatible > implementations of save_boot_params() weak function override. > Factor the save_boot_params() implementation into common cpu.c > code and provide accessors to read out both ROM API table

  1   2   >