[PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Mar 1 00:45:17 CET 2021
Am 27. Februar 2021 14:05:50 MEZ schrieb Marek Behun <marek.behun at nic.cz>:
>Luka, Tom,
>
>I am very against this.
>
>there already is `mac` command in cmd/mac.c with following help
> display and program the system ID and MAC addresses in EEPROM
> [read|save|id|num|errata|date|ports|port_number]
> mac read
> - read EEPROM content into memory data structure
> mac save
> - save memory data structure to the EEPROM
> mac id
> - program system id per hard coded value
> mac num string
> - program system serial number to value string
> mac errata string
> - program errata data to value string
> mac date YYMMDDhhmmss
> - program date to string value YYMMDDhhmmss
> mac ports N
> - program the number of network ports to integer N
> mac X string
> - program MAC addr for port X [X=0,1..] to colon separated string"
>
>Why introducing new, vendor specific commands, when we have a global
>API for such a thing?
We lack a man-page in doc/usage/.
Best regards
Heinrich
>
>Marek
More information about the U-Boot
mailing list