RE: [PATCH 4/4] fit: Use DM hash driver if supported

2021-09-21 Thread ChiaWei Wang
Hi Alex, > From: Alex G. > Sent: Friday, September 17, 2021 12:00 AM > > On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > Calculate hash using DM driver if supported. > > For backward compatibility, the call to legacy hash functions is > > reserved. > > > > Signed-off-by: Chia-Wei Wang > > --- > >

RE: [PATCH 3/4] crypto: hash: Add software hash DM driver

2021-09-21 Thread ChiaWei Wang
Hi Alex, > From: Alex G. > Sent: Thursday, September 16, 2021 11:49 PM > > On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > Add purely software-implmented drivers to support multiple hash > > operations including CRC, MD5, and SHA family. > > > > This driver is based on the new hash uclass. > > > >

RE: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-21 Thread ChiaWei Wang
Hi Alex, > From: Alex G. > Sent: Thursday, September 16, 2021 11:43 PM > > Hi, > > On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > Add UCLASS_HASH for hash driver development. Thus the hash drivers (SW > > or HW-accelerated) can be developed in the DM-based fashion. > > Software hashing implement

Re: Question about extension board used in U-boot

2021-09-21 Thread Ying-Chun Liu (PaulLiu)
Hi Heinrich, I think I met some chicken and egg problem. Or I misunderstand something you mentioned. So I tried board_fdt_blob_setup() and board_fix_fdt(). Both are too early. I need i2c to be drived first. And then I can use dm_i2c_probe() on different address to detect which extension board it

Status of the various RISC-V specification and policy

2021-09-21 Thread Atish Patra
Hi All, Please find the below email from Stephano about the freeze announcement for various RISC-V specifications that will be part of privilege specification v1.12. All the review discussions are happening in the isa-dev mailing list. The review period will be open for 45 days ending Sunday Octobe

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

2021-09-21 Thread Julius Werner
> Since it doesn't seem possible to have each boot component using the same log > format, we added a log_format and log_phys_addr fields to give flexibility in > how logs are stored. An example of a different log format that can be used is > the cbmem_console log format used by coreboot: I am not

Re: [PATCH] Taking over responsibility for GE boards from Sebastian

2021-09-21 Thread Sebastian Reichel
Hi, On Tue, Sep 21, 2021 at 05:35:06PM +0100, Martyn Welch wrote: > I am taking over responsibility for the GE board from Sebastian Reichel. > Updating the MAINTAINERS files to reflect this. > > Signed-off-by: Martyn Welch Acked-by: Sebastian Reichel -- Sebastian > --- > board/ge/b1x5v2/MAI

Re: [PATCH] configs: Migrate CONFIG_ST_SMI to Kconfig

2021-09-21 Thread Tom Rini
On Tue, Sep 21, 2021 at 06:36:03PM +0200, Patrick Delaunay wrote: > Use moveconfig.py script to convert the define CONFIG_ST_SMI to Kconfig > and move this entries to defconfigs. > > Before migration, the st_smi.c driver was empty when CONFIG_MTD_NOR_FLASH > wasn't activated; it is now managed in

[PATCH] Taking over responsibility for GE boards from Sebastian

2021-09-21 Thread Martyn Welch
I am taking over responsibility for the GE board from Sebastian Reichel. Updating the MAINTAINERS files to reflect this. Signed-off-by: Martyn Welch --- board/ge/b1x5v2/MAINTAINERS | 2 +- board/ge/bx50v3/MAINTAINERS | 2 +- board/ge/mx53ppd/MAINTAINERS | 2 +- 3 files changed, 3 insertions(+)

[PATCH] configs: Migrate CONFIG_ST_SMI to Kconfig

2021-09-21 Thread Patrick Delaunay
Use moveconfig.py script to convert the define CONFIG_ST_SMI to Kconfig and move this entries to defconfigs. Before migration, the st_smi.c driver was empty when CONFIG_MTD_NOR_FLASH wasn't activated; it is now managed in Kconfig by the "depends on" and this driver is not compiled. After this pat

[PATCH] MAINTAINERS: remove SPEAR entry

2021-09-21 Thread Patrick Delaunay
As the lastest spear directories are removed, delete the associated entry in the MAINTAINERS file: - arch/arm/cpu/arm926ejs/spear/ - arch/arm/include/asm/arch-spear/ Fixes: 570c3dcfc153 ("arm: Remove spear600 boards and the rest of SPEAr support") Signed-off-by: Patrick Delaunay --- MAINTAINER

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-21 Thread Mark Kettenis
> From: Bin Meng > Date: Tue, 21 Sep 2021 23:53:10 +0800 > > On Tue, Sep 21, 2021 at 8:42 PM Tom Rini wrote: > > > > On Sun, Sep 19, 2021 at 10:33:25PM +0200, Mark Kettenis wrote: > > > > From: Bin Meng > > > > Date: Sun, 19 Sep 2021 09:17:07 +0800 > > > > > > > > Hi Mark, > > > > > > > > On Su

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-21 Thread Tom Rini
On Tue, Sep 21, 2021 at 11:53:10PM +0800, Bin Meng wrote: > On Tue, Sep 21, 2021 at 8:42 PM Tom Rini wrote: > > > > On Sun, Sep 19, 2021 at 10:33:25PM +0200, Mark Kettenis wrote: > > > > From: Bin Meng > > > > Date: Sun, 19 Sep 2021 09:17:07 +0800 > > > > > > > > Hi Mark, > > > > > > > > On Sun,

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-21 Thread Bin Meng
On Tue, Sep 21, 2021 at 8:42 PM Tom Rini wrote: > > On Sun, Sep 19, 2021 at 10:33:25PM +0200, Mark Kettenis wrote: > > > From: Bin Meng > > > Date: Sun, 19 Sep 2021 09:17:07 +0800 > > > > > > Hi Mark, > > > > > > On Sun, Sep 19, 2021 at 9:04 AM Bin Meng wrote: > > > > > > > > Hi Mark, > > > > >

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

2021-09-21 Thread Peter Stuge
Alec Brown wrote: > Below is how the layout of these logs would store their data. > > bf_log_header: >+---+ > u32| version | > u32| size | > u8[64] | producer | > u8[64] | log_format| >

Re: [PATCH] Makefile: Add a warning about ad-hoc CONFIG options

2021-09-21 Thread Tom Rini
On Mon, Sep 20, 2021 at 07:11:26PM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 20 Sept 2021 at 09:20, Tom Rini wrote: > > > > On Sat, Sep 18, 2021 at 12:21:21PM -0600, Simon Glass wrote: > > > > > The Kconfig feature was added in 2014. Some 7 years later there are still > > > quite a few CONF

Re: [PATCH] board/freescale/vid : move platform specific definitions

2021-09-21 Thread Tom Rini
On Tue, Sep 21, 2021 at 04:24:57PM +0200, Wasim Khan wrote: > From: Wasim Khan > > VID is a common driver. Move platform specific definitions > to platform specific header files > > Signed-off-by: Wasim Khan > --- > board/freescale/common/vid.h | 10 -- > include/configs/lx2160a_c

[PATCH] board/freescale/vid : move platform specific definitions

2021-09-21 Thread Wasim Khan
From: Wasim Khan VID is a common driver. Move platform specific definitions to platform specific header files Signed-off-by: Wasim Khan --- board/freescale/common/vid.h | 10 -- include/configs/lx2160a_common.h | 7 +++ 2 files changed, 7 insertions(+), 10 deletions(-) diff -

Re: [PATCH] ARM: dts: imx6-apalis: enable watchdog

2021-09-21 Thread Igor Opaniuk
Hi Oleksandr, On Tue, Sep 21, 2021 at 2:48 PM Oleksandr Suvorov wrote: > > From: Ricardo Salveti > > Add u-boot.dtsi specific to imx6-apalis with a watchdog enabled. > > If OP-TEE is loaded by SPL, it may use a watchdog to handle fails of > u-boot running. Enable the watchdog in SPL to use it by

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-21 Thread Tom Rini
On Sun, Sep 19, 2021 at 10:33:25PM +0200, Mark Kettenis wrote: > > From: Bin Meng > > Date: Sun, 19 Sep 2021 09:17:07 +0800 > > > > Hi Mark, > > > > On Sun, Sep 19, 2021 at 9:04 AM Bin Meng wrote: > > > > > > Hi Mark, > > > > > > On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis > > > wrote: > >

Re: [PATCH v3 1/2] mtd: cfi_flash: use cfi_flash_num_flash_banks only when supported

2021-09-21 Thread Patrick DELAUNAY
Hi, On 9/17/21 3:36 PM, Marek Vasut wrote: On 9/17/21 12:55 PM, Patrick DELAUNAY wrote: Hi Marek,  > Marek VasutSept. 16, 2021, 5:24 p.m. UTC | #1  > On 9/16/21 4:01 PM, Patrick Delaunay wrote:  >> When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated,  >> CONFIG_SYS_MAX_FLASH_BANKS is replace

[PATCH] ARM: dts: imx6-apalis: enable watchdog

2021-09-21 Thread Oleksandr Suvorov
From: Ricardo Salveti Add u-boot.dtsi specific to imx6-apalis with a watchdog enabled. If OP-TEE is loaded by SPL, it may use a watchdog to handle fails of u-boot running. Enable the watchdog in SPL to use it by OP-TEE. Signed-off-by: Ricardo Salveti Signed-off-by: Oleksandr Suvorov --- arc

[PULL] Pull request for u-boot master / v2021.10 = u-boot-stm32-20210921

2021-09-21 Thread Patrick DELAUNAY
Hi Tom, Please pull the STM32 related fixes for u-boot/master, v2021.10: u-boot-stm32-20210921 - stm32mp15: fix the used partition name for U-Boot environement with SPL CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/9197 Thanks, Patrick git request-pull origin

Re: [PATCH 0/4] ARM: amlogic: add Radxa Zero

2021-09-21 Thread Neil Armstrong
On 15/09/2021 03:46, Christian Hewitt wrote: > This series alpha sorts the Amlogic Makefile, then adds > support for the Radxa Zero SBC using the device-tree > queued in the Amlogic maintainer tree for Linux 5.16.y > > Patches are based on custodians/u-boot-amlogic-next > > Christian Hewitt (4):

Re: [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot

2021-09-21 Thread Patrick DELAUNAY
Hi, On 9/14/21 2:14 PM, Patrick Delaunay wrote: Continue to use the "ssbl" name for GPT partition of secondary boot stage = U-Boot for basic boot with SPL to avoid to disturb existing user. The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A BL2 requirement; it the default

Re: [PATCH v3 0/3] ARM: meson: add support for JetHub D1/H1

2021-09-21 Thread Neil Armstrong
On 20/09/2021 10:40, Vyacheslav Bocharov wrote: > Add support for new home automation devices manufactured by JetHome. > Patches prepared for use with the "ARM: meson: Sync Amlogic DT from Linux > 5.14" patch series by Neil Armstrong > > JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home a

Re: [PATCH v3 01/10] ARM: meson: Sync Amlogic DT from Linux 5.14

2021-09-21 Thread Neil Armstrong
On 17/09/2021 09:37, Neil Armstrong wrote: > Import Amlogic DT changes from Linux commit 7d2a07b76933 ("Linux 5.14"), > dt-bindings clock changes and new meson-g12b-gsking-x.dts, > meson-sm1-bananapi-m5 & odroid-hc4 boards. > > Signed-off-by: Neil Armstrong > --- > arch/arm/dts/Makefile

Re: [PATCH] pci: pcie_dw_meson: fix usb fail when pci link fails to go up

2021-09-21 Thread Neil Armstrong
On 08/09/2021 14:32, Neil Armstrong wrote: > On Amlogic A311D, when the PCIe link fails disabling the related clocks > makes USB fail. For an unknown reason, this doesn happen on the S905D3 SoC. > > Mimic the Linux behavior by not considering a link failure a probe failure, > and continue even if

Re: [PATCH] drivers: pmic: Add sysreset driver to da9063 pmic device

2021-09-21 Thread Heinrich Schuchardt
On 9/20/21 5:48 PM, Alexandre Ghiti wrote: This pmic device is present on the SiFive Unmatched board and this new driver adds the possibility to reset it. Signed-off-by: Alexandre Ghiti --- configs/sifive_unmatched_defconfig | 2 ++ drivers/power/pmic/da9063.c| 49 +++

[PATCH v2 3/3] efi_loader: add DeployedMode and AuditMode variable measurement

2021-09-21 Thread Masahisa Kojima
This commit adds the DeployedMode and AuditMode variable measurement required in TCG PC Client PFP Spec. Signed-off-by: Masahisa Kojima --- (no changes since v1) lib/efi_loader/efi_tcg2.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/lib/efi_loade

[PATCH v2 2/3] efi_loader: add UEFI GPT measurement

2021-09-21 Thread Masahisa Kojima
This commit adds the UEFI GPT disk partition topology measurement required in TCG PC Client PFP Spec. Signed-off-by: Masahisa Kojima --- (no changes since v1) include/blk.h | 3 + include/efi_loader.h | 2 +- include/efi_tcg2.h| 12 +++ lib/efi_loader/

[PATCH v2 1/3] efi_loader: add SMBIOS table measurement

2021-09-21 Thread Masahisa Kojima
TCG PC Client spec requires to measure the SMBIOS table that contain static configuration information (e.g. Platform Manufacturer Enterprise Number assigned by IANA, platform model number, Vendor and Device IDs for each SMBIOS table). The device and environment dependent information such as serial

[PATCH v2 0/3] Enhance Measured Boot

2021-09-21 Thread Masahisa Kojima
This patch series add the following measurement mandated in the TCG PC Client PFP Specification. - SMBIOS tables - GPT disk partition topology - AuditMode and Deployed mode Masahisa Kojima (3): efi_loader: add SMBIOS table measurement efi_loader: add UEFI GPT measurement efi_loader: add D