Skip to content

common: fitimage support for arbitrary fpga type

Dalon Westergreen u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Fix typos and caps in comments

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2common: image: update boot_get_fpga to support arbitrary fpga imagecommon/image-fit.c common/image.c include/image.h+88 -193 replies
1/2common: image: update boot_get_fpga to support arbitrary fpga image+0 -01 reply
1/2common: image: update boot_get_fpga to support arbitrary fpga image+0 -00 replies
1/2common: image: update boot_get_fpga to support arbitrary fpga image+0 -00 replies
1/2common: image: update boot_get_fpga to support arbitrary fpga image+0 -00 replies
2/2common: bootm: add support for arbitrary fgpa configurationcommon/bootm.c+1 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/2] common: fitimage support for arbitrary fpga type

The intent of these patches is to modify existing fitimage support for fpga configuration to allow configuration of any fpga type supported by the fpga_load command.

In the fpga node, two additional optional parameters are used to indicate the fpga device number (for systems with multiple fpgas) and whether the fpga image is a full or partial image.

fpga-devnum: FPGA device number, defaults to 0
fpga-partial-image: 0 = full, other = partial, defaults to full

Changes in v3:
- Fix typos and caps in comments
Changes in v2:
- Add support for devnum and partial
- for backward compatibility, do check of image size for xilinx to determine if the image is a partial image

Dalon Westergreen (2):
common: image: update boot_get_fpga to support arbitrary fpga image
common: bootm: add support for arbitrary fgpa configuration

 common/bootm.c     |  2 +-
 common/image-fit.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 common/image.c     | 51 ++++++++++++++++++++++++++++++++-------------------
 include/image.h    |  5 +++++
 4 files changed, 89 insertions(+), 20 deletions(-)
Signature · 1 line
2.7.4