[PATCH v1 3/7] doc: board: apalis-imx8x: add documentation

2020-12-07 Thread sbabic
> From: Igor Opaniuk > This documents the u-boot build and deployment procedure. > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH v1 3/9] power: pmic: add SPL_DM_PMIC_PCA9450 symbol to Kconfig

2020-12-07 Thread sbabic
> From: Igor Opaniuk > Add SPL_DM_PMIC_PCA9450 symbol to Kconfig. > Signed-off-by: Igor Opaniuk > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH v1 2/7] board: toradex: add apalis-imx8x 2gb wb it v1.1a module support

2020-12-07 Thread sbabic
> From: Igor Opaniuk > This commit adds initial support for the Toradex Apalis iMX8X 2GB WB > IT V1.1A System on Module support [1]. > Boot log: > U-Boot 2020.10-02940-g894aebb7e8-dirty (Oct 22 2020 - 09:43:57 +0300) > CPU: NXP i.MX8QXP RevB A35 at 1200 MHz at 30C > DRAM: 2 GiB > MMC:

[PATCH v1 9/9] verdin-imx8mm: automatic ram size detection

2020-12-07 Thread sbabic
> From: Marcel Ziswiler > Implement board_phys_sdram_size() to automatically detect Verdin iMX8M > Mini DualLite 1GB vs. Verdin iMX8M Mini Quad 2GB. > Note: This only works if we keep using similar RAM chips! > Signed-off-by: Marcel Ziswiler > Acked-by: Oleksandr Suvorov Applied to u-boot-imx,

[PATCH v1 6/9] verdin-imx8mm: implement hardware version detection

2020-12-07 Thread sbabic
> From: Max Krummenacher > And select the correct devicetree accordingly by setting the variant > environment variable. > Signed-off-by: Igor Opaniuk > Signed-off-by: Max Krummenacher > Acked-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 4/4] imx: aristainetos: enable U-Boot Environment variables protection

2020-12-07 Thread sbabic
> enable Environment protection with: > CONFIG_ENV_APPEND=y > CONFIG_ENV_WRITEABLE_LIST=y > CONFIG_ENV_ACCESS_IGNORE_FORCE > and add board specific env_get_location() > function. > Signed-off-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] imx8mp_evk: README instruction fixes

2020-12-07 Thread sbabic
> Use the full name of firmware self extracting file to make it run. > Also, don't use sudo when not needed. > Signed-off-by: Baruch Siach Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH v1] imx: clk: added IPG Clock for I2C on imx8qm

2020-12-07 Thread sbabic
> This patch fixes this clk issue on I2C on imx8qm > => i2c bus > Bus 3: i2c@5a83 > => i2c dev 3 > Setting bus to 3 > Failed to enable ipg clk > Failure changing bus number (-524) > Signed-off-by: Oliver Graute > Cc: Stefano Babic > Cc: Peng Fan > Cc: uboot-imx > Reviewed-by:

Re: [u-boot, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash

2020-12-07 Thread Patrice CHOTARD
Hi Hongwei On 12/7/20 11:40 PM, Hongwei Zhang wrote: >> From: Patrice CHOTARD >> >> Hi Hongwei >> >> On 12/4/20 11:06 PM, Hongwei Zhang wrote: >>> Add STMICRO MT25QL01G flash, used on AST2600 board. >> MT25QL01G is not a STMicroelectronics flash but a Micron one ;-) > Thanks for the correction,

Re: U-Boot: spl: partition error (stm32mp157)

2020-12-07 Thread Patrice CHOTARD
Hi Jagan On 12/7/20 6:46 PM, Jagan Teki wrote: > Hi Patrick, > > Not sure, it's an issue with the current tree, or I may miss something. > > Any suggestions? > > U-Boot SPL 2021.01-rc2-00143-g345dd00160-dirty (Dec 07 2020 - 01:48:44 +0530) > Model: Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit >

RE: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support

2020-12-07 Thread Wasim Khan
-Original Message- From: U-Boot On Behalf Of Priyanka Jain Sent: Monday, December 7, 2020 5:56 PM To: Stephen Carlson ; U-Boot Mailing List Subject: RE: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support >-Original Message- >From: Stephen Carlson >Sent:

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-07 Thread Sughosh Ganu
On Mon, 7 Dec 2020 at 23:28, Heinrich Schuchardt wrote: > On 07.12.20 13:50, Heinrich Schuchardt wrote: > > On 07.12.20 06:15, Sughosh Ganu wrote: > >> hello Heinrich, > >> > >> On Sat, 5 Dec 2020 at 15:01, Heinrich Schuchardt >> > wrote: > >> > >> On 11/26/20

Re: [PATCH 06/14] qemu: arm64: Set dfu_alt_info variable for the platform

2020-12-07 Thread Sughosh Ganu
On Tue, 8 Dec 2020 at 00:17, Tom Rini wrote: > On Sat, Dec 05, 2020 at 11:31:49AM +0100, Heinrich Schuchardt wrote: > > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > > The dfu framework uses the dfu_alt_info environment variable to get > > > information that is needed for performing the firmware

Re: [PATCH 05/14] qemu: arm64: Add support for dynamic mtdparts for the platform

2020-12-07 Thread Sughosh Ganu
On Tue, 8 Dec 2020 at 00:14, Tom Rini wrote: > On Sat, Dec 05, 2020 at 11:29:58AM +0100, Heinrich Schuchardt wrote: > > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > > Add support for setting the default values for mtd partitions on the > > > platform for the nor flash. This would be used for

[PATCH v2 4/4] mkimge: Reject signing-related flags without FIT_SIGNATURE

2020-12-07 Thread Joel Stanley
When CONFIG_FIT_SIGNATURE=n the signing options are not available. If a user is careful they will notice this when looking at the help output. If they are not careful they will waste several hours wondering why their FIT doesn't contain a /signature node, as mkimage will silently ingore the

[PATCH v2 3/4] mkimage: Move padding commands outside of FIT_SIGNATURE

2020-12-07 Thread Joel Stanley
These commands were disabled when CONFIG_FIT_SIGNATURE is disabled, but they do not depend on crypto support so they can be unconditionally enabled. Signed-off-by: Joel Stanley -- v2: New patch --- tools/mkimage.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[PATCH v2 2/4] image-fit: Fix FIT_CIPHER linking

2020-12-07 Thread Joel Stanley
When CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n is there is no implementation of image_get_host_blob for mkimage/dumpimage: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data': image-cipher.c:(.text+0x9a): undefined reference to `image_get_host_blob' Move the

[PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl

2020-12-07 Thread Joel Stanley
If CONFIG_FIT_CIPHER is enabled without CONFIG_FIT_SIGNATURE then mkimage/dumpimage will fail to link: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data': image-cipher.c:(.text+0x9a): undefined reference to `image_get_host_blob' /usr/bin/ld:

[PATCH v2 0/4] mkimage usability fixes

2020-12-07 Thread Joel Stanley
v2: Move -B and -E out from FIT_SIGNATURE check, and other fixes from Philippe's review. Original cover letter: I was learning about signed FIT today and was unable to convince mkimage to produce a signature node in my control device tree. It turns out that Debian's packaged mkimage doesn't

Re: [PATCH 3/3] mkimge: Reject signing-related flags without FIT_SIGNATURE

2020-12-07 Thread Joel Stanley
On Mon, 7 Dec 2020 at 17:57, Philippe REYNES wrote: > > Hi Joel, > > Sorry for this very late answer. > > You're right, this is a bad behaviour, but I think that this > solution remove too many options. For example, If signature > is disabled, this solution also disable the padding in the fit

Re: [PATCH 2/3] image-cipher: Fix FIT_CIPHER linking

2020-12-07 Thread Joel Stanley
On Mon, 7 Dec 2020 at 17:07, Philippe REYNES wrote: > > Hi Joel, > > sorry for this very late answer .. > > > This patch fix this issue when only the ciphering is enabled. > But it breaks the compilation when signature and ciphering are > enabled, because both functions image_set_host_blob and >

Re: [u-boot, v2019.04-aspeed, v1 0/1] Common:fdt: Check for error return

2020-12-07 Thread Joel Stanley
On Thu, 3 Dec 2020 at 19:11, Hongwei Zhang wrote: > > Thanks Joel, > > > From: Joel Stanley > > Sent: Wednesday, December 2, 2020 9:17 PM > > To: Hongwei Zhang > > > > Hello Hongwei, > > > > On Wed, 2 Dec 2020 at 19:48, Hongwei Zhang wrote: > > > > > > Hello Reviewer, > > > > > > Check for

[PATCH] drivers/net: Add support for 10G Base-R IP core version to xilinx_axi_enet driver

2020-12-07 Thread Alessandro Temil
diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 8af3711204..3b739bd407 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ /* + * Copyright (C) 2020 Waymo LLC * Copyright (C) 2011

[u-boot, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash

2020-12-07 Thread Hongwei Zhang
>From: Patrice CHOTARD > >Hi Hongwei > >On 12/4/20 11:06 PM, Hongwei Zhang wrote: >> Add STMICRO MT25QL01G flash, used on AST2600 board. > >MT25QL01G is not a STMicroelectronics flash but a Micron one ;-) Thanks for the correction, Patrice. I came back to spi-nor-ids.c, there are two places in

[u-boot, v1 1/1] mtd: spi-nor-ids: add Micron MT25QL01G flash

2020-12-07 Thread Hongwei Zhang
Add Micron MT25QL01G flash, used on AST2600 board. Signed-off-by: Hongwei Zhang --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 09e8196048..6d22b80586 100644 ---

[u-boot, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash

2020-12-07 Thread Hongwei Zhang
Hello Reviewer, Micron MT25QL01G flash is used on AST2600 board, this patch add it in the table. Please add this update in v2019.04-aspeed-openbmc branch when it is accepted. If I need to submit a separate patch to that branch, please let me know. Thanks! Hongwei Zhang (1): mtd: spi-nor-ids:

Re: [SPECIFICATION RFC] The firmware and bootloader log specification

2020-12-07 Thread Tom Rini
On Fri, Dec 04, 2020 at 02:23:23PM +0100, Paul Menzel wrote: > Dear Wim, dear Daniel, > > > First, thank you for including all parties in the discussion. > Am 04.12.20 um 13:52 schrieb Wim Vervoorn: > > > I agree with you. Using an existing standard is better than inventing > > a new one in

Re: [PATCH v2 9/9] board: sl28: add OP-TEE Trusted OS support (bl32)

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:46:02PM +0100, Michael Walle wrote: > Add support to load the OP-TEE Trusted OS by the SPL. > > Signed-off-by: Michael Walle Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 8/9] board: sl28: add ATF support (bl31)

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:46:01PM +0100, Michael Walle wrote: > Add support to load the bl31 part of the ARM Trusted Firmware by the > SPL. > > Signed-off-by: Michael Walle Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 7/9] board: sl28: remove u-boot from loadable DT node

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:46:00PM +0100, Michael Walle wrote: > It is not needed. Remove it. > > Signed-off-by: Michael Walle Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 6/9] armv8: layerscape: don't initialize GIC in SPL

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:59PM +0100, Michael Walle wrote: > The BL31 expects the GIC to be uninitialized. Thus, if we are loading > the BL31 by the SPL we must not initialize it. If u-boot is loaded by > the SPL directly, it will initialize the GIC again (in the same > lowlevel_init()). > >

Re: [PATCH v2 7/9] board: sl28: remove u-boot from loadable DT node

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:46:00PM +0100, Michael Walle wrote: > It is not needed. Remove it. > > Signed-off-by: Michael Walle Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 5/9] spl: atf: add support for LOAD_IMAGE_V2

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:58PM +0100, Michael Walle wrote: > Newer platforms use the LOAD_IMAGE_V2 parameter passing method. Add > support for it. > > Signed-off-by: Michael Walle Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 4/9] spl: atf: remove helper structure from common header

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:57PM +0100, Michael Walle wrote: > bl2_to_bl31_params_mem is just an implementation detail of the SPL ATF > support and is not needed anywhere else. Move it from the header to the > actual module. > > Signed-off-by: Michael Walle > Acked-by: Michal Simek Applied

Re: [PATCH v2 3/9] spl: atf: provide a bl2_plat_get_bl31_params_default()

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:56PM +0100, Michael Walle wrote: > Move the actual implementation of the bl2_plat_get_bl31_params() to its > own function. The weak function will just call the default > implementation. This has the advantage that board code can still call > the original

Re: [PATCH v2 2/9] spl: atf: move storage for bl31_params into function

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:55PM +0100, Michael Walle wrote: > There is no need to have the storage available globally. This is also a > preparation for LOAD_IMAGE_V2 support. That will introduce a similar > generator function which also has its own storage. > > Signed-off-by: Michael Walle >

Re: [PATCH v2 1/9] treewide: use CONFIG_IS_ENABLED() for ARMV8_SEC_FIRMWARE_SUPPORT

2020-12-07 Thread Tom Rini
On Wed, Nov 18, 2020 at 05:45:54PM +0100, Michael Walle wrote: > There is SPL_ARMV8_SEC_FIRMWARE_SUPPORT and ARMV8_SEC_FIRMWARE_SUPPORT. > Thus use CONFIG_IS_ENABLED() instead of the simple #ifdef. > > Signed-off-by: Michael Walle > Acked-by: Michal Simek Applied to u-boot/next, thanks! --

Re: [PATCH v2 12/12] bootm: Support string substitution in bootargs

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:48AM -0700, Simon Glass wrote: > In some cases it is necessary to pass parameters to Linux so that it will > boot correctly. For example, the rootdev parameter is often used to > specify the root device. However the root device may change depending on > whence U-Boot

Re: [PATCH v2 11/12] cli: Support macro processing with a fixed-size buffer

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:47AM -0700, Simon Glass wrote: > At present cli_simple_process_macros() requires that the caller provide > an output buffer that is exactly CONFIG_SYS_CBSIZE bytes in length. This > makes sense since it is designed to be used from the command line. But we > also want

Re: [PATCH v2 10/12] x86: zimage: Add silent-console processing

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:46AM -0700, Simon Glass wrote: > At present zimage does its own command-line processing and does not > support the 'silent console' feature. There doesn't seem to be any good > reason for this. > > Add support for silent console to zimage. > > Signed-off-by: Simon

Re: [PATCH v2 09/12] bootm: Allow updating the bootargs in a buffer

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:45AM -0700, Simon Glass wrote: > At present we only support updating the 'bootargs' environment > variable. Add another function to update a buffer instead. This will > allow zimage to use this feature. > > Also add a lot more tests to cover various cases. > >

Re: [PATCH v2 08/12] bootm: Update bootm_process_cmdline_env() to use flags

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:44AM -0700, Simon Glass wrote: > At present only one transformation is supported: making the Linux console > silent. To prepare for adding more, convert the boolean parameter into a > flag value. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! --

Re: [PATCH v2 07/12] bootm: Split out bootargs environment reading / writing

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:43AM -0700, Simon Glass wrote: > At present bootm_process_cmdline_env() reads the 'bootargs' variable and > then writes it back afterwards. This is painful for tests, which would > rather use a simple buffer. > > It is also useful for zimage to use a buffer, since

Re: [PATCH v2 06/12] bootm: Use size rather than length for CONSOLE_ARG

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:42AM -0700, Simon Glass wrote: > Use the size (including terminator) for in this function, rather than > the length. This is arguably easier to follow, with the coming > refactor. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2 05/12] bootm: Add a bool parameter to bootm_process_cmdline_env()

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:41AM -0700, Simon Glass wrote: > This function will soon do more than just handle the 'silent linux' > feature. As a first step, update it to take a boolean parameter, > indicating whether or not the processing is required. > > Signed-off-by: Simon Glass Applied

Re: [PATCH v2 04/12] bootm: Rename fixup_silent_linux()

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:40AM -0700, Simon Glass wrote: > We want to add more processing to this function. Before doing so, rename > it to bootm_process_cmdline_env(), which is more generic. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH v2 02/12] bootm: Add tests for fixup_silent_linux()

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:38AM -0700, Simon Glass wrote: > This function currently has no tests. Export it so that we can implement > a simple test on sandbox. Use IS_ENABLED() to remove the unused code, > instead #ifdef. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! --

Re: [PATCH v2 03/12] bootm: Update fixup_silent_linux() to return an error

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:39AM -0700, Simon Glass wrote: > At present this function fails silently on error. Update it to produce > an error code. Report this error to the user and abort the boot, since it > likely will prevent a successful start. > > No tests are added at this stage, since

Re: [PATCH v2 01/12] env: Allow returning errors from hdelete_r()

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:37AM -0700, Simon Glass wrote: > At present this function returns 1 on success and 0 on failure. But in > the latter case it provides no indication of what went wrong. > > If an attempt is made to delete a non-existent variable, the caller may > want to ignore this

Re: [PATCH] mmc: initialize an err variable

2020-12-07 Thread Tom Rini
On Fri, Dec 04, 2020 at 06:36:00AM +0900, Jaehoon Chung wrote: > Initialize an err variable to 0. > > Signed-off-by: Jaehoon Chung Reported-by: Coverity (CID: 313548) Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-marvell/master

2020-12-07 Thread Tom Rini
On Mon, Dec 07, 2020 at 12:18:28PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull an update of Marvell Armada related fixes and minor > additions. Here the summary log: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] mmc: meson-gx: change clock phase value on AGX SoCs

2020-12-07 Thread Jaehoon Chung
Hi, On 12/8/20 2:15 AM, Stefan Agner wrote: > Amlogic AGX SoCs seem to have issue communicating with some eMMC > devices (in particular with a Micron 128GB eMMC 5.1). The device > is detected with 1-bit bus width, and at higher temperature loading > pretty much anything from the storage fails:

[PATCH v3 07/34] ARM: dts: sama7g5: add slow rc and main rc oscillators

2020-12-07 Thread Eugen Hristev
From: Claudiu Beznea Add slow rc and main rc oscillators to dtsi. Signed-off-by: Claudiu Beznea --- Changes in v3: - adapt slow rc frequency to real value: 32 kHz arch/arm/dts/sama7g5.dtsi | 12 arch/arm/dts/sama7g5ek-u-boot.dtsi | 8 2 files changed, 20

Re: [PATCH 06/14] qemu: arm64: Set dfu_alt_info variable for the platform

2020-12-07 Thread Tom Rini
On Sat, Dec 05, 2020 at 11:31:49AM +0100, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > The dfu framework uses the dfu_alt_info environment variable to get > > information that is needed for performing the firmware update. Set the > > dfu_alt_info for the platform to

Re: [PATCH 05/14] qemu: arm64: Add support for dynamic mtdparts for the platform

2020-12-07 Thread Tom Rini
On Sat, Dec 05, 2020 at 11:29:58AM +0100, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > Add support for setting the default values for mtd partitions on the > > platform for the nor flash. This would be used for updating the > > firmware image using uefi capsule update

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-07 Thread Heinrich Schuchardt
On 07.12.20 13:50, Heinrich Schuchardt wrote: > On 07.12.20 06:15, Sughosh Ganu wrote: >> hello Heinrich, >> >> On Sat, 5 Dec 2020 at 15:01, Heinrich Schuchardt > > wrote: >> >> On 11/26/20 7:40 PM, Sughosh Ganu wrote: >> > The Qemu platform emulator generates a

Re: [PATCH 3/3] mkimge: Reject signing-related flags without FIT_SIGNATURE

2020-12-07 Thread Philippe REYNES
Hi Joel, Sorry for this very late answer. You're right, this is a bad behaviour, but I think that this solution remove too many options. For example, If signature is disabled, this solution also disable the padding in the fit image. Looking a bit deeper, this patch removes all options that are

Re: [PATCH] sunxi: Add arm64 FEL support

2020-12-07 Thread Jagan Teki
On Thu, Nov 19, 2020 at 4:24 PM Andre Przywara wrote: > > So far we did not support the BootROM based FEL USB debug mode on the > 64-bit builds for Allwinner SoCs: The BootROM is using AArch32, but the > SPL runs in AArch64. > Returning back to AArch32 was not working as expected, since the RMR >

Re: [PATCH 1/2] spi: mtk_snor: add support for MTK SPI NOR controller

2020-12-07 Thread Jagan Teki
On Fri, Nov 13, 2020 at 8:32 AM SkyLake Huang wrote: > > From: "SkyLake.Huang" > > This patch adds support for MTK SPI NOR controller, which you > can see on mt7622 & mt7629. > > This controller is designed only for SPI NOR. We can't adjust > its bus clock dynamically. Set clock in dts instead.

U-Boot: spl: partition error (stm32mp157)

2020-12-07 Thread Jagan Teki
Hi Patrick, Not sure, it's an issue with the current tree, or I may miss something. Any suggestions? U-Boot SPL 2021.01-rc2-00143-g345dd00160-dirty (Dec 07 2020 - 01:48:44 +0530) Model: Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit RAM: DDR3-DDR3L 32bits 528000Khz WDT: Started with servicing

[PATCH 1/1] efi_loader: remove EFI_HII_CONFIG_ROUTING_PROTOCOL

2020-12-07 Thread Heinrich Schuchardt
Our implementation of the EFI_HII_CONFIG_ROUTING_PROTOCOL is a mere stub, where all services return an error code. The protocol is neither needed for the EFI shell nor for the UEFI SCT. To reduce the code size remove it from the U-Boot binary. Signed-off-by: Heinrich Schuchardt ---

[PATCH] mmc: meson-gx: change clock phase value on AGX SoCs

2020-12-07 Thread Stefan Agner
Amlogic AGX SoCs seem to have issue communicating with some eMMC devices (in particular with a Micron 128GB eMMC 5.1). The device is detected with 1-bit bus width, and at higher temperature loading pretty much anything from the storage fails: (e.g. fs_devread read error - block). When phase is

Re: [PATCH 2/3] image-cipher: Fix FIT_CIPHER linking

2020-12-07 Thread Philippe REYNES
Hi Joel, sorry for this very late answer .. This patch fix this issue when only the ciphering is enabled. But it breaks the compilation when signature and ciphering are enabled, because both functions image_set_host_blob and image_get_host_blob are defined twice. So it is a NAK for me. A

Re: [PATCH 1/3] tools/Makefile: FIT_CIPHER requires libssl

2020-12-07 Thread Philippe REYNES
Hi Joel, Sorry, for this very late answer. Le 11/11/2020 à 12:18, Joel Stanley a écrit : If CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n then mkimage and dumpimage will fail to link: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data':

RE: [PATCH v2 1/3] MAINTAINERS: Update ARM STI and ARM STM STM32MP Arch maintainers emails

2020-12-07 Thread Patrick DELAUNAY
Hi Patrice, > From: Patrice CHOTARD - foss > Sent: mercredi 2 décembre 2020 18:47 > > Update Patrick and my email address with the one dedicated to upstream > activities. > > Signed-off-by: Patrice Chotard > --- > > (no changes since v1) > > MAINTAINERS | 6 +++--- > 1 file changed, 3

RE: [PATCH v2 2/3] treewide: Update email address Patrick Delaunay and Patrice Chotard

2020-12-07 Thread Patrick DELAUNAY
Hi Patrice, > From: Patrice CHOTARD - foss > Sent: mercredi 2 décembre 2020 18:48 > > Update Patrick and my email address with the one dedicated to upstream > activities. > > Signed-off-by: Patrice Chotard > --- > > (no changes since v1) > > arch/arm/include/asm/arch-stih410/sdhci.h

RE: [PATCH v2 3/3] .mailmap: map Patrick Delaunay and my email address

2020-12-07 Thread Patrick DELAUNAY
Hi Patrice, > From: Patrice CHOTARD - foss > Sent: mercredi 2 décembre 2020 18:48 > To: u-boot@lists.denx.de > > Add our new email address dedicated for upstream activities. > > Signed-off-by: Patrice Chotard > > --- > > Changes in v2: > - Add .mailmap update > > .mailmap | 2 ++ > 1

Re: Pull request, u-boot-tegra/master

2020-12-07 Thread Tom Rini
On Fri, Dec 04, 2020 at 03:47:00PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks. > > All Tegra builds are OK on my system, and Stephen's test frame reports that > all tests pass. > > The following changes since commit

Re: [u-boot, v1 1/1] mtd: spi-nor-ids: add STMICRO MT25QL01G flash

2020-12-07 Thread Patrice CHOTARD
Hi Hongwei On 12/4/20 11:06 PM, Hongwei Zhang wrote: > Add STMICRO MT25QL01G flash, used on AST2600 board. MT25QL01G is not a STMicroelectronics flash but a Micron one ;-) Patrice > > Signed-off-by: Hongwei Zhang > --- > drivers/mtd/spi/spi-nor-ids.c | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-12-07 Thread Alex G.
On 11/3/20 9:11 AM, Simon Glass wrote: +Tom Rini too ping? Alex On Wed, 21 Oct 2020 at 17:33, Alexandru Gagniuc wrote: Fit images were loaded to a buffer provided by spl_get_load_buffer(). This may work when the FIT image is small and fits between the start of DRAM and SYS_TEXT_BASE.

[PATCH v4 1/2] arm: dts: add imx8mm-cl-iot-gate dts file

2020-12-07 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add board dts for imx8mm-cl-iot-gate Signed-off-by: Kirill Kapranov Signed-off-by: Uri Mashiach Signed-off-by: Valentin Raevsky Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Peter Robinson --- v2: Rename iot-gate-imx8 -> imx8mm-cl-iot-gate v4: Re-sent for

[PATCH v4 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate)

2020-12-07 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add initial support for Compulab iot-gate-imx8 board (imx8mm-cl-iot-gate). The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): arm: dts: add imx8mm-cl-iot-gate dts file arm: imx8m: add support for Compulab

[PATCH v3 1/2] arm: dts: add imx8mm-cl-iot-gate dts file

2020-12-07 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add board dts for imx8mm-cl-iot-gate Signed-off-by: Kirill Kapranov Signed-off-by: Uri Mashiach Signed-off-by: Valentin Raevsky Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Peter Robinson --- arch/arm/dts/Makefile | 2 +

[PATCH v3 0/2] add support for Compulab iot-gate-imx8

2020-12-07 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add initial support for Compulab iot-gate-imx8 board (imx8mm-cl-iot-gate). The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): arm: dts: add imx8mm-cl-iot-gate dts file arm: imx8m: add support for Compulab

Re: [PATCH] mtd: spi-nor-ids: Add SECT_4K to mx25l12805d

2020-12-07 Thread Robert Marko
On Fri, Oct 23, 2020 at 10:54 AM Jagan Teki wrote: > > On Mon, Sep 14, 2020 at 7:04 PM Robert Marko wrote: > > > > According to the mx25l12805d datasheet it supports using 4K or 64K sectors. > > So lets add the SECT_4K to enable 4K sector usage. > > > > Datasheet: > >

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-07 Thread Heinrich Schuchardt
On 07.12.20 06:15, Sughosh Ganu wrote: > hello Heinrich, > > On Sat, 5 Dec 2020 at 15:01, Heinrich Schuchardt > wrote: > > On 11/26/20 7:40 PM, Sughosh Ganu wrote: > > The Qemu platform emulator generates a device tree blob and places it > > at the start of

Re: [BUG]odroid-c2 does not hotplug usb-devices

2020-12-07 Thread Otto Meier
Am 07.12.20 um 13:29 schrieb Neil Armstrong: Hi, (Please CC u-boot-amlo...@groups.io when U-Boot is concerned) On 07/12/2020 13:19, Otto Meier wrote: Hi Martin, I did a lot of googling this weekend and found some interesting problems with odroid-c2. 1. booting from emmc stop after

[PATCH] ARM: dts: at91: sama5d2_icp: fix i2c eeprom compatible

2020-12-07 Thread Eugen Hristev
The correct compatible for this eeproms is microchip,24aa02e48 The previous compatible string was working up to U-boot 2020.04. Signed-off-by: Eugen Hristev Tested-by: Codrin Ciubotariu --- arch/arm/dts/at91-sama5d2_icp.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [BUG]odroid-c2 does not hotplug usb-devices

2020-12-07 Thread Neil Armstrong
Hi, (Please CC u-boot-amlo...@groups.io when U-Boot is concerned) On 07/12/2020 13:19, Otto Meier wrote: > Hi Martin, > > > I did a lot of googling this weekend and found some interesting problems with > odroid-c2. > > 1. booting from emmc stop after u-boot 2020.04 (this hits me also)

RE: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Stephen Carlson >Sent: Tuesday, November 3, 2020 3:06 AM >To: U-Boot Mailing List >Cc: Priyanka Jain >Subject: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support > >This patch adds support for more PMBus compatible devices to the NXP drivers

Re: [BUG]odroid-c2 does not hotplug usb-devices

2020-12-07 Thread Otto Meier
Hi Martin, I did a lot of googling this weekend and found some interesting problems with odroid-c2. 1. booting from emmc stop after u-boot 2020.04 (this hits me also) 2. usb did not work with newer kernels. This gaves me the idea that something in the configuration of the s905 soc is not ok.

Re: [PATCH] clk: at91: sam9x60: remove the parsing of atmel,main-osc-bypass

2020-12-07 Thread Eugen.Hristev
On 02.12.2020 13:39, Claudiu Beznea wrote: > Remove the parsing of atmel,main-osc-bypass DT property as the SAM9X60 > have no support for crystal oscillator bypass. Setting this bit might > affect the device functionality. > > Fixes: a64862284f65 ("clk: at91: sam9x60: add support compatible with

Please pull u-boot-marvell/master

2020-12-07 Thread Stefan Roese
Hi Tom, please pull an update of Marvell Armada related fixes and minor additions. Here the summary log: - Espressobin: Simplify DT handling of board variants (Pali) - Add Luka Perkov to maintainers of Puzzle-M801 (Luka) - Armada

Re: [PATCH] arm: mvebu: puzzle-m801: Add a maintainer

2020-12-07 Thread Stefan Roese
On 29.10.20 22:30, Luka Kovacic wrote: Add Luka Perkov to Puzzle-M801 BOARD MAINTAINERS. Signed-off-by: Luka Kovacic Cc: Luka Perkov Applied to u-boot-marvell/master Thanks, Stefan --- board/Marvell/mvebu_armada-8k/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2] arm: mvebu: a38x: Configurable USB2 high-speed impedance threshold

2020-12-07 Thread Stefan Roese
On 08.11.20 22:14, Joshua Scott wrote: Hardware testing of a board using the Armada 385 has shown that an impedance threshold setting of 0x7 performs better in an eye-diagram test than with Marvell's recommended value 0x6. As other boards may still perform better with Marvell's reccomended

Re: [PATCH 0/4] Use just one DTS file for all Espressobin variants

2020-12-07 Thread Stefan Roese
On 25.11.20 19:20, Pali Rohár wrote: This patch series change Espressobin code to use in U-Boot just one DTS file for all Espressobin variants. Therefore DT compatible string globalscale,espressobin-emmc is not used anymore as it is not needed. It means that setup and compilation of U-Boot for

Re: [PATCH 4/4] arm: mvebu: Espressobin: Detect presence of emmc at runtime

2020-12-07 Thread Stefan Roese
On 05.12.20 13:44, Pali Rohár wrote: On Thursday 03 December 2020 17:30:44 Stefan Roese wrote: On 03.12.20 16:56, Pali Rohár wrote: On Wednesday 02 December 2020 15:35:08 Andre Heider wrote: On 25/11/2020 19:20, Pali Rohár wrote: Try to initialize emmc in board_late_init() and if it fails

RE: [PATCH v2 1/1] board: freescale: vid.c: Add check for return value of adjust_vdd()

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Priyanka Singh >Sent: Wednesday, November 25, 2020 2:59 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Biwen Li ; >Priyanka Singh >Subject: [PATCH v2 1/1] board: freescale: vid.c: Add check for return value of >adjust_vdd() > >From: Biwen Li > >Add check

RE: [PATCH 10/15] configs: ls1043a: enable CONFIG_MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 10/15] configs: ls1043a: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable CONFIG_MPC8XXX_GPIO for SoC

RE: [PATCH 12/15] configs: ls1088a: enable CONFIG_MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 12/15] configs: ls1088a: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable CONFIG_MPC8XXX_GPIO for LS1088A

RE: [PATCH 15/15] configs: ls1046a: enable MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 15/15] configs: ls1046a: enable MPC8XXX_GPIO > >From: Biwen Li > >Enable MPC8XXX_GPIO for SoC LS1046A >

RE: [PATCH 11/15] configs: ls1028a: enable CONFIG_MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 11/15] configs: ls1028a: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable CONFIG_MPC8XXX_GPIO for SoC

RE: [PATCH 14/15] configs: lx2160a: enable CONFIG_MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 14/15] configs: lx2160a: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable CONFIG_MPC8XXX_GPIO for SoC

RE: [PATCH 13/15] configs: ls208xa: enable CONFIG_MPC8XXX_GPIO

2020-12-07 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Friday, October 16, 2020 2:42 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [PATCH 13/15] configs: ls208xa: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable CONFIG_MPC8XXX_GPIO for LS208xA

[PATCH] common: splash_source: fix -Wint-to-pointer-cast warning

2020-12-07 Thread Jaehoon Chung
Fix -Wint-to-pointer-cast warning common/splash_source.c: In function 'splash_load_raw': common/splash_source.c:100:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 100 | bmp_hdr = (struct bmp_header *)bmp_load_addr; |^