Re: [PATCH u-boot-marvell 00/11] Another kwbimage series

2021-11-10 Thread Pali Rohár
On Wednesday 10 November 2021 06:41:01 Stefan Roese wrote: > Hi Marek, > Hi Pali, > > On 08.11.21 18:12, Marek Behún wrote: > > From: Marek Behún > > > > Hi Stefan, > > > > Pali has prepared another series of patches for kwbimage, I have reviewed > > them. > > Thanks. Just checking with you:

Re: [PATCH u-boot-marvell 04/11] tools: kwbimage: Fix validation of kwbimage v0

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár kwbimage v0 sldo has 32-bit data checksum at the end like kwbimage v1. Use same data checksum validation for both v0 and v1 image types. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan

Re: [RFC 3/3] cmd: efidebug: handle booting from removable media

2021-11-10 Thread Heinrich Schuchardt
On 11/10/21 07:24, AKASHI Takahiro wrote: On Tue, Nov 09, 2021 at 10:50:37AM +0100, Heinrich Schuchardt wrote: On 11/9/21 02:32, AKASHI Takahiro wrote: Support for booting from removable media is now added to UEFI boot manager. Here we should modify efidebug command in order to define a

Re: [PATCH] tools: kwboot: Fix sending Kirkwood v0 images

2021-11-10 Thread Stefan Roese
On 05.11.21 23:29, Pali Rohár wrote: Properly calculate and align image header size to xmodem block size. Kirkwood v0 images do not have stored total size of header in header structure itself like it is for v1 images. So kwbheader_size() calculates size by traversing image structure itself.

Re: [PATCH u-boot-marvell 10/11] tools: kwbimage: Properly calculate and align kwbimage v0 header size

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár Kwbimage v0 has similar alignment requirements as v1. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwbimage.c | 24 1 file changed, 16

Re: [PATCH u-boot-marvell 11/11] tools: kwbimage: Properly set srcaddr in kwbimage v0

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár Field srcaddr in kwbimage v0 needs to be adjusted similarly like in v1. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwbimage.c | 22 ++ 1 file

Re: [PATCH] tools: kwboot: Always print kwboot version

2021-11-10 Thread Stefan Roese
On 05.11.21 23:30, Pali Rohár wrote: It is useful to see kwboot version in the boot log output for debugging purposes. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH u-boot-marvell 07/11] tools: kwbimage: Do not put final image padding to the image data size

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár This change allows to convert image from one format to another without need to include unnecessary padding (e.g. when target image format has smaller alignment requirement as source image format). Do it by storing real image data size

Re: [RFC 0/2] Do not stop with an error when mkimage fails

2021-11-10 Thread Michael Walle
Am 2021-11-10 02:37, schrieb Tom Rini: On Wed, Nov 10, 2021 at 01:26:12AM +0100, Rasmus Villemoes wrote: On 10/11/2021 01.18, Rasmus Villemoes wrote: > On 09/11/2021 20.42, Tom Rini wrote: >> On Tue, Nov 09, 2021 at 08:21:07PM +0100, Heiko Thiery wrote: >>> Hi Wolfgang, >>> > >>> I know this is

Re: [PATCH u-boot-marvell 06/11] tools: kwbimage: Align final UART image to 128 bytes

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár xmodem block size is 128 bytes, therefore it is possible to transfer only images with size multiple of 128 bytes. kwboot automatically pads image with zero bytes at the end to align it to 128 bytes boundary. Do this padding when

Re: [PATCH u-boot-marvell 08/11] tools: kwbimage: Align kwbimage header to proper size

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár Currently kwbimage header is always aligned to 4096 bytes. But it does not have to be aligned to such a high value. The header needs to be just 4-byte aligned, while some image types have additional alignment restrictions. This change

Re: [PATCH u-boot-marvell 03/11] tools: kwbimage: Set BOOT_FROM by default to SPI

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár kwbimage must have valid blockid member instead of zero value. Thus if config file does not contain BOOT_FROM command, use by default the value for SPI booting (which is probably the most common). Signed-off-by: Pali Rohár Signed-off-by:

Re: [PATCH u-boot-marvell 02/11] tools: kwbimage: Explicitly set version also for kwbimage v0

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár For documentation purposes update struct main_hdr_v0 to include information where version of the image must be stored. For kwbimage v0 it obviously must be 0. By default all image header memory is initialized to zero, therefore this change

Re: [PATCH u-boot-marvell 01/11] tools: kwbimage: Add support for new commands UART_PORT and UART_MPP

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár These two commands allow to specify custom setting of UART port used for printing BootROM messages. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwbimage.c | 20

Re: [PATCH u-boot-marvell 09/11] tools: kwbimage: Fill the real header size into the main header

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár Fill the real header size without padding into the main header This allows to reduce final image when converting image to another format which does not need additional padding. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún

Re: [PATCH v5 28/28] arm: dts: sl28: sync dtbs

2021-11-10 Thread Michael Walle
Am 2021-10-13 18:14, schrieb Michael Walle: Copy the board device tree files from linux v5.14. On top of the v5.14 dtbs the changes of these two patches are included here which are needed for u-boot: https://lore.kernel.org/linux-devicetree/20210831134013.1625527-7-mich...@walle.cc/

RE: [PATCH 1/2] tools: add fdt_add_pubkey

2021-11-10 Thread Roman Kopytin
Could you please provide good example with needed style for helper? In tools I saw a lot of programs w/o help. -Original Message- From: Jan Kiszka Sent: Wednesday, November 10, 2021 10:39 AM To: Roman Kopytin ; u-boot@lists.denx.de Cc: Rasmus Villemoes Subject: Re: [PATCH 1/2] tools:

[PATCH] net: eqos: connect and config PHY from probe stage instead of starting EQOS

2021-11-10 Thread Joakim Zhang
For EQOS ethernet, it will do phy_connect() and phy_config() when start the ethernet (eqos_srart()), users need wait seconds for PHY auto negotiation to complete when do tftp boot. phy_config() -> board_phy_config() -> phydev->drv->config() // i.MX8MP/DXL use

Xilinx ZynqMP - ZCU102: SPL not able to use MMC/SD card

2021-11-10 Thread Daniel Cizinsky
Hi! I am trying to switch to as much current vanilla SW as possible on Xilinx ZCU102 evaluation board. But I am stuck at a very early stage. I've got U-Boot + SPL + Linux kernel & userspace compilled, but even after trying hard I had no success in running SPL to read ATF, not even speaking

Re: [PATCH 1/2] ARM: dts: stm32: Drop nWP GPIO hog on DHSOM

2021-11-10 Thread Patrice CHOTARD
Hi Marek On 10/25/21 10:25 AM, Patrick DELAUNAY wrote: > Hi, > > On 10/23/21 8:33 PM, Marek Vasut wrote: >> The nWP GPIO hog was used to unlock the SPI NOR write protect when U-Boot >> used to operate the SPI NOR in 1-1-1 mode. Now that the SPI NOR is operated >> in 1-1-4 mode, the hog has

Re: [PATCH 2/2] ARM: stm32: Increase default SF bus frequency to 50 MHz and enable SFDP

2021-11-10 Thread Patrice CHOTARD
Hi Marek On 10/25/21 10:27 AM, Patrick DELAUNAY wrote: > Hi, > > On 10/23/21 8:33 PM, Marek Vasut wrote: >> Increase default SPI NOR bus frequency from 1 MHz to 50 MHz and >> enable SFDP parsing to obtain more accurate SPI NOR configuration. >> >> Signed-off-by: Marek Vasut >> Cc: Patrice

Re: [Uboot-stm32] [PATCH] arm: dts: stm32mp15: alignment with v5.15-rc6

2021-11-10 Thread Patrice CHOTARD
Hi Patrick On 10/26/21 9:05 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 10/21/21 11:54 AM, Patrick Delaunay wrote: >> Device tree alignment with Linux kernel v5.15-rc6 >> - Set {bitclock,frame}-master phandles on ST DKx >> - Add coprocessor detach mbox on stm32mp15x-dkx boards >> - Add

Re: [PATCH] stm32mp: stm32prog: Normalise newlines

2021-11-10 Thread Patrice CHOTARD
Hi Patrick On 10/21/21 2:48 PM, Patrick DELAUNAY wrote: > > On 10/13/21 11:56 AM, William Grant wrote: >> The missing trailing newline could confuse check-config.sh if the >> definition of an option was on the first line of the next file that >> find(1) happened to return. >> >> Signed-off-by:

Re: [PATCH v2] stm32mp: add binman support for STM32MP15x

2021-11-10 Thread Patrice CHOTARD
Hi Patrick On 10/13/21 6:58 PM, Simon Glass wrote: > On Wed, 13 Oct 2021 at 07:11, Patrick Delaunay > wrote: >> >> Use binman to add the stm32image header on SPL binary for basic boot >> or on U-Boot binary when it is required, i.e. for TF-A boot without FIP >> support, when

Re: [PATCH] net: phy: realtek: Add tx/rx delay config for 8211e

2021-11-10 Thread Ramon Fried
On Thu, Nov 4, 2021 at 3:42 PM Tom Rini wrote: > > On Thu, Nov 04, 2021 at 01:40:42PM +, Andre Przywara wrote: > > On Thu, 4 Nov 2021 09:13:49 -0400 > > Tom Rini wrote: > > > > Hi Tom, > > > > > On Tue, Oct 12, 2021 at 09:07:32PM -0500, Samuel Holland wrote: > > > > > > > Some boards need to

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: > > On 10.11.21 01:58, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 9 Nov 2021 at 03:07, Jan Kiszka wrote: > >> > >> On 09.11.21 10:37, Roman Kopytin wrote: > >>> Can we have discussion with code lines? For me it is not very clear, > >>>

Re: [RFC 0/2] Do not stop with an error when mkimage fails

2021-11-10 Thread Simon Glass
Hi Michael, On Wed, 10 Nov 2021 at 01:28, Michael Walle wrote: > > Am 2021-11-10 02:37, schrieb Tom Rini: > > On Wed, Nov 10, 2021 at 01:26:12AM +0100, Rasmus Villemoes wrote: > >> On 10/11/2021 01.18, Rasmus Villemoes wrote: > >> > On 09/11/2021 20.42, Tom Rini wrote: > >> >> On Tue, Nov 09,

Re: DeprecationWarning: distutils package and distutils.sysconfig module deprecated

2021-11-10 Thread Simon Glass
Hi Marcel, +Rob Herring might be looking at it. On Wed, 10 Nov 2021 at 04:15, Marcel Ziswiler wrote: > > Hi there > > After migrating to a new Fedora Silverblue 35 based setup with toolbx I get > the following while compiling U- > Boot. Is/has anybody already looked into this? > >

RE: [External] - Slow MMC IO with Raspberry CM3+ Module

2021-11-10 Thread Vincent Fazio
Ivan, > -Original Message- > From: Ivan T. Ivanov > Sent: Wednesday, November 10, 2021 4:01 AM > To: Vincent Fazio > Cc: Mario Lombardo ; u-boot@lists.denx.de > Subject: Re: [External] - Slow MMC IO with Raspberry CM3+ Module > > On 11-03 20:57, Vincent Fazio wrote: > > Date: Wed, 3

Re: [PATCH] ARM: stm32: Align mtdparts with SPI NOR layout on DHSOM

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 06:05:49PM +0100, Patrice CHOTARD wrote: > Hi Tom > > On 11/10/21 5:02 PM, Tom Rini wrote: > > On Wed, Nov 10, 2021 at 04:56:37PM +0100, Patrice CHOTARD wrote: > >> Hi Marek > >> > >> On 10/25/21 10:43 AM, Patrick DELAUNAY wrote: > >>> Hi, > >>> > >>> On 10/24/21 12:46 AM,

Re: [PATCH] arm: Fix bad memcpy.S str8w macro argument count

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 03:04:40PM +0100, Pierre-Clément Tosi wrote: > Remove the extra (empty) argument passed to str8w, causing the following > error: > >:40:47: error: too many positional arguments > str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f >

Re: [PATCH] ARM: stm32: Align mtdparts with SPI NOR layout on DHSOM

2021-11-10 Thread Patrice CHOTARD
Hi Marek On 10/25/21 10:43 AM, Patrick DELAUNAY wrote: > Hi, > > On 10/24/21 12:46 AM, Marek Vasut wrote: >> The DHSOM uses different SPI NOR layout than the ST devkit, stop >> pulling in the ST specific runtime mtdparts settings and adjust >> the mtdparts accordingly. >> >> Signed-off-by: Marek

Re: [Uboot-stm32] [PATCH] board: stmp32mp1: split board and SOC STM32MP15 configuration

2021-11-10 Thread Patrice CHOTARD
Hi Patrick On 10/25/21 9:06 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 10/22/21 10:19 AM, Patrick Delaunay wrote: >> Add a configuration file "stm32mp15_st_common.h" to handle the >> STMicroelectronics boards configuration and rename stm32mp1.h to >> "stm32mp15_common.h" to handle the

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 17:31, Simon Glass wrote: > Hi Jan, > > On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: >> >> On 10.11.21 07:55, Jan Kiszka wrote: >>> On 10.11.21 01:58, Simon Glass wrote: Hi, On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > > On 08.11.21 16:28, Roman Kopytin

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 17:31, Simon Glass wrote: > Hi Jan, > > On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: >> >> On 10.11.21 01:58, Simon Glass wrote: >>> Hi Jan, >>> >>> On Tue, 9 Nov 2021 at 03:07, Jan Kiszka wrote: On 09.11.21 10:37, Roman Kopytin wrote: > Can we have discussion with

Re: [PATCH] ARM: stm32: Align mtdparts with SPI NOR layout on DHSOM

2021-11-10 Thread Patrice CHOTARD
Hi Tom On 11/10/21 5:02 PM, Tom Rini wrote: > On Wed, Nov 10, 2021 at 04:56:37PM +0100, Patrice CHOTARD wrote: >> Hi Marek >> >> On 10/25/21 10:43 AM, Patrick DELAUNAY wrote: >>> Hi, >>> >>> On 10/24/21 12:46 AM, Marek Vasut wrote: The DHSOM uses different SPI NOR layout than the ST devkit,

[PATCH] pinctrl: stmfx: define LOG_CATEGORY

2021-11-10 Thread Patrick Delaunay
Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay --- drivers/pinctrl/pinctrl-stmfx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c index fe7a59d431..509e2a80e9 100644 ---

MMU enable in UBOOT

2021-11-10 Thread vish chopra
Hi, How to enable MMU in Uboot? What are the things I need to take care of while enabling MMU? VERSION = 2021 PATCHLEVEL = 07 SUBLEVEL = EXTRAVERSION = -rc1 NAME = ARMv8 Regards, Vishal Chopra +91-7837583269

Re: [PATCH 2/2] ARM: stm32: Disable video output on DHSOM

2021-11-10 Thread Patrice CHOTARD
Hi Marek On 10/25/21 10:30 AM, Patrick DELAUNAY wrote: > Hi, > > On 10/23/21 8:33 PM, Marek Vasut wrote: >> The video output support is unused and disabling it saves about 20 kiB of >> space. >> In case video output support is required, it can be re-enabled. >> >> Signed-off-by: Marek Vasut >>

Re: [PATCH 1/2] ARM: stm32: Disable EFI on DHSOM

2021-11-10 Thread Patrice CHOTARD
Hi Marek On 10/25/21 10:29 AM, Patrick DELAUNAY wrote: > Hi, > > On 10/23/21 8:33 PM, Marek Vasut wrote: >> The EFI support is unused and disabling it saves about 70 kiB of space. >> In case EFI support is required, it can be re-enabled. >> >> Signed-off-by: Marek Vasut >> Cc: Patrice Chotard

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: > > On 10.11.21 07:55, Jan Kiszka wrote: > > On 10.11.21 01:58, Simon Glass wrote: > >> Hi, > >> > >> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > >>> > >>> On 08.11.21 16:28, Roman Kopytin wrote: > In order to reduce the coupling

Re: [PATCH] ARM: stm32: Align mtdparts with SPI NOR layout on DHSOM

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 04:56:37PM +0100, Patrice CHOTARD wrote: > Hi Marek > > On 10/25/21 10:43 AM, Patrick DELAUNAY wrote: > > Hi, > > > > On 10/24/21 12:46 AM, Marek Vasut wrote: > >> The DHSOM uses different SPI NOR layout than the ST devkit, stop > >> pulling in the ST specific runtime

[PULL] Pull request for u-boot/master v2022.01 = u-boot-stm32-20211110

2021-11-10 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related patches for u-boot/master, v2022.01: u-boot-stm32-2020 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/9799 Thanks Patrice The following changes since commit a79115dde373f7cdb181040dd6489fd0b21bfbd2: Prepare v2022.01-rc1

Re: [PATCH] arm: Fix bad memcpy.S str8w macro argument count

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 03:51:38PM +0100, Pierre-Clément Tosi wrote: > On Wed, Nov 10, 2021 at 09:14:14AM -0500, Tom Rini wrote: > > On Wed, Nov 10, 2021 at 03:04:40PM +0100, Pierre-Clément Tosi wrote: > > > > > Remove the extra (empty) argument passed to str8w, causing the following > > > error:

Re: [PATCH] ARM: stm32: Enable DFU MTD support on DHSOM

2021-11-10 Thread Patrice CHOTARD
HI Marek On 10/25/21 10:48 AM, Marek Vasut wrote: > On 10/25/21 10:24 AM, Patrick DELAUNAY wrote: >> Hi Marek, >> >> On 10/23/21 8:32 PM, Marek Vasut wrote: >>> All the STM32MP1 based DHSOM have SPI NOR from which they boot, >>> enable DFU_MTD support to make it possible to expose that SPI NOR

Re: [Uboot-stm32] [PATCH] gpio: stm32: create include file for driver private data

2021-11-10 Thread Patrice CHOTARD
Hi Patrick On 10/25/21 8:43 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 10/22/21 8:12 PM, Patrick Delaunay wrote: >> The stm32 gpio driver private data are not needed in arch include files, >> they are not used by code except for stm32 gpio and pincontrol drivers, >> using the same IP; the

Re: [PATCH] arm: imx: imx8mq: add support to get values for more clocks

2021-11-10 Thread Heiko Thiery
Hi, Am Mi., 15. Sept. 2021 um 04:54 Uhr schrieb Peng Fan (OSS) : > > > > On 2021/9/9 20:59, Heiko Thiery wrote: > > Return the root clock values for MXC_CSPI_CLK, MXC_I2C_CLK, > > MXC_UART_CLK and MXC_QSPI_CLK. > > > > At least for the I2C clock the missing support leads to a wrong > > configured

Re: [PATCH u-boot-marvell 05/11] tools: kwbimage: Remove unused enums and prototypes

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Pali Rohár There are more unused enums and function prototypes. Remove them. The function kwbimage_check_params() does not return enum kwbimage_cmd_types, but a boolean value returned as int. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún

Re: [RFC 3/3] cmd: efidebug: handle booting from removable media

2021-11-10 Thread Heinrich Schuchardt
On 11/10/21 09:11, Heinrich Schuchardt wrote: On 11/10/21 07:24, AKASHI Takahiro wrote: On Tue, Nov 09, 2021 at 10:50:37AM +0100, Heinrich Schuchardt wrote: On 11/9/21 02:32, AKASHI Takahiro wrote: Support for booting from removable media is now added to UEFI boot manager. Here we should

Re: [External] - Slow MMC IO with Raspberry CM3+ Module

2021-11-10 Thread Ivan T. Ivanov
On 11-03 20:57, Vincent Fazio wrote: > Date: Wed, 3 Nov 2021 20:57:13 + > From: Vincent Fazio > To: Mario Lombardo , "u-boot@lists.denx.de" > > Subject: RE: [External] - Slow MMC IO with Raspberry CM3+ Module > Message-ID: > Tags: all uboot Hi Vincent, > > Mario, > > > -Original

Re: [PATCH] tools: kwboot: Fix sending Kirkwood v0 images

2021-11-10 Thread Stefan Roese
On 05.11.21 23:29, Pali Rohár wrote: Properly calculate and align image header size to xmodem block size. Kirkwood v0 images do not have stored total size of header in header structure itself like it is for v1 images. So kwbheader_size() calculates size by traversing image structure itself.

Re: [PATCH] tools: kwboot: Always print kwboot version

2021-11-10 Thread Stefan Roese
On 05.11.21 23:30, Pali Rohár wrote: It is useful to see kwboot version in the boot log output for debugging purposes. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- tools/kwboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [BUGFIX PATCH] configs: synquacer: Fix dfu_alt_info to use nor1

2021-11-10 Thread Ilias Apalodimas
On Wed, 10 Nov 2021 at 02:40, Masami Hiramatsu wrote: > > Fix dfu_alt_info to use nor1 instead of the device name. > This reverts a part of commit 59bd18d4c4d7 ("configs: synquacer: > Remove mtdparts settings and update DFU setting") because the > commit a4f2d8341455 ("mtd: spi: nor: force mtd

DeprecationWarning: distutils package and distutils.sysconfig module deprecated

2021-11-10 Thread Marcel Ziswiler
Hi there After migrating to a new Fedora Silverblue 35 based setup with toolbx I get the following while compiling U- Boot. Is/has anybody already looked into this? scripts/dtc/pylibfdt/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12.

Please pull u-boot-marvell/master

2021-11-10 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell MVEBU related patches. Mostly improvements for v0 image compatibility and stability patches for kwboot/kwbimage from Pali. Here the summary log: - Minor kwboot improvements (Pali) -

Re: [PATCH u-boot-marvell 00/11] Another kwbimage series

2021-11-10 Thread Stefan Roese
On 08.11.21 18:12, Marek Behún wrote: From: Marek Behún Hi Stefan, Pali has prepared another series of patches for kwbimage, I have reviewed them. Marek Pali Rohár (11): tools: kwbimage: Add support for new commands UART_PORT and UART_MPP tools: kwbimage: Explicitly set version also

Re: [PATCH] pci: pci_mvebu: Use global MBUS_PCI_MEM_SIZE macro

2021-11-10 Thread Stefan Roese
On 06.11.21 12:16, Pali Rohár wrote: Header file mach/cpu.h already defines MBUS_PCI_MEM_SIZE macro which defines size of MBUS_PCI_MEM_BASE window. So use global MBUS_PCI_MEM_SIZE macro instead of locally defined PCIE_MEM_SIZE macro. Both macros have same definition. Signed-off-by: Pali Rohár

Please pull u-boot-net/next

2021-11-10 Thread Ramon Fried
his PR includes the following net changes for next: - Various DSA additions - bootp: fix for VCI string - tsec: support for promiscuous mode - macb: Fix for random MAC address not saved to the environment. The following changes since commit e8e9c6f48400989c5fc54467576f8d535bd713e6: Merge

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 09:48, Jan Kiszka wrote: > > On 10.11.21 17:31, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: > >> > >> On 10.11.21 01:58, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Tue, 9 Nov 2021 at 03:07, Jan Kiszka wrote: > >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: > > On 10.11.21 17:31, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: > >> > >> On 10.11.21 07:55, Jan Kiszka wrote: > >>> On 10.11.21 01:58, Simon Glass wrote: > Hi, > > On Tue, 9 Nov

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 18:29, François Ozog wrote: > > Hi Jan > > Le mer. 10 nov. 2021 à 17:48, Jan Kiszka > a écrit : > > On 10.11.21 17:31, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 9 Nov 2021 at 23:44, Jan Kiszka >

netconsole over USB net not working

2021-11-10 Thread Andy Shevchenko
Hi! What is the Best Known Method to enable NetConsole over USB ethernet gadget on DWC3? Currently I have a "blinking" type of network interface (from the host side) and it's too hard to understand all the mysterious ways of this setup. I have set std* to "nc,serial" (*) to be able to have the

binman replace broken? (was: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool)

2021-11-10 Thread Jan Kiszka
On 10.11.21 08:20, Jan Kiszka wrote: > On 10.11.21 07:55, Jan Kiszka wrote: >> On 10.11.21 01:58, Simon Glass wrote: >>> Hi, >>> >>> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: On 08.11.21 16:28, Roman Kopytin wrote: > In order to reduce the coupling between building the kernel

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 20:36, Simon Glass wrote: > Hi Jan, > > On Wed, 10 Nov 2021 at 09:48, Jan Kiszka wrote: >> >> On 10.11.21 17:31, Simon Glass wrote: >>> Hi Jan, >>> >>> On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: On 10.11.21 01:58, Simon Glass wrote: > Hi Jan, > > On Tue, 9

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread François Ozog
Hi Jan Le mer. 10 nov. 2021 à 17:48, Jan Kiszka a écrit : > On 10.11.21 17:31, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: > >> > >> On 10.11.21 01:58, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Tue, 9 Nov 2021 at 03:07, Jan Kiszka > wrote: >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 20:36, Simon Glass wrote: > Hi Jan, > > On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: >> >> On 10.11.21 17:31, Simon Glass wrote: >>> Hi Jan, >>> >>> On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: On 10.11.21 07:55, Jan Kiszka wrote: > On 10.11.21 01:58, Simon Glass

Re: Please pull u-boot-marvell/master

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 02:52:58PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the next batch of Marvell MVEBU related patches. Mostly > improvements for v0 image compatibility and stability patches for > kwboot/kwbimage from Pali. Here the summary log: > Applied to u-boot/master,

Re: [PATCH 1/2] tools: add fdt_add_pubkey

2021-11-10 Thread Jan Kiszka
On 10.11.21 09:26, Roman Kopytin wrote: > Could you please provide good example with needed style for helper? > In tools I saw a lot of programs w/o help. > Have a look at binman to see this full-blown - not a completely fair comparison as it benefits from Python argparse. Jan -- Siemens AG,

Re: Pull request: u-boot-sunxi/master fix for 2022.01

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 01:51:14AM +, Andre Przywara wrote: > Hi Tom, > > as discussed, please pull this patch to disable the watchdog on sunxi > boards by default. The watchdog only got enabled in this release cycle, > and its short period breaks actual users (Debian installer). > >

[PATCH] binman: Fix replace subcommand help

2021-11-10 Thread Jan Kiszka
From: Jan Kiszka Fix some copy artifacts: Signed-off-by: Jan Kiszka --- tools/binman/cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py index d6156df408..e1a4cea961 100644 --- a/tools/binman/cmdline.py +++

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-10 Thread Simon Glass
Hi François, On Mon, 8 Nov 2021 at 09:20, François Ozog wrote: > > > > On Fri, 5 Nov 2021 at 18:17, Simon Glass wrote: >> >> ) to signal Hi François, >> >> On Fri, 5 Nov 2021 at 10:31, François Ozog wrote: >> > >> > Hi Simon, >> > >> > Le ven. 5 nov. 2021 à 17:12, Simon Glass a écrit : >> >>

Re: U-boot

2021-11-10 Thread Simon Glass
Hi Roman, see signature.txt : - required: If present this indicates that the key must be verified for the image / configuration to be considered valid. Only required keys are normally verified by the FIT image booting algorithm. Valid values are "image" to force verification of all images, and

Re: Pull request: u-boot-sunxi/master fix for 2022.01

2021-11-10 Thread Heinrich Schuchardt
On 11/10/21 20:11, Tom Rini wrote: On Wed, Nov 10, 2021 at 01:51:14AM +, Andre Przywara wrote: Hi Tom, as discussed, please pull this patch to disable the watchdog on sunxi boards by default. The watchdog only got enabled in this release cycle, and its short period breaks actual users

Re: [PATCH 1/2] tools: add fdt_add_pubkey

2021-11-10 Thread Jan Kiszka
On 08.11.21 16:28, Roman Kopytin wrote: > Having to use the -K option to mkimage to populate U-Boot's .dtb with the > public key while signing the kernel FIT image is often a little > awkward. In particular, when using a meta-build system such as > bitbake/Yocto, having the tasks of the kernel and

Re: [PATCH v5 28/28] arm: dts: sl28: sync dtbs

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 09:47:30AM +0100, Michael Walle wrote: > Am 2021-10-13 18:14, schrieb Michael Walle: > > Copy the board device tree files from linux v5.14. On top of the v5.14 > > dtbs the changes of these two patches are included here which are needed > > for u-boot: > > > >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 13:58, Jan Kiszka wrote: > > On 10.11.21 20:36, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: > >> > >> On 10.11.21 17:31, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 13:51, Jan Kiszka wrote: > > On 10.11.21 20:36, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 10 Nov 2021 at 09:48, Jan Kiszka wrote: > >> > >> On 10.11.21 17:31, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Tue, 9 Nov 2021 at 23:44, Jan Kiszka wrote: >

Re: [PULL] Pull request for u-boot/master v2022.01 = u-boot-stm32-20211110

2021-11-10 Thread Tom Rini
On Wed, Nov 10, 2021 at 06:08:46PM +0100, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related patches for u-boot/master, v2022.01: > u-boot-stm32-2020 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/9799

Re: [External] - Slow MMC IO with Raspberry CM3+ Module

2021-11-10 Thread Jaehoon Chung
Hi Vincent On 11/11/21 1:45 AM, Vincent Fazio wrote: > Ivan, > >> -Original Message- >> From: Ivan T. Ivanov >> Sent: Wednesday, November 10, 2021 4:01 AM >> To: Vincent Fazio >> Cc: Mario Lombardo ; u-boot@lists.denx.de >> Subject: Re: [External] - Slow MMC IO with Raspberry CM3+

Re: [PATCH v2 2/2] board: mntre: imx8mq: Add MNT Reform 2 board support

2021-11-10 Thread Vagrant Cascadian
On 2021-09-02, Patrick Wildt wrote: > The MNT Reform 2 is a modular DIY laptop. In its initial version it > is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been > lifted from BoundaryDevices official U-Boot downstream project. Thanks for working on this! I'm struggling a bit

Re: binman replace broken? (was: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool)

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 13:49, Jan Kiszka wrote: > > On 10.11.21 08:20, Jan Kiszka wrote: > > On 10.11.21 07:55, Jan Kiszka wrote: > >> On 10.11.21 01:58, Simon Glass wrote: > >>> Hi, > >>> > >>> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > > On 08.11.21 16:28, Roman

Re: [PATCH] binman: Fix replace subcommand help

2021-11-10 Thread Simon Glass
On Wed, 10 Nov 2021 at 14:02, Jan Kiszka wrote: > > From: Jan Kiszka > > Fix some copy artifacts: > > Signed-off-by: Jan Kiszka > --- > tools/binman/cmdline.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py > index

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-10 Thread Tony Dinh
Hi Pali, I've tried the test with mdelay(200) at the end of mvebu_pcie_probe(). Please see below. On Tue, Nov 9, 2021 at 7:17 PM Tony Dinh wrote: > > Hi Pali, > > On Tue, Nov 9, 2021 at 3:05 PM Pali Rohár wrote: > > > > Hello! > > > > On Tuesday 09 November 2021 14:51:33 Tony Dinh wrote: > > >

[PATCH v2 1/6] cmd: tpm-v1: fix compile error in TPMv1 list resources command

2021-11-10 Thread Mathew McBride
This command is not compiled by default and was not updated to pass the udevice to tpm_get_capability. Signed-off-by: Mathew McBride Reviewed-by: Ilias Apalodimas --- cmd/tpm-v1.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/tpm-v1.c b/cmd/tpm-v1.c index

[PATCH v2 3/6] drivers: tpm: atmel_twi: drop non-DM_I2C compatibility

2021-11-10 Thread Mathew McBride
There are no users of this driver without DM_I2C Signed-off-by: Mathew McBride Reviewed-by: Ilias Apalodimas --- drivers/tpm/tpm_atmel_twi.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/tpm/tpm_atmel_twi.c b/drivers/tpm/tpm_atmel_twi.c index

[PATCH v2 2/6] cmd: tpm-v1: fix load_key_by_sha1 compile errors

2021-11-10 Thread Mathew McBride
This command is not compiled by default and has not been updated alongside changes to the tpmv1 API, such as passing the TPM udevice to the relevant functions. Signed-off-by: Mathew McBride Reviewed-by: Ilias Apalodimas --- cmd/tpm-v1.c | 10 +- lib/tpm-v1.c | 4 ++-- 2 files changed,

[PATCH v2 0/6] drivers: tpm: Fix Atmel/Microchip TPMv1.2 issues

2021-11-10 Thread Mathew McBride
While doing bringup/rebase for the Ten64 I did some troubleshooting for the tpm (v1.2, NOT tpm2) command which did not appear to function, despite the Linux driver and tools (tcsd) working on the same board. Evidently the Atmel TPM driver hasn't kept up with various step changes in the I2C and

pull request of u-boot-fsl-qoriq for v2022.01

2021-11-10 Thread Priyanka Jain
Dear Tom, Please find my pull-request for u-boot-fsl-qoriq/master https://github.com/u-boot/u-boot/pull/99 Summary fsl-qoriq: device-tree sync-up with Linux for ls1028a fixes/update in fsl-ddr driver, fsl-validate, lx2162a, fsl-mc, spintable code, configs, qspi node, pci enable EFI_SET_TIME

RE: [PATCH 1/2] tools: add fdt_add_pubkey

2021-11-10 Thread Roman Kopytin
Thanks, I found example in fdtgrep. What do you think about function like: static void print_usage(const char *msg) { if (msg != NULL) fprintf(stderr, "Error: %s\n", msg); fprintf(stderr, "Usage: %s [-a ] [-k ] [-n ] [-r ] \n" "Options:\n"

[PATCH v2 4/6] drivers: tpm: atmel_twi: do not use an offset byte

2021-11-10 Thread Mathew McBride
This driver was broken due to an empty offset byte being prepended at the start of every transmission. The hardware does not mimic an EEPROM device with registers so an offset byte is not required. Signed-off-by: Mathew McBride Acked-by: Ilias Apalodimas --- drivers/tpm/tpm_atmel_twi.c | 1 +

[PATCH v2 5/6] drivers: tpm: atmel_twi: implement get_desc operation

2021-11-10 Thread Mathew McBride
Without get_desc, the tpm command will not provide a description of the device in 'tpm device' or 'tpm info'. Due to the characteristics of the Atmel TPM it isn't possible to determine certain attributes (e.g open/close status) without using the TPM stack (compare Infineon and ST TPM drivers), so

[PATCH v2 6/6] drivers: tpm: atmel_twi: fix printf specifier compile warning

2021-11-10 Thread Mathew McBride
%d was being used as the specifier for size_t, leading to a compiler warning Signed-off-by: Mathew McBride Reviewed-by: Ilias Apalodimas --- drivers/tpm/tpm_atmel_twi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tpm/tpm_atmel_twi.c b/drivers/tpm/tpm_atmel_twi.c

RE: [PATCH v5 28/28] arm: dts: sl28: sync dtbs

2021-11-10 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Tom Rini >Sent: Thursday, November 11, 2021 3:03 AM >To: Michael Walle ; Priyanka Jain >Cc: u-boot@lists.denx.de; Jagan Teki ; Vladimir >Oltean ; Peter Griffin ; >Manivannan Sadhasivam >Subject: Re: [PATCH v5 28/28] arm: dts: sl28: sync

[PATCH v2] binman: Fix replace subcommand help and comments

2021-11-10 Thread Jan Kiszka
From: Jan Kiszka Fix some copy artifacts. Signed-off-by: Jan Kiszka --- tools/binman/cmdline.py | 4 ++-- tools/binman/control.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py index d6156df408..d053d1be90 100644 ---

[PATCH] binman: Fix extract command for using non-absolute image paths

2021-11-10 Thread Jan Kiszka
From: Jan Kiszka Otherwise the updated image will end up in the temporary folder that is purged after completion. Signed-off-by: Jan Kiszka --- tools/binman/control.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/binman/control.py b/tools/binman/control.py index

Re: [PATCH 1/2] tools: add fdt_add_pubkey

2021-11-10 Thread Jan Kiszka
On 11.11.21 06:26, Roman Kopytin wrote: > Thanks, I found example in fdtgrep. > What do you think about function like: > > static void print_usage(const char *msg) > { > if (msg != NULL) > fprintf(stderr, "Error: %s\n", msg); > fprintf(stderr, "Usage: %s [-a ] [-k ] [-n