[PATCH v4 0/6] Introduce the sysinfo command

Marek Vasut marek.vasut at mailbox.org
Tue Aug 8 16:48:16 CEST 2023


On 8/8/23 16:31, Peter Robinson wrote:
> On Tue, Aug 8, 2023 at 3:27 PM Detlev Casanova
> <detlev.casanova at collabora.com> wrote:
>>
>> 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 at 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.
> 
> Why can't bdinfo be extended rather than adding yet another command?

It could , but it feels like overloading bdinfo .
Sysinfo is system identification (i.e. stuff in eeprom), bdinfo is 
things like memory layout.


More information about the U-Boot mailing list