Hi,
> From: Patrick DELAUNAY
> Sent: mercredi 9 septembre 2020 15:25
>
> From: Jean-Philippe ROMAIN
>
> Activate fastboot support on boot partition for eMMC, mmc1 device on
> STMicroelectronics board (EV1).
>
> Signed-off-by: Jean-Philippe ROMAIN
> S
Hi,
> From: Patrick DELAUNAY
> Sent: mercredi 9 septembre 2020 15:25
>
> From: Jean-Philippe ROMAIN
>
> Enable the fastboot oem command format and set the variable "partitions" with
> default eMMC partitions list.
>
> Signed-off-by: Patrick Delaunay
Hi,
> From: Patrick DELAUNAY
> Sent: mercredi 9 septembre 2020 15:25
>
> Enable the fastboot oem command partconf, used to select the correct eMMC boot
> partition, with same format than 'mmc partconf'
> with parameter: boot_ack boot_partition
> On stm32mp1
Hi,
> From: Patrick DELAUNAY
> Sent: mercredi 9 septembre 2020 15:25
>
> Enable the fastboot oem command bootbus, used to configure the eMMC boot
> behavior, with same format than 'mmc bootbus'
> and with parameter: boot_bus_width reset_boot_bus_width boot_mode
Hi,
On 1/11/21 12:33 PM, Patrick Delaunay wrote:
Device tree alignment with Linux kernel v5.11-rc2
- fix DCMI DMA features on stm32mp15 family
- Add alternate pinmux for FMC EBI bus
- Harmonize EHCI/OHCI DT nodes name on stm32mp15
- update sdmmc IP version for STM32MP15
- Add LP timer irqs on
partition
configs: stm32mp1: enable the fastboot oem command format
Patrice Chotard (2):
pinctrl: stmfx: Fix pin configuration issue
pinctrl: stmfx: Use PINNAME_SIZE for pin's name size
Patrick Delaunay (6):
configs: stm32mp1: enable the fastboot oem command partcon
Hi Alexandru,
On 1/11/21 4:41 PM, Alexandru Gagniuc wrote:
This series is Part II of the ECDSA saga. It applies on top of [1]: * > [PATCH v4 0/6] Add support for ECDSA image signing (with test) > >
I've designed the UCLASS_ECDSA such that it aligns with the ROM API > of
the stm32mp. Instead of
Hi,
On 1/11/21 4:41 PM, Alexandru Gagniuc wrote:
Prepare the source tree for accepting implementations of the ECDSA
algorithm. This patch deals with the boring aspects of Makefiles and
Kconfig files.
Signed-off-by: Alexandru Gagniuc
---
include/image.h | 10 +-
include/u-boo
Hi,
On 1/11/21 4:41 PM, Alexandru Gagniuc wrote:
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 Gagniu
On 2/9/21 11:39 AM, Marek Vasut wrote:
On 2/9/21 11:14 AM, Patrick Delaunay wrote:
Hi,
[...]
diff --git a/drivers/usb/gadget/dwc2_udc_otg.c
b/drivers/usb/gadget/dwc2_udc_otg.c
index e3871e381e..ecac80fc11 100644
--- a/drivers/usb/gadget/dwc2_udc_otg.c
+++ b/drivers/usb/gadget
On 2/9/21 5:28 AM, Simon Glass wrote:
Hi Patrick,
On Mon, 8 Feb 2021 at 10:33, Patrick DELAUNAY
wrote:
Hi Simon,
2 minor remarks,
On 2/5/21 5:22 AM, Simon Glass wrote:
It is convenient to be able to adjust some of the flags for a GPIO while
leaving others alone. Add a function for this
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
index 0c0ef366a1..599c2e7095 100644
--- a/drivers/clk/clk_stm32mp1.c
+++ b/drivers
Hi Simon
On 7/11/21 2:01 AM, Simon Glass wrote:
Hi Patrick,
On Thu, 8 Jul 2021 at 03:17, Patrick Delaunay
wrote:
In next TF-A version the stm32mp1 platform will support the Firmware
Image Package (FIP) [1], a container filled with:
- the U-Boot binary = u-boot-nodtb.bin
- the U-Boot device
ndle TF-A boot with FIP
http://patchwork.ozlabs.org/project/uboot/list/?series=252477&state=*
Changes in v2:
- synchronize defconfig with latest change
- fix one typo: s/ enought / enough
Patrick Delaunay (5):
arm: stm32mp: add config for STM32IMAGE support
arm: stm32mp: handle the OP-T
with STM32IMAGE header,
in this case OP-TEE can't update the U-Boot device tree.
Moreover in trusted boot mode with FIP, as the OP-TEE nodes are present
in U-Boot device tree only when needed the function
stm32_fdt_disable_optee can be removed.
Signed-off-by: Patrick Delaunay
Reviewed-by: Pa
CONFIG_STM32MP15x_STM32IMAGE to request the
STM32 image generation for SOC STM32MP15x
when FIP container is not used (u-boot.stm32 is loaded by TF-A
as done previously to keep the backward compatibility).
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
(no changes since v1)
arch/arm/mach-stm32mp
ll be removed after TF-A migration
to FIP support.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
(no changes since v1)
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 2 ++
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4
arch/arm/mach-stm32mp/cmd_stm3
) which is no more generated.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
Changes in v2:
- fix one typo: s/ enought / enough
doc/board/st/stm32mp1.rst | 166 ++
1 file changed, 97 insertions(+), 69 deletions(-)
diff --git a/doc/board/st
ENV_OFFSET / CONFIG_ENV_OFFSET_REDUND)
need to be modified.
With FIP the TEE MTD partitions are removed because the OP-TEE binray are
included in the FIP containers.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
Changes in v2:
- synchronize defconfig with latest change
arch/arm/dts/stm32mp
: Tom Rini
Reviewed-by: Patrick Delaunay
---
common/spl/spl_mmc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index add2785b4e3..bab558d055f 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -230,8 +230,10 @@
cure clock are not
provided by secure world with SCMI.
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
index 48c9514ba0..96e175f221 100644
--- a/drivers/clk/clk_stm32mp1.c
+++
Hi,
On 6/28/21 2:42 PM, Patrick Delaunay wrote:
Add the variable used by PXE command for fdtoverlays support
since the commit 69076dff2284 ("cmd: pxe: add support for FDT overlays").
Reused the unused "splashimage" address as CONFIG_SPLASH_SOURCE and
CONFIG_VIDEO_LOGO are
Hi,
On 6/28/21 2:44 PM, Patrick Delaunay wrote:
Reduce the content of short help message for stm32prog command and
removed the carriage return to fix the display of 'help' command when
this command is activated.
Fixes: 954bd1a923a6 ("stm32mp: add the command stm32prog")
Si
Hi,
On 6/28/21 2:55 PM, Patrick Delaunay wrote:
This command is used to evaluate the secure boot on stm32mp SOC,
it is deactivated by default in real products.
We activate this command only in STMicroelectronics defconfig
used with the evaluation boards.
Signed-off-by: Patrick Delaunay
Hi,
On 6/28/21 2:55 PM, Patrick Delaunay wrote:
Simplify parsing the command argument by using
the macro U_BOOT_CMD_WITH_SUBCMDS.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/cmd_stm32key.c | 55 ++--
1 file changed, 36 insertions(+), 19 deletions
Hi,
On 6/28/21 2:55 PM, Patrick Delaunay wrote:
Handle errors in fuse_hash_value function.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/cmd_stm32key.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
Applied to u-boot-stm/master, thanks
Hi,
On 6/28/21 2:56 PM, Patrick Delaunay wrote:
Lock the OTP value of key's hash after the command
$> stm32key fuse
This operation forbids a second update of these OTP as they are
ECC protected in BSEC: any update of these OTP with a different value
causes a BSEC disturb error and th
Hi,
On 6/28/21 2:56 PM, Patrick Delaunay wrote:
Add a helper function to access to BSEC misc driver.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/cmd_stm32key.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
Applied to u-boot-stm/master, thanks
Hi,
On 6/28/21 2:56 PM, Patrick Delaunay wrote:
Allow to read the OTP value and lock status with the command
$> stm32key read.
This patch also protects the stm32key fuse command.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/cmd_stm32key.c | 93 ++--
Hi,
On 6/28/21 2:56 PM, Patrick Delaunay wrote:
The expected sequence to close the device
1/ Load key in DDR with any supported load command
2/ Update OTP with key: STM32MP> stm32key read
At this point the device is able to perform image authentication but
non-authenticated images can st
Hi,
On 6/29/21 12:04 PM, Patrick Delaunay wrote:
Add the support of SYSCFG clock used by syscon driver
to prepare the clock management of STM32MP_SYSCON_SYSCFG.
This clock is already defined in kernel device tree,
stm32mp151.dtsi but not yet supported in the syscon driver:
syscfg: syscon
Hi,
On 6/29/21 12:04 PM, Patrick Delaunay wrote:
Enable the clocks during syscon probe when they are present in device tree.
This patch avoids a freeze when the SYSCFG clock is not enabled by
TF-A / OP-TEE.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/syscon.c | 14
Hi,
On 6/29/21 12:08 PM, Patrick Delaunay wrote:
Activate the command rng with CONFIG_CMD_RNG, used to test
the rng driver
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 2 +-
configs/stm32mp15_trusted_defconfig | 2 +-
2 files changed, 2 insertions(+), 2
Hi,
On 7/5/21 9:39 AM, Patrick Delaunay wrote:
Use the existing defines PMIC_SIZE and OTP_SIZE and a new define
CMD_SIZE for virtual partition size.
This patch corrects the size for OTP partition in alternate name
(1024 instead of 512) and avoids other alignment issues.
Signed-off-by: Patrick
Hi,
On 7/6/21 5:19 PM, Patrick Delaunay wrote:
Remove the mmc alias no more required as the sequence number
of mmc device is used for boot_instance.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 -
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --
2
Hi,
On 7/6/21 5:19 PM, Patrick Delaunay wrote:
Use the device sequence number in boot_instance variable
and no more the SDMMC instance provided by ROM code/TF-A.
After this patch we don't need to define the mmc alias in
device tree, for example:
mmc0 = &sdmmc1;
mmc1 = &sd
clock
- STM32MP1: remove mmc alias and directly use device instance in
boot_instance variable
Patrick Delaunay (16):
configs: stm32mp1: remove splashimage and add fdtoverlay_addr_r
stm32mp: stm32prog: fix the content of
in AARCH64 in case the normal memory address is not 64Bits aligned.
To avoid such situation, forbid usage of normal memory cast to (u64 *) in
case MMU is not enabled.
Signed-off-by: Patrice Chotard
Reviewed-by: Patrick Delaunay
Cc: mark.kette...@xs4all.nl
Signed-off-by: Patrick Delaunay
Align reset_cpu function with the next prototypes in
sysreset.h or in cpu_func.h to solve compilation issue:
void reset_cpu(void);
This patch solves the prototype conflict when cpu_func.h is
included.
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- NEW: solve conflicts when cpu_func.h
when cpu_func.h is included
Patrice Chotard (1):
arm64: Update memcpy_{from, to}io() helpers
Patrick Delaunay (1):
arm: use the correct prototype for reset_cpu function
arch/arm/cpu/armv8/cache_v8.c | 10 ++
arch/arm/include/asm/io.h | 25 +++--
: mark.kette...@xs4all.nl
Reviewed-by: Patrick Delaunay
Sorry for the delay. If this is still needed, you'll need to address
the build failures on platforms such as cgtqmx8:
+(cgtqmx8) board/congatec/cgtqmx8/cgtqmx8.c:377:6: error: conflicting types for
'reset_cpu'
+(cgtqmx8) void reset
Hi Heinrich
On 7/18/21 9:29 AM, Heinrich Schuchardt wrote:
On 7/9/21 12:46 PM, Patrick Delaunay wrote:
As gd->ram_top = board_get_usable_ram_top() in board_r
the EFI loader don't need to call this function again and after
relocation.
This patch avoid issue if board assumed t
Hi Ahmad
On 7/15/21 7:11 PM, Ahmad Fatoum wrote:
Hello Patrick,
On 15.07.21 17:22, Patrick Delaunay wrote:
With FIP support in TF-A (when CONFIG_STM32MP15x_STM32IMAGE
is not activated), the DT nodes needed by OP-TEE are added by OP-TEE
firmware in U-Boot device tree, present in FIP.
What
Hi Ramon,
On 4/26/21 5:46 PM, Patrick Delaunay wrote:
The gpio reset and the assert or deassert delay are defined in generic
binding of the ethernet phy in Linux:
Documentation/devicetree/bindings/net/ethernet-phy.yaml
reset-gpios:
maxItems: 1
description:
The GPIO phandle
a common null ops (NEW)
Patrick Delaunay (6):
net: eth-phy: add support of device tree configuration for gpio reset
net: eth-phy: use dev_dbg and log_notice
net: eth-phy: manage subnode mdio0
net: dwc_eth_qos: remove the field phyaddr of the struct eqos_priv
net: dwc_eth_qos: use generic
phy drivers for this uclass UCLASS_ETH_PHY.
Signed-off-by: Patrick Delaunay
---
Changes in v3:
- allow compilation without DM_GPIO
Changes in v2:
- Update eth-phy driver (NEW)
drivers/net/eth-phy-uclass.c | 56
1 file changed, 56 insertions(+)
diff --git a
eviewed-by: Ramon Fried
Signed-off-by: Patrick Delaunay
---
(no changes since v2)
Changes in v2:
- use log macro in eth-phy driver (NEW)
drivers/net/eth-phy-uclass.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/drivers/net/eth-phy-uclass.c b/drive
Bind any subnode with name beginning by mdio, mdio0 for example,
and not only the "mdio" as namei of subnode.
Reviewed-by: Ramon Fried
Signed-off-by: Patrick Delaunay
---
(no changes since v2)
Changes in v2:
- update eth-phy driver to support STM32 binding with a mdio0 subnode (NEW)
rces_stm32()
it can be removed.
Reviewed-by: Ramon Fried
Signed-off-by: Patrick Delaunay
---
(no changes since v2)
Changes in v2:
- remove unused element in the struct eqos_priv (NEW)
drivers/net/dwc_eth_qos.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/dwc_eth_qos.c
Use the generic ethernet phy which already manages the correct binding
for gpio reset, including the assert an deassert delays.
Reviewed-by: Ramon Fried
Signed-off-by: Patrick Delaunay
---
(no changes since v2)
Changes in v2:
- use generic ethernet phy for stm32 variant, this patch is a
Add a common empty ops: eqos_null_ops() to remove the duplicated empty
functions and reduce the driver size for stm32 and imx config.
This patch also aligns the prototype of ops 'eqos_stop_clks' with other
eqos ops by adding return value.
Reviewed-by: Ramon Fried
Signed-off-by: Patric
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
Reviewed-by: Ramon Fried
---
drivers/net/eth-phy-uclass.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c
index 07aebd935e..abb658bf21
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
Reviewed-by: Ramon Fried
---
drivers/net/dwc_eth_qos.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index f048e9d585..3358dc3514 100644
--- a
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
Reviewed-by: Ramon Fried
---
net/eth-uclass.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 5146bd..c2a97d723a 100644
--- a/net/eth-uclass.c
+++ b/net
pu/built-in.o \
... net/built-in.o > keep-syms-lto.c
Serie-cc: Marek Behún
Serie-cc: sjg
Signed-off-by: Patrick Delaunay
---
Makefile | 2 +-
scripts/Makefile.spl | 2 +-
scripts/gen_ll_addressable_symbols.sh | 5 -
3 files changed, 6 inser
and
it was only added in commit 1ad6e36ec266 ("ARM: dts: stm32: Fix sdmmc2 pins
on AV96") .
Update the AV96 DT pinmux phandle, otherwise eMMC 8bit mode does not work
and access to eMMC takes a very long time to fall back to 4bit mode.
Signed-off-by: Marek Vasut
Cc: Patrick Delaunay
pu/built-in.o \
... net/built-in.o > keep-syms-lto.c
Reviewed-by: Simon Glass
Signed-off-by: Patrick Delaunay
---
Resend with correct commit message for patman
s/Serie-cc/Series-cc/
Makefile | 2 +-
scripts/Makefile.spl | 2
On 7/20/21 8:50 PM, Simon Glass wrote:
Hi Patrick,
On Tue, 20 Jul 2021 at 12:34, Patrick Delaunay
wrote:
With LTO activated, the buildman tools failed with an error on my
configuration (Ubuntu 20.04, stm32mp15_trusted_defconfig) with the error:
../arm-linux-gnueabi/bin/nm:
scripts
Add a error in patman tool when the commit message contents an invalid
tag "Serie-.*" instead of "Series-.*".
Signed-off-by: Patrick Delaunay
---
I create this patch to avoid my frequent mistake:
using "Serie-" tag instead of "Series-" as it is done in [
Hi Gianluca,
On 7/22/21 10:01 AM, gianluca wrote:
Hello list,
I was wondering what I am doing wrong following the procedure
explained in the doc/board/st/stm32mp1.rst documentation file.
I am using the latest git version (the Makefile says 2021.07).
My goal is to run from sdcard in trusted b
Add a error in patman tool when the commit message contents an invalid
tag "Serie-.*" instead of "Series-.*".
Signed-off-by: Patrick Delaunay
---
I create this patch to avoid my frequent mistake:
using "Serie-" tag instead of "Series-" as it is done in [
with STM32IMAGE header,
in this case OP-TEE can't update the U-Boot device tree.
Moreover in trusted boot mode with FIP, as the OP-TEE nodes are present
in U-Boot device tree only when needed the function
stm32_fdt_disable_optee can be removed.
Signed-off-by: Patrick Delaunay
Reviewed-by: Pa
CONFIG_STM32MP15x_STM32IMAGE to request the
STM32 image generation for SOC STM32MP15x
when FIP container is not used (u-boot.stm32 is loaded by TF-A
as done previously to keep the backward compatibility).
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
(no changes since v1)
arch/arm/mach-stm32mp
ll be removed after TF-A migration
to FIP support.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
(no changes since v1)
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 2 ++
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4
arch/arm/mach-stm32mp/cmd_stm3
ENV_OFFSET / CONFIG_ENV_OFFSET_REDUND)
need to be modified.
With FIP the TEE MTD partitions are removed because the OP-TEE binray are
included in the FIP containers.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
(no changes since v2)
Changes in v2:
- synchronize defconfig with latest change
ar
) which is no more generated.
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
---
Changes in v3:
- add reference for STM32 WIKI, TF-A and OP-TEE
- add information about TF-A compilation and clarify the output files
Changes in v2:
- fix one typo: s/ enought / enough
doc/board/st
50.html
Changes in v3:
- add reference for STM32 WIKI, TF-A and OP-TEE
- add information about TF-A compilation and clarify the output files
Changes in v2:
- synchronize defconfig with latest change
- fix one typo: s/ enought / enough
Patrick Delaunay (5):
arm: stm32mp: add config for STM32IMAGE
be used.
It is the case today in lib/efi_loader/efi_memory.c:efi_add_known_memory()
and this patch avoids that the reserved memory for OP-TEE is not part of
the EFI available memory regions.
Signed-off-by: Patrick Delaunay
---
Patch to correct the UEFI support for STM32MP platform
after Heinrich
Hi Alexandru,
On 5/17/21 8:39 PM, Alexandru Gagniuc wrote:
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 preve
Hi,
On 7/8/21 10:53 AM, Patrick Delaunay wrote:
When the TAMP register 20 have an invalid value (0x0 for example after
TAMPER error) the "boot_device" U-Boot env variable have no value and
no error is displayed in U-Boot log.
The STM32MP boot command bootcmd_stm32mp failed with str
Hi,
On 7/8/21 10:53 AM, Patrick Delaunay wrote:
When the TAMP register 20 have an invalid value (0x0 for example after
TAMPER error) the "boot_device" U-Boot env variable have no value and
no error is displayed in U-Boot log.
The STM32MP boot command bootcmd_stm32mp failed with str
Hi,
On 7/9/21 9:53 AM, Patrick Delaunay wrote:
When a push-button is released and PA13/PA14 are defined as input (high-Z)
the LED should not be active as the circuit is open but a small current
leak through PCB or push-button close the circuit and allows a small LED
bias giving erroneous level
Hi,
On 7/9/21 2:24 PM, Patrick Delaunay wrote:
Add the missing SPI clock even if these instances are not available
on STMicroelectronics boards: SPI2_K, SPI3_K, SPI4_K, SPI6_K.
With this patch, the SPI2 / SPI3 / SPI4 / SPI6 instances can be used on
customer design without the clock driver
t was only added in commit 1ad6e36ec266 ("ARM: dts: stm32: Fix sdmmc2 pins
on AV96") .
Update the AV96 DT pinmux phandle, otherwise eMMC 8bit mode does not work
and access to eMMC takes a very long time to fall back to 4bit mode.
Signed-off-by: Marek Vasut
Cc: Patrick Delaunay
: Tom Rini
Reviewed-by: Patrick Delaunay
---
common/spl/spl_mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Applied to u-boot-stm/master, thanks!
Regards
Patrick
-by: Patrick Delaunay
---
common/spl/spl.c | 5 +
include/spl.h| 14 ++
2 files changed, 19 insertions(+)
Applied to u-boot-stm/master, thanks!
Regards
Patrick
-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Makefile | 1 +
arch/arm/mach-stm32mp/include/mach/tzc.h | 33 ++
arch/arm/mach-stm32mp/tzc400.c | 136 +++
3 files changed, 170 insertions(+)
create mode 100644 arch/arm/mach-stm32mp/include/mach
hI,
On 7/15/21 9:19 PM, Alexandru Gagniuc wrote:
OP-TEE is very particular about how the TZC should be configured.
When booting an OP-TEE payload, an incorrect TZC configuration will
result in a panic.
Most information can be derived from the SPL devicetree. The only
information we don't have i
Hi,
On 7/15/21 9:19 PM, Alexandru Gagniuc wrote:
Add the "/reserved-memory/optee" node to the SPL devicetree. The
purpose is to allow configuring TZC regions when booting OP-TEE.
Signed-off-by: Alexandru Gagniuc
Reviewed-by: Simon Glass
---
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 3 +++
spl_board_prepare_for_optee() hook
arm: stm32mp: Implement support for TZC 400 controller
stm32mp1: spl: Configure TrustZone controller for OP-TEE
ARM: dts: stm32mp: Add OP-TEE reserved memory to SPL dtb
Marek Vasut (1):
ARM: dts: stm32: Fix AV96 eMMC pinmux
Patrick Delaunay (3
1 deletion(-)
Acked-by: Patrick Delaunay # for
stm32mp15_*_defconfig
but it is strange for "stm32mp15_trusted_defconfig" as this
configuration don't enable the SPL support(see after).
diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index 5fb1da49e4
rl on microdev2.0-of7
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp15-pinctrl.dtsi | 33 +++
arch/arm/dts/stm32mp151.dtsi | 16 -
...157a-microgea-stm32mp1-microdev2.0-of7.dts | 2 +-
3 files changed, 42 insertions(+), 9 deletions(-)
implementations, such as stm32mp.
Signed-off-by: Alexandru Gagniuc
---
include/crypto/ecdsa-uclass.h | 39 +++
include/dm/uclass-id.h| 1 +
2 files changed, 40 insertions(+)
create mode 100644 include/crypto/ecdsa-uclass.h
Reviewed-by: Patrick Delaunay
Thanks
mode 100644 lib/ecdsa/Kconfig
create mode 100644 lib/ecdsa/Makefile
create mode 100644 lib/ecdsa/ecdsa-verify.c
Reviewed-by: Patrick Delaunay
Thanks
Patrick
-stm32mp/Makefile | 1 +
arch/arm/mach-stm32mp/ecdsa_romapi.c | 102 +++
3 files changed, 112 insertions(+)
create mode 100644 arch/arm/mach-stm32mp/ecdsa_romapi.c
Reviewed-by: Patrick Delaunay
Thanks
Patrick
one to explicitly disable RSA support.
Signed-off-by: Alexandru Gagniuc
Reviewed-by: Simon Glass
Reviewed-by: Igor Opaniuk
---
common/Kconfig.boot | 8
1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
ons(+)
create mode 100644 test/dm/ecdsa.c
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Use the return value ENOSYS for unsupported API
- pinctrl_generic_set_state
- pinctrl_select_state
Signed-off-by: Patrick Delaunay
---
include/dm/pinctrl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
index 695e78ad0d
Add a message on probe in driver model core when the default
pinctrl selection failed.
This message is displayed only when the pinctrl API is
implemented, i.e. when result is not ENOSYS.
Signed-off-by: Patrick Delaunay
---
drivers/core/device.c | 16
1 file changed, 12
Migrate the dm_warn function to log macro with
LOGC_DM category and LOGL_WARNING level.
This macro allows filtering with log command and allows
output on all log backend.
Signed-off-by: Patrick Delaunay
---
drivers/core/util.c | 11 ---
include/dm/util.h | 2 +-
2 files changed, 1
Hi Ahmad,
On 2/11/21 12:14 PM, Ahmad Fatoum wrote:
Hi,
On 10.02.21 20:59, Tom Rini wrote:
On Tue, Feb 09, 2021 at 08:51:26PM +0100, Patrick DELAUNAY wrote:
On 2/9/21 11:39 AM, Marek Vasut wrote:
On 2/9/21 11:14 AM, Patrick Delaunay wrote:
Hi,
[...]
diff --git a/drivers/usb/gadget
Hi Marek,
On 2/12/21 1:50 PM, Marek Vasut wrote:
Add support for booting from USB pen drive, since USB host port is
available on the STM32MP1.
Signed-off-by: Marek Vasut
Cc: Patrice Chotard
Cc: Patrick Delaunay
---
include/configs/stm32mp1.h | 7 +++
1 file changed, 7 insertions
Remove duplicated uart nodes introduced with commit 62f95af92a3f
("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.9-rc4"),
because the uart nodes wasn't correctly ordered in alphabetic order.
Only cosmetic: the generated device tree don't change.
Signed-off-
related udevice reference.
Signed-off-by: Etienne Carriere
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 62 ++
1 file changed, 23 insertions(+), 39 deletions(-)
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
index
SCMI resources for stm32mp15"
This patch is a preliminary step for SCMI support of stm32mp15
boards with trusted boot chain, based on TF-A or OP-TEE.
Signed-off-by: Etienne Carriere
Signed-off-by: Patrick Delaunay
---
Reference:
https://patchwork.kernel.org/project/linux-arm-ke
ARM: dts: stm32mp1: explicit clock reference needed by RCC clock
driver
clk: stm32mp1: gets root clocks from fdt
Patrick Delaunay (4):
scmi: Include device_compat.h
scmi: define LOG_CATEGORY
scmi: cosmetic: reorder include files
configs: stm32mp1_trusted_defconfig rely on SCMI support
ar
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
---
drivers/firmware/scmi/mailbox_agent.c| 2 ++
drivers/firmware/scmi/sandbox-scmi_agent.c | 2 ++
drivers/firmware/scmi/sandbox-scmi_devices.c | 2 ++
drivers/firmware/scmi/scmi_agent-uclass.c
Include the file needed for log function prototype, this patch solves the
compilation issue for undefined reference to `dev_err'.
Signed-off-by: Patrick Delaunay
---
drivers/firmware/scmi/smccc_agent.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/scmi/smccc_agent
Enable SCMI clock and reset domain support for stm32mp1 platform
and ARM SMC mailbox driver used as communication channel for
SCMI messages between non-secure world and secure SCMI server.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_trusted_defconfig | 2 ++
1 file changed, 2
Reorder include files in expected order.
Signed-off-by: Patrick Delaunay
---
drivers/firmware/scmi/mailbox_agent.c | 2 +-
drivers/firmware/scmi/scmi_agent-uclass.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/firmware/scmi/mailbox_agent.c
b/drivers
801 - 900 of 3503 matches
Mail list logo