Introduce the sysinfo command
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 14 repliesIn review
- v46 patches 4 repliesSuperseded
- v3 posting 2/26 patches 9 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 1/2 | 0 of 5 patches | 0 replies | Superseded | |
| v2 | 4 patches | 2 replies | Superseded | |
| v1 | 4 patches | 12 replies | Superseded |
Changes in v5 from the cover letter
- Use less snprintf calls in drivers/sysinfo/rcar3.c
- Rebase on master
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sysinfo: Add IDs for board id and revisioninclude/ | +5 | 4 replies | |
| 2/6 | cmd: Add a sysinfo commandcmd/ cmd/ cmd/ | +140 | 3 replies | |
| 3/6 | sysinfo: Add a testconfigs/ drivers/ test/ +1 more | +70 | 1 reply | |
| 4/6 | sysinfo: Add documentationdoc/ | +56 | 2 replies | |
| 5/6 | sysinfo: rcar3: Use int instead of char for revisiondrivers/ | +39 | 1 reply | |
| 6/6 | sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*drivers/ | +63 | 3 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Marek Vasut | Simon Glass |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | R-b |
| 3/6 | R-b | R-b |
| 4/6 | R-b | R-b |
| 5/6 | R-b | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/6] Introduce the sysinfo command
The command can be used to show various information that can be used to identify the running system.
Currently supported subcommands are:
* model: A string representing the model
* id: The id of the board
* revision: The revision of this board.
Changes since v4:
- Use less snprintf calls in drivers/sysinfo/rcar3.c
- Rebase on master
Changes since v3:
- Fix documentation typo.
Changes since v2:
- Fix code style.
- Use printf() instead of debug().
- Clarify sysinfo new ids types (int).
- Add a test for sysinfo command.
- Add documentation for sysinfo command.
Changes since v1:
- Removed shell function to select linux device tree. This will be distributions job.
- Break revision in rev_major and rev_minor in the sysinfo driver.
Detlev Casanova (6):
sysinfo: Add IDs for board id and revision
cmd: Add a sysinfo command
sysinfo: Add a test
sysinfo: Add documentation
sysinfo: rcar3: Use int instead of char for revision
sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*
cmd/Kconfig | 6 ++ cmd/Makefile | 1 + cmd/sysinfo.c | 133 ++++++++++++++++++++++++++++++++++++++ configs/sandbox_defconfig | 1 + doc/usage/cmd/sysinfo.rst | 56 ++++++++++++++++ drivers/sysinfo/rcar3.c | 110 +++++++++++++++++++++---------- drivers/sysinfo/sandbox.c | 17 +++++ include/sysinfo.h | 5 ++ test/cmd/Makefile | 1 + test/cmd/test_sysinfo.c | 51 +++++++++++++++ 10 files changed, 347 insertions(+), 34 deletions(-) create mode 100644 cmd/sysinfo.c create mode 100644 doc/usage/cmd/sysinfo.rst create mode 100644 test/cmd/test_sysinfo.c
Signature · 1 line
2.41.0