[PATCH v1 0/4] Introduce the sysinfo command
Detlev Casanova
detlev.casanova at collabora.com
Fri Jun 16 17:21:18 CEST 2023
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 id.
I'm not sure about the last commit, if it needs to be here upstream or
if it chould be something done by packagers.
I'm also not sure if a test should be added and where to start to test
this kind of command.
Detlev Casanova (4):
sysinfo: Add IDs for board id and revision
cmd: Add a sysinfo command
sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION
configs: rcar3: Add shell function to select the linux devicetree
cmd/Kconfig | 6 ++
cmd/Makefile | 1 +
cmd/sysinfo.c | 124 +++++++++++++++++++++++++++++
configs/rcar3_ulcb_defconfig | 1 +
drivers/sysinfo/rcar3.c | 46 ++++++++---
include/configs/rcar-gen3-common.h | 9 ++-
include/sysinfo.h | 4 +
7 files changed, 180 insertions(+), 11 deletions(-)
create mode 100644 cmd/sysinfo.c
--
2.39.3
More information about the U-Boot
mailing list