Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Ilias Apalodimas
Hi Sughosh, [...] >> > +{ >> > + struct fwu_metadata_ops *ops; >> >> The metadata is an untrusted information source and hence MUST NOT be >> used to map the image_type_id to the DFU alt_number. Don't invite for an >> denial of service attack. >> >> The signed capsule would be a good place

[PULL] Pull request for u-boot next / v2022.04 = u-boot-stm32-20211130

2021-11-30 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related patches for u-boot/next, v2022.04 : u-boot-stm32-20211130 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/10049 Thanks Patrice The following changes since commit 2402c93130c09b881f9cc1369459fb49d9fa0f74: Merge tag 'v2022.01

Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Ilias Apalodimas
Hi Heinrich, [...] > > +/** > > + * fwu_get_image_alt_num() - Get the dfu alt number to be used for capsule > > update > > + * @image_type_id: image guid as passed in the capsule > > + * @update_bank: Bank to which the update is to be made > > + * @alt_num: The alt_num for the image > > + * > >

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

2021-11-30 Thread Michal Simek
On 12/1/21 00:10, Daniel Cizinsky wrote: On Tue, Nov 30, 2021 at 08:28:51AM +0100, Michal Simek wrote: I did try latest yesterday and didn't see any issue. Hi! Thank you very much to both of you for letting me know! How do you build u-boot? I use Buildroot with some simple scripts (just

Re: [PATCH] board: ti: am43xx: pass boot device information from SPL to U-Boot proper

2021-11-30 Thread Josef Luštický
> > > Hi, > > On Tue, 30 Nov 2021 at 00:26, Josef Luštický wrote: > >> > >> > >> Hi Josef > >> > >> On Fri, Nov 26, 2021 at 10:56 AM Josef Lusticky > wrote: > >> > > >> > TI AM43xx SoC supports various boot devices (peripherals). > >> > There is already handoff mechanism prepared to allow

Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Sughosh Ganu
hi Simon, On Wed, 1 Dec 2021 at 11:56, Simon Glass wrote: > Hi, > > On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, which is stored on > > a dedicated partition.

Re: [PATCH] board: ti: am43xx: pass boot device information from SPL to U-Boot proper

2021-11-30 Thread Simon Glass
Hi, On Tue, 30 Nov 2021 at 00:26, Josef Luštický wrote: >> >> >> Hi Josef >> >> On Fri, Nov 26, 2021 at 10:56 AM Josef Lusticky wrote: >> > >> > TI AM43xx SoC supports various boot devices (peripherals). >> > There is already handoff mechanism prepared to allow passing >> > the information

Re: [PATCH v6 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2021-11-30 Thread Simon Glass
Hi Gaurav, On Tue, 30 Nov 2021 at 03:41, Gaurav Jain wrote: > > added device tree support for job ring driver. > sec is initialized based on job ring information processed > from device tree. > > Signed-off-by: Gaurav Jain > Reviewed-by: Ye Li > --- > drivers/crypto/fsl/Kconfig | 7 + >

Re: [EXT] Re: [PATCH v4 01/16] crypto/fsl: Add support for CAAM Job ring driver model

2021-11-30 Thread Simon Glass
Hi Gaurav, On Mon, 29 Nov 2021 at 00:25, Gaurav Jain wrote: > > Hello Simon > > > -Original Message- > > From: Simon Glass > > Sent: Thursday, November 25, 2021 5:42 AM > > To: Gaurav Jain > > Cc: U-Boot Mailing List ; Stefano Babic > > ; Fabio Estevam ; Peng Fan > > ; Priyanka Jain ;

Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Simon Glass
Hi, On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu wrote: > > In the FWU Multi Bank Update feature, the information about the > updatable images is stored as part of the metadata, which is stored on > a dedicated partition. Add the metadata structure, and functions to > access the metadata. These

Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Sughosh Ganu
On Tue, 30 Nov 2021 at 18:33, Heinrich Schuchardt wrote: > On 11/25/21 08:12, Sughosh Ganu wrote: > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, which is stored on > > a dedicated partition. Add the metadata structure,

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

2021-11-30 Thread Daniel Cizinsky
On Tue, Nov 30, 2021 at 08:28:51AM +0100, Michal Simek wrote: > I did try latest yesterday and didn't see any issue. Hi! Thank you very much to both of you for letting me know! > How do you build u-boot? I use Buildroot with some simple scripts (just to make sure we begin with a clean table and

Re: [BUG] tools/mkimage is broken on macos arm64

2021-11-30 Thread Sergey V. Lobanov
I’ve found that u-boot mkimage doesn’t work on macos arm64 due to ASLR mechanism. Jessica, do you have any idea how to rewrite INIT_SECTION define to make it compatible with ASLR mechanism? (It is related to commit

Re: ignore more files in Git?

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 09:21:08PM +0100, Rasmus Villemoes wrote: > On 30/11/2021 17.02, Tom Rini wrote: > > On Tue, Nov 30, 2021 at 05:39:36PM +0200, Andy Shevchenko wrote: > > >>> These files are products of `make O=...`. There are no issues when I > >>> build inside the tree (dunno why). But I

Re: [RFC PATCH 3/3] imx: imx8mp_evk: override env_get_location

2021-11-30 Thread Tommaso Merciai
On Mon, Nov 29, 2021 at 01:17:44PM +0100, Marek Behún wrote: > On Sun, 28 Nov 2021 18:47:11 +0100 > Tommaso Merciai wrote: > > > On Fri, Nov 26, 2021 at 07:00:21PM +0100, Marek Behún wrote: > > > On Fri, 26 Nov 2021 18:43:31 +0100 > > > Tommaso Merciai wrote: > > > > > > > Override

Re: ignore more files in Git?

2021-11-30 Thread Rasmus Villemoes
On 30/11/2021 17.02, Tom Rini wrote: > On Tue, Nov 30, 2021 at 05:39:36PM +0200, Andy Shevchenko wrote: >>> These files are products of `make O=...`. There are no issues when I >>> build inside the tree (dunno why). But I definitely won't build in the >>> source tree folder. >> >> I realized that

[RFC PATCH v2 3/3] imx: imx8mp_evk: override env_get_location

2021-11-30 Thread Tommaso Merciai
Override env_get_location function at board level, previously dropped down from soc.c References: - commit 63cd508ce696cb1ef0867d9ab6e93d36df339e0a Signed-off-by: Tommaso Merciai --- Changes since v1: - Fix code indentation using checkpatch as suggested by MBehún

[RFC PATCH v2 2/3] imx: imx8mn_evk: override env_get_location

2021-11-30 Thread Tommaso Merciai
Override env_get_location function at board level, previously dropped down from soc.c References: - commit 63cd508ce696cb1ef0867d9ab6e93d36df339e0a Signed-off-by: Tommaso Merciai --- Changes since v1: - Fix code indentation using checkpatch as suggested by MBehún

[RFC PATCH v2 1/3] imx8m: drop env_get_location for imx8mn and imx8mp

2021-11-30 Thread Tommaso Merciai
This function defined for two architecture is not really generic and can generate problem when people add a new board. Signed-off-by: Tommaso Merciai --- arch/arm/mach-imx/imx8m/soc.c | 39 --- 1 file changed, 39 deletions(-) diff --git

[RFC PATCH v2 0/3] imx8m: move env_get_location for imx8mn and imx8mp at board level

2021-11-30 Thread Tommaso Merciai
This series move env_get_location from soc to board level. As suggested by Michael make no sense to define an unique way for multiple board. One board can boot from emmc and having env on spi flash etc.. Anyways, this function is kept in both imx8mn and imx8mp evk boards instead of being

Re: [PATCH] w1: w1-gpio: Loosen timings to improve cold boot reliability

2021-11-30 Thread Chris Morgan
On Mon, Nov 22, 2021 at 11:16:22AM +, eugen.hris...@microchip.com wrote: > On 11/8/21 5:07 PM, Chris Morgan wrote: > > From: Chris Morgan > > > > On my NTC CHIP whenever I do a cold boot any attached DIPs cannot be > > found. Rebooting on the other hand appears to fix the issue. I found > >

Re: [ANN] U-Boot v2022.01-rc3 released

2021-11-30 Thread Tom Rini
On Mon, Nov 29, 2021 at 09:35:52PM -0500, Jesse Taube wrote: > > > On 11/29/21 11:28, Tom Rini wrote: > > Hey all, > > > > It's been two weeks since v2022.01-rc2, so here's -rc3. > > > > To repeat what I said with -rc2, we've enabled issue tracking on our > > gitlab instance. You can sign up

Re: get file via tftp and write to filesystem, get length of tftp transfer

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 07:51:28AM +0100, Elmar Psilog wrote: > Hello, is it possible to download a file via network (tftp) and write it > to a filesystem as ext4? This looks like a combination of > tftpboot and ext4write but how to get sizebytes? > I don't find how to get the length information

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 09:10:11PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote: > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > > > +# > > > > +# Do not pollute source tree with

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > > > +# > > > +# Do not pollute source tree with cache files: > > > +#

[PATCH v2 1/2] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
Importing libraries in Python caches the bytecode by default. Since we run scripts in source tree it ignores the current directory settings, which is $(srctree), and creates cache just in the middle of the source tree. Move cache to the current directory. Signed-off-by: Andy Shevchenko --- v2:

[PATCH v2 2/2] binman: Use less hard coded magic when inserting new PATH

2021-11-30 Thread Andy Shevchenko
Instead of joining hard coded '..' to the run-time path of the executable, take just a dirname out of it. Besides that, use $(srctree) where it makes sense. Signed-off-by: Andy Shevchenko --- v2: new patch tools/binman/main.py | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-)

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > +# > > +# Do not pollute source tree with cache files: > > +# https://stackoverflow.com/a/60024195/2511795 > > +# https://bugs.python.org/issue33499 > > +# > >

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > Importing libraries in Python caches the bytecode by default. > Since we run scripts in source tree it ignores the current directory > settings, which is $(srctree), and creates cache just in the middle > of the source tree. Move

Re: [PATCH] rockchip: Add initial support for the PinePhone Pro

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 06:44:05PM +, Peter Robinson wrote: > On Tue, Nov 30, 2021 at 5:37 PM Tom Rini wrote: > > > > On Tue, Nov 30, 2021 at 05:47:25PM +0100, Arnaud Ferraris wrote: > > > Hi Martijn, > > > > > > Thanks for this patch! It looks good overall, but I have a few minor > > >

Re: [PATCH] rockchip: Add initial support for the PinePhone Pro

2021-11-30 Thread Peter Robinson
On Tue, Nov 30, 2021 at 5:37 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 05:47:25PM +0100, Arnaud Ferraris wrote: > > Hi Martijn, > > > > Thanks for this patch! It looks good overall, but I have a few minor > > comments regarding the defconfig, see below. > > > > Le 21/10/2021 à 19:18, Martijn

[PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
Importing libraries in Python caches the bytecode by default. Since we run scripts in source tree it ignores the current directory settings, which is $(srctree), and creates cache just in the middle of the source tree. Move cache to the current directory. Signed-off-by: Andy Shevchenko ---

Re: [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro

2021-11-30 Thread Michal Simek
On 11/30/21 18:52, Tom Rini wrote: On Tue, Nov 30, 2021 at 06:48:02PM +0100, Michal Simek wrote: On 11/30/21 17:56, Tom Rini wrote: On Tue, Nov 30, 2021 at 01:56:58PM +0100, Michal Simek wrote: From: Sandeep Gundlupet Raju Add new macro for PMC I2C power domain. Signed-off-by:

Re: [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 06:48:02PM +0100, Michal Simek wrote: > > > On 11/30/21 17:56, Tom Rini wrote: > > On Tue, Nov 30, 2021 at 01:56:58PM +0100, Michal Simek wrote: > > > > > From: Sandeep Gundlupet Raju > > > > > > Add new macro for PMC I2C power domain. > > > > > > Signed-off-by:

Re: [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro

2021-11-30 Thread Michal Simek
On 11/30/21 17:56, Tom Rini wrote: On Tue, Nov 30, 2021 at 01:56:58PM +0100, Michal Simek wrote: From: Sandeep Gundlupet Raju Add new macro for PMC I2C power domain. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Michal Simek --- include/dt-bindings/power/xlnx-versal-power.h |

Issue building flash.bin for imx8mq_evk

2021-11-30 Thread Angus Ainslie
Hi, I've tested v2021.10 and "make flash.bin" still works there for imx8mq_evk_defconfig. With the latest master that doesn't build any more ./"arch/arm/mach-imx/mkimage_fit_atf.sh" \ arch/arm/dts/imx8mq-evk.dtb > u-boot.its /bin/sh: 1: ./arch/arm/mach-imx/mkimage_fit_atf.sh: not found make:

Re: [PATCH] rockchip: Add initial support for the PinePhone Pro

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 05:47:25PM +0100, Arnaud Ferraris wrote: > Hi Martijn, > > Thanks for this patch! It looks good overall, but I have a few minor > comments regarding the defconfig, see below. > > Le 21/10/2021 à 19:18, Martijn Braam a écrit : > > This is a new device by PINE64 that's very

Re: [PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 01:56:58PM +0100, Michal Simek wrote: > From: Sandeep Gundlupet Raju > > Add new macro for PMC I2C power domain. > > Signed-off-by: Sandeep Gundlupet Raju > Signed-off-by: Michal Simek > --- > > include/dt-bindings/power/xlnx-versal-power.h | 3 ++- > 1 file

Re: Please pull u-boot-marvell/master

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 02:42:10PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull these 2 Marvell MVEBU related fixes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: TPM subsystem pull

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 02:14:05PM +0200, Ilias Apalodimas wrote: > Prepare v2022.01-rc3 (2021-11-29 11:16:03 -0500) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-30112021 > > for you to fetch changes up to

Re: Pull request for efi-2022-01-rc4

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 12:52:19PM +0100, Heinrich Schuchardt wrote: > Hello Tom, > > now that you have merged running swtpm via u-boot-test-hooks this pull > request finally finishes of making TPMs and the EFI_TCG2_PROTOCOL on ARM > testable. > > The following changes since commit

Re: [PATCH] rockchip: Add initial support for the PinePhone Pro

2021-11-30 Thread Arnaud Ferraris
Hi Martijn, Thanks for this patch! It looks good overall, but I have a few minor comments regarding the defconfig, see below. Le 21/10/2021 à 19:18, Martijn Braam a écrit : > This is a new device by PINE64 that's very similar to the Pinebook Pro > that's already supported. > > Specification: >

[PATCH v2 07/10] microblaze: migrate CONFIG_SYS_USR_EXCEP to Kconfig

2021-11-30 Thread Ovidiu Panait
Migrate CONFIG_SYS_USR_EXCEP to Kconfig. Also, rename it to XILINX_MICROBLAZE0_USR_EXCEP in order to match the naming convention of microblaze-generic Kconfig options. Signed-off-by: Ovidiu Panait --- Changes in v2: Added Kconfig option description. arch/microblaze/cpu/exception.c | 2

[PATCH v2 09/10] microblaze: start.S: add support for configurable vector base address

2021-11-30 Thread Ovidiu Panait
Current code assumes that the vector base address is always at 0x0. However, this value is configurable for MicroBlaze, so update the __setup_exceptions routine to work with any vector base address. The r4 register is reserved for the vector base address inside __setup_exceptions and the function

[PATCH v2 10/10] microblaze: branch to base vector address on reset

2021-11-30 Thread Ovidiu Panait
Current code assumes that the vector base address is always at 0x0. However, this value is configurable for MicroBlaze using the CONFIG_XILINX_MICROBLAZE0_VECTOR_BASE_ADDR Kconfig option. Update the reset routines to branch to this location instead. Signed-off-by: Ovidiu Panait --- (no changes

[PATCH v2 08/10] microblaze: add Kconfig symbol for the vector base address

2021-11-30 Thread Ovidiu Panait
MicroBlaze vector base address is configurable (hdl C_BASE_VECTORS configuration parameter). Current code assumes that the reset vector location is always 0x0. Add the XILINX_MICROBLAZE0_VECTOR_BASE_ADDR Kconfig option so the user can adjust the reset vector address. Signed-off-by: Ovidiu Panait

[PATCH v2 06/10] microblaze: drop CONFIG_SYS_RESET_ADDRESS macro

2021-11-30 Thread Ovidiu Panait
Microblaze is one the last two users of the CONFIG_SYS_RESET_ADDRESS macro (the other is arch/powerpc/cpu/mpc8xx/cpu.c, but the macro is not defined anywhere in powerpc code, so it should be removed there too). Replace CONFIG_SYS_RESET_ADDRESS usage in start.S with CONFIG_SYS_TEXT_BASE. If the

[PATCH v2 03/10] microblaze: spl: add board_boot_order() implementation

2021-11-30 Thread Ovidiu Panait
Microblaze has three boot modes defined in microblaze/include/asm/spl.h, but only booting from NOR flash is currently useable. Add a custom board_boot_order() implementation so that RAM and SPI boot modes can also be selected if the corresponding load-image support is present. Signed-off-by:

[PATCH v2 05/10] microblaze: start.S: use stack space as scratch memory for endian offset

2021-11-30 Thread Ovidiu Panait
To simpify the code, use stack space as scratch memory for endian offset calculation, rather than saving/restoring the first unused MB vector. Signed-off-by: Ovidiu Panait --- (no changes since v1) arch/microblaze/cpu/start.S | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH v2 04/10] microblaze: Kconfig: SPL dependencies fixup

2021-11-30 Thread Ovidiu Panait
Enable SPL_LIBCOMMON_SUPPORT and SPL_LIBGENERIC_SUPPORT if CONFIG_SPL=y, in order to fix the following link failures: common/spl/spl.o: in function `board_init_r': common/spl/spl.c:755: undefined reference to `puts' ... common/spl/spl.o: in function `board_init_r': common/spl/spl.c:756: undefined

[PATCH v2 02/10] microblaze: u-boot.lds: replace __end symbol with _end

2021-11-30 Thread Ovidiu Panait
board_fdt_blob_setup() uses the _end symbol to find the dtb in the non-spl case. In order to allow microblaze builds to compile successfully with CONFIG_OF_SEPARATE, the _end symbol must be defined. Align microblaze with the other architectures and use _end symbol rather than __end to mark the end

[PATCH v2 01/10] xilinx: Kconfig: add XILINX_OF_BOARD_DTB_ADDR default value for microblaze

2021-11-30 Thread Ovidiu Panait
Xilinx board_fdt_blob_setup() implementation makes use of XILINX_OF_BOARD_DTB_ADDR Kconfig option, but no default value is currently defined for microblaze. Add one so that microblaze could also be configured with CONFIG_OF_SEPARATE. Signed-off-by: Ovidiu Panait --- (no changes since v1)

Re: [RFC PATCH] tools: kwbimage: Allow to disable compilation of kwbimage on non-mvebu platforms

2021-11-30 Thread Alexander Dahl
Hei hei, Am Thu, Oct 21, 2021 at 11:33:04AM +0200 schrieb Pali Rohár: > kwbimage depends on libcrypto. 32-bit mvebu platforms (except Orion and > Discovery, which are not in mach-mvebu) require kwimage for building SPL. > > Some users want to compile u-boot tools without libcrypto. > >

Re: ignore more files in Git?

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 05:39:36PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 5:28 PM Andy Shevchenko > wrote: > > On Tue, Nov 30, 2021 at 3:23 PM Tom Rini wrote: > > > On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote: > > > > > > > Am I doing something wrong? > > > >

Re: [RFC PATCH] tools: kwbimage: Allow to disable compilation of kwbimage on non-mvebu platforms

2021-11-30 Thread Alexander Dahl
Hello, Am Thu, Oct 21, 2021 at 11:33:04AM +0200 schrieb Pali Rohár: > kwbimage depends on libcrypto. 32-bit mvebu platforms (except Orion and > Discovery, which are not in mach-mvebu) require kwimage for building SPL. > > Some users want to compile u-boot tools without libcrypto. Indeed. Build

Re: ignore more files in Git?

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 5:28 PM Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 3:23 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote: > > > > > Am I doing something wrong? > > > > > > $ git status --ignored > > > On branch edison-acpi > > > Your branch is

Re: ignore more files in Git?

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 3:23 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote: > > > Am I doing something wrong? > > > > $ git status --ignored > > On branch edison-acpi > > Your branch is up to date with 'gh-andy-shev/edison-acpi'. > > > > Ignored files: > >

Re: [PATCH] Fix MMC numbering issue for Raspberry Pi 3

2021-11-30 Thread Matthias Brugger
On Thu, Oct 28, 2021 at 09:44:09AM +0200, Emmanuel Vadot wrote: > On Wed, 27 Oct 2021 22:26:15 + > kar...@freebsd.org wrote: > > > From: Mike Karels > > > > Using mmc.dtbo from rpi-firmware to switch the controller for the SD > > card slot from sdhci to sdhost causes the numbering to

Re: [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W

2021-11-30 Thread Matthias Brugger
On Sun, Nov 21, 2021 at 05:03:46PM +, Peter Robinson wrote: > The Raspberry Pi Foundation released the new Zero 2 W which we > want to detect, so we can detect the correct device tree file name. > > Signed-off-by: Peter Robinson Applied to rpi-next Thanks! > --- >

Re: [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL

2021-11-30 Thread Matthias Brugger
On Sun, Nov 21, 2021 at 05:03:45PM +, Peter Robinson wrote: > The Raspberry Pi Foundation has updated their documentation so update > the URL to the latest place to find the HW device revision codes. > > Signed-off-by: Peter Robinson Applied to rpi-next Thanks! > --- >

Re: [BUG] tools/mkimage is broken on macos arm64

2021-11-30 Thread Sergey V. Lobanov
I added some printf debugs to imagetool.c and recompiled with debug symbols: struct image_type_params *imagetool_get_type(int type) { struct image_type_params **curr; fprintf(stderr, "BEFORE INIT\n"); INIT_SECTION(image_type); +fprintf(stderr, "AFTER INIT\n"); +

[PATCH] test: test_lsblk: Mark as sandbox specific

2021-11-30 Thread Patrick Delaunay
This test checks for output specific to the sandbox blk device "sandbox_host_blk", mark it as sandbox specific. Signed-off-by: Patrick Delaunay --- test/py/tests/test_lsblk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/tests/test_lsblk.py b/test/py/tests/test_lsblk.py index

Re: [PATCH] ARM: stm32: Increase USB power-good delay on DHSOM

2021-11-30 Thread Marek Vasut
On 11/30/21 14:55, Patrice CHOTARD wrote: Hi, While preparing and testing the next u-boot-stm32 pull request, i found an issue with this patch during compilation. I got the following error: In file included from include/config.h:4,   from include/common.h:16,   

Re: [PATCH] ARM: stm32: Increase USB power-good delay on DHSOM

2021-11-30 Thread Patrice CHOTARD
On 11/30/21 2:24 PM, Marek Vasut wrote: > On 11/30/21 14:18, Patrice CHOTARD wrote: >> Hi Marek > > Hi, > >> While preparing and testing the next u-boot-stm32 pull request, i found an >> issue with this patch during >> compilation. >> >> I got the following error: >> >> In file included from

Please pull u-boot-marvell/master

2021-11-30 Thread Stefan Roese
Hi Tom, please pull these 2 Marvell MVEBU related fixes: - turris_omnia: enable A385 watchdog before disabling MCU watchdog (Pali) - a37xx: Reset whole UART when changing parent clock from TBG to XTAL (Pali)

Re: [PATCH] serial: a37xx: Reset whole UART when changing parent clock from TBG to XTAL

2021-11-30 Thread Stefan Roese
On 11/15/21 13:48, Pali Rohár wrote: Sometimes UART stops transmitting characters after UART clock is changed back to XTAL. In this state UART fifo is always full. Kernel during early boot wants to print output on UART and is waiting for non-empty UART fifo. Which leads to CPU hangup without any

Re: [Uboot-stm32] [PATCH] board: stm32mp1: add support of nor1 device in dfu command

2021-11-30 Thread Patrice CHOTARD
Hi Patrick On 11/30/21 10:57 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 11/25/21 11:54 AM, Patrick Delaunay wrote: >> Add support of mtd backend for nor1 when this device is present on the >> board, on STM32MP157C-EV1 for example, as the support of several MTD >> spi-nor instance are now

Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: enable A385 watchdog before disabling MCU watchdog

2021-11-30 Thread Stefan Roese
On 11/9/21 17:14, Marek Behún wrote: From: Pali Rohár Commit aeb0ca64dbb5 ("arm: mvebu: turris_omnia: disable MCU watchdog in SPL when booting over UART") disabled MCU watchdog when booting over UART to ensure that watchdog does not reboot the board before UART transfer finishes. But if UART

Re: [Uboot-stm32] [PATCH 1/2] ram: stm32mp1: compute DDR size from DDRCTL registers

2021-11-30 Thread Patrice CHOTARD
Patrick For information, i fixed directly the minor issue when applying this patch Thanks Patrice On 11/30/21 11:02 AM, Patrice CHOTARD wrote: > Hi Patrick > > just a minor remark > > On 11/24/21 10:52 AM, Patrick Delaunay wrote: >> Compute the DDR size from DDR controller register (mstr and

Re: [Uboot-stm32] [PATCH] configs: stm32mp15: deactivate the CONFIG_STM32_IPCC

2021-11-30 Thread Patrice CHOTARD
Hi Patrick On 11/22/21 8:27 AM, Patrice CHOTARD wrote: > HI Patrick > > On 11/19/21 10:07 AM, Patrick Delaunay wrote: >> The IPCC mailbox is only used for communication with M4 firmware but >> it is not used in the stm32 remoteproc driver; it was planed but the >> support of this mailbox in

[RESEND BUG] tools/mkimage is broken on macos arm64

2021-11-30 Thread Sergey V. Lobanov
Hello, I have observed that u-boot mkimage is broken on macos arm64, it generates segfault every time. Reproducing: My MacOS environment: % sw_vers ProductName:macOS ProductVersion: 11.6 BuildVersion: 20G165 % uname -s -r -m Darwin 20.6.0 arm64 1. Build on macos arm64 %

Re: [PATCH 1/1] Fix wrong QSPI clock calculation for AM4372

2021-11-30 Thread Stefan Mätje
Am Montag, den 29.11.2021, 22:58 -0500 schrieb Tom Rini: > On Tue, Nov 30, 2021 at 01:06:56AM +0100, Stefan Mätje wrote: > > > On AM4372 the SPI_GCLK input gets its clock from the PRCM module which > > divides the PER_CLKOUTM2 frequency (192MHz) by a fixed factor of 4. > > See AM437x Reference

Re: [PATCH u-boot-next 2/4] pci: pcie-brcmstb: Use PCIE_ECAM_OFFSET() macro

2021-11-30 Thread nicolas saenz julienne
On Wed, 2021-11-24 at 18:00 +0100, Pali Rohár wrote: > Replace custom driver macros by PCIE_ECAM_OFFSET() macro from pci.h > > Signed-off-by: Pali Rohár > --- Reviewed-by: Nicolas Saenz Julienne Regards, Nicolas

[BUG] tools/mkimage is broken on macos arm64

2021-11-30 Thread Sergey V. Lobanov
Hello, I have observed that u-boot mkimage is broken on macos arm64, it generates segfault every time. Reproducing: My MacOS environment: % sw_vers ProductName:macOS ProductVersion: 11.6 BuildVersion: 20G165 % uname -s -r -m Darwin 20.6.0 arm64 1. Build on macos arm64 %

get file via tftp and write to filesystem, get length of tftp transfer

2021-11-30 Thread Elmar Psilog
Hello, is it possible to download a file via network (tftp) and write it to a filesystem as ext4? This looks like a combination of tftpboot and ext4write but how to get sizebytes? I don't find how to get the length information from tftpboot into a variable - it seems to me only displayed on

[PATCH] mtd: spi-nor-ids: Add support for W25Q01JV

2021-11-30 Thread Ram Narayanan
Adds support for Winbond's new 128MB spi nor flash. datasheet: https://www.winbond.com/resource-files/W25Q01JV%20SPI%20RevC%2005032021%20Plus%20dummy.pdf Signed-off-by: Ram Narayanan Cc: Jagan Teki --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git

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

2021-11-30 Thread Joel Carlson
On Mon, Nov 29, 2021 at 4:01 PM Daniel Cizinsky wrote: > > On Tue, Nov 09, 2021 at 09:21:41PM +0100, Daniel Cizinsky wrote: > > 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

[PATCH 1/1] Fix wrong QSPI clock calculation for AM4372

2021-11-30 Thread Stefan Mätje
On AM4372 the SPI_GCLK input gets its clock from the PRCM module which divides the PER_CLKOUTM2 frequency (192MHz) by a fixed factor of 4. See AM437x Reference Manual in section 27 QSPI >> 27.2 Integration. The QSPI_FCLK therefore needs to take this factor into account and becomes (19200 /

[PATCH 0/1] Provide a fix for wrong QSPI clock calculation on AM4372

2021-11-30 Thread Stefan Mätje
The attached patch fixes the QSPI clock calculation on AM4372. The fixed prescaler of 4 in the PRCM unit was missing. That results in QSPI frequencies being too low. Added Tom Rini on cc: because he is the TI ARM maintainer. There is no base commit because the patch stems from an older patched

Re: [PATCH 0/7] stm32mp1: enable simple framebuffer node for splashscreen

2021-11-30 Thread Patrice CHOTARD
Hi Patrick On 11/15/21 4:32 PM, Patrick Delaunay wrote: > > Use simple framebuffer node in the Linux kernel device tree > to preserved the resources (clock, memory) used by the stm32 video > driver to display the splashscreen. > > See Linux documentation for details: >

Re: [PATCH] ARM: stm32: Increase USB power-good delay on DHSOM

2021-11-30 Thread Marek Vasut
On 11/30/21 14:18, Patrice CHOTARD wrote: Hi Marek Hi, While preparing and testing the next u-boot-stm32 pull request, i found an issue with this patch during compilation. I got the following error: In file included from include/config.h:4, from include/common.h:16,

Re: ignore more files in Git?

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote: > Am I doing something wrong? > > $ git status --ignored > On branch edison-acpi > Your branch is up to date with 'gh-andy-shev/edison-acpi'. > > Ignored files: > (use "git add -f ..." to include in what will be committed) >

Re: [PATCH] ARM: stm32: Increase USB power-good delay on DHSOM

2021-11-30 Thread Patrice CHOTARD
Hi Marek While preparing and testing the next u-boot-stm32 pull request, i found an issue with this patch during compilation. I got the following error: In file included from include/config.h:4, from include/common.h:16, from env/common.c:10:

ignore more files in Git?

2021-11-30 Thread Andy Shevchenko
Am I doing something wrong? $ git status --ignored On branch edison-acpi Your branch is up to date with 'gh-andy-shev/edison-acpi'. Ignored files: (use "git add -f ..." to include in what will be committed) tools/binman/__pycache__/ tools/binman/etype/__pycache__/

Re: [RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-11-30 Thread Heinrich Schuchardt
On 11/25/21 08:12, Sughosh Ganu wrote: In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, which is stored on a dedicated partition. Add the metadata structure, and functions to access the metadata. These are generic API's, and

[PATCH] dt-bindings: versal: Add new PM_DEV_I2C_PMC macro

2021-11-30 Thread Michal Simek
From: Sandeep Gundlupet Raju Add new macro for PMC I2C power domain. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Michal Simek --- include/dt-bindings/power/xlnx-versal-power.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] Fix wrong QSPI clock calculation for AM4372

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 12:14:12PM +, Stefan Mätje wrote: > Am Montag, den 29.11.2021, 22:58 -0500 schrieb Tom Rini: > > On Tue, Nov 30, 2021 at 01:06:56AM +0100, Stefan Mätje wrote: > > > > > On AM4372 the SPI_GCLK input gets its clock from the PRCM module which > > > divides the

[PATCH] mtd: spi: Remove SF_DUAL_FLASH symbol from Kconfig

2021-11-30 Thread Michal Simek
This symbol is not used anywhere in the code. Just enable in couple of defconfigs but it does nothing that's why remove it. Signed-off-by: Michal Simek --- drivers/mtd/spi/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index

Re: [PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Fabio Estevam
Hi Oliver, On Tue, Nov 30, 2021 at 9:26 AM Oliver Graute wrote: > It's more or less the problem where which definition belongs to > nowerdays. I get the following errors on configure and compiling: In each new release, many config options are moved to Kconfig. I would suggest you try to

Re: [PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
On 30/11/21, Fabio Estevam wrote: > Hi Oliver, > > On Tue, Nov 30, 2021 at 8:29 AM Oliver Graute > wrote: > > > > Add i.MX8QM DMSSE20 a1 board support > > > > U-Boot 2021.10-00029-g4ad997ec17 (Nov 30 2021 - 09:40:26 +0100) > > > > Model: Advantech iMX8QM DMSSE20 > > Board: DMS-SE20A1 8GB > >

TPM subsystem pull

2021-11-30 Thread Ilias Apalodimas
Prepare v2022.01-rc3 (2021-11-29 11:16:03 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-30112021 for you to fetch changes up to c3de051c411e024f9e63ab338071584b9460e8b3: tis: fix tpm_tis_remove() (2021-11-30 14:11:05 +0200)

Pull request for efi-2022-01-rc4

2021-11-30 Thread Heinrich Schuchardt
Hello Tom, now that you have merged running swtpm via u-boot-test-hooks this pull request finally finishes of making TPMs and the EFI_TCG2_PROTOCOL on ARM testable. The following changes since commit ade37460a944aed36ae6ee634c4d4a9a22690461: Prepare v2022.01-rc3 (2021-11-29 11:16:03 -0500)

Re: [PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Fabio Estevam
Hi Oliver, On Tue, Nov 30, 2021 at 8:29 AM Oliver Graute wrote: > > Add i.MX8QM DMSSE20 a1 board support > > U-Boot 2021.10-00029-g4ad997ec17 (Nov 30 2021 - 09:40:26 +0100) > > Model: Advantech iMX8QM DMSSE20 > Board: DMS-SE20A1 8GB > Build: SCFW 875cfeb5, SECO-FW d63fdb21, ATF 09c5cc9 > Boot:

[PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
Add i.MX8QM DMSSE20 a1 board support U-Boot 2021.10-00029-g4ad997ec17 (Nov 30 2021 - 09:40:26 +0100) Model: Advantech iMX8QM DMSSE20 Board: DMS-SE20A1 8GB Build: SCFW 875cfeb5, SECO-FW d63fdb21, ATF 09c5cc9 Boot: USB DRAM: 8 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment

Re: [PATCH v2] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
On 08/04/21, Stefano Babic wrote: > Hi Oliver, > > I get errors when I build the board (some configs must be in defconfig > instead of header): > > +(imx8qm_dmsse20a1) Error: You must add new CONFIG options using Kconfig > +(imx8qm_dmsse20a1) The following new ad-hoc CONFIG options were

[PATCH v6 15/15] update CAAM MAINTAINER

2021-11-30 Thread Gaurav Jain
updated CAAM driver files maintainer. Signed-off-by: Gaurav Jain --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6db5354322..c5bb2b861b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1296,3 +1296,9 @@ T:git

[PATCH v6 14/15] PPC: Enable Job ring driver model in U-Boot

2021-11-30 Thread Gaurav Jain
removed sec_init() call and CONFIG_FSL_CAAM from defconfig. sec is initialized based on job ring information processed from device tree. Signed-off-by: Gaurav Jain Reviewed-by: Priyanka Jain --- arch/powerpc/cpu/mpc85xx/Kconfig | 44 +++

[PATCH v6 13/15] PPC: Add crypto node in device tree

2021-11-30 Thread Gaurav Jain
device tree imported from linux kernel. c500bee1c5b2 (tag: v5.14-rc4) Linux 5.14-rc4 Signed-off-by: Gaurav Jain Reviewed-by: Priyanka Jain --- arch/powerpc/dts/p2041si-post.dtsi | 1 + arch/powerpc/dts/p3041si-post.dtsi | 1 + arch/powerpc/dts/p4080si-post.dtsi | 1 +

[PATCH v6 12/15] Layerscape: Enable Job ring driver model in U-Boot.

2021-11-30 Thread Gaurav Jain
LS(1021/1012/1028/1043/1046/1088/2088), LX2160, LX2162 platforms are enabled with JR driver model. removed sec_init() call from board files. removed CONFIG_FSL_CAAM from defconfig files. sec is initialized based on job ring information processed from device tree. Signed-off-by: Gaurav Jain

  1   2   >