Re: [PATCH] imx8mn-*-evk: rename mkimage config

2022-05-13 Thread Heiko Thiery
Hi Stefano, Am Di., 22. Feb. 2022 um 15:48 Uhr schrieb Heiko Thiery : > > Since this configuration is used for several imx8mn-evk boards the > suffix ddr4 is misleading. > > Signed-off-by: Heiko Thiery > --- This patch and some others are prerequisites for the "[v3] imx: add i.MX8MN DDR3L evk bo

Re: imx6ull: NAND boot fails when block 0x00000000 is bad

2022-05-13 Thread Thierry Bultel
Hi Michael, I am using version 2022.04 |Colibri iMX6ULL # nand erase.chip NAND erase.chip: device 0 whole chip Skipping bad block at 0x Skipping bad block at 0x1ff8| Thierry Le 13/05/2022 à 20:00, Michael Nazzareno Trimarchi a écrit : Hi Thierry Il ven 13 mag 2022, 19:56 Fabio

Re: [PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread qianfan
在 2022/5/14 11:52, Chen-Yu Tsai 写道: Hi, On Sat, May 14, 2022 at 11:19 AM wrote: From: qianfan Zhao linux system will die if we offline one of the cpu on R40 based board: eg: echo 0 > /sys/devices/system/cpu/cpu3/online Fixed sunxi_power_switch based on allwinner lichee 3.10 kernel driver

Re: [PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread Chen-Yu Tsai
Hi, On Sat, May 14, 2022 at 11:19 AM wrote: > > From: qianfan Zhao > > linux system will die if we offline one of the cpu on R40 based board: > eg: echo 0 > /sys/devices/system/cpu/cpu3/online > > Fixed sunxi_power_switch based on allwinner lichee 3.10 kernel driver. > > Signed-off-by: qianfan Z

[PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread qianfanguijin
From: qianfan Zhao linux system will die if we offline one of the cpu on R40 based board: eg: echo 0 > /sys/devices/system/cpu/cpu3/online Fixed sunxi_power_switch based on allwinner lichee 3.10 kernel driver. Signed-off-by: qianfan Zhao --- v2 changes: Fix the commit message, the source code

Broken support for 4GB DDR on 32-bit platforms

2022-05-13 Thread Pali Rohár
Hello! I tried to enable support for 2GB+ of DDR memory (with 4GB DDR3) on powerpc P2020 board in 32-bit addressing mode and U-Boot crashed during startup. I figured out that issue is not powerpc specific, but rather generic to all 32-bit platforms. U-Boot stores memory size into phys_size_t type

[PATCH] mtd: mtdpart: Change size type from fdt_addr_t to fdt_size_t

2022-05-13 Thread Pali Rohár
Set correct type for 3rd argument of ofnode_get_addr_size_index_notrans() function. It expects fdt_size_t * and not fdt_addr_t *. When these two types do not have same size then U-Boot throw compile warning: drivers/mtd/mtdpart.c: In function ‘add_mtd_partitions_of’: drivers/mtd/mtdpart.c

[PATCH 2/2] tpm: add support for TPMv2.x I2C chips

2022-05-13 Thread Eddie James
Add the tpm2_tis_i2c driver that should support any TPMv2 compliant I2C chips, such as the NPCT75X chip. Signed-off-by: Eddie James --- drivers/tpm/Kconfig| 9 ++ drivers/tpm/Makefile | 1 + drivers/tpm/tpm2_tis_i2c.c | 171 + 3 files changed

[PATCH 1/2] tpm: core: Set timeouts before requesting locality

2022-05-13 Thread Eddie James
Requesting the locality uses the timeout values, so they need to be set beforehand. Signed-off-by: Eddie James --- drivers/tpm/tpm2_tis_core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/tpm/tpm2_tis_core.c b/drivers/tpm/tpm2_tis_core.c index 51392c4584..98

[PATCH 0/2] tpm: Add support for TPMv2.x I2C chips

2022-05-13 Thread Eddie James
Add a tpm driver that should support any TPMv2 compliant I2C chips, such as the NPCT75X chip. In my testing I also noticed that the timeouts weren't set before requesting the locality so I have included a fix. Eddie James (2): tpm: core: Set timeouts before requesting locality tpm: add support

Re: imx6ull: NAND boot fails when block 0x00000000 is bad

2022-05-13 Thread Michael Nazzareno Trimarchi
Hi Thierry Il ven 13 mag 2022, 19:56 Fabio Estevam ha scritto: > [Adding some more folks] > > On Fri, May 13, 2022 at 2:41 PM Thierry Bultel > wrote: > > > > Hi, > > > > I have a imx6ull module from Toradex, with NAND flash. U-boot does not > > have SPL. > > I does not boot from NAND flash anym

Re: imx6ull: NAND boot fails when block 0x00000000 is bad

2022-05-13 Thread Fabio Estevam
[Adding some more folks] On Fri, May 13, 2022 at 2:41 PM Thierry Bultel wrote: > > Hi, > > I have a imx6ull module from Toradex, with NAND flash. U-boot does not > have SPL. > I does not boot from NAND flash anymore, I was able to flash it several > times with tezi, as well as with > nandbcb (tha

imx6ull: NAND boot fails when block 0x00000000 is bad

2022-05-13 Thread Thierry Bultel
Hi, I have a imx6ull module from Toradex, with NAND flash. U-boot does not have SPL. I does not boot from NAND flash anymore, I was able to flash it several times with tezi, as well as with nandbcb (that I discovered more recently). There are error messages complaining about some bad blocks,

Re: [PATCH v2 1/6] arm_ffa: introduce Arm FF-A low-level driver

2022-05-13 Thread Jens Wiklander
On Fri, Apr 15, 2022 at 01:27:58PM +0100, abdellatif.elkhl...@arm.com wrote: > From: Abdellatif El Khlifi > > Add the driver implementing Arm Firmware Framework for Armv8-A v1.0 > > The Firmware Framework for Arm A-profile processors (FF-A) > describes interfaces (ABIs) that standardize communic

Re: [PATCH v2 1/6] arm_ffa: introduce Arm FF-A low-level driver

2022-05-13 Thread Ilias Apalodimas
Hi Abdellatif On Fri, Apr 15, 2022 at 01:27:58PM +0100, abdellatif.elkhl...@arm.com wrote: > From: Abdellatif El Khlifi > > Add the driver implementing Arm Firmware Framework for Armv8-A v1.0 > > The Firmware Framework for Arm A-profile processors (FF-A) > describes interfaces (ABIs) that standa

Re: [PATCH] RockPi4: Add UEFI capsule update support

2022-05-13 Thread Jerome Forissier
On 5/13/22 08:50, Sughosh Ganu wrote: > Add support for updating the idbloader and u-boot images through the > UEFI capsule update functionality. Enable the modules required for > supporting the functionality. > > The implementation is for the updatable images placed on a GPT > partitioned stor

[PATCH v2] arm: socfpga: soc64: To notify SDM when U-Boot pass control to Linux

2022-05-13 Thread dinesh . maniyam
From: Dinesh Maniyam Prior U-Boot pass control to Linux, U-Boot will send a mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW transition. Signed-off-by: Dinesh Maniyam --- v1->v2 Add space in title --- arch/arm/mach-socfpga/misc_soc64.c | 5 + 1 file chan

[PATCH v2] ddr: altera: soc64: Integer fix overflow that caused DDR size mismatched

2022-05-13 Thread dinesh . maniyam
From: Dinesh Maniyam Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Dinesh Maniyam --- v1->v2 - Add space in title --- drivers/ddr/altera/sdram_soc64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drive

Re: [PATCH v1] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread Peter Robinson
On Fri, May 13, 2022 at 10:25 AM wrote: > > From: qianfan Zhao > > linux system will dead if we offline one of the cpu on R40 based board: Minor nit this should read "will die" not "will dead" > eg: echo 0 > /sys/devices/system/cpu/cpu3/online > > Fixed sunxi_power_switch based on allwinner lic

[PATCH v1] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread qianfanguijin
From: qianfan Zhao linux system will dead if we offline one of the cpu on R40 based board: eg: echo 0 > /sys/devices/system/cpu/cpu3/online Fixed sunxi_power_switch based on allwinner lichee 3.10 kernel driver. Signed-off-by: qianfan Zhao --- arch/arm/cpu/armv7/sunxi/psci.c | 24 +

[PATCH 1/1] config: ls2088ardb: Add config CONFIG_SYS_FLASH_CFI_WIDTH

2022-05-13 Thread Priyanka Singh
Add config CONFIG_SYS_FLASH_CFI_WIDTH as FLASH_CFI_16BIT to fix flash writing issue on ls2088ardb platform introduced by the commit '53879b1738' (cfi_flash: Fix detection of 8-bit bus flash devices via address shift) Signed-off-by: Priyanka Singh --- include/configs/ls2080ardb.h | 4 +++- 1 file