From: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
To: u-boot@lists.denx.de
Cc: oleksandr.suvorov@foundries.io, ricardo@foundries.io,
michal.simek@xilinx.com, igor.opaniuk@foundries.io,
jorge@foundries.io, mr.nuke.me@gmail.com, bmeng.cn@gmail.com,
hs@denx.de, jagan@amarulasolutions.com, klaus@linux.vnet.ibm.com,
seanga2@gmail.com, sjg@chromium.org,
jaeckel-floss@eyet-services.de,
Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Subject: [PATCH v7 0/7] fpga: zynqmp: Adding support of loading authenticated images
Date: Mon, 11 Apr 2022 20:00:39 +0200 [thread overview]
Message-ID: <20220411180046.1505209-1-adrian.fiergolski@fastree3d.com> (raw)
This patchset introduces support for the authenticated FPGA images
on ZynqMP boards, besides that introducing common way to pass the
compatible property to any fpga driver.
It bases on the initial work by Jorge Ramirez-Ortiz <jorge@foundries.io>
https://patchwork.ozlabs.org/project/uboot/patch/20211015091506.2602-1-jorge@foundries.io/
https://patchwork.ozlabs.org/project/uboot/patch/20211005111324.19749-3-jorge@foundries.io/
Changed in v7:
- apply Michal Simek's suggestions
As I applied changes on Oleksandr's patches, I indicated it by specifying myself as co-author
in the commits logs. I am not sure if that is the convention of marking it.
Changed in v6:
- add support for the encrypted bitfiles
Changes in v5:
- replace ifdef with if() where it's possible
Changes in v4:
- change interface to xilinx_desc->operations->open() callback.
- fix a bug from previous version of the patchset in dereferencing
of a parent fpga_desc structure.
Changes in v3:
- remove the patch which introduced CMD_SPL_FPGA_LOAD_SECURE.
- fix mixing definitions/declarations.
- replace strcmp() calls with more secure strncmp().
- document the "u-boot,zynqmp-fpga-ddrauth" compatible string.
- fix code style by check-patch recommendations.
Changes in v2:
- add function fit_fpga_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.
Oleksandr Suvorov (6):
fpga: add option for loading FPGA secure bitstreams
fpga: add fit_fpga_load function
fpga: xilinx: pass an address of xilinx_desc in fpga_desc
fpga: xilinx: add missed identifier names
fpga: xilinx: pass xilinx_desc pointer address into load() ops
fpga: zynqmp: support loading authenticated images
Adrian Fiergolski (1):
fpga: zynqmp: support loading encrypted bitfiles
boot/Kconfig | 4 +--
cmd/Kconfig | 3 ++-
common/spl/spl_fit.c | 6 ++---
doc/uImage.FIT/source_file_format.txt | 7 +++++-
drivers/fpga/Kconfig | 14 +++++++++++
drivers/fpga/fpga.c | 29 ++++++++++++++++++---
drivers/fpga/spartan2.c | 3 ++-
drivers/fpga/spartan3.c | 3 ++-
drivers/fpga/versalpl.c | 2 +-
drivers/fpga/virtex2.c | 3 ++-
drivers/fpga/xilinx.c | 8 +++---
drivers/fpga/zynqmppl.c | 36 ++++++++++++++++++++++++---
drivers/fpga/zynqpl.c | 3 ++-
include/fpga.h | 5 ++++
include/xilinx.h | 12 +++++----
15 files changed, 109 insertions(+), 29 deletions(-)
--
2.35.1
next reply other threads:[~2022-04-11 18:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 18:00 Adrian Fiergolski [this message]
2022-04-11 18:00 ` [PATCH v7 1/7] fpga: add option for loading FPGA secure bitstreams Adrian Fiergolski
2022-04-11 18:00 ` [PATCH v7 2/7] fpga: add fit_fpga_load function Adrian Fiergolski
2022-05-03 7:42 ` Michal Simek
2022-05-04 14:28 ` Adrian Fiergolski
2022-05-04 18:26 ` Oleksandr Suvorov
2022-05-09 10:30 ` Adrian Fiergolski
2022-05-09 11:41 ` Oleksandr Suvorov
2022-05-09 11:02 ` Oleksandr Suvorov
2022-05-09 11:35 ` Adrian Fiergolski
2022-05-09 13:28 ` Oleksandr Suvorov
2022-05-09 13:34 ` Adrian Fiergolski
2022-05-16 14:25 ` Michal Simek
2022-05-18 8:47 ` Oleksandr Suvorov
2022-05-31 23:17 ` Oleksandr Suvorov
2022-04-11 18:00 ` [PATCH v7 3/7] fpga: xilinx: pass an address of xilinx_desc in fpga_desc Adrian Fiergolski
2022-04-11 18:00 ` [PATCH v7 4/7] fpga: xilinx: add missed identifier names Adrian Fiergolski
2022-05-03 7:43 ` Michal Simek
2022-04-11 18:00 ` [PATCH v7 5/7] fpga: xilinx: pass xilinx_desc pointer address into load() ops Adrian Fiergolski
2022-05-03 7:44 ` Michal Simek
2022-04-11 18:00 ` [PATCH v7 6/7] fpga: zynqmp: support loading authenticated images Adrian Fiergolski
2022-05-03 7:55 ` Michal Simek
2022-05-07 22:19 ` Oleksandr Suvorov
2022-04-11 18:00 ` [PATCH v7 7/7] fpga: zynqmp: support loading encrypted bitfiles Adrian Fiergolski
2022-05-03 7:56 ` [PATCH v7 0/7] fpga: zynqmp: Adding support of loading authenticated images Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220411180046.1505209-1-adrian.fiergolski@fastree3d.com \
--to=adrian.fiergolski@fastree3d.com \
--cc=bmeng.cn@gmail.com \
--cc=hs@denx.de \
--cc=igor.opaniuk@foundries.io \
--cc=jaeckel-floss@eyet-services.de \
--cc=jagan@amarulasolutions.com \
--cc=jorge@foundries.io \
--cc=klaus@linux.vnet.ibm.com \
--cc=michal.simek@xilinx.com \
--cc=mr.nuke.me@gmail.com \
--cc=oleksandr.suvorov@foundries.io \
--cc=ricardo@foundries.io \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.