Skip to content

RFC arm: zynq: implement FPGA load from SPL

Luis Araneda u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spl: fit: display a message when an FPGA image is loadedcommon/spl/spl_fit.c+1 -01 reply
2/4drivers: fpga: zynqpl: fix compilation with SPLdrivers/fpga/zynqpl.c+2 -21 reply
3/4arm: zynq: spl: fix FPGA initializationarch/arm/mach-zynq/spl.c+3 -01 reply
4/4arm: zynq: spl: implement FPGA load from FITarch/arm/mach-zynq/spl.c+39 -01 reply
4/4arm: zynq: spl: implement FPGA load from FIT+0 -01 reply
4/4arm: zynq: spl: implement FPGA load from FIT+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/4] arm: zynq: implement FPGA load from SPL

This series implements FPGA bitstream loading from SPL. Programming the FPGA from the SPL is necessary on some boards, like the Zybo, because the FPGA fabric routes the I2C bus to an EEPROM for reading the Ethernet MAC address.

The bitstream is loaded from a FIT image into a dynamically-allocated memory before programming the FPGA.

Additionally, some fixes are applied to compile the zynqpl driver for SPL, and to properly detect an FPGA from the SPL.

I'm not sure if the fixes are correct or I'm missing something, hence the RFC.

Tested on a Digilent Zybo Z7-20 board

Luis Araneda (4):
spl: fit: display a message when an FPGA image is loaded
drivers: fpga: zynqpl: fix compilation with SPL
arm: zynq: spl: fix FPGA initialization
arm: zynq: spl: implement FPGA load from FIT

 arch/arm/mach-zynq/spl.c | 42 ++++++++++++++++++++++++++++++++++++++++
 common/spl/spl_fit.c     |  1 +
 drivers/fpga/zynqpl.c    |  4 ++--
 3 files changed, 45 insertions(+), 2 deletions(-)
Signature · 1 line
2.18.0