From: Detlev Casanova <detlev.casanova@collabora.com>
To: Peter Robinson <pbrobinson@gmail.com>
Cc: u-boot@lists.denx.de,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Hai Pham <hai.pham.ud@renesas.com>,
Tam Nguyen <tam.nguyen.xa@renesas.com>,
Simon Glass <sjg@chromium.org>
Subject: Re: [PATCH v4 0/6] Introduce the sysinfo command
Date: Tue, 08 Aug 2023 10:27:20 -0400 [thread overview]
Message-ID: <12376909.O9o76ZdvQC@arisu> (raw)
In-Reply-To: <CALeDE9NHb1Lk4MFLiF=713wMhg9FD7SNOPPXyf=sa7SLNkpsfg@mail.gmail.com>
On Tuesday, August 8, 2023 10:21:11 A.M. EDT Peter Robinson wrote:
> On Thu, Jul 20, 2023 at 3:50 PM Detlev Casanova
>
> <detlev.casanova@collabora.com> wrote:
> > 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.
>
> How does this differ from the bdinfo and some of the other commands
> that provide similar info?
If I'm not wrong, the bdinfo command is about showing what hardware is
present on the board. The sysinfo command is about showing board
identification information.
> > 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 | 141 ++++++++++++++++++++++++++------------
> > drivers/sysinfo/sandbox.c | 17 +++++
> > include/sysinfo.h | 5 ++
> > test/cmd/Makefile | 1 +
> > test/cmd/test_sysinfo.c | 51 ++++++++++++++
> > 10 files changed, 370 insertions(+), 42 deletions(-)
> > create mode 100644 cmd/sysinfo.c
> > create mode 100644 doc/usage/cmd/sysinfo.rst
> > create mode 100644 test/cmd/test_sysinfo.c
> >
> > --
> > 2.41.0
next prev parent reply other threads:[~2023-08-08 14:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 14:49 [PATCH v4 0/6] Introduce the sysinfo command Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 1/6] sysinfo: Add IDs for board id and revision Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 2/6] cmd: Add a sysinfo command Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 3/6] sysinfo: Add a test Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 4/6] sysinfo: Add documentation Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 5/6] sysinfo: rcar3: Use int instead of char for revision Detlev Casanova
2023-07-20 14:49 ` [PATCH v4 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_* Detlev Casanova
2023-08-08 14:21 ` [PATCH v4 0/6] Introduce the sysinfo command Peter Robinson
2023-08-08 14:27 ` Detlev Casanova [this message]
2023-08-08 14:31 ` Peter Robinson
2023-08-08 14:48 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12376909.O9o76ZdvQC@arisu \
--to=detlev.casanova@collabora.com \
--cc=hai.pham.ud@renesas.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=pbrobinson@gmail.com \
--cc=sjg@chromium.org \
--cc=tam.nguyen.xa@renesas.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox