Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread AKASHI Takahiro
On Wed, Sep 15, 2021 at 02:00:31PM +0200, Mark Kettenis wrote: > > Date: Wed, 15 Sep 2021 12:42:16 +0200 > > From: Heinrich Schuchardt > > > > Am 15. September 2021 11:56:07 MESZ schrieb Michael Lawnick > > : > > >Am 14.09.2021 um 17:57 schrieb Heinrich Schuchardt: > > >> On 9/14/21 4:56 PM, Mi

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

2021-09-15 Thread Heinrich Schuchardt
On 9/15/21 7:15 AM, Masahisa Kojima wrote: This commit adds the DeployedMode and AuditMode variable measurement required in TCG PC Client PFP Spec. Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_tcg2.c | 47 +++ 1 file changed, 47 insertions(+)

[PATCH next] lib: hash-checksum: Use DM_HASH if supported

2021-09-15 Thread Chia-Wei Wang
Use DM_HASH to perform hashing operations if supported. Thus either SW or HW-assisted hashing could be leveraged. Signed-off-by: Chia-Wei Wang --- lib/hash-checksum.c | 37 + 1 file changed, 37 insertions(+) diff --git a/lib/hash-checksum.c b/lib/hash-checksu

[PATCH] ARM: dts: ast2600: Make WDT by default disabled

2021-09-15 Thread Chia-Wei Wang
The WDT devices described in the general .dtsi file should be marked as "disabled" by default. A WDT should be then enabled in the board specific .dts file on demands. Signed-off-by: Chia-Wei Wang --- arch/arm/dts/ast2600.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts

RE: [PATCH v3 25/29] arm: dts: ls1028a: move the PCI I/O window to match

2021-09-15 Thread Z.Q. Hou
> -Original Message- > From: Vladimir Oltean > Sent: 2021年9月15日 8:13 > To: Michael Walle ; Z.Q. Hou > Cc: u-boot@lists.denx.de; Jagan Teki ; > Priyanka Jain ; Tom Rini ; > Peter Griffin ; Manivannan Sadhasivam > > Subject: Re: [PATCH v3 25/29] arm: dts: ls1028a: move the PCI I/O window

Re: [GIT PULL] rpi: updates for v2021.10

2021-09-15 Thread Tom Rini
On Wed, Sep 15, 2021 at 05:39:52PM +0200, Matthias Brugger wrote: > Hi Tom, > > I know, quite a bit late but here come the updates for RPi for v2021.10. > Actually most of the patches are fixes. > > Ivan's patch fixes a kernel warning when booting RPi2, as the firmware > already provides a framb

Re: [PATCH] apalis/colibri_imx6: move setting bootcmd to defconfig

2021-09-15 Thread Marcel Ziswiler
Hi Oleksandr Thanks, just one minor nit-pick below. On Sun, 2021-09-12 at 22:39 +0300, Oleksandr Suvorov wrote: > Move setting the default boot command to the > apalis/colibri_imx6_defconfig. It allows replacing the command > without code modification. > > Signed-off-by: Oleksandr Suvorov > ---

[RFC PATCH] test/py: Check hashes produced by mkimage against known values

2021-09-15 Thread Alexandru Gagniuc
Target code and mkimage share the same hashing infrastructure. If one is wrong, it's very likely that both are wrong in the same way. Thus testing won't catch hash regressions. This already happened in commit 92055e138f28 ("image: Drop if/elseif hash selection in calculate_hash()"). None of the tes

Re: [RFC][PATCH] mtd: spi: Set CONFIG_SF_DEFAULT_MODE default to 0

2021-09-15 Thread Marek Vasut
On 9/15/21 7:55 PM, Tom Rini wrote: On Tue, Sep 14, 2021 at 05:44:25PM -0400, Tom Rini wrote: On Tue, Sep 14, 2021 at 11:30:01PM +0200, Marek Vasut wrote: On 9/14/21 10:45 PM, Tom Rini wrote: On Tue, Sep 14, 2021 at 10:10:22PM +0200, Marek Vasut wrote: On 9/14/21 9:19 PM, Tom Rini wrote: On

Re: [PATCH v3 1/2] GPIO: fxl6408: Add support for FXL6408 GPIO expander

2021-09-15 Thread Oleksandr Suvorov
Hi Michal, On Fri, Sep 10, 2021 at 9:35 AM Michal Simek wrote: > > > > On 9/9/21 10:44 PM, Oleksandr Suvorov wrote: > > From: Oleksandr Suvorov > > > > Initial support for Fairchild's 8 bit I2C gpio expander FXL6408. > > The CONFIG_FXL6408_GPIO define enables support for such devices. > > > > Ba

Re: [PATCH v2 3/3] mx7ulp_com: add support for SPL

2021-09-15 Thread Fabio Estevam
Hi Igor, On Wed, Sep 15, 2021 at 1:04 PM Igor Opaniuk wrote: > Maybe I misunderstood your question, > but it's already in board/ea/mx7ulp_com/mx7ulp_com.c, no? The DDR initialization is currently at board/ea/mx7ulp_com/imximage.cfg. If the board supports SPL, I was expecting to see the DDR ini

Re: [RFC][PATCH] mtd: spi: Set CONFIG_SF_DEFAULT_MODE default to 0

2021-09-15 Thread Tom Rini
On Tue, Sep 14, 2021 at 05:44:25PM -0400, Tom Rini wrote: > On Tue, Sep 14, 2021 at 11:30:01PM +0200, Marek Vasut wrote: > > On 9/14/21 10:45 PM, Tom Rini wrote: > > > On Tue, Sep 14, 2021 at 10:10:22PM +0200, Marek Vasut wrote: > > > > On 9/14/21 9:19 PM, Tom Rini wrote: > > > > > On Tue, Sep 14,

Re: [GIT PULL] rpi: updates for v2021.10

2021-09-15 Thread Tom Rini
On Wed, Sep 15, 2021 at 12:40:29PM -0500, Vincent Fazio wrote: > Peter, > > On 9/15/21 11:32 AM, Peter Robinson wrote: > > On Wed, Sep 15, 2021 at 4:40 PM Matthias Brugger wrote: > > > Hi Tom, > > > > > > I know, quite a bit late but here come the updates for RPi for v2021.10. > > > Actually mos

Re: [GIT PULL] rpi: updates for v2021.10

2021-09-15 Thread Vincent Fazio
Peter, On 9/15/21 11:32 AM, Peter Robinson wrote: On Wed, Sep 15, 2021 at 4:40 PM Matthias Brugger wrote: Hi Tom, I know, quite a bit late but here come the updates for RPi for v2021.10. Actually most of the patches are fixes. Ivan's patch fixes a kernel warning when booting RPi2, as the fir

[PATCH 1/1] phy: marvell: cp110: Support SATA invert polarity

2021-09-15 Thread Denis Odintsov
In commit b24bb99d cp110 configuration initially done in u-boot was removed and delegated to atf firmware as smc call. That commit didn't account for later introduced in d13b740c SATA invert polarity support. This patch adds support of passing SATA invert polarity flags to atf firmware during the

RE: U-BOOT missing Security support

2021-09-15 Thread Cedrick Kukela
Thank you My only question now is how do I set the AES key I though this would be an option in kconfig as well or is this an option for the command itself? Cedrick Kukela Software Engineer   -Original Message- From: Wolfgang Denk Sent: Wednesday, September 15, 2021 8:21 AM To: Cedric

Re: [GIT PULL] rpi: updates for v2021.10

2021-09-15 Thread Peter Robinson
On Wed, Sep 15, 2021 at 4:40 PM Matthias Brugger wrote: > > Hi Tom, > > I know, quite a bit late but here come the updates for RPi for v2021.10. > Actually most of the patches are fixes. > > Ivan's patch fixes a kernel warning when booting RPi2, as the firmware already > provides a frambebuffer no

Re: [PATCH v3 1/2] mmc: fsl_esdhc_imx: initialize data for imx7ulp

2021-09-15 Thread Igor Opaniuk
Hi, On Wed, Sep 8, 2021 at 9:56 PM Oleksandr Suvorov wrote: > > From: Jorge Ramirez-Ortiz > > Import data for eSDHC driver for SoC iMX7ULP from the Linux kernel. > Set supported by u-boot flags only. > > Signed-off-by: Jorge Ramirez-Ortiz > Signed-off-by: Ricardo Salveti > Co-developed-by: Ole

Re: [PATCH 03/11] power: pmic: Consistently depend on DM_PMIC

2021-09-15 Thread Igor Opaniuk
Hi Samuel, On Sun, Aug 22, 2021 at 2:06 AM Samuel Holland wrote: > > Kconfig symbols for two PMIC drivers (PMIC_AS3722 and DM_PMIC_MC34708) > were missing a dependency on DM_PMIC. To fix this inconsistency, and to > keep it from happening again, wrap the driver section with "if DM_PMIC" > instead

Re: [PATCH v2 1/3] mx7ulp: select soc features

2021-09-15 Thread Igor Opaniuk
Hi Oleksandr, On Sun, Sep 12, 2021 at 5:33 PM Oleksandr Suvorov wrote: > > Force selecting features present in SoC i.MX7ULP. > > Signed-off-by: Oleksandr Suvorov > --- > > (no changes since v1) > > arch/arm/mach-imx/mx7ulp/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch

Re: [PATCH] apalis/colibri_imx6: move setting bootcmd to defconfig

2021-09-15 Thread Igor Opaniuk
On Sun, Sep 12, 2021 at 10:39 PM Oleksandr Suvorov wrote: > > Move setting the default boot command to the > apalis/colibri_imx6_defconfig. It allows replacing the command > without code modification. > > Signed-off-by: Oleksandr Suvorov > --- > > configs/apalis_imx6_defconfig | 1 + > configs/

Re: [PATCH v2 1/9] ARM: meson: Sync Amlogic DT from Linux 5.14

2021-09-15 Thread Vyacheslav
08.09.2021 17:17, Neil Armstrong via groups.io wrote: diff --git a/arch/arm/dts/meson-axg.dtsi b/arch/arm/dts/meson-axg.dtsi index b9efc84692..3f5254eeb4 100644 --- a/arch/arm/dts/meson-axg.dtsi +++ b/arch/arm/dts/meson-axg.dtsi ... + + usb: usb@ffe09080 { +

Re: [PATCH v2 3/3] mx7ulp_com: add support for SPL

2021-09-15 Thread Igor Opaniuk
Hi Fabio, On Mon, Sep 13, 2021 at 1:03 AM Fabio Estevam wrote: > > Hi Oleksandr, > > On Sun, Sep 12, 2021 at 11:33 AM Oleksandr Suvorov > wrote: > > > > From: Ricardo Salveti > > > > Add EA iMX7ULP COM board support for building SPL. > > > > Signed-off-by: Ricardo Salveti > > Signed-off-by: Ol

[GIT PULL] rpi: updates for v2021.10

2021-09-15 Thread Matthias Brugger
Hi Tom, I know, quite a bit late but here come the updates for RPi for v2021.10. Actually most of the patches are fixes. Ivan's patch fixes a kernel warning when booting RPi2, as the firmware already provides a frambebuffer node. Marek's patch fixes random crashes on 32 bit RPi4 with newer

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Michael Lawnick
Am 15.09.2021 um 13:36 schrieb Michael Lawnick: Am 15.09.2021 um 13:22 schrieb Heinrich Schuchardt: Am 15. September 2021 12:54:06 MESZ schrieb Michael Lawnick : Am 15.09.2021 um 12:42 schrieb Heinrich Schuchardt: Could you, please send the complete output starting with 'bootefi selftest'.

[PATCH] arm: zynq: Use s25fl256s1 compatible string on zedboard

2021-09-15 Thread Michal Simek
Use compatible string which is listed in the Linux kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zed.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-zed.dts b/arch/arm/dts/zynq-zed.dts index 7a540b63f471..cf28167a7f74 100644 --- a/arch/arm/d

[scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-09-15 Thread Tom Rini
Hey all, Just a minor issue to fix from the latest scan. A fixes tag on 19f7a34a4642e25aa8b80c6d75129fe7848a158d would be appropriate. Thanks! - Forwarded message from scan-ad...@coverity.com - Date: Tue, 14 Sep 2021 23:10:58 + (UTC) From: scan-ad...@coverity.com To: tom.r...@gmail

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread François Ozog
On Wed, 15 Sept 2021 at 15:36, Tom Rini wrote: > On Wed, Sep 15, 2021 at 01:51:51PM +0200, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Wed, 15 Sep 2021 04:13:24 -0600 > > > > Hi Simon, > > > > > Hi Mark, > > > > > > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis > wrote: > > > > > >

[PATCH] arm64: zynqmp: Add device tree properties for nand flash

2021-09-15 Thread Michal Simek
From: Amit Kumar Mahapatra Add ecc strength & ecc step size properties for nand flash devices, when operating in software-ecc mode. Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 4 1 file changed, 4 insertions(+) diff --g

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread Tom Rini
On Wed, Sep 15, 2021 at 01:51:51PM +0200, Mark Kettenis wrote: > > From: Simon Glass > > Date: Wed, 15 Sep 2021 04:13:24 -0600 > > Hi Simon, > > > Hi Mark, > > > > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis > > wrote: > > > > > > > From: Moiz Imtiaz > > > > Date: Sat, 11 Sep 2021 23:19:05

Re: [PATCH 5/6] arm: Remove edminiv2 board and orion5x support

2021-09-15 Thread Simon Guinot
On Tue, Sep 14, 2021 at 07:43:10AM -0400, Tom Rini wrote: > On Tue, Sep 14, 2021 at 10:37:43AM +0200, Simon Guinot wrote: > > > Hi Stefan and Tom, > > > > I finally managed to find a Disk Mini v2 Ethernet card and I will be > > working on the DM conversion as soon as possible. > > > > Please, le

Re: [PATCH] arm: orion5x: edminiv2: change maintainer

2021-09-15 Thread Tom Rini
On Wed, Sep 15, 2021 at 03:01:51PM +0200, Simon Guinot wrote: > Since Albert Aribaud is not maintaining anymore the LaCie Ethernet Disk > mini V2 board, then I am taking over. > > Signed-off-by: Simon Guinot Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread Tom Rini
On Mon, Sep 13, 2021 at 01:45:56AM +0500, Moiz Imtiaz wrote: > Thanks a lot Tom and U-boot Team, > > What I did is that I made a control FDT (with Public_key and > signature_node) and replaced the default dtb (bcm2711-rpi-4-b.dtb) in the > boot directory of rpi_4-b(the board I am using) with the

[PATCH] arm: orion5x: edminiv2: change maintainer

2021-09-15 Thread Simon Guinot
Since Albert Aribaud is not maintaining anymore the LaCie Ethernet Disk mini V2 board, then I am taking over. Signed-off-by: Simon Guinot --- board/LaCie/edminiv2/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/LaCie/edminiv2/MAINTAINERS b/board/LaCie/edmini

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

2021-09-15 Thread Masahisa Kojima
Hi Ilias, Thank you for the review. On Wed, 15 Sept 2021 at 17:37, Ilias Apalodimas wrote: > > Hi Kojima-san, > > On Wed, Sep 15, 2021 at 02:15:44PM +0900, Masahisa Kojima wrote: > > TCG PC Client spec requires to measure the SMBIOS > > table that contain static configuration information > > (e.

Re: U-BOOT missing Security support

2021-09-15 Thread Wolfgang Denk
Dear Cedrick, In message you wrote: > > I was attempting to enable CONFIG_CMD_AES and I though it would be > under security support. Is there any reason why that option would > not be enabled or available? Search under "Security commands"... from "cmd/Kconfig": 1975 menu "Security comm

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Marek Vasut
On 9/15/21 2:00 PM, Patrick DELAUNAY wrote: Hi, On 9/15/21 10:57 AM, Marek Vasut wrote: On 9/15/21 10:53 AM, Patrice CHOTARD wrote: Hi All On 9/15/21 7:59 AM, Marek Vasut wrote: On 9/15/21 6:23 AM, Heiko Schocher wrote: Hi Marek, On 15.09.21 01:06, Marek Vasut wrote: The flash->mtd.name u

U-BOOT missing Security support

2021-09-15 Thread Cedrick Kukela
Hello, I was attempting to enable CONFIG_CMD_AES and I though it would be under security support. Is there any reason why that option would not be enabled or available? Thanks Cedrick Kukela Software Engineer [cid:image001.png@01D7A9BC.BEA10B50] +1 919 741-9914 (cell) +1 919 234-6534 1001 Win

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Mark Kettenis
> Date: Wed, 15 Sep 2021 12:42:16 +0200 > From: Heinrich Schuchardt > > Am 15. September 2021 11:56:07 MESZ schrieb Michael Lawnick > : > >Am 14.09.2021 um 17:57 schrieb Heinrich Schuchardt: > >> On 9/14/21 4:56 PM, Michael Lawnick wrote: > >>> Hi, > >>> > >>> in our environment we get error on

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Patrick DELAUNAY
Hi, On 9/15/21 11:21 AM, Marek Vasut wrote: On 9/15/21 11:17 AM, Patrice CHOTARD wrote: On 9/15/21 10:57 AM, Marek Vasut wrote: On 9/15/21 10:53 AM, Patrice CHOTARD wrote: Hi All On 9/15/21 7:59 AM, Marek Vasut wrote: On 9/15/21 6:23 AM, Heiko Schocher wrote: Hi Marek, On 15.09.21 01:06

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 15 Sep 2021 04:13:24 -0600 Hi Simon, > Hi Mark, > > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis wrote: > > > > > From: Moiz Imtiaz > > > Date: Sat, 11 Sep 2021 23:19:05 +0500 > > > > > > Hi Simon, > > > > > > Thanks for the reply. I already followed the step

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Michael Lawnick
Am 15.09.2021 um 13:22 schrieb Heinrich Schuchardt: Am 15. September 2021 12:54:06 MESZ schrieb Michael Lawnick : Am 15.09.2021 um 12:42 schrieb Heinrich Schuchardt: Could you, please send the complete output starting with 'bootefi selftest'. ASIM-CN10KAS> setenv efi_selftest block device

Re: [PATCH] rpi: Conditionally add simple-framebuffer node

2021-09-15 Thread Matthias Brugger
On 10/08/2021 16:31, Ivan T. Ivanov wrote: It appears that RPi firmware has already added framebuffer node under /chosen, at least on RPi 2 versions. So check for this and don't add duplicate node. Signed-off-by: Ivan T. Ivanov Applied to rpi-next now. Thanks, Matthias --- board/raspb

Re: [PATCH v2 1/2] arm: dts: bcm283x: Add minimal smbios information

2021-09-15 Thread Matthias Brugger
On 12/04/2021 15:38, matthias@kernel.org wrote: From: Matthias Brugger At present SMBIOS tables are empty, which breaks some use-cases that rely on that. Add some minimal information to fulfill this. Signed-off-by: Matthias Brugger Both patches now queued in rpi-next. --- Changes

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Heinrich Schuchardt
Am 15. September 2021 12:54:06 MESZ schrieb Michael Lawnick : >Am 15.09.2021 um 12:42 schrieb Heinrich Schuchardt: > >> Could you, please send the complete output starting with 'bootefi selftest'. > >ASIM-CN10KAS> setenv efi_selftest block device >ASIM-CN10KAS> bootefi selftest > >Testing EFI AP

Re: [PATCH] ARM: bcm283x: change the virtual address of the XHCI PCI device base

2021-09-15 Thread Matthias Brugger
On 17/06/2021 11:22, Marek Szyprowski wrote: Move the XHCI PCI device base up in the virtual address space. This fixes initialization failure observed with newer Raspberry Pi firmware, later than 63b1922311 ("firmware: arm_loader: Update armstubs with those from PR 117). It looks that chosing

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-15 Thread Matthias Brugger
Hi Mauro, On 07/06/2021 11:27, Mauro Salvini wrote: On 12/05/21 14:39, Mauro Salvini wrote: Raspberry firmware prepares the FDT blob in memory at an address that depends on both the memory size and the blob size [1]. After commit ade243a211d6 ("rpi: passthrough of the firmware provided FDT blob

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Michael Lawnick
Am 15.09.2021 um 12:42 schrieb Heinrich Schuchardt: Could you, please send the complete output starting with 'bootefi selftest'. ASIM-CN10KAS> setenv efi_selftest block device ASIM-CN10KAS> bootefi selftest Testing EFI API implementation Selected test: 'block device' Setting up 'block devic

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Heinrich Schuchardt
Am 15. September 2021 11:56:07 MESZ schrieb Michael Lawnick : >Am 14.09.2021 um 17:57 schrieb Heinrich Schuchardt: >> On 9/14/21 4:56 PM, Michael Lawnick wrote: >>> Hi, >>> >>> in our environment we get error on efi_selftest if one of several SSD >>> partitions isn't properly initialized (due to

Re: [PATCH v3 27/29] arm: dts: ls1028a: drop non-removable property from esdhc controller node

2021-09-15 Thread Vladimir Oltean
On Wed, Sep 15, 2021 at 10:09:45AM +0200, Michael Walle wrote: > Am 2021-09-15 02:17, schrieb Vladimir Oltean: > > On Thu, Sep 02, 2021 at 06:45:56PM +0200, Michael Walle wrote: > > > The linux device tree hasn't set this property. To be similarly we > > > remove > > > > s/similarly/similar/ > > >

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread François Ozog
Le mer. 15 sept. 2021 à 12:13, Simon Glass a écrit : > Hi Mark, > > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis > wrote: > > > > > From: Moiz Imtiaz > > > Date: Sat, 11 Sep 2021 23:19:05 +0500 > > > > > > Hi Simon, > > > > > > Thanks for the reply. I already followed the steps mentioned in >

Re: [PATCH] efi_loader: Set EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT again in efi_net_receive()

2021-09-15 Thread Masami Hiramatsu
Hi Heinrich, 2021年9月15日(水) 10:31 Masami Hiramatsu : > > Hi Heinrich, > > This is obscure in the specification (I can not see any detailed > description about EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT). OK, I checked the UEFI specification v2.9 again. The main purpose of EFI_SIMPLE_NETWORK.GetStatus()

Re: Problem with U-boot | Configuration Signature not being checked while booting

2021-09-15 Thread Simon Glass
Hi Mark, On Sat, 11 Sept 2021 at 13:18, Mark Kettenis wrote: > > > From: Moiz Imtiaz > > Date: Sat, 11 Sep 2021 23:19:05 +0500 > > > > Hi Simon, > > > > Thanks for the reply. I already followed the steps mentioned in > > "doc/uImage.FIT/beaglebone_vboot.txt". > > > > >I wonder if rpi is not usi

[PATCH] configs: lx2162a: Enable CONFIG_SPI_FLASH_MT35XU for lx2162a-qds

2021-09-15 Thread Kuldeep Singh
LX2162A-QDS has micron mt35xu512aba flash which requires flag CONFIG_SPI_FLASH_MT35XU on to probe flash successfully. Signed-off-by: Kuldeep Singh --- configs/lx2162aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2162aqds_tfa_defconfig | 1 + configs/lx2162aqds_tfa_verified_boot_

Re: RFC: exclude partitions from efi_selftest

2021-09-15 Thread Michael Lawnick
Am 14.09.2021 um 17:57 schrieb Heinrich Schuchardt: On 9/14/21 4:56 PM, Michael Lawnick wrote: Hi, in our environment we get error on efi_selftest if one of several SSD partitions isn't properly initialized (due to some other error, but that's a different topic). I tried to track down to where

[PATCH v2] cmd: mmc: Support mmc hwpartition user enh start -

2021-09-15 Thread Marek Vasut
Add option to extend the hardware partition to the maximum size by using the '-' dash sign instead of $cnt parameter. This is useful in case we want to switch the entire eMMC user area into pSLC mode, especially in case the device may be populated with different size eMMCs. With this change, we do

Re: [PATCH] cmd: mmc: Support mmc hwpartition user enh start -

2021-09-15 Thread Marek Vasut
On 9/15/21 4:30 AM, Peng Fan (OSS) wrote: On 2021/9/12 5:14, Marek Vasut wrote: Add option to extend the hardware partition to the maximum size by using the '-' dash sign instead of $cnt parameter. This is useful in case we want to switch the entire eMMC user area into pSLC mode, especially in

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Marek Vasut
On 9/15/21 11:17 AM, Patrice CHOTARD wrote: On 9/15/21 10:57 AM, Marek Vasut wrote: On 9/15/21 10:53 AM, Patrice CHOTARD wrote: Hi All On 9/15/21 7:59 AM, Marek Vasut wrote: On 9/15/21 6:23 AM, Heiko Schocher wrote: Hi Marek, On 15.09.21 01:06, Marek Vasut wrote: The flash->mtd.name used

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Patrice CHOTARD
On 9/15/21 10:57 AM, Marek Vasut wrote: > On 9/15/21 10:53 AM, Patrice CHOTARD wrote: >> Hi All >> >> On 9/15/21 7:59 AM, Marek Vasut wrote: >>> On 9/15/21 6:23 AM, Heiko Schocher wrote: Hi Marek, On 15.09.21 01:06, Marek Vasut wrote: > The flash->mtd.name used to be nor%d bef

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Marek Vasut
On 9/15/21 10:53 AM, Patrice CHOTARD wrote: Hi All On 9/15/21 7:59 AM, Marek Vasut wrote: On 9/15/21 6:23 AM, Heiko Schocher wrote: Hi Marek, On 15.09.21 01:06, Marek Vasut wrote: The flash->mtd.name used to be nor%d before, now it is the type of the SPI NOR like e.g. mt25ql02g. It is possib

Re: [PATCH] mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled

2021-09-15 Thread Patrice CHOTARD
Hi All On 9/15/21 7:59 AM, Marek Vasut wrote: > On 9/15/21 6:23 AM, Heiko Schocher wrote: >> Hi Marek, >> >> On 15.09.21 01:06, Marek Vasut wrote: >>> The flash->mtd.name used to be nor%d before, now it is the type of the >>> SPI NOR like e.g. mt25ql02g. It is possible to find plenty of examples >

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

2021-09-15 Thread Patrice CHOTARD
HI Patrick 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;

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

2021-09-15 Thread Ilias Apalodimas
Hi Kojima-san, On Wed, Sep 15, 2021 at 02:15:44PM +0900, Masahisa Kojima wrote: > 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

Re: [PATCH 2/2] phy: stm32-usbphyc: stm32: usbphyc: add protection on phy sub-node

2021-09-15 Thread Patrice CHOTARD
HI Patrick On 9/14/21 2:31 PM, Patrick Delaunay wrote: > Add protection on presence and order of the phy node sub node > by using the mandatory reg information. > > Signed-off-by: Patrick Delaunay > --- > > drivers/phy/phy-stm32-usbphyc.c | 22 -- > 1 file changed, 12 inser

Re: [PATCH 1/2] phy: stm32-usbphyc: use connector for vbus-supply with phy-stm32-usbphyc

2021-09-15 Thread Patrice CHOTARD
Hi Patrick On 9/14/21 2:31 PM, Patrick Delaunay wrote: > The vbus-supply is an optional property of sub-node connector node. > and no more in the usb phyc node (in first proposed binding). > > This regulator for USB VBUS may be needed for host mode. > > See the latest kernel binding for details

Re: [PATCH] mtd: cqspi: Wait for transfer completion

2021-09-15 Thread Marek Vasut
On 9/15/21 10:28 AM, Pratyush Yadav wrote: On 14/09/21 08:22PM, Marek Vasut wrote: On 9/14/21 7:42 PM, Pratyush Yadav wrote: On 14/09/21 05:22AM, Marek Vasut wrote: Wait for the read/write transfer finish bit get actually cleared, this does not happen immediately on at least SoCFPGA Gen5. Sig

Re: [PATCH] mtd: cqspi: Wait for transfer completion

2021-09-15 Thread Pratyush Yadav
On 14/09/21 08:22PM, Marek Vasut wrote: > On 9/14/21 7:42 PM, Pratyush Yadav wrote: > > On 14/09/21 05:22AM, Marek Vasut wrote: > > > Wait for the read/write transfer finish bit get actually cleared, > > > this does not happen immediately on at least SoCFPGA Gen5. > > > > > > Signed-off-by: Marek

Re: [PATCH v2 1/9] ARM: meson: Sync Amlogic DT from Linux 5.14

2021-09-15 Thread Neil Armstrong
Hi, On 15/09/2021 09:49, Vyacheslav wrote: > 08.09.2021 17:17, Neil Armstrong via groups.io wrote: >> diff --git a/arch/arm/dts/meson-axg.dtsi b/arch/arm/dts/meson-axg.dtsi >> index b9efc84692..3f5254eeb4 100644 >> --- a/arch/arm/dts/meson-axg.dtsi >> +++ b/arch/arm/dts/meson-axg.dtsi > ... >> + >

Re: [PATCH v3 27/29] arm: dts: ls1028a: drop non-removable property from esdhc controller node

2021-09-15 Thread Michael Walle
Am 2021-09-15 02:17, schrieb Vladimir Oltean: On Thu, Sep 02, 2021 at 06:45:56PM +0200, Michael Walle wrote: The linux device tree hasn't set this property. To be similarly we remove s/similarly/similar/ it from the u-boot device tree, too. The second controller of the LS1028A has indeed no

Re: [PATCH 9/9] board: sifive: Fix -Wint-to-pointer-cast warning

2021-09-15 Thread Leo Liang
On Sun, Sep 12, 2021 at 11:15:16AM +0800, Bin Meng wrote: > The following warning is seen in unleashed.c in a 32-bit build: > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > Cast with uintptr_t. > > Signed-off-by: Bin Meng > --- > > board/sifive/unle

Re: [PATCH v3 21/29] scsi: ceva: rename the resource name to match the linux kernel one

2021-09-15 Thread Michael Walle
Am 2021-09-15 02:10, schrieb Vladimir Oltean: On Thu, Sep 02, 2021 at 06:45:50PM +0200, Michael Walle wrote: The driver will look for a named resource "ecc-addr", but this isn't the official binding. In fact, the official device tree binding documentation doesn't mention any resource names at a

Re: [PATCH 8/9] ram: sifive: Fix -Wint-to-pointer-cast warnings

2021-09-15 Thread Leo Liang
On Sun, Sep 12, 2021 at 11:15:15AM +0800, Bin Meng wrote: > The following warning is seen in sifive_ddr.c in a 32-bit build: > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > Change to use dev_read_addr_index_ptr(). > > Signed-off-by: Bin Meng > --- >

Re: [PATCH 6/9] dm: Provide dev_read_addr_index_ptr() wrapper

2021-09-15 Thread Leo Liang
On Sun, Sep 12, 2021 at 11:15:13AM +0800, Bin Meng wrote: > Like dev_read_addr_ptr(), provide a wrapper for the indexed version. > > Signed-off-by: Bin Meng > --- > > include/dm/read.h | 18 ++ > 1 file changed, 18 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH 5/9] dm: core: Add a new API devfdt_get_addr_index_ptr()

2021-09-15 Thread Leo Liang
On Sun, Sep 12, 2021 at 11:15:12AM +0800, Bin Meng wrote: > At present there is only devfdt_get_addr_ptr() which only returns > the first pair in the 'reg' property. Add a new API > devfdt_get_addr_index_ptr() to return the indexed pointer. > > Signed-off-by: Bin Meng > --- > > drivers/core/fd