[PATCH v3 0/4] Improve user feedback in case of FPGA bitstream load failure

vtpieter at gmail.com vtpieter at gmail.com
Thu Jun 26 11:35:12 CEST 2025


From: Pieter Van Trappen <pieter.van.trappen at cern.ch>

The main motivation for this patch series is to make the `fpga *`
commands' return more explicit because simply returning the command
usage without indicating the root cause is not helpful.

In addition, a the sandbox_defconfig was amended to facilitate
compiling fpga-based sources and various style, compiler errors and
warnings have been fixed.

v3:
 * enable FPGA configs in sandbox_defconfig instead of new one

v2:
 * use log_% instead of puts()
 * harmonize user feedback format; remove useless strings
 * add a sandbox_fpga_defconfig; amend fpga Kconfig
 * fix various compiler errors and warnings

v1: initial version


Pieter Van Trappen (4):
  Improve user feedback in case of FPGA bitstream load failure
  Amend drivers/fpga Kconfig for FPGA_SOCFPGA
  Enable FPGA commands and drivers at sandbox_defconfig
  FPGA files - correct compiler errors and warnings

 cmd/fpga.c                | 101 ++++++++++++++---------------
 configs/sandbox_defconfig |  20 ++++++
 drivers/fpga/ACEX1K.c     |   1 +
 drivers/fpga/Kconfig      |   1 +
 drivers/fpga/ivm_core.c   |   1 +
 drivers/fpga/lattice.c    |   4 +-
 drivers/fpga/spartan2.c   |   1 +
 drivers/fpga/stratixII.c  | 131 +++++++++++++++++---------------------
 drivers/fpga/stratixv.c   |   2 +-
 drivers/fpga/versalpl.c   |   1 -
 drivers/fpga/virtex2.c    |   2 +
 drivers/fpga/zynqmppl.c   |   4 +-
 drivers/fpga/zynqpl.c     |   4 +-
 include/stratixII.h       |   6 +-
 14 files changed, 147 insertions(+), 132 deletions(-)


base-commit: 40e083353a1610276f12fdbe613bf12004452656
-- 
2.48.1



More information about the U-Boot mailing list