mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jan Remmet <J.Remmet@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: state: access from linux
Date: Wed, 17 Jun 2015 11:06:46 +0200	[thread overview]
Message-ID: <20150617090646.GI6325@pengutronix.de> (raw)
In-Reply-To: <20150617064250.GA2778@lws-weitzel2@phytec.de>

On Wed, Jun 17, 2015 at 08:42:50AM +0200, Jan Remmet wrote:
> Hello,
> I'm working with barebox states and wonder if there is already a tool to access
> states in eeprom from linux?
> The states from a dtb backend should be easy to read. For raw there must be
> looked under /proc/devicetree or a state kernel driver.

Yes, there is such a tool here:

git://git.pengutronix.de/git/tools/dt-utils.git

The binary you'll need is barebox-state.

We should probably add this repository to the documentation.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-06-17  9:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17  6:42 Jan Remmet
2015-06-17  9:06 ` Sascha Hauer [this message]
2015-06-17 13:52   ` Marc Kleine-Budde
2015-06-18  6:40     ` Jan Remmet
2016-04-04 21:44   ` barebox-state (dt-utils): dump-shell broken for state@0 Andreas Pretzsch
2016-04-05  6:49     ` Sascha Hauer
2016-04-06  9:38       ` Marc Kleine-Budde

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=20150617090646.GI6325@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=J.Remmet@phytec.de \
    --cc=barebox@lists.infradead.org \
    /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