Re: [PATCH] powerpc: fix regression in arch_initr_trap()

2021-05-17 Thread Stefan Roese
Hi Matt, On 17.05.21 19:32, Matt Merhar wrote: The assembly output of the arch_initr_trap() function differed by a single byte after common.h was removed from traps.c: fff49a18 : fff49a18: 94 21 ff f0 stwur1,-16(r1) fff49a1c: 7c 08 02 a6 mflrr0 fff49a20:

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Stefan Roese
Hi Michael, On 17.05.21 11:47, Michal Simek wrote: I have rebase Heinrich patches on the top of HEAD + my queue and I can't see any issue https://source.denx.de/u-boot/custodians/u-boot-microblaze/-/tree/for-heinrich It means likely what Stefan mentioned is likely correct. The mentioned

Re: [PATCH] hash: Kconfig option for SHA512 hardware acceleration

2021-05-17 Thread Joel Stanley
On Fri, 14 May 2021 at 09:12, Heinrich Schuchardt wrote: > > Commit a479f103dc1c ("hash: Allow for SHA512 hardware implementations") > defined function definitions for hardware accelerated SHA384 and SHA512. > If CONFIG_SHA_HW_ACCEL=y, these functions are used. > > We already have boards using

[PATCH v2] imx: Add SeeedStudio NPI-IMX6ULL Support

2021-05-17 Thread Navin Sankar Velliangiri
CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz) CPU: Industrial temperature grade (-40C to 105C) at 49C Reset cause: POR Model: Seeed NPi iMX6ULL Dev Board with NAND Board: Seeed NPi i.MX6ULL Dev Board DRAM: 512 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial@202 Out:

Re: [PATCH] riscv: ae350: Increase malloc size for binman spl flow

2021-05-17 Thread Bin Meng
On Tue, May 18, 2021 at 9:58 AM Andes wrote: > > From: Rick Chen > > It will need larger heap size for u-boot-spl to load u-boot.itb which > be generated from binman than USE_SPL_FIT_GENERATOR. > > Signed-off-by: Rick Chen > --- > configs/ae350_rv32_spl_defconfig | 1 + >

Re: [PATCH] riscv: Split SiFive CLINT support between SPL and U-Boot proper

2021-05-17 Thread Rick Chen
> From: Bin Meng > Sent: Tuesday, May 11, 2021 8:04 PM > To: Rick Jian-Zhi Chen(陳建志) ; Sean Anderson > ; u-boot@lists.denx.de > Cc: Anup Patel ; Bin Meng > Subject: [PATCH] riscv: Split SiFive CLINT support between SPL and U-Boot > proper > > At present there is only one Kconfig option

[PATCH] riscv: ae350: Increase malloc size for binman spl flow

2021-05-17 Thread Andes
From: Rick Chen It will need larger heap size for u-boot-spl to load u-boot.itb which be generated from binman than USE_SPL_FIT_GENERATOR. Signed-off-by: Rick Chen --- configs/ae350_rv32_spl_defconfig | 1 + configs/ae350_rv32_spl_xip_defconfig | 1 + configs/ae350_rv64_spl_defconfig

[PULL] u-boot-riscv/master

2021-05-17 Thread Leo Liang
Hi Tom, CI result: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/7572 The following changes since commit e644dfbb1786a4a3308b068e1f61cd9e2dfac237: configs: Resync with savedefconfig (2021-05-15 08:10:13 -0400) are available in the Git repository at:

Re: [PATCH v2 1/3] Add valgrind headers to U-Boot

2021-05-17 Thread Tom Rini
On Mon, May 17, 2021 at 09:36:10PM -0400, Sean Anderson wrote: > > On 5/17/21 5:18 PM, Tom Rini wrote: > > On Wed, May 05, 2021 at 04:08:18PM -0400, Sean Anderson wrote: > > > > > Valgrind uses magic code sequences to define an ABI that the client may > > > use > > > to request behavior from

Re: [PATCH 06/27] mips: Remove malta boards

2021-05-17 Thread Tom Rini
On Tue, May 18, 2021 at 01:32:17AM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > Am Freitag, den 14.05.2021, 21:34 -0400 schrieb Tom Rini: > > These boards have not been converted to CONFIG_DM_PCI by the > > deadline. > > Remove them. > > > > Cc: Paul Burton > > Cc: Daniel Schwierzeck > >

Re: [PATCH v2 1/3] Add valgrind headers to U-Boot

2021-05-17 Thread Sean Anderson
On 5/17/21 5:18 PM, Tom Rini wrote: On Wed, May 05, 2021 at 04:08:18PM -0400, Sean Anderson wrote: Valgrind uses magic code sequences to define an ABI that the client may use to request behavior from the host. In particular, this may be used to inform valgrind about custom allocators, such

Re: [PATCH v2 16/50] image: Add Kconfig options for FIT in the host build

2021-05-17 Thread AKASHI Takahiro
On Mon, May 17, 2021 at 05:29:44PM -0500, Alex G. wrote: > On 5/12/21 12:14 PM, Tom Rini wrote: > > On Wed, May 12, 2021 at 11:19:52AM -0500, Alex G. wrote: > > > > > > > > > On 5/12/21 10:52 AM, Simon Glass wrote: > > [snip] > > > > > We have a NO_SDL build-time control. Perhaps have a NO_SSL

Re: [PATCH 2/2] riscv: Group assembly optimized implementation of memory routines into a submenu

2021-05-17 Thread Leo Liang
On Thu, May 13, 2021 at 04:46:18PM +0800, Bin Meng wrote: > Currently all assembly optimized implementation of memory routines > show up at the top level of the RISC-V architecture Kconfig menu. > Let's group them together into a submenu. > > Signed-off-by: Bin Meng >--- Reviewed-by: Leo Yu-Chi

Re: [PATCH 1/2] riscv: Fix memmove and optimise memcpy when misalign

2021-05-17 Thread Leo Liang
On Thu, May 13, 2021 at 04:46:17PM +0800, Bin Meng wrote: > At present U-Boot SPL fails to boot on SiFive Unleashed board, due > to a load address misaligned exception happens when loading the FIT > image in spl_load_simple_fit(). The exception happens in memmove() > which is called by

Re: [PATCH 06/27] mips: Remove malta boards

2021-05-17 Thread Daniel Schwierzeck
Hi Tom, Am Freitag, den 14.05.2021, 21:34 -0400 schrieb Tom Rini: > These boards have not been converted to CONFIG_DM_PCI by the > deadline. > Remove them. > > Cc: Paul Burton > Cc: Daniel Schwierzeck > Signed-off-by: Tom Rini > --- > As I hope these boards will get converted quickly I've not

[PATCH] ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

2021-05-17 Thread Marek Vasut
Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that. Signed-off-by: Marek Vasut Cc: Marcel Ziswiler Cc: Max Krummenacher Cc: Oleksandr Suvorov --- include/configs/verdin-imx8mm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] fs: btrfs: Add missing cache aligned allocation

2021-05-17 Thread Marek Vasut
The superblock buffer must be cache aligned, since it might be used in DMA context, allocate it using ALLOC_CACHE_ALIGN_BUFFER() just like it was done in btrfs_read_superblock() and read_tree_node(). This fixes this output on boot and non-working btrfs on iMX53: CACHE: Misaligned operation at

Re: [PATCH v2 16/50] image: Add Kconfig options for FIT in the host build

2021-05-17 Thread Alex G.
On 5/12/21 12:14 PM, Tom Rini wrote: On Wed, May 12, 2021 at 11:19:52AM -0500, Alex G. wrote: On 5/12/21 10:52 AM, Simon Glass wrote: [snip] We have a NO_SDL build-time control. Perhaps have a NO_SSL one as well? It could be a config option instead of an environment variable. I think it

[PATCH] fs/squashfs: fix reading of fragmented files

2021-05-17 Thread Joao Marcos Costa
The fragmented files were not correctly read because of two issues: - The squashfs_file_info struct has a field named 'comp', which tells if the file's fragment is compressed or not. This field was always set to 'true' in sqfs_get_regfile_info and sqfs_get_lregfile_info. It should actually take

Re: [PATCH v2 1/3] Add valgrind headers to U-Boot

2021-05-17 Thread Tom Rini
On Wed, May 05, 2021 at 04:08:18PM -0400, Sean Anderson wrote: > Valgrind uses magic code sequences to define an ABI that the client may use > to request behavior from the host. In particular, this may be used to > inform valgrind about custom allocators, such as the one used in U-Boot. > > This

Re: [PATCH] pinctrl: single: Fix probe failure getting register area size

2021-05-17 Thread Tom Rini
On Fri, May 07, 2021 at 02:40:34PM +0530, Vignesh Raghavendra wrote: > If reg property of pinctrl-single node requires address translation then > probe fails with following message: > > single-pinctrl pinctrl@4301c000: failed to get base register size > > This is because driver uses

Re: [PATCH 09/18] common: Move host-only logic in image-sig.c to separate file

2021-05-17 Thread Alex G.
On 5/17/21 11:38 AM, Alexandru Gagniuc wrote: image-sig.c is used to map a hash or crypto algorithm name to a handler of that algorithm. There is some similarity between the host and target variants, with the differences worked out by #ifdefs. The purpose of this change is to remove those

Re: [PATCH v5 4/5] Kconfig: FIT_SIGNATURE should not select RSA_VERIFY

2021-05-17 Thread Igor Opaniuk
On Mon, May 17, 2021 at 9:40 PM Alexandru Gagniuc wrote: > > FIT signatures can now be implemented with ECDSA. The assumption that > all FIT images are signed with RSA is no longer valid. Thus, instead > of 'select'ing RSA, only 'imply' it. This doesn't change the defaults, > but allows one to

[PATCH v5 4/5] Kconfig: FIT_SIGNATURE should not select RSA_VERIFY

2021-05-17 Thread Alexandru Gagniuc
FIT signatures can now be implemented with ECDSA. The assumption that all FIT images are signed with RSA is no longer valid. Thus, instead of 'select'ing RSA, only 'imply' it. This doesn't change the defaults, but allows one to explicitly disable RSA support. Signed-off-by: Alexandru Gagniuc

[PATCH v5 5/5] test: dm: Add test for ECDSA UCLASS support

2021-05-17 Thread Alexandru Gagniuc
This test verifies that ECDSA_UCLASS is implemented, and that ecdsa_verify() works as expected. The definition of "expected" is "does not find a device, and returns -ENODEV". The lack of a hardware-independent ECDSA implementation prevents us from having one in the sandbox, for now.

[PATCH v5 2/5] lib: ecdsa: Implement UCLASS_ECDSA verification on target

2021-05-17 Thread Alexandru Gagniuc
Implement the crypto_algo .verify() function for ecdsa256. Because it backends on UCLASS_ECDSA, this change is focused on parsing the keys from devicetree and passing this information to the specific UCLASS driver. Signed-off-by: Alexandru Gagniuc --- lib/Kconfig | 1 +

[PATCH v5 3/5] arm: stm32mp1: Implement ECDSA signature verification

2021-05-17 Thread Alexandru Gagniuc
The STM32MP ROM provides several service. One of them is the ability to verify ecdsa256 signatures. Hook the ROM API into the ECDSA uclass. Signed-off-by: Alexandru Gagniuc --- arch/arm/mach-stm32mp/Kconfig| 9 +++ arch/arm/mach-stm32mp/Makefile | 1 +

[PATCH v5 1/5] dm: crypto: Define UCLASS API for ECDSA signature verification

2021-05-17 Thread Alexandru Gagniuc
Define a UCLASS API for verifying ECDSA signatures. Unlike UCLASS_MOD_EXP, which focuses strictly on modular exponentiation, the ECDSA class focuses on verification. This is done so that it better aligns with mach-specific implementations, such as stm32mp. Signed-off-by: Alexandru Gagniuc ---

[PATCH v5 0/5] Enable ECDSA FIT verification for stm32mp

2021-05-17 Thread Alexandru Gagniuc
This series is based on the following: "[PATCH 00/18] image: Reduce #ifdef abuse in image code" This rebase is awesome because we don't need to change #defines in common code or rely on hidden #ifdefs. Q: Will there be a software-only implementation of ECDSA ? A: That is the goal, so that we

Re: Please pull u-boot-marvell/master v2

2021-05-17 Thread Tom Rini
On Mon, May 17, 2021 at 07:03:01AM +0200, Stefan Roese wrote: > please pull the next batch of Marvell Armada related patches. Here the > summary log: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PULL] u-boot-usb/master

2021-05-17 Thread Tom Rini
On Sun, May 16, 2021 at 08:53:04PM +0200, Marek Vasut wrote: > The following changes since commit e644dfbb1786a4a3308b068e1f61cd9e2dfac237: > > configs: Resync with savedefconfig (2021-05-15 08:10:13 -0400) > > are available in the Git repository at: > > git://source.denx.de/u-boot-usb.git

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 8:57 PM Andy Shevchenko wrote: > > On Mon, May 17, 2021 at 8:08 PM Heinrich Schuchardt > wrote: > > On 17.05.21 16:06, Andy Shevchenko wrote: > > ... > > > Let's look at the code without your patch: > > > > We have multiple functions ending with: > > > >

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 8:08 PM Heinrich Schuchardt wrote: > On 17.05.21 16:06, Andy Shevchenko wrote: ... > Let's look at the code without your patch: > > We have multiple functions ending with: > > umount_fs(mount_dir) > except CalledProcessError as err: > pytest.skip('Setup failed

Re: [PATCH 2/2] tee: optee: support session login as REE kernel

2021-05-17 Thread Etienne Carriere
On Mon, 17 May 2021 at 08:08, Jens Wiklander wrote: > > On Wed, May 12, 2021 at 5:06 PM Etienne Carriere > wrote: > > > > OP-TEE supports an API extension to allow client to open a TEE session > > as REE kernel which OP-TEE uses to differentiate client application > > services from system

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 16:06, Andy Shevchenko wrote: > On Mon, May 17, 2021 at 4:29 PM Tom Rini wrote: >> On Mon, May 17, 2021 at 03:21:41PM +0200, Heinrich Schuchardt wrote: >>> On 17.05.21 13:44, Andy Shevchenko wrote: On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt wrote: > > On

Re: [PATCH 20/27] ppc: Remove xpedite boards

2021-05-17 Thread Peter Tyser
Acked-by: Peter Tyser - Original Message - > From: "Tom Rini" > To: "U-Boot Mailing List" > Cc: "ptyser" > Sent: Friday, May 14, 2021 8:34:25 PM > Subject: [PATCH 20/27] ppc: Remove xpedite boards > These boards have not been converted to CONFIG_DM_PCI by the deadline and is > also

[PATCH 17/18] image: Eliminate IMAGE_ENABLE_VERIFY_ECDSA macro

2021-05-17 Thread Alexandru Gagniuc
This macro is no longer needed for code flow or #ifdefs. Remove it. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- include/image.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/image.h b/include/image.h index ee930b0265..2f48a6eecf 100644 --- a/include/image.h

[PATCH 18/18] [UNTESTED] image: Add support for relocating crypto_algos in linker lists

2021-05-17 Thread Alexandru Gagniuc
Function pointers from crypto_algos array are relocated, when NEEDS_MANUAL_RELOC is set. This relocation doesn't happen if the algo is placed in a linker list. Implement this relocation. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- common/image-sig.c | 13 + 1 file

[PATCH 16/18] image: Eliminate IMAGE_ENABLE_VERIFY macro

2021-05-17 Thread Alexandru Gagniuc
This macro is no longer needed for code flow or #ifdefs. Remove it. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- include/image.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/image.h b/include/image.h index f7f8f8a029..ee930b0265 100644 ---

[PATCH 14/18] lib: ecdsa: Remove #ifdefs from ecdsa.h

2021-05-17 Thread Alexandru Gagniuc
It is no longer necessary to implement ecdsa_() functions as no-ops depending on config options. It is merely sufficient to provide the prototypes, as the ecdsa code is no longer linked when unused. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- include/u-boot/ecdsa.h | 25

[PATCH 15/18] lib: rsa: Remove #ifdefs from rsa.h

2021-05-17 Thread Alexandru Gagniuc
It is no longer necessary to implement rsa_() functions as no-ops depending on config options. It is merely sufficient to provide the prototypes, as the rsa code is no longer linked when unused. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- include/u-boot/rsa.h | 47

[PATCH 11/18] image: Add support for placing crypto_algo in linker lists

2021-05-17 Thread Alexandru Gagniuc
The purpose of this change is to enable crypto algorithms to be placed in linker lists, rather than be declared as a static array. The goal is to remove the crypto_algos array in a subsequent patch. Create a new linker list named "cryptos", and search it when image_get_crypto_algo() is invoked.

[PATCH 13/18] image: image-sig.c: Remove crypto_algos array

2021-05-17 Thread Alexandru Gagniuc
Crytographic algorithms (currently RSA), are stored in linker lists. The crypto_algos array is unused, so remove it, and any logic associated with it. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- common/image-sig.c | 21 - 1 file changed, 21 deletions(-)

[PATCH 12/18] image: rsa: Move verification algorithm to a linker list

2021-05-17 Thread Alexandru Gagniuc
Move the RSA verification crytpo_algo structure out of the crypto_algos array, and into a linker list. Although it appears we are adding an #ifdef to rsa-verify.c, the gains outweigh this small inconvenience. This is because rsa_verify() is defined differently based on #ifdefs. This change allows

[PATCH 10/18] common: image-sig.c: Remove host-specific logic and #ifdefs

2021-05-17 Thread Alexandru Gagniuc
Remove any ifdefs in image-sig.c that were previously used to differentiate from the host code. Note that all code dedicated to relocating ->sign() and ->add_verify_data)_ can be safely removed, as signing is not supported target-side. NOTE that although it appears we are removing ecdsa256

[PATCH 04/18] Kconfig: Rename SPL_CRC32_SUPPORT to SPL_CRC32

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass Drop the _SUPPORT suffix so we can use CONFIG_IS_ENABLED() with this option. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/spl/Kconfig| 4 ++-- configs/axm_defconfig | 2 +-

[PATCH 09/18] common: Move host-only logic in image-sig.c to separate file

2021-05-17 Thread Alexandru Gagniuc
image-sig.c is used to map a hash or crypto algorithm name to a handler of that algorithm. There is some similarity between the host and target variants, with the differences worked out by #ifdefs. The purpose of this change is to remove those ifdefs. First, copy the file to a host-only version,

[PATCH 07/18] image: Drop IMAGE_ENABLE_SHAxxx

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass We already have a host Kconfig for these SHA options. Use CONFIG_IS_ENABLED(SHAxxx) directly in the code shared with the host build, so we can drop the unnecessary indirections. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc ---

[PATCH 06/18] image: Drop IMAGE_ENABLE_SHA1

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass We already have a host Kconfig for SHA1. Use CONFIG_IS_ENABLED(SHA1) directly in the code shared with the host build, so we can drop the unnecessary indirection. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc ---

[PATCH 08/18] image: Drop IMAGE_ENABLE_BEST_MATCH

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass This is not needed with Kconfig, since we can use IS_ENABLED() easily enough. Drop it. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/image-fit.c | 2 +- include/image.h| 5 - 2 files changed, 1 insertion(+), 6

[PATCH 03/18] image: Rename CONFIG_FIT_ENABLE_RSASSA_PSS_SUPPORT

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass Drop the ENABLE and SUPPORT parts of this, which are redundant. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/Kconfig.boot | 2 +- common/image-sig.c | 4 ++-- configs/bcm963158_ram_defconfig

[PATCH 02/18] image: Rename SPL_SHAxxx_SUPPORT to SPL_FIT_SHAxxx

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass These option are named inconsistently with other SPL options, thus making them incompatible with the CONFIG_IS_ENABLED() macro. Rename them. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/spl/Kconfig | 8

[PATCH 05/18] Kconfig: Rename SPL_MD5_SUPPORT to SPL_MD5

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass Drop the _SUPPORT suffix so we can use CONFIG_IS_ENABLED() with this option. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/spl/Kconfig | 2 +- include/image.h| 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 01/18] image: Shorten FIT_ENABLE_SHAxxx_SUPPORT

2021-05-17 Thread Alexandru Gagniuc
From: Simon Glass The ENABLE part of this name is redundant, since all boolean Kconfig options serve to enable something. The SUPPORT part is also redundant since Kconfigs can be assumed to enable support for something. Together they just serve to make these options overly long and inconsistent

[PATCH 00/18] image: Reduce #ifdef abuse in image code

2021-05-17 Thread Alexandru Gagniuc
This is a combination of select patches from Simon's series: "image: Reduce #ifdefs and ad-hoc defines in image code" and alternative solutions I proposed in: "image: Reduce the abuse of #ifdefs in image-sig.c" After syncing with Simon, we agree that this is a reasonable base for further

Re: [PATCH] imx: Add SeeedStudio NPI-IMX6ULL Support

2021-05-17 Thread Sean Anderson
On 5/17/21 9:27 AM, Navin Sankar Velliangiri wrote: > From: NavinSankar Velliangiri > > CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz) > CPU: Industrial temperature grade (-40C to 105C) at 49C > Reset cause: POR > Model: Seeed NPi iMX6ULL Dev Board with NAND > Board: Seeed

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Tom Rini
On Mon, May 17, 2021 at 04:24:46PM +0200, Heinrich Schuchardt wrote: > On 17.05.21 15:21, Heinrich Schuchardt wrote: > > On 17.05.21 13:44, Andy Shevchenko wrote: > >> On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt > >> wrote: > >>> > >>> On 17.05.21 13:16, Andy Shevchenko wrote: > On

[PATCH] phy: add nxp tja1103 phy driver

2021-05-17 Thread Radu Pirea (NXP OSS)
Add nxp tja1103 phy driver. Signed-off-by: Radu Pirea (NXP OSS) --- MAINTAINERS | 5 + drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile | 1 + drivers/net/phy/nxp-c45-tja11xx.c | 348 ++ drivers/net/phy/phy.c

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-17 Thread Joanna Farley
Apologies I failed with the recording. Manish/Madhu will reply early next week with the slides and some notes to help with a follow up session which we hope to hold this Thursday. Invite and agenda will also be sent out early next week. Thanks Joanna On 14/05/2021, 13:30, "TF-A on behalf of

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 15:21, Heinrich Schuchardt wrote: > On 17.05.21 13:44, Andy Shevchenko wrote: >> On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt >> wrote: >>> >>> On 17.05.21 13:16, Andy Shevchenko wrote: On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: > On 17.05.21

Re: [PATCH RFC 01/10] common: Move host-only logic in image-sig.c to separate file

2021-05-17 Thread Alex G.
On 5/15/21 10:20 AM, Simon Glass wrote: Hi Alexandru, On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc wrote: image-sig.c is used to map a hash or crypto algorithm name to a handler of that algorithm. There is some similarity between the host and target variants, with the differences worked

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 4:29 PM Tom Rini wrote: > On Mon, May 17, 2021 at 03:21:41PM +0200, Heinrich Schuchardt wrote: > > On 17.05.21 13:44, Andy Shevchenko wrote: > > > On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt > > > wrote: > > >> > > >> On 17.05.21 13:16, Andy Shevchenko wrote: > >

Re: [PATCH v2 27/28] fs/squashfs: sqfs_read: fragmented files are not supported

2021-05-17 Thread Tom Rini
On Sun, May 16, 2021 at 09:44:53PM -0300, João Marcos Costa wrote: > Hello, > > Em ter., 11 de mai. de 2021 às 10:04, Richard Genoud < > richard.gen...@posteo.net> escreveu: > > > Hi all, > > > > Le 08/05/2021 à 23:51, Simon Glass a écrit : > > > Hi, > > > > > > On Thu, 4 Feb 2021 at 15:32, João

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Tom Rini
On Mon, May 17, 2021 at 03:21:41PM +0200, Heinrich Schuchardt wrote: > On 17.05.21 13:44, Andy Shevchenko wrote: > > On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt > > wrote: > >> > >> On 17.05.21 13:16, Andy Shevchenko wrote: > >>> On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich

[PATCH] imx: Add SeeedStudio NPI-IMX6ULL Support

2021-05-17 Thread Navin Sankar Velliangiri
From: NavinSankar Velliangiri CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz) CPU: Industrial temperature grade (-40C to 105C) at 49C Reset cause: POR Model: Seeed NPi iMX6ULL Dev Board with NAND Board: Seeed NPi i.MX6ULL Dev Board DRAM: 512 MiB NAND: 512 MiB MMC: FSL_SDHC: 0

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 4:21 PM Heinrich Schuchardt wrote: > On 17.05.21 13:44, Andy Shevchenko wrote: > > On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt > > wrote: > >> On 17.05.21 13:16, Andy Shevchenko wrote: > >>> On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: >

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 13:44, Andy Shevchenko wrote: > On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt > wrote: >> >> On 17.05.21 13:16, Andy Shevchenko wrote: >>> On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: On 17.05.21 08:33, Andy Shevchenko wrote: > On Thu, May 13,

Re: Unable to boot u-boot image from nand storage imx6ull.

2021-05-17 Thread Navin Sankar
On 04/05/21 10:01 pm, Tim Harvey wrote: On Tue, May 4, 2021 at 9:28 AM Navin Sankar wrote: On 04/05/21 8:49 pm, Tim Harvey wrote: On Sat, May 1, 2021 at 2:32 AM Navin Sankar wrote: Hello all, Ported uboot to seeed studio based imx6ull board. NAND Part Number - mt29f4g08abaeawp

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 2:35 PM Heinrich Schuchardt wrote: > > On 17.05.21 13:16, Andy Shevchenko wrote: > > On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: > >> On 17.05.21 08:33, Andy Shevchenko wrote: > >>> On Thu, May 13, 2021 at 2:41 PM Heinrich Schuchardt > >>> wrote:

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 13:16, Andy Shevchenko wrote: > On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: >> On 17.05.21 08:33, Andy Shevchenko wrote: >>> On Thu, May 13, 2021 at 2:41 PM Heinrich Schuchardt >>> wrote: Since commit 1ba21bb06b08 ("test: Don't unmount not (yet)

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Michal Simek
Hi, On 5/17/21 12:54 PM, Heinrich Schuchardt wrote: > On 5/17/21 11:47 AM, Michal Simek wrote: >> Hi Stefan, >> >> On 5/17/21 11:40 AM, Stefan Roese wrote: >>> Hi Michal, >>> >>> On 17.05.21 11:37, Michal Simek wrote: Hi, On 5/17/21 11:04 AM, Stefan Roese wrote: > Added Tom to

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Mon, May 17, 2021 at 10:48:33AM +0200, Heinrich Schuchardt wrote: > On 17.05.21 08:33, Andy Shevchenko wrote: > > On Thu, May 13, 2021 at 2:41 PM Heinrich Schuchardt > > wrote: > >> > >> Since commit 1ba21bb06b08 ("test: Don't unmount not (yet) mounted system") > >> the following tests are

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Heinrich Schuchardt
On 5/17/21 11:47 AM, Michal Simek wrote: Hi Stefan, On 5/17/21 11:40 AM, Stefan Roese wrote: Hi Michal, On 17.05.21 11:37, Michal Simek wrote: Hi, On 5/17/21 11:04 AM, Stefan Roese wrote: Added Tom to Cc. On 17.05.21 10:01, Heinrich Schuchardt wrote: On 17.05.21 08:39, Michal Simek

Re: [PATCH v5 08/10] configs: CHIP: add support for DIP detect functionality

2021-05-17 Thread Köry Maincent
Hello Andre, On Thu, 13 May 2021 12:03:05 +0100 Andre Przywara wrote: > On Tue, 4 May 2021 19:31:28 +0200 > Kory Maincent wrote: > > > This commit enables using the extension board detection mechanism on > > CHIP boards > > > > Signed-off-by: Kory Maincent > > Acked-by: Maxime Ripard >

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Michal Simek
Hi Stefan, On 5/17/21 11:40 AM, Stefan Roese wrote: > Hi Michal, > > On 17.05.21 11:37, Michal Simek wrote: >> Hi, >> >> On 5/17/21 11:04 AM, Stefan Roese wrote: >>> Added Tom to Cc. >>> >>> On 17.05.21 10:01, Heinrich Schuchardt wrote: On 17.05.21 08:39, Michal Simek wrote: > >

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Stefan Roese
Hi Michal, On 17.05.21 11:37, Michal Simek wrote: Hi, On 5/17/21 11:04 AM, Stefan Roese wrote: Added Tom to Cc. On 17.05.21 10:01, Heinrich Schuchardt wrote: On 17.05.21 08:39, Michal Simek wrote: On 5/16/21 11:17 AM, Heinrich Schuchardt wrote: Save some KiB when building 

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Michal Simek
Hi, On 5/17/21 11:04 AM, Stefan Roese wrote: > Added Tom to Cc. > > On 17.05.21 10:01, Heinrich Schuchardt wrote: >> On 17.05.21 08:39, Michal Simek wrote: >>> >>> >>> On 5/16/21 11:17 AM, Heinrich Schuchardt wrote: Save some KiB when building  xilinx_versal_virt_defconfig by disabling

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Stefan Roese
Added Tom to Cc. On 17.05.21 10:01, Heinrich Schuchardt wrote: On 17.05.21 08:39, Michal Simek wrote: On 5/16/21 11:17 AM, Heinrich Schuchardt wrote: Save some KiB when building xilinx_versal_virt_defconfig by disabling Unicode capitalization support. This avoids build failures when adding

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 08:33, Andy Shevchenko wrote: > On Thu, May 13, 2021 at 2:41 PM Heinrich Schuchardt > wrote: >> >> Since commit 1ba21bb06b08 ("test: Don't unmount not (yet) mounted system") >> the following tests are skipped: >> >> test/py/tests/test_fs/test_basic.py >>

Re: [PATCH] mtd: spi: add XT25F128B flash support

2021-05-17 Thread Pratyush Yadav
> Subject: [PATCH] mtd: spi: add XT25F128B flash support Subject prefix should be "mtd: spi-nor-ids: ..." On 14/05/21 06:03PM, Neil Armstrong wrote: > This adds the XTX Technology Inc. flash producer Kconfig entry to enable > support > for the 128Mbit XT25F128B NOR SPI flash. > >

Re: FW: [PATCH v4 00/13] riscv: Switch to use binman to generate u-boot.itb

2021-05-17 Thread Rick Chen
Hi Bin > Hi Rick, > > On Wed, May 12, 2021 at 11:25 AM Rick Chen wrote: > > > > HI Bin, > > > > > > > > > Hi Rick, > > > > > > > > On Tue, May 11, 2021 at 8:49 AM Rick Chen wrote: > > > > > > > > > > Hi Bin, > > > > > > > > > > > Hi Rick, > > > > > > > > > > > > On Mon, May 10, 2021 at 3:22 PM

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Heinrich Schuchardt
On 17.05.21 08:39, Michal Simek wrote: > > > On 5/16/21 11:17 AM, Heinrich Schuchardt wrote: >> Save some KiB when building xilinx_versal_virt_defconfig by disabling >> Unicode capitalization support. This avoids build failures when adding new >> features for the UEFI sub-system. >> >>

Re: [PATCH 1/1] fs/squashfs: zero out unused fields in fs_dirent

2021-05-17 Thread Miquel Raynal
Hi Heinrich, Heinrich Schuchardt wrote on Mon, 17 May 2021 08:21:39 +0200: > When reading directories the UEFI sub-system must supply file attributes > and timestamps. These fields will have to be added to struct fs_dirent. > SquashFS should not fill these fields with random data. Ensure that

[PATCH 6/6] arm: a37xx: pci: Increase PCIe MEM size from 16 MiB to 128 MiB - 64 KiB

2021-05-17 Thread Pali Rohár
For some configurations with more PCIe cards and PCIe bridges 16 MiB of PCIe MEM space is not enough. Since TF-A already allocates a 128 MiB CPU window for PCIe and IO port space is only 64 KiB in total, use all the remaining space for PCIe MEM. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún

[PATCH 3/6] arm: a37xx: pci: Fix DT compatible string to Linux' DT compatible

2021-05-17 Thread Pali Rohár
Change DT compatible string for A3700 PCIe from 'marvell,armada-37xx-pcie' to 'marvell,armada-3700-pcie' to make U-Boot A3700 PCIe DT node compatible with Linux' DT node. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- arch/arm/dts/armada-37xx.dtsi | 2 +- drivers/pci/pci-aardvark.c

[PATCH 5/6] arm: a37xx: pci: Fix a3700_fdt_fix_pcie_regions() function

2021-05-17 Thread Pali Rohár
Current version of this function uses a lot of incorrect assumptions about the `ranges` DT property: * parent(#address-cells) == 2 * #size-cells == 2 * number of entries == 2 * address size of first entry == 0x100 * second child address entry == base + 0x100 Trying to increase PCIe

[PATCH 4/6] arm: a37xx: pci: Find PCIe controller node by compatible instead of path

2021-05-17 Thread Pali Rohár
Find PCIe DT node by compatible string instead of retrieving it by using hardcoded DT path. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- arch/arm/mach-mvebu/armada3700/cpu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-mvebu/armada3700/cpu.c

[PATCH 1/6] arm: a37xx: pci: Don't put link into LTSSM Recovery state during probe

2021-05-17 Thread Pali Rohár
During our debugging of the Aardvark driver in Linux we have discovered that the PCIE_CORE_LINK_CTRL_STAT_REG register in fact controls standard PCIe Link Control Register for PCIe Root Bridge. This led us to discover that the name of the PCIE_CORE_LINK_TRAINING macro and the corresponding comment

[PATCH 2/6] arm: a37xx: pci: Disable bus mastering when unloading driver

2021-05-17 Thread Pali Rohár
Disable Root Bridge I/O space, memory space and bus mastering in Aardvark's remove method, which is called before booting Linux kernel. This ensures that PCIe device which was initialized and used by U-Boot cannot do new DMA transfers until Linux initializes PCI subsystem and loads appropriate

Re: [PATCH 1/1] xilinx: disable Unicode capitalization

2021-05-17 Thread Michal Simek
On 5/16/21 11:17 AM, Heinrich Schuchardt wrote: > Save some KiB when building xilinx_versal_virt_defconfig by disabling > Unicode capitalization support. This avoids build failures when adding new > features for the UEFI sub-system. > > Signed-off-by: Heinrich Schuchardt > --- > It would be

Re: [PATCH v2 4/4] test: Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Thu, May 13, 2021 at 2:32 PM Heinrich Schuchardt wrote: > On 2/11/21 3:40 PM, Andy Shevchenko wrote: > > When test suite tries to create a file for a new filesystem test case and > > fails, > > the clean up of the exception tries to unmount the image, that has not yet > > been > > mounted.

Re: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system

2021-05-17 Thread Andy Shevchenko
On Thu, May 13, 2021 at 2:41 PM Heinrich Schuchardt wrote: > > Since commit 1ba21bb06b08 ("test: Don't unmount not (yet) mounted system") > the following tests are skipped: > > test/py/tests/test_fs/test_basic.py > test/py/tests/test_fs/test_ext.py > > SKIPPED [13]

[PATCH 1/1] fs/squashfs: zero out unused fields in fs_dirent

2021-05-17 Thread Heinrich Schuchardt
When reading directories the UEFI sub-system must supply file attributes and timestamps. These fields will have to be added to struct fs_dirent. SquashFS should not fill these fields with random data. Ensure that they are zeroed out. Signed-off-by: Heinrich Schuchardt --- fs/squashfs/sqfs.c | 2

Re: [PATCH] tee: optee: sync cache on pre-reloc OP-TEE invocation

2021-05-17 Thread Jens Wiklander
On Wed, May 12, 2021 at 5:08 PM Etienne Carriere wrote: > > This change ensures both U-Boot and OP-TEE see the same content > from shared memory when OP-TEE is invoked prior U-Boot relocation. > > This change is required since U-Boot may execute with data cahce off > while OP-TEE always enables

Re: [PATCH 2/2] tee: optee: support session login as REE kernel

2021-05-17 Thread Jens Wiklander
On Wed, May 12, 2021 at 5:06 PM Etienne Carriere wrote: > > OP-TEE supports an API extension to allow client to open a TEE session > as REE kernel which OP-TEE uses to differentiate client application > services from system services that only the REE OS kernel can access. > > This change allows

Re: [PATCH 1/2] tee: define session login identifiers

2021-05-17 Thread Jens Wiklander
On Wed, May 12, 2021 at 5:06 PM Etienne Carriere wrote: > > TEE header file defines a clnt_login field in struct tee_open_session_arg > but does not define the values expected. This change define identifiers > for the field using a enumerated type. Back end TEE driver is expected to > convert