Skip to content

cmd: fpga: Fix fpga command handling and add some fpga tests

Michal Simek u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest17 patches 0 repliesNew
  2. v117 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Extend non complete commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17cmd: fpga: Remove fit image support passed without fpga devicecmd/fpga.c+0 -250 replies
2/17test/py: Extend fpga command to test all fpga load typestest/py/tests/test_fpga.py+552 -00 replies
3/17cmd: fpga: Move error handling to do_fpga()cmd/fpga.c+3 -30 replies
4/17cmd: fpga: Move fpga_get_op to avoid local function declarationcmd/fpga.c+41 -440 replies
5/17cmd: fpga: Cleanup error handling in connection to FPGA_NONEcmd/fpga.c+2 -60 replies
6/17cmd: fpga: Move parameter checking for loadfs/loadscmd/fpga.c+21 -230 replies
7/17cmd: fpga: Remove parameter checking from fpga loadfs commandcmd/fpga.c+0 -70 replies
8/17cmd: fpga: Clean wrong_parms handlingcmd/fpga.c+8 -270 replies
9/17cmd: fpga: Create new do_fpga_wrapper for using u-boot subcommandscmd/fpga.c+40 -20 replies
10/17cmd: fpga: Extract fpga info command to separate functioncmd/fpga.c+27 -80 replies
11/17cmd: fpga: Fix dump and all direct fpga load commandscmd/fpga.c+122 -440 replies
12/17cmd: fpga: Fix loadfs commandcmd/fpga.c+28 -300 replies
13/17cmd: fpga: Fix loadmk commandcmd/fpga.c+123 -1150 replies
14/17cmd: fpga: Add support for missing fpga loadmk commandscmd/fpga.c+35 -201 reply
15/17cmd: fpga: Use CMD_RET_FAILURE instead of simple 1cmd/fpga.c+7 -70 replies
16/17cmd: fpga: Fix loads commandcmd/fpga.c+36 -1120 replies
17/17MAINTAINERS: Add myself as the FPGA maintainerMAINTAINERS+8 -00 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/17R-b
2/17R-b
3/17R-b
4/17R-b
5/17R-b
6/17R-b
7/17R-b
8/17R-b
9/17R-b
10/17R-b
11/17R-b
12/17R-b
13/17R-b
14/17R-b
15/17R-b
16/17R-b
17/17R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/17] cmd: fpga: Fix fpga command handling and add some fpga tests

Hi,

We are using this framework for a while and by adding more and more features it requires small redesigned how commands are handled. This is something what I have put together to improve readability of this code and also remove code which is bogus and completely untested.

The patch
https://lists.denx.de/pipermail/u-boot/2018-June/330651.html
is also included in this series to have full picture.

Thanks,
Michal

Changes in v2:
- Extend non complete commit message

Changes in v1:
- Remove debug message checking (unfortunatelly we can't parse them)
- Add dependency on image_format_legacy and gzip
- Setup all FIT tests and legacy uimage tests
- New patch from RFC

Michal Simek (17):
cmd: fpga: Remove fit image support passed without fpga device test/py: Extend fpga command to test all fpga load types
cmd: fpga: Move error handling to do_fpga()
cmd: fpga: Move fpga_get_op to avoid local function declaration
cmd: fpga: Cleanup error handling in connection to FPGA_NONE
cmd: fpga: Move parameter checking for loadfs/loads
cmd: fpga: Remove parameter checking from fpga loadfs command
cmd: fpga: Clean wrong_parms handling
cmd: fpga: Create new do_fpga_wrapper for using u-boot subcommands
cmd: fpga: Extract fpga info command to separate function
cmd: fpga: Fix dump and all direct fpga load commands
cmd: fpga: Fix loadfs command
cmd: fpga: Fix loadmk command
cmd: fpga: Add support for missing fpga loadmk commands
cmd: fpga: Use CMD_RET_FAILURE instead of simple 1
cmd: fpga: Fix loads command
MAINTAINERS: Add myself as the FPGA maintainer

 MAINTAINERS                |   8 +
 cmd/fpga.c                 | 652 +++++++++++++++++++++++----------------------
 test/py/tests/test_fpga.py | 552 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 896 insertions(+), 316 deletions(-)
 create mode 100644 test/py/tests/test_fpga.py
Signature · 1 line
1.9.1