From: "Marek Behún" <marek.behun@nic.cz>
To: Luka Kovacic <luka.kovacic@sartura.hr>
Cc: u-boot@lists.denx.de, robert.marko@sartura.hr,
luka.perkov@sartura.hr, pali@kernel.org, sr@denx.de,
sjg@chromium.org, patrick.delaunay@foss.st.com,
xypron.glpk@gmx.de
Subject: Re: [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)
Date: Fri, 13 Aug 2021 03:43:38 +0200 [thread overview]
Message-ID: <20210813034338.4676a571@thinkpad> (raw)
In-Reply-To: <20210812233938.11633-2-luka.kovacic@sartura.hr>
On Fri, 13 Aug 2021 01:39:36 +0200
Luka Kovacic <luka.kovacic@sartura.hr> wrote:
> The mac 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 mac 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:
> => mac read
> => saveenv
I think the mac/fuse commands should be killed and nvmem API should be
implemented as is in Linux, with a corresponding nvmem command.
Marek
next prev parent reply other threads:[~2021-08-13 1:43 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 23:39 [PATCH v3 0/3] Add support for the GST ESPRESSOBin-Ultra board Luka Kovacic
2021-08-12 23:39 ` [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info) Luka Kovacic
2021-08-13 1:43 ` Marek Behún [this message]
2021-08-13 8:23 ` Pali Rohár
2021-08-13 9:23 ` Luka Kovacic
2021-08-13 9:41 ` Pali Rohár
2021-08-13 9:51 ` Luka Kovacic
2021-08-13 10:09 ` Pali Rohár
2021-08-13 10:16 ` Luka Kovacic
2021-08-13 10:29 ` Pali Rohár
2021-08-13 10:43 ` Luka Kovacic
2021-08-13 10:49 ` Pali Rohár
2021-08-12 23:39 ` [PATCH v3 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable Luka Kovacic
2021-08-13 8:08 ` Pali Rohár
2021-08-13 8:59 ` Luka Kovacic
2021-08-13 9:31 ` Pali Rohár
2021-08-13 9:33 ` Luka Kovacic
2021-08-13 9:42 ` Pali Rohár
2021-08-13 13:59 ` Pali Rohár
2021-08-16 8:21 ` Luka Kovacic
2021-08-16 8:22 ` Pali Rohár
2021-08-12 23:39 ` [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support Luka Kovacic
2021-08-13 8:14 ` Pali Rohár
2021-08-13 9:08 ` Luka Kovacic
2021-08-13 9:54 ` Pali Rohár
2021-08-13 9:58 ` Stefan Roese
2021-08-13 10:25 ` Luka Kovacic
2021-08-13 10:46 ` Pali Rohár
2021-09-24 18:30 ` Pali Rohár
2021-09-27 8:31 ` Luka Kovacic
2021-08-13 9:27 ` Pali Rohár
2021-08-13 10:03 ` Luka Kovacic
2021-08-13 10:22 ` Pali Rohár
2021-08-13 10:33 ` Luka Kovacic
2021-08-13 10:59 ` Pali Rohár
2021-08-16 8:37 ` Luka Kovacic
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=20210813034338.4676a571@thinkpad \
--to=marek.behun@nic.cz \
--cc=luka.kovacic@sartura.hr \
--cc=luka.perkov@sartura.hr \
--cc=pali@kernel.org \
--cc=patrick.delaunay@foss.st.com \
--cc=robert.marko@sartura.hr \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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