All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command
Date: Mon, 15 Feb 2021 22:35:46 -0500	[thread overview]
Message-ID: <20210216033546.GM10169@bill-the-cat> (raw)
In-Reply-To: <20210215195934.67034-2-luka.kovacic@sartura.hr>

On Mon, Feb 15, 2021 at 08:59:32PM +0100, Luka Kovacic wrote:

> The hw_info command is implemented to enable parsing Marvell hw_info
> formatted environments. This format is often used on Marvell Armada A37XX
> based devices to store parameters like the board serial number, factory
> MAC addresses and some other information.
> These parameters are usually written to the flash in the factory.
> 
> Currently the command supports reading/writing parameters and dumping the
> current hw_info parameters.
> EEPROM config pattern and checksum aren't supported.
> 
> This functionality has been tested on the GST ESPRESSOBin-Ultra board
> successfully, both reading the stock U-Boot parameters in mainline U-Boot
> and reading the parameters written by this command in the stock U-Boot.
> 
> Usage example:
>  => hw_info load
>  => saveenv
> 
> Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
> Cc: Robert Marko <robert.marko@sartura.hr>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/69f2764e/attachment.sig>

  reply	other threads:[~2021-02-16  3:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 19:59 [PATCH v2 0/3] Add support for the GST ESPRESSOBin-Ultra board Luka Kovacic
2021-02-15 19:59 ` [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command Luka Kovacic
2021-02-16  3:35   ` Tom Rini [this message]
2021-02-27  1:09   ` Pali Rohár
2021-02-28 21:54     ` Luka Kovacic
2021-03-01 15:17       ` Pali Rohár
2021-02-27 13:05   ` Marek Behun
2021-02-28 22:03     ` Luka Kovacic
2021-02-28 23:45     ` Heinrich Schuchardt
2021-02-15 19:59 ` [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable Luka Kovacic
2021-02-27  0:38   ` Pali Rohár
2021-02-28 21:26     ` Luka Kovacic
2021-03-01 15:05       ` Pali Rohár
2021-02-15 19:59 ` [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support Luka Kovacic
2021-02-27  0:48   ` Pali Rohár
2021-02-27 13:24   ` Marek Behun
2021-02-28 21:38     ` Luka Kovacic
2021-03-01 15:41       ` Pali Rohár
2021-03-01 17:13         ` Marek Behun
2021-03-01 17:14         ` Marek Behun

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=20210216033546.GM10169@bill-the-cat \
    --to=trini@konsulko.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.