[PATCH v2 0/3] Improve user feedback in case of FPGA bitstream load failure

vtpieter at gmail.com vtpieter at gmail.com
Mon Jun 23 20:12:16 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 new defconfig was added to facilitate compiling
fpga-based sources and various compiler errors and warnings have been
fixed.

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

v1: initial version

Pieter Van Trappen (3):
  Improve user feedback in case of FPGA bitstream load failure
  Amend fpga Kconfig and add a new sandbox_fpga_defconfig
  FPGA drivers files - correct compiler errors and warnings

 cmd/fpga.c                     | 101 ++++-----
 configs/sandbox_fpga_defconfig | 391 +++++++++++++++++++++++++++++++++
 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, 518 insertions(+), 132 deletions(-)
 create mode 100644 configs/sandbox_fpga_defconfig


base-commit: dbf7fd557a73ded3141db3c2cf5c572989378825
-- 
2.48.1



More information about the U-Boot mailing list