mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Barebox State Framework
@ 2017-03-16 13:55 Çağlar Kilimci
  2017-03-17  7:39 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Çağlar Kilimci @ 2017-03-16 13:55 UTC (permalink / raw)
  To: barebox

Hello all,

As my general purpose of updating a system with RUAC [1], I need to
use Barebox State Framework but I could not run it properly. I have
appended Barebox config these:

CONFIG_STATE=y
CONFIG_STATE_CRYPTO=y
CONFIG_CMD_SHA1SUM=y
CONFIG_CMD_SHA224SUM=y
CONFIG_CMD_SHA256SUM=y
CONFIG_CMD_SHA384SUM=y
CONFIG_CMD_SHA512SUM=y
CONFIG_CMD_STATE=y
CONFIG_STATE_DRV=y
CONFIG_DIGEST_HMAC=y
CONFIG_DIGEST_SHA1_GENERIC=y
CONFIG_DIGEST_HMAC_GENERIC=y
CONFIG_CRYPTO_KEYSTORE=y
CONFIG_BOOTCHOOSER=y
CONFIG_CMD_BOOTCHOOSER=y

And also, I include below into my dts:
state: state@0 {
magic = <0x27031977>;
compatible = "barebox,state";
backend-type = "raw";
backend = "partname:state";

foo {
reg = <0x00 0x4>;
type = "uint32";
default = <0x0>;
};

bar {
reg = <0x10 0x4>;
type = "enum32";
names = "baz", "qux";
default = <1>;
};
};

I could not see "state" variable fromBarebox console. Similarly, I get
an error ("no such node: state") from my OS if I run Barebox-state
command.

Thank you for your help.

[1] https://github.com/rauc/meta-rauc

Sincerely,
-- 
Çağlar Kilimci

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-20  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-16 13:55 Barebox State Framework Çağlar Kilimci
2017-03-17  7:39 ` Sascha Hauer
2017-03-20  4:39   ` Çağlar Kilimci
2017-03-20  7:01     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox