state: access from linux

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 17 02:06:46 PDT 2015


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 |



More information about the barebox mailing list