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
Reviewed-by: Peng Fan
Reviewed-by: Igor Opaniuk
Acked-by: Marcel Ziswiler
---
Changes in v5:
- rebase on top of the latest
://github.com/foundriesio/u-boot/pull/116
or this one for the mainline u-boot:
https://patchwork.ozlabs.org/project/uboot/list/?series=276743
> > > > I need to use an encrypted bitstream. However, it required the use of
> > > > DeviceKeys in post-boot state which eventually requires secure boot.
> > > >
> > > > Regards,
> > >
> > > hope that helps
> > >
> > > >
> > > > Adrian
--
Best regards
Oleksandr
Oleksandr Suvorov
cryo...@gmail.com
Hi Tom,
On Sun, Aug 27, 2023 at 2:50 AM Tom Rini wrote:
>
> On Sat, Aug 26, 2023 at 06:16:36PM +0300, Oleksandr Suvorov wrote:
> > Hi Heinrich,
> >
> > On Sat, Aug 26, 2023 at 4:46 PM Heinrich Schuchardt
> > wrote:
> > >
> > > On 8/26/23 15
: c0f037f6a2a ("mach-imx: bootaux: elf firmware support")
Signed-off-by: Oleksandr Suvorov
---
Changes in v2:
- select LIB_ELF unconditionally
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d
The make by default cuts off the stdout output from external tools,
so all error messages from the image-host are not shown in a make
output. Besides that, it is a common approach to use stderr stream
for error messages.
Use stderr for all error messages in image-host.
Signed-off-by: Oleksandr
This stub needs to link SPL properly.
Signed-off-by: Oleksandr Suvorov
---
common/spl/spl.c | 8
1 file changed, 8 insertions(+)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 0062f3f45d9..781858891b9 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -1026,3 +1026,11
From: Igor Opaniuk
Move an OEM closing logic to ahab_close() function to be able to use
it directly without calling a u-boot command.
Signed-off-by: Igor Opaniuk
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
arch/arm/include/asm/arch-imx8/sys_proto.h | 1 +
arch
Add SPL_HW_WATCHDOG Kconfig symbol which can be used to enable
non-WDT hardware watchdog in SPL.
Co-developed-by: Igor Opaniuk
Signed-off-by: Igor Opaniuk
Signed-off-by: Oleksandr Suvorov
---
Changes in v2:
- remove mistakenly included unwanted changes
common/spl/Kconfig| 1
In the usb/dwc3-layerscape driver the first option should be renamed
to the latter as well. Do it.
Fixes: 333e4a621df ("Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST")
Signed-off-by: Oleksandr Suvorov
---
drivers/usb/dwc3/dwc3-layerscape.c | 4 ++--
1 file changed, 2 insertions(+), 2
If one of SHA* algorithms is disabled in u-boot, its code is not
included in SPL even if a given SHA* option is enabled in SPL. Fix
this.
Fixes: 603d15a572d ("spl: cypto: Bring back SPL_ versions of SHA")
Signed-off-by: Oleksandr Suvorov
---
lib/Makefile | 6 +++---
1 file
HAS_CAAM should be enabled for all architecture support it. Whereas
FSL_CAAM enables a driver for a device which may be managed by
another system, like OP-TEE. Allow disabling u-boot FSL CAAM driver
on systems with CAAM to prevent access conflicts.
Signed-off-by: Oleksandr Suvorov
---
arch/arm
In the usb/dwc3-layerscape driver the first option should be renamed
to the latter as well. Do it.
Fixes: 333e4a621df ("Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST")
Signed-off-by: Oleksandr Suvorov
---
Changes in v2:
- [asked by Tom Rini] shrink the code using CONFIG_IS_ENABLED()
d
mmc_bind() in mmc-uclass.c calls blk_create_devicef() which is
defined in blk-uclass.c, so SPL_BLK is required by SPL_DM_MMC.
Implicitly select SPL_BLK for SPL_DM_MMC.
Signed-off-by: Oleksandr Suvorov
---
drivers/mmc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc
Add SPL_HW_WATCHDOG Kconfig symbol which can be used to enable
non-WDT hardware watchdog in SPL.
Co-developed-by: Igor Opaniuk
Signed-off-by: Igor Opaniuk
Signed-off-by: Oleksandr Suvorov
---
arch/arm/dts/imx8mp-u-boot.dtsi | 8
common/spl/Kconfig | 1 -
drivers
On Tue, Aug 22, 2023 at 7:28 PM Fabio Estevam wrote:
>
> Hi Oleksandr,
>
> On Tue, Aug 22, 2023 at 12:53 PM Oleksandr Suvorov
> wrote:
>
> > ddr-1d-imem-fw {
> > - filename = "lpddr4_pmu_train_1d_imem_202006.bin&quo
: undefined reference to `valid_elf_image'
Fixes: c0f037f6a2a ("mach-imx: bootaux: elf firmware support")
Signed-off-by: Oleksandr Suvorov
---
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d94b5828d0d..c
Hi Heinrich,
On Sat, Aug 26, 2023 at 4:46 PM Heinrich Schuchardt wrote:
>
> On 8/26/23 15:24, Oleksandr Suvorov wrote:
> > If CMD_ELF disabled and IMX_BOOTAUX enabled, the u-boot building ends
> > up with a linking error [1]. Select LIB_ELF for all cases when
> > v
Hi Stefan,
On Thu, Aug 24, 2023 at 2:24 PM Stefan Roese wrote:
>
> On 8/23/23 14:00, Oleksandr Suvorov wrote:
> > Add SPL_HW_WATCHDOG Kconfig symbol which can be used to enable
> > non-WDT hardware watchdog in SPL.
>
> Hmmm, my hope / plan was to completely drop HW_WATCHD
for all modes, returning
NOWHERE when no valid mode is found.
Signed-off-by: Ricardo Salveti
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
arch/arm/mach-imx/imx8ulp/soc.c | 28
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git
From: Ricardo Salveti
This reverts commit c5b68ef8af3c2f515c1f5b8d63a69359a85d753b.
CONFIG_OPTEE_TZDRAM_SIZE is used by imx6-based SoCs as well. Move the
option back.
Signed-off-by: Ricardo Salveti
Signed-off-by: Oleksandr Suvorov
---
arch/arm/mach-imx/mx7/Kconfig | 8
lib/optee
In the usb/dwc3-layerscape driver the first option should be renamed
to the latter as well. Do it.
Fix original logic in dwc3_layerscape_bind() - do not enable
Fixes: 333e4a621df ("Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST")
Signed-off-by: Oleksandr Suvorov
---
(no change
The original logic always enables USB_DR_MODE_HOST operation mode in
dwc3_layerscape_bind() in u-boot. Prevent choosing USB_DR_MODE_HOST
operation mode if USB_HOST is not enabled.
Fixes: 2b0b51d0bed ("usb: dwc3: add layerscape support")
Signed-off-by: Oleksandr Suvorov
---
Changes in
On Fri, Aug 25, 2023 at 1:39 PM Marek Vasut wrote:
>
> On 8/25/23 12:27, Oleksandr Suvorov wrote:
> > On Wed, Aug 23, 2023 at 9:29 PM Marek Vasut wrote:
> >>
> >> On 8/23/23 20:21, Oleksandr Suvorov wrote:
> >>> In the usb/dwc3-layerscape
Hi Stefan,
On Mon, Aug 28, 2023 at 5:30 PM Stefan Roese wrote:
>
> Hi Oleksandr,
>
> On 8/28/23 15:23, Oleksandr Suvorov wrote:
> > Hi Stefan,
> >
> > On Thu, Aug 24, 2023 at 2:24 PM Stefan Roese wrote:
> >>
> >> On 8/23/23 14:00, Oleksandr
On Wed, Aug 23, 2023 at 9:29 PM Marek Vasut wrote:
>
> On 8/23/23 20:21, Oleksandr Suvorov wrote:
> > In the usb/dwc3-layerscape driver the first option should be renamed
> > to the latter as well. Do it.
> >
> > Fixes: 333e4a621df ("Rename SPL_USB_HOST_SUPPO
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/versalpl.h | 2 +-
include/xilinx.h | 5 +
include
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
common/spl/spl_fit.c | 6 --
drivers/fpga/fpga.c | 5
This flag is used to check whether a Xilinx FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 2 +-
drivers/fpga/xilinx.c | 2 +-
include/xilinx.h | 2 +-
3 files changed, 3 insertions(+), 3
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 26 ++
include/fpga.h | 1 +
2 files changed, 27
Function definition arguments should also have identifier names.
Add missed ones to struct xilinx_fpga_op callbacks, unifying code.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/xilinx.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git
Add a call to convert FPGA "compatible" string to a binary flag.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
index 8ff12bf50a0..0
From: Tom Rini
Signed-off-by: Tom Rini
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 107685e82a0..61927f8918b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
VERSION
urce to the AES engine if the FSBL is not encrypted. This prevents
using the BBRAM or eFUSE as the key source to the AES engine during run-time
applications."
Signed-off-by: Adrian Fiergolski
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
Changes in v8:
- Michal
Convert taken FPGA image "compatible" string to a binary compatible
flag and pass it to an FPGA driver.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
common/spl/spl_fit.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/common/spl/spl_fit.
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/Kconfig | 4 ++--
doc/
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2 +-
drivers/fpga/versalpl.c | 2 +-
drivers/fpga/virtex2.c | 2
Optimize function code preparing to add secure bitstream types
support.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
a: zynqmp: support loading encrypted bitfiles
Oleksandr Suvorov (12):
fpga: add option for loading FPGA secure bitstreams
fpga: xilinx: add missed identifier names
fpga: xilinx: add bitstream flags to driver desc
fpga: zynqmp: add str2flags call
fpga: add fpga_compatible2flag
fpga: xilinx:
It allows using this feature without enabling the "fpga loads"
command.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Co-developed-by: Adrian Fiergolski
Signed-off-by: Adrian Fiergolski
---
(no changes since v1)
cmd/Kconfig | 3 ++-
drivers/fpga/Kconf
Hi Michal,
On Mon, May 16, 2022 at 5:25 PM Michal Simek wrote:
>
>
>
> On 5/9/22 15:34, Adrian Fiergolski wrote:
> > Michal,
> >
> > On 09.05.2022 15:28, Oleksandr Suvorov wrote:
> >> Hi Adrian,
> >>
> >> On Mon, May 9, 2022 at
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 26 ++
include/fpga.h | 1 +
2 files changed, 27
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/versalpl.h | 2 +-
include/xilinx.h | 5 +
include
It allows using this feature without enabling the "fpga loads"
command.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Co-developed-by: Adrian Fiergolski
Signed-off-by: Adrian Fiergolski
---
(no changes since v1)
cmd/Kconfig | 3 ++-
drivers/fpga/Kconf
This flag is used to check whether a Xilinx FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 2 +-
drivers/fpga/xilinx.c | 2 +-
include/xilinx.h | 2 +-
3 files changed, 3 insertions(+), 3
property to any fpga driver.
Adrian Fiergolski (1):
fpga: zynqmp: support loading encrypted bitfiles
Oleksandr Suvorov (12):
fpga: add option for loading FPGA secure bitstreams
fpga: xilinx: add missed identifier names
fpga: xilinx: add bitstream flags to driver desc
fpga: zy
Add a call to convert FPGA "compatible" string to a binary flag.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
index 8ff12bf50a0..0
Function definition arguments should also have identifier names.
Add missed ones to struct xilinx_fpga_op callbacks, unifying code.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/xilinx.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git
urce to the AES engine if the FSBL is not encrypted. This prevents
using the BBRAM or eFUSE as the key source to the AES engine during run-time
applications."
Signed-off-by: Adrian Fiergolski
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
Changes in v9:
- remove
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/Kconfig | 4 ++--
doc/
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
common/spl/spl_fit.c | 6 --
drivers/fpga/fpga.c | 5
Optimize function code preparing to add secure bitstream types
support.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
Convert taken FPGA image "compatible" string to a binary compatible
flag and pass it to an FPGA driver.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
common/spl/spl_fit.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/common/spl/spl_fit.
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2 +-
drivers/fpga/versalpl.c | 2 +-
drivers/fpga/virtex2.c | 2
Adrian, I don't have access to the ZynqMP hardware for now, so could
you please test this patchset?
On Wed, Jun 1, 2022 at 11:46 AM Oleksandr Suvorov
wrote:
>
>
> This patchset introduces support for the authenticated and encrypted
> FPGA images on ZynqMP boards, besides that introd
./ykman-gui/ykman-gui
Hi Michal,
On Mon, May 16, 2022 at 5:25 PM Michal Simek wrote:
>
>
>
> On 5/9/22 15:34, Adrian Fiergolski wrote:
> > Michal,
> >
> > On 09.05.2022 15:28, Oleksandr Suvorov wrote:
> >> Hi Adrian,
> >>
> >> On
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v10)
Changes in v10:
- fix grammar;
drivers/fpga/zynqmppl.c | 27 +++
1 file
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
Convert taken FPGA image "compatible" string to a binary compatible
flag and pass it to an FPGA driver.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v10)
Changes in v10:
- made the message about ignoring legacy
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2
Optimize function code preparing to add secure bitstream types
support.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v10)
Changes in v10
a_load() to simplify calls of fpga_load()
from contexts without a compatible attribute.
- move all ZynqMP-specific logic to drivers/fpga/zynqmppl.c
- prepare for passing a "compatible" FDT property to any fpga driver.
Adrian Fiergolski (1):
fpga: zynqmp: support loading encrypted bitfiles
This flag is used to check whether a Xilinx FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
drivers/fpga/fpga.c | 2 +-
drivers/fpga/xilinx.c | 2 +-
include
Function definition arguments should also have identifier names.
Add missed ones to struct xilinx_fpga_op callbacks, unifying code.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
include/xilinx.h | 10 ++
1 file
Add a call to convert FPGA "compatible" string to a binary flag.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 9 +
include/xilinx.h| 1 +
2 files changed, 10 insertion
It allows using this feature without enabling the "fpga loads"
command.
Signed-off-by: Oleksandr Suvorov
Co-developed-by: Adrian Fiergolski
Signed-off-by: Adrian Fiergolski
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
cmd/Kconfig
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v10)
Changes in v10:
- fix mixed types of re
urce to the AES engine if the FSBL is not
encrypted. This prevents using the BBRAM or eFUSE as the key source
to the AES engine during run-time applications."
Signed-off-by: Adrian Fiergolski
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
Tested-by: Adrian Fiergolski
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
---
Changes in v11:
- Fix treating an incoming FPGA image with e
Hi Michal,
On Fri, Jul 8, 2022 at 3:43 PM Michal Simek wrote:
>
>
>
> On 7/5/22 21:23, Oleksandr Suvorov wrote:
> > Optimize function code preparing to add secure bitstream types
> > support.
>
> Can you please extend this? I understand what you do below but bet
From: Ricardo Salveti
Add a base implementation of mx7ulp SPL config header and soc,
and changes in makefiles in order to allow building SPL on mx7ulp
based devices.
Signed-off-by: Ricardo Salveti
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
Changes in v3
I've just realized this only patch was not applied among other
patches of the original patchset "Support SPL for i.MX7ULP".
Please apply this patch as now "include/configs/mx7ulp_com.h"
refers to non-existent "include/configs/imx7ulp_spl.h".
Changes in v3:
- rebase the patch to the current
Hi Michal,
On Tue, Jun 7, 2022 at 3:47 PM Michal Simek wrote:
>
> Hi,
>
> On 6/7/22 13:37, Oleksandr Suvorov wrote:
> > Hi Michal,
> >
> > On Tue, Jun 7, 2022 at 2:32 PM Michal Simek wrote:
> >>
> >>
> >>
> >> On 6/1/22 10:46,
gt; Regards,
> Adrian
>
> On 02.06.2022 17:11, Oleksandr Suvorov wrote:
> > Adrian, I don't have access to the ZynqMP hardware for now, so could
> > you please test this patchset?
> >
> > On Wed, Jun 1, 2022 at 11:46 AM Oleksandr Suvorov
> > wrote:
> >>
>
Hi Michal,
On Tue, Jun 7, 2022 at 2:32 PM Michal Simek wrote:
>
>
>
> On 6/1/22 10:46, Oleksandr Suvorov wrote:
> > Store a set of supported bitstream types in xilinx_desc structure.
> > It will be used to determine whether an FPGA image is able to be
> &
On Tue, Jun 7, 2022 at 3:11 PM Michal Simek wrote:
>
>
>
> On 6/1/22 10:46, Oleksandr Suvorov wrote:
> > Add a "compatible" string to binary flag converter, which uses
> > a callback str2flag() of given FPGA driver if available.
> &
urce to the AES engine if the FSBL is not
encrypted. This prevents using the BBRAM or eFUSE as the key source
to the AES engine during run-time applications."
Signed-off-by: Adrian Fiergolski
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- Support DDR images only if FPGA_LOAD_SECURE enabled.
bo
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- fix grammar;
drivers/fpga/zynqmppl.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga
It allows using this feature without enabling the "fpga loads"
command.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Co-developed-by: Adrian Fiergolski
Signed-off-by: Adrian Fiergolski
---
(no changes since v1)
cmd/Kconfig | 3 ++-
drivers/fpga/Kconf
to drivers/fpga/zynqmppl.c
- prepare for passing a "compatible" FDT property to any fpga driver.
Adrian Fiergolski (1):
fpga: zynqmp: support loading encrypted bitfiles
Oleksandr Suvorov (12):
fpga: add option for loading FPGA secure bitstreams
fpga: xilinx: add missed identifier
Function definition arguments should also have identifier names.
Add missed ones to struct xilinx_fpga_op callbacks, unifying code.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/xilinx.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
common/spl/spl_fit.c | 6 --
drivers/fpga/fpga.c | 5
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- move FPGA flags to macros;
- initialize xilinx_desc structs directly, removing
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2 +-
drivers/fpga/versalpl.c | 2 +-
drivers/fpga/virtex2.c | 2
Optimize function code preparing to add secure bitstream types
support.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga
This flag is used to check whether a Xilinx FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 2 +-
drivers/fpga/xilinx.c | 2 +-
include/xilinx.h | 2 +-
3 files changed, 3 insertions(+), 3
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- fix mixed types of return value;
drivers/fpga/fpga.c | 24
include/fpga.h
Add a call to convert FPGA "compatible" string to a binary flag.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 9 +
include/xilinx.h| 1 +
2 files changed, 10 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/
Convert taken FPGA image "compatible" string to a binary compatible
flag and pass it to an FPGA driver.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- made the message about ignoring legacy compatibe option as debug
common/spl/spl_fit.c | 10 +++---
1 file changed, 7
authenticated) and I confirm it
> works.
>
> Regads,
> Adrian
>
> On 12.06.2022 00:06, Oleksandr Suvorov wrote:
> > This patchset introduces support for the authenticated and encrypted
> > FPGA images on ZynqMP boards, besides that introducing common way to
> > pass the
Replace logically correct word in the description.
Fixes: 91a91ff804d ("dm: Add Kconfig options for driver model SPL support")
Signed-off-by: Oleksandr Suvorov
---
drivers/core/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/core/Kconfig b/dr
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
---
(no changes since v11)
Changes in v11:
- Fix treating an inc
urce to the AES engine if the FSBL is not
encrypted. This prevents using the BBRAM or eFUSE as the key source
to the AES engine during run-time applications."
Signed-off-by: Adrian Fiergolski
Co-developed-by: Oleksandr Suvorov
Signed-off-by: Oleksandr Suvorov
Tested-by: Adrian Fiergolski
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
Changes in v12:
- exclude all secure-related code if FPGA_LOAD_SECURE is disabled
Changes in v10:
- fix grammar
drivers
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Tested-by: Adrian Fiergolski
---
Changes in v12:
- define the function only if FPGA_LOAD_SECURE enabled
301 - 400 of 441 matches
Mail list logo